Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758238AbbKSKus (ORCPT ); Thu, 19 Nov 2015 05:50:48 -0500 Received: from mx2.suse.de ([195.135.220.15]:42416 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756210AbbKSKur (ORCPT ); Thu, 19 Nov 2015 05:50:47 -0500 Subject: Re: [PATCH] mempolicy: convert the shared_policy lock to a rwlock To: Nathan Zimmer References: <1447777078-135492-1-git-send-email-nzimmer@sgi.com> <564C820D.1060105@suse.cz> <564CDA0F.40801@sgi.com> Cc: Andrew Morton , Nadia Yvette Chambers , Naoya Horiguchi , Mel Gorman , "Aneesh Kumar K.V" , linux-kernel@vger.kernel.org, linux-mm@kvack.org From: Vlastimil Babka Message-ID: <564DA984.2040903@suse.cz> Date: Thu, 19 Nov 2015 11:50:44 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <564CDA0F.40801@sgi.com> Content-Type: text/plain; charset=iso-8859-2; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 768 Lines: 25 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/