Re: [PATCH] mempolicy: convert the shared_policy lock to a rwlock
From: Vlastimil Babka
Date: Thu Nov 19 2015 - 05:50:52 EST
On 11/18/2015 09:05 PM, Nathan Zimmer wrote:
On 11/18/2015 07:50 AM, Vlastimil Babka wrote:
At first glance it seems that RCU would be a good fit here and achieve even
better lookup scalability, have you considered it?
Originally that was my plan but when I saw how good the results were
with the rwlock, I chickened out and took the less prone to mistakes way.
I should also note that the 2% time left in system is not from this lookup
but another area.
Ah, I see, thanks!
Vlastimil
Nate
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/