From: Christoph Lameter Date: Sat, 22 Dec 2007 22:03:23 +0000 (-0800) Subject: quicklists: do not release off node pages early X-Git-Tag: v2.6.23.15~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70bcc8d502fb7fa247d4c535de665de58c3bd83d;p=thirdparty%2Fkernel%2Fstable.git 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 Cc: Dhaval Giani Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/quicklist.h b/include/linux/quicklist.h index 9371c6116df34..39b66713a0bba 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;