Commit bb49b32f authored by Hugh Dickins's avatar Hugh Dickins Committed by Linus Torvalds
Browse files

i386: don't check_pgt_cache in flush_tlb_mm

No other architecture calls check_pgt_cache() from within flush_tlb_mm(),
and i386 is already calling check_pgt_cache() from the usual places,
tlb_finish_mmu() and cpu_idle() (the latter being odd, but not unusual).
flush_tlb_mm() has no business to be freeing pages: remove that line, which
sneaked in with slub's i386 support.

Signed-off-by: default avatarHugh Dickins <>
Cc: Andi Kleen <>
Acked-by: default avatarChristoph Lameter <>
Acked-by: default avatarWilliam Lee Irwin III <>
Cc: David Miller <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent c9f2875b
......@@ -421,7 +421,7 @@ void flush_tlb_mm (struct mm_struct * mm)
if (!cpus_empty(cpu_mask))
flush_tlb_others(cpu_mask, mm, TLB_FLUSH_ALL);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment