diff options
author | Christoph Lameter <clameter@sgi.com> | 2007-12-22 14:03:23 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-02-08 12:01:34 -0800 |
commit | 70bcc8d502fb7fa247d4c535de665de58c3bd83d (patch) | |
tree | 1b4b7284bbde7cbec4ade27df113dcb2b0782611 | |
parent | b3794fe0f120694d0085316346d679f481966427 (diff) | |
download | linux-rt-70bcc8d502fb7fa247d4c535de665de58c3bd83d.tar.gz |
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>
-rw-r--r-- | include/linux/quicklist.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/quicklist.h b/include/linux/quicklist.h index 9371c6116df3..39b66713a0bb 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; |