• Tejun Heo's avatar
    percpu: fix too lazy vunmap cache flushing · 85ae87c1
    Tejun Heo authored
    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: default avatarTejun Heo <tj@kernel.org>
    Cc: Nick Piggin <npiggin@suse.de>
    Cc: Ingo Molnar <mingo@elte.hu>
    85ae87c1
percpu.c 36.2 KB