From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail203.messagelabs.com (mail203.messagelabs.com [216.82.254.243]) by kanga.kvack.org (Postfix) with ESMTP id C456D6B0073 for ; Thu, 10 Nov 2011 15:31:01 -0500 (EST) Received: by vcbfo11 with SMTP id fo11so2286276vcb.14 for ; Thu, 10 Nov 2011 12:30:58 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <1320912260.22361.247.camel@sli10-conroe> Date: Thu, 10 Nov 2011 22:30:57 +0200 Message-ID: Subject: Re: [patch] slub: fix a code merge error From: Pekka Enberg Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-linux-mm@kvack.org List-ID: To: David Rientjes Cc: Shaohua Li , linux-mm , cl@linux-foundation.org On Thu, Nov 10, 2011 at 10:18 PM, David Rientjes wrot= e: > On Thu, 10 Nov 2011, Shaohua Li wrote: > >> Looks there is a merge error in the slub tree. DEACTIVATE_TO_TAIL !=3D 1= . >> And this will cause performance regression. >> >> Signed-off-by: Shaohua Li >> >> diff --git a/mm/slub.c b/mm/slub.c >> index 7d2a996..60e16c4 100644 >> --- a/mm/slub.c >> +++ b/mm/slub.c >> @@ -1904,7 +1904,8 @@ static void unfreeze_partials(struct kmem_cache *s= ) >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 if (l =3D=3D= M_PARTIAL) >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 remove_partial(n, page); >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 else >> - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 add_partial(n, page, 1); >> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 add_partial(n, page, >> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 DEACTIVATE_TO_TAIL); >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 l =3D m; >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } > > Acked-by: David Rientjes > > Not sure where the "merge error" is, though, this is how it was proposed > on linux-mm each time the patch was posted. =A0Probably needs a better ti= tle > and changelog. Indeed. Please resend with proper subject and changelog with Christoph's and David's ACKs included. -- 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