|
@@ -400,10 +400,17 @@ void tlb_remove_table(struct mmu_gather *tlb, void *table)
|
|
|
|
|
|
#endif /* CONFIG_HAVE_RCU_TABLE_FREE */
|
|
|
|
|
|
-/* tlb_gather_mmu
|
|
|
- * Called to initialize an (on-stack) mmu_gather structure for page-table
|
|
|
- * tear-down from @mm. The @fullmm argument is used when @mm is without
|
|
|
- * users and we're going to destroy the full address space (exit/execve).
|
|
|
+/**
|
|
|
+ * tlb_gather_mmu - initialize an mmu_gather structure for page-table tear-down
|
|
|
+ * @tlb: the mmu_gather structure to initialize
|
|
|
+ * @mm: the mm_struct of the target address space
|
|
|
+ * @start: start of the region that will be removed from the page-table
|
|
|
+ * @end: end of the region that will be removed from the page-table
|
|
|
+ *
|
|
|
+ * Called to initialize an (on-stack) mmu_gather structure for page-table
|
|
|
+ * tear-down from @mm. The @start and @end are set to 0 and -1
|
|
|
+ * respectively when @mm is without users and we're going to destroy
|
|
|
+ * the full address space (exit/execve).
|
|
|
*/
|
|
|
void tlb_gather_mmu(struct mmu_gather *tlb, struct mm_struct *mm,
|
|
|
unsigned long start, unsigned long end)
|