hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/mm/vmacache.c
....@@ -6,7 +6,6 @@
66 #include <linux/sched/task.h>
77 #include <linux/mm.h>
88 #include <linux/vmacache.h>
9
-#include <asm/pgtable.h>
109
1110 /*
1211 * Hash based on the pmd of addr if configured with MMU, which provides a good
....@@ -25,8 +24,8 @@
2524 * task's vmacache pertains to a different mm (ie, its own). There is
2625 * nothing we can do here.
2726 *
28
- * Also handle the case where a kernel thread has adopted this mm via use_mm().
29
- * That kernel thread's vmacache is not applicable to this mm.
27
+ * Also handle the case where a kernel thread has adopted this mm via
28
+ * kthread_use_mm(). That kernel thread's vmacache is not applicable to this mm.
3029 */
3130 static inline bool vmacache_valid_mm(struct mm_struct *mm)
3231 {