From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [PATCH] slub: Make CONFIG_PAGE_ALLOC work with new fastpath Date: Fri, 13 May 2011 23:26:42 +0200 Message-ID: <1305322002.3120.11.camel@edumazet-laptop> References: <1303183217.4152.49.camel@edumazet-laptop> <1303244270.2756.3.camel@edumazet-laptop> <4DC90D7D.9030808@cs.helsinki.fi> <1305022632.2614.18.camel@edumazet-laptop> <4DC91137.4030109@cs.helsinki.fi> <1305047682.2758.1.camel@edumazet-laptop> <1305050754.2758.12.camel@edumazet-laptop> <1305055948.2437.13.camel@edumazet-laptop> <1305057989.2437.18.camel@edumazet-laptop> <1305060353.2437.26.camel@edumazet-laptop> <1305083543.2437.39.camel@edumazet-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Vegard Nossum , Pekka Enberg , casteyde.christian@free.fr, Andrew Morton , netdev@vger.kernel.org, bugzilla-daemon@bugzilla.kernel.org, bugme-daemon@bugzilla.kernel.org To: Christoph Lameter Return-path: Received: from mail-wy0-f174.google.com ([74.125.82.174]:36980 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757231Ab1EMV0r (ORCPT ); Fri, 13 May 2011 17:26:47 -0400 Received: by wya21 with SMTP id 21so2204612wya.19 for ; Fri, 13 May 2011 14:26:46 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: Le vendredi 13 mai 2011 =C3=A0 16:15 -0500, Christoph Lameter a =C3=A9c= rit : > I ran this with hackbench under KVM with CONFIG_DEBUG_PAGEALLOC and I= saw > no failures. >=20 >=20 > Subject: slub: Make CONFIG_PAGE_ALLOC work with new fastpath >=20 > Fastpath can do a speculative access to a page that CONFIG_PAGE_ALLOC= may have > marked as invalid to retrieve the pointer to the next free object. >=20 > Use probe_kernel_read in that case in order not to cause a page fault= =2E >=20 > Signed-off-by: Christoph Lameter Reported-by: Eric Dumazet Acked-by: Eric Dumazet Thanks !