[<prev] [next>] [day] [month] [year] [list]
Message-ID: <564DA984.2040903@suse.cz>
Date: Thu, 19 Nov 2015 11:50:44 +0100
From: Vlastimil Babka <vbabka@...e.cz>
To: Nathan Zimmer <nzimmer@....com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Nadia Yvette Chambers <nyc@...omorphy.com>,
Naoya Horiguchi <n-horiguchi@...jp.nec.com>,
Mel Gorman <mgorman@...e.de>,
"Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH] mempolicy: convert the shared_policy lock to a rwlock
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists