lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 5 Feb 2008 22:06:02 +0100
From:	"Oliver Pinter" <oliver.pntr@...il.com>
To:	"Linux Kernel" <linux-kernel@...r.kernel.org>, stable@...nel.org,
	stable-commits@...r.kernel.org
Cc:	"Christoph Lameter" <clameter@....com>,
	"Dhaval Giani" <dhaval@...ux.vnet.ibm.com>,
	"Andrew Morton" <akpm@...ux-foundation.org>,
	"Linus Torvalds" <torvalds@...ux-foundation.org>,
	"Greg Kroah-Hartman" <gregkh@...e.de>,
	"chrisw@...s-sol.org" <chrisw@...s-sol.org>,
	"Willy Tarreau" <w@....eu>, "Adrian Bunk" <bunk@...nel.org>
Subject: {2.6.22.y} quicklists must keep even off node pages on the quicklists until the TLB flush has been completed.

it is already im queue for 2.6.23,

----8<-----
>From stable-bounces@...ux.kernel.org Sat Dec 22 14:04:08 2007
From: Christoph Lameter <clameter@....com>
Date: Sat, 22 Dec 2007 14:03:23 -0800
Subject: quicklists: do not release off node pages early
To: torvalds@...ux-foundation.org
Cc: stable@...nel.org, akpm@...ux-foundation.org,
dhaval@...ux.vnet.ibm.com, clameter@....com
Message-ID: <200712222203.lBMM3Nsk021922@...p1.linux-foundation.org>


From: Christoph Lameter <clameter@....com>

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 <clameter@....com>
Cc: Dhaval Giani <dhaval@...ux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@...ux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@...e.de>

---
 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 <oliver.pntr@...il.com> (on i386)

-- 
Thanks,
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ