Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932124AbYB2NEK (ORCPT ); Fri, 29 Feb 2008 08:04:10 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754585AbYB2NDz (ORCPT ); Fri, 29 Feb 2008 08:03:55 -0500 Received: from tomts16-srv.bellnexxia.net ([209.226.175.4]:64181 "EHLO tomts16-srv.bellnexxia.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754574AbYB2NDy (ORCPT ); Fri, 29 Feb 2008 08:03:54 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAI+Rx0dMQWoK/2dsb2JhbACBVqtx Date: Fri, 29 Feb 2008 08:03:48 -0500 From: Mathieu Desnoyers To: Christoph Lameter Cc: Eric Dumazet , Pekka Enberg , Torsten Kaiser , Ingo Molnar , Linus Torvalds , Linux Kernel Mailing List Subject: Re: [PATCH] Implement slub fastpath in terms of freebase and freeoffset Message-ID: <20080229130348.GA9714@Krystal> References: <20080219200358.GB11197@Krystal> <20080228055510.GA9026@Krystal> <20080228232507.GB20319@Krystal> <20080229015621.GB32200@Krystal> <20080229033255.GA2200@Krystal> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: X-Editor: vi X-Info: http://krystal.dyndns.org:8080 X-Operating-System: Linux/2.6.21.3-grsec (i686) X-Uptime: 07:55:50 up 9:06, 2 users, load average: 0.16, 0.28, 0.51 User-Agent: Mutt/1.5.16 (2007-06-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1194 Lines: 32 * Christoph Lameter (clameter@sgi.com) wrote: > On Thu, 28 Feb 2008, Mathieu Desnoyers wrote: > > > * Christoph Lameter (clameter@sgi.com) wrote: > > > On Thu, 28 Feb 2008, Mathieu Desnoyers wrote: > > > > > > > In short, the we also use the versioning to check for change of slab. > > Then we do not need the page->end field anymore right? I will try > to rediff your patch against current slab-mm and see how we can proceed > from there. I guess you could replace page->end with the (expensive) page_address(page) + 1 in new_slab. You would also have to change slab_address() to use page_address(page). Since this is used by check_valid_pointer, I am not sure it's a good idea to use this slow operation there. Or maybe you have a different alternative in mind ? Mathieu -- Mathieu Desnoyers Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 -- 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/