From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lai Jiangshan Subject: Re: [RFC PATCH 14/23 V2] slub, hotplug: ignore unrelated node's hot-adding and hot-removing Date: Mon, 06 Aug 2012 13:39:36 +0800 Message-ID: <501F5898.8070502@cn.fujitsu.com> References: <1343875991-7533-1-git-send-email-laijs@cn.fujitsu.com> <1343875991-7533-15-git-send-email-laijs@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Christoph Lameter Cc: Jiri Kosina , Dan Magenheimer , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Michal Hocko , Paul Gortmaker , Konstantin Khlebnikov , "H. Peter Anvin" , Sam Ravnborg , Gavin Shan , Rik van Riel , cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, Hugh Dickins , Ingo Molnar , Mel Gorman , KOSAKI Motohiro , David Rientjes , Petr Holasek , linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, Wanlong Gao , Djalal Harouni , Rusty Russell , Wen Congyang , Peter Zijlstra , Pawel Moll , Me On 08/03/2012 12:04 AM, Christoph Lameter wrote: > On Thu, 2 Aug 2012, Lai Jiangshan wrote: > >> SLUB only fucus on the nodes which has normal memory, so ignore the other >> node's hot-adding and hot-removing. > > You would need to do the same for SLAB. SLAB has an easier time with > falling back to other nodes (and therefore does not show up in your > tests) but as a result SLAB will be quite ineffective > because it created bogus structures that are never used yet constantly > traversed. > > Because SLAB creates bogus structures, so it can care less things when in hotplug. It is just ugly but it is not bug currently, so I want to delay to fix it. And SLAB is not so friendly with hot-remove as SLUB in my view, we can fix it altogether in future. Thanks, Lai