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>] [day] [month] [year] [list]
Message-ID: <6101e8c40802181201t144bf5d9q5d31b7f6ab3abaed@mail.gmail.com>
Date:	Mon, 18 Feb 2008 21:01:00 +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:	"Oliver Pinter" <oliver.pntr@...il.com>,
	"Adrian Bunk" <bunk@...nel.org>, "Greg KH" <gregkh@...e.de>,
	"Justin Forbes" <jmforbes@...uxtx.org>,
	"Zwane Mwaikambo" <zwane@....linux.org.uk>,
	"Theodore Ts'o" <tytso@....edu>,
	"Randy. Dunlap" <rdunlap@...otime.net>,
	"Chuck Wolber" <chuckw@...ntumlinux.com>,
	"Dave Jones" <davej@...hat.com>,
	"Chris Wedgwood" <reviews@...cw.f00f.org>,
	"Michael Krufky" <mkrufky@...uxtv.org>,
	"Chuck Ebbert" <cebbert@...hat.com>,
	"Domenico Andreoli" <cavokz@...il.com>,
	"Dhaval Giani" <dhaval@...ux.vnet.ibm.com>,
	"Christoph Lameter" <clameter@....com>,
	"Andrew Morton" <akpm@...ux-foundation.org>,
	"chrisw@...s-sol.org" <chrisw@...s-sol.org>
Subject: [2.6.22.y #2] quicklists: do not release off node pages early

 From b5cf6be2dfcb4ae3885edec574526221c58f0216 Mon Sep 17 00:00:00 2001
 From: Christoph Lameter <clameter@....com>
 Date: Sat, 22 Dec 2007 14:03:23 -0800
 Subject: [PATCH] quicklists: do not release off node pages early
 
 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>
 Signed-off-by: Oliver Pinter <oliver.pntr@...il.com>
 
 diff --git a/include/linux/quicklist.h b/include/linux/quicklist.h
 index 9371c61..39b6671 100644
 --- a/include/linux/quicklist.h
 +++ b/include/linux/quicklist.h
 @@ -56,14 +56,6 @@ static inline void __quicklist_free(int nr, void
 (*dtor)(void *), void *p,
  	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;
 
 
 -- 
 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