[stgt] [PATCH 0/3] Change pthread_mutex_t to pthread_rwlock_t

Chandra Seetharaman sekharan at us.ibm.com
Tue Sep 28 03:17:56 CEST 2010


Hello All,

Since the locks that are used in thread per target context are protecting
lists that walked-thru more than added/deleted, I thought it would help
the performance if we move to read/write lock instead of simple locks.

This set of patches change pthread_mutex_t to pthread_rwlock_t.

Please review and let me know what you think.

Note that these apply cleanly on top of the patches I sent earlier today
(IOW this can be applied cleanly on the new branch ;-).

regards,

chandra
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list