Qi Zheng
e3ecf7c7d0
mm: pgtable: convert some architectures to use tlb_remove_ptdesc()
Now, the nine architectures of csky, hexagon, loongarch, m68k, mips,
nios2, openrisc, sh and um do not select CONFIG_MMU_GATHER_RCU_TABLE_FREE,
and just call pagetable_dtor() + tlb_remove_page_ptdesc() (the wrapper of
tlb_remove_page()). This is the same as the implementation of
tlb_remove_{ptdesc|table}() under !CONFIG_MMU_GATHER_TABLE_FREE, so
convert these architectures to use tlb_remove_ptdesc().
The ultimate goal is to make the architecture only use tlb_remove_ptdesc()
or tlb_remove_table() for page table pages.
[zhengqi.arch@bytedance.com: v2]
Link: https://lkml.kernel.org/r/20250303072603.45423-1-zhengqi.arch@bytedance.com
[akpm@linux-foundation.org: remove trailing semi in arch/loongarch/include/asm/pgalloc.h]
Link: https://lkml.kernel.org/r/19db3e8673b67bad2f1df1ab37f1c89d99eacfea.1740454179.git.zhengqi.arch@bytedance.com
Signed-off-by: Qi Zheng <zhengqi.arch@bytedance.com>
Suggested-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kevin Brodsky <kevin.brodsky@arm.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> [m68k]
Cc: Alexandre Ghiti <alexghiti@rivosinc.com>
Cc: "Aneesh Kumar K.V" <aneesh.kumar@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Hugh Dickens <hughd@google.com>
Cc: Jann Horn <jannh@google.com>
Cc: Matthew Wilcow (Oracle) <willy@infradead.org>
Cc: "Mike Rapoport (IBM)" <rppt@kernel.org>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Rik van Riel <riel@surriel.com>
Cc: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Cc: Will Deacon <will@kernel.org>
Cc: Yu Zhao <yuzhao@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-04-01 15:17:13 -07:00
..
2024-08-29 10:44:08 +02:00
2023-06-09 17:44:13 -07:00
2024-08-29 10:38:18 +02:00
2023-03-14 17:05:14 +01:00
2023-08-12 09:18:47 -07:00
2024-01-22 10:32:21 +01:00
2024-02-20 12:44:39 +01:00
2024-09-03 21:15:28 -07:00
2024-01-08 10:39:12 +01:00
2023-10-06 10:10:13 +02:00
2025-03-18 22:42:42 +01:00
2024-01-08 10:39:12 +01:00
2025-03-18 22:42:42 +01:00
2025-03-19 10:22:22 +01:00
2024-08-29 10:43:41 +02:00
2024-01-08 10:39:12 +01:00
2024-06-11 13:10:33 +02:00
2023-03-17 10:27:21 +01:00
2024-01-08 10:39:12 +01:00
2025-02-21 09:54:02 +01:00
2024-02-20 12:44:39 +01:00
2024-04-15 10:22:09 +02:00
2024-02-23 10:13:47 +01:00
2023-06-05 09:57:14 +02:00
2023-10-18 14:34:17 -07:00
2024-06-27 10:44:24 +02:00
2023-06-16 10:16:00 +02:00
2023-12-10 17:21:41 -08:00
2023-12-14 00:23:17 -08:00
2024-02-22 15:27:19 -08:00
2024-02-20 13:36:34 +01:00
2024-02-12 23:03:19 +01:00
2024-08-29 10:42:41 +02:00
2023-04-29 09:08:44 +02:00
2023-06-09 09:56:22 +02:00
2024-01-08 10:39:12 +01:00
2023-12-21 15:31:25 +01:00
2025-02-27 10:47:33 +01:00
2023-04-05 19:42:52 -07:00
2024-07-12 13:09:25 +02:00
2025-02-21 17:46:30 +01:00
2025-02-27 17:40:57 +00:00
2025-04-01 09:29:18 -07:00
2023-08-18 10:19:00 -07:00
2024-02-09 15:57:48 -08:00
2024-11-07 14:25:15 -08:00
2023-12-12 17:20:18 -08:00
2023-11-10 19:59:05 +09:00
2025-02-26 13:17:23 -05:00
2023-10-04 11:38:11 +02:00
2024-08-29 10:41:36 +02:00
2025-03-19 10:22:40 +01:00
2024-01-08 10:39:12 +01:00
2024-07-09 10:48:17 +02:00
2024-07-09 10:48:28 +02:00
2024-06-21 10:16:15 +02:00
2025-01-11 12:31:21 +01:00
2023-11-23 10:32:52 +01:00
2025-03-17 22:06:51 -07:00
2024-10-16 00:13:04 +02:00
2024-01-08 10:39:12 +01:00
2025-04-01 15:17:13 -07:00
2024-04-25 20:55:47 -07:00
2024-11-11 17:22:27 -08:00
2024-01-08 10:39:12 +01:00
2024-07-03 19:29:57 -07:00
2024-06-11 13:03:37 +02:00
2023-12-10 17:21:41 -08:00
2025-02-13 12:41:18 +01:00
2024-07-03 16:50:12 +02:00
2023-12-10 17:21:41 -08:00
2024-02-20 12:41:51 +01:00
2023-04-12 15:01:09 +02:00
2024-04-15 10:22:45 +02:00
2023-12-10 17:21:41 -08:00
2025-02-21 10:19:37 +01:00
2024-01-10 18:13:44 -08:00
2024-07-23 09:29:49 +02:00
2023-12-10 17:21:41 -08:00
2024-05-03 14:22:38 +02:00
2024-10-30 23:45:28 +01:00
2024-01-08 10:39:12 +01:00
2025-02-13 12:41:29 +01:00
2023-12-10 17:21:38 -08:00
2024-01-08 10:39:12 +01:00
2024-01-08 10:39:12 +01:00
2023-12-10 17:21:39 -08:00
2024-01-10 18:13:44 -08:00
2023-12-10 17:21:40 -08:00
2024-07-10 14:23:38 +02:00
2024-02-20 20:56:01 +01:00
2024-11-11 21:51:42 +01:00
2024-05-03 17:07:50 +02:00
2023-04-12 15:01:09 +02:00