Linus Torvalds writes: (Summary) It's not how tlb_flush_range() was defined, and
it's not how you can use it in general.
it's not how you can use it in general.
See the patch I sent, which had this as part of it: See the patch I sent, which had this as part of it: - * XXX fix me: flush_tlb_range() should take an mm pointer instead of a
- * vma pointer.
+ * flush_tlb_range() takes a vma instead of a mm pointer because + * some architectures want the vm_flags for ITLB/DTLB flush.
it's not how you can use it in general.
[...]
implementation.See the patch I sent, which had this as part of it: See the patch I sent, which had this as part of it: - * XXX fix me: flush_tlb_range() should take an mm pointer instead of a
- * vma pointer.
+ * flush_tlb_range() takes a vma instead of a mm pointer because + * some architectures want the vm_flags for ITLB/DTLB flush.