Skip to content

Commit

Permalink
mm: disable drain TLB batching against CMA pages
Browse files Browse the repository at this point in the history
It seems we have a chance to run zap_pte_range_tlb for a long time
while preempt_disable. Disable this first.

Bug: 256275234
Test: boot
Change-Id: I9ee4f8c491db2621548d8e7325c919c2fade6aa1
Signed-off-by: Martin Liu <[email protected]>
  • Loading branch information
Martin Liu authored and Jason Chiu committed Oct 31, 2022
1 parent 305a91b commit 079e607
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions drivers/soc/google/vh/kernel/mm/vh_mm_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,6 @@ static int vh_mm_init(void)
vh_pagevec_drain, NULL);
if (ret)
return ret;
ret = register_trace_android_vh_zap_pte_range_tlb_start(
vh_zap_pte_range_tlb_start, NULL);
if (ret)
return ret;
ret = register_trace_android_vh_zap_pte_range_tlb_force_flush(
vh_zap_pte_range_tlb_force_flush, NULL);
if (ret)
return ret;
ret = register_trace_android_vh_zap_pte_range_tlb_end(
vh_zap_pte_range_tlb_end, NULL);
if (ret)
return ret;
ret = register_trace_android_vh_skip_lru_disable(
vh_skip_lru_disable, NULL);
if (ret)
Expand Down

0 comments on commit 079e607

Please sign in to comment.