From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qa0-f45.google.com (mail-qa0-f45.google.com [209.85.216.45]) by kanga.kvack.org (Postfix) with ESMTP id 7B5D56B0032 for ; Mon, 5 Jan 2015 09:52:35 -0500 (EST) Received: by mail-qa0-f45.google.com with SMTP id f12so13649167qad.32 for ; Mon, 05 Jan 2015 06:52:35 -0800 (PST) Received: from resqmta-ch2-06v.sys.comcast.net (resqmta-ch2-06v.sys.comcast.net. [2001:558:fe21:29:69:252:207:38]) by mx.google.com with ESMTPS id r8si30021973qak.127.2015.01.05.06.52.33 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 05 Jan 2015 06:52:34 -0800 (PST) Date: Mon, 5 Jan 2015 08:52:30 -0600 (CST) From: Christoph Lameter Subject: Re: [PATCH 1/2] mm/slub: optimize alloc/free fastpath by removing preemption on/off In-Reply-To: <1420421765-3209-1-git-send-email-iamjoonsoo.kim@lge.com> Message-ID: References: <1420421765-3209-1-git-send-email-iamjoonsoo.kim@lge.com> Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Joonsoo Kim Cc: Andrew Morton , Pekka Enberg , David Rientjes , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Jesper Dangaard Brouer , rostedt@goodmis.org, Thomas Gleixner On Mon, 5 Jan 2015, Joonsoo Kim wrote: > Now, I reach the solution to remove preempt enable/disable in the fastpath. > If tid is matched with kmem_cache_cpu's tid after tid and kmem_cache_cpu > are retrieved by separate this_cpu operation, it means that they are > retrieved on the same cpu. If not matched, we just have to retry it. Acked-by: Christoph Lameter -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org