Message ID | 1539988701-27723-3-git-send-email-tyhicks@canonical.com |
---|---|
State | New |
Headers | show |
Series | [1/3] mm: move tlb_table_flush to tlb_flush_mmu_free | expand |
diff --git a/mm/memory.c b/mm/memory.c index c5928cda7748..b991e87d0bf1 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -376,15 +376,6 @@ void tlb_remove_table(struct mmu_gather *tlb, void *table) { struct mmu_table_batch **batch = &tlb->batch; - /* - * When there's less then two users of this mm there cannot be a - * concurrent page-table walk. - */ - if (atomic_read(&tlb->mm->mm_users) < 2) { - __tlb_remove_table(table); - return; - } - if (*batch == NULL) { *batch = (struct mmu_table_batch *)__get_free_page(GFP_NOWAIT | __GFP_NOWARN); if (*batch == NULL) {