From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by wa-out-1112.google.com with SMTP id j37so204180waf.22 for ; Thu, 23 Oct 2008 07:14:41 -0700 (PDT) Message-ID: <84144f020810230714g7f5d36bas812ad691140ee453@mail.gmail.com> Date: Thu, 23 Oct 2008 17:14:41 +0300 From: "Pekka Enberg" Subject: Re: SLUB defrag pull request? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1223883004.31587.15.camel@penberg-laptop> <84144f020810221348j536f0d84vca039ff32676e2cc@mail.gmail.com> <1224745831.25814.21.camel@penberg-laptop> <84144f020810230658o7c6b3651k2d671aab09aa71fb@mail.gmail.com> Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Lameter Cc: Miklos Szeredi , nickpiggin@yahoo.com.au, hugh@veritas.com, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org List-ID: On Thu, Oct 23, 2008 at 5:09 PM, Christoph Lameter wrote: > Got a draft of a patch here that does freelist handling differently. Instead > of building linked lists it uses free objects to build arrays of pointers to > free objects. That improves cache cold free behavior since the object > contents itself does not have to be touched on free. > > The problem looks like its freeing objects on a different processor that > where it was used last. With the pointer array it is only necessary to touch > the objects that contain the arrays. Interesting. SLAB gets away with this because of per-cpu caches or because it uses the bufctls instead of a freelist? -- 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