* [2.6.22.y #2] quicklists: do not release off node pages early
[not found] <6101e8c40802170918s65344622sb3de8bf6f9b031f4@mail.gmail.com>
@ 2008-02-18 20:01 ` Oliver Pinter
0 siblings, 0 replies; only message in thread
From: Oliver Pinter @ 2008-02-18 20:01 UTC (permalink / raw)
To: Linux Kernel, stable, stable-commits
Cc: Oliver Pinter, Adrian Bunk, Greg KH, Justin Forbes,
Zwane Mwaikambo, Theodore Ts'o, Randy. Dunlap, Chuck Wolber,
Dave Jones, Chris Wedgwood, Michael Krufky, Chuck Ebbert,
Domenico Andreoli, Dhaval Giani, Christoph Lameter,
Andrew Morton, chrisw
From b5cf6be2dfcb4ae3885edec574526221c58f0216 Mon Sep 17 00:00:00 2001
From: Christoph Lameter <clameter@sgi.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@sgi.com>
Cc: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Oliver Pinter <oliver.pntr@gmail.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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-02-18 20:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <6101e8c40802170918s65344622sb3de8bf6f9b031f4@mail.gmail.com>
2008-02-18 20:01 ` [2.6.22.y #2] quicklists: do not release off node pages early Oliver Pinter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®