Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761178AbYBEVGU (ORCPT ); Tue, 5 Feb 2008 16:06:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759160AbYBEVGH (ORCPT ); Tue, 5 Feb 2008 16:06:07 -0500 Received: from fg-out-1718.google.com ([72.14.220.159]:7114 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756350AbYBEVGE (ORCPT ); Tue, 5 Feb 2008 16:06:04 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=X7vOZWKrBhvXYihHnxeTOhMhda4avvlENRl4xjhIloXxmks2F5CCuj/Abj8cYSNvG1CtIniAKacSx5AN/MUKF4lUSMz6bhZZ9MMThnuOlkkvfLZUym0ZkGIT2YDK8rQ4+i7AXSDrUiTDnPkOVgj66YIShzYrsXzIzN4jQ/Ku1zQ= Message-ID: <6101e8c40802051306y24cc7740g4c75508035aaefd@mail.gmail.com> Date: Tue, 5 Feb 2008 22:06:02 +0100 From: "Oliver Pinter" To: "Linux Kernel" , stable@kernel.org, stable-commits@vger.kernel.org Subject: {2.6.22.y} quicklists must keep even off node pages on the quicklists until the TLB flush has been completed. Cc: "Christoph Lameter" , "Dhaval Giani" , "Andrew Morton" , "Linus Torvalds" , "Greg Kroah-Hartman" , "chrisw@sous-sol.org" , "Willy Tarreau" , "Adrian Bunk" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1707 Lines: 59 it is already im queue for 2.6.23, ----8<----- >From stable-bounces@linux.kernel.org Sat Dec 22 14:04:08 2007 From: Christoph Lameter Date: Sat, 22 Dec 2007 14:03:23 -0800 Subject: quicklists: do not release off node pages early To: torvalds@linux-foundation.org Cc: stable@kernel.org, akpm@linux-foundation.org, dhaval@linux.vnet.ibm.com, clameter@sgi.com Message-ID: <200712222203.lBMM3Nsk021922@imap1.linux-foundation.org> From: Christoph Lameter patch ed367fc3a7349b17354c7acef551533337764859 in mainline. quicklists must keep even off node pages on the quicklists until the TLB flush has been completed. Signed-off-by: Christoph Lameter Cc: Dhaval Giani Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- include/linux/quicklist.h | 8 -------- 1 file changed, 8 deletions(-) --- a/include/linux/quicklist.h +++ b/include/linux/quicklist.h @@ -56,14 +56,6 @@ static inline void __quicklist_free(int struct page *page) { struct quicklist *q; - int nid = page_to_nid(page); - - if (unlikely(nid != numa_node_id())) { - if (dtor) - dtor(p); - __free_page(page); - return; - } q = &get_cpu_var(quicklist)[nr]; *(void **)p = q->page; ---->8------ Tested-by: Oliver Pinter (on i386) -- Thanks, Oliver -- 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/