]> git.baikalelectronics.ru Git - kernel.git/commit
percpu: fix too lazy vunmap cache flushing
authorTejun Heo <tj@kernel.org>
Mon, 22 Jun 2009 02:56:23 +0000 (11:56 +0900)
committerTejun Heo <tj@kernel.org>
Mon, 22 Jun 2009 02:56:23 +0000 (11:56 +0900)
commit822b8c610ed842bd75f9fd9c02bcf3f63b117e76
tree8fcf3fe5bc9a96a1c16244950d944d4a4e7130c5
parentd14f5b244b7697f7a5b91769fa89dbcd9dc87de9
percpu: fix too lazy vunmap cache flushing

In pcpu_unmap(), flushing virtual cache on vunmap can't be delayed as
the page is going to be returned to the page allocator.  Only TLB
flushing can be put off such that vmalloc code can handle it lazily.
Fix it.

[ Impact: fix subtle virtual cache flush bug ]

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Nick Piggin <npiggin@suse.de>
Cc: Ingo Molnar <mingo@elte.hu>
mm/percpu.c