From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail191.messagelabs.com (mail191.messagelabs.com [216.82.242.19]) by kanga.kvack.org (Postfix) with ESMTP id CFA43900001 for ; Wed, 11 May 2011 16:03:28 -0400 (EDT) Received: from kpbe12.cbf.corp.google.com (kpbe12.cbf.corp.google.com [172.25.105.76]) by smtp-out.google.com with ESMTP id p4BK3RAf008794 for ; Wed, 11 May 2011 13:03:27 -0700 Received: from pwi12 (pwi12.prod.google.com [10.241.219.12]) by kpbe12.cbf.corp.google.com with ESMTP id p4BK3FPs015270 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 11 May 2011 13:03:26 -0700 Received: by pwi12 with SMTP id 12so425318pwi.28 for ; Wed, 11 May 2011 13:03:26 -0700 (PDT) Date: Wed, 11 May 2011 13:03:24 -0700 (PDT) From: David Rientjes Subject: Re: [Slub cleanup6 3/5] slub: Eliminate repeated use of c->page through a new page variable In-Reply-To: <20110415194831.409760374@linux.com> Message-ID: References: <20110415194811.810587216@linux.com> <20110415194831.409760374@linux.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Christoph Lameter Cc: Pekka Enberg , linux-mm@kvack.org On Fri, 15 Apr 2011, Christoph Lameter wrote: > __slab_alloc is full of "c->page" repeats. Lets just use one local variable > named "page" for this. Also avoids the need to a have another variable > called "new". > > Signed-off-by: Christoph Lameter Acked-by: David Rientjes -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org