Skip to content

Commit

Permalink
quicklists: do not release off node pages early
Browse files Browse the repository at this point in the history
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>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Christoph Lameter authored and Linus Torvalds committed Dec 23, 2007
1 parent 5b825ed commit ed367fc
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions include/linux/quicklist.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ed367fc

Please sign in to comment.