use mmu gather logic for tlb flush in mremap
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tlb: export tlb_flush_mmu_tlbonlyinclude/ mm/ | +2 | 0 replies | |
| 2/2 | mremap: use mmu gather logic for tlb flush in mremapinclude/ mm/ mm/ | +25 | 7 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] use mmu gather logic for tlb flush in mremap
Quoted 7 lines · Aaron Lu
Quoted 5 lines · Linus Torvalds
I'm not entirely happy with the
force_flushvsneed_flushgames, and I really think this code should be updated to use the same "structmmu_gather" that we use for the other TLB flushing cases (no need for the page freeing batching, but thetlb_flush_mmu_tlbonly()logic should be the same).
Quoted 8 lines
I see.
Quoted 4 lines
But I guess that's a bigger change, so that wouldn't be approriate for rc5 or stable back-porting anyway. But it would be lovely if somebody could look at that. Hint hint.
I'll work on it, thanks for the suggestion.
So here it is. I'm not quite sure if I've done the right thing in patch 2/2, i.e. should I just use tlb_flush_mmu or export tlb_flush_mmu_tlbonly and then use it in mremap.c. Please take a look and let me know what you think, thanks!
Regards,
Aaron
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>