diff options
author | Christoph Lameter <clameter@sgi.com> | 2007-12-18 01:20:27 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-12-18 04:28:17 +0100 |
commit | 421d99193537a6522aac2148286f08792167d5fd (patch) | |
tree | 1d2d8e83ade8002be9d7284be720dc7cbdaccb1a /kernel/sysctl_check.c | |
parent | SLUB: remove useless masking of GFP_ZERO (diff) | |
download | linux-421d99193537a6522aac2148286f08792167d5fd.tar.xz linux-421d99193537a6522aac2148286f08792167d5fd.zip |
quicklist: Set tlb->need_flush if pages are remaining in quicklist 0
This ensures that the quicklists are drained. Otherwise draining may only
occur when the processor reaches an idle state.
Fixes fatal leakage of pgd_t's on 2.6.22 and later.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Reported-by: 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>
Diffstat (limited to 'kernel/sysctl_check.c')
0 files changed, 0 insertions, 0 deletions