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
..
2020-08-14 22:05:14 -04:00
2020-08-14 22:05:14 -04:00
2017-11-02 11:10:55 +01:00
2018-12-28 12:11:45 -08:00
2023-06-05 09:57:16 +02:00
2023-06-05 09:57:16 +02:00
2023-06-05 09:57:16 +02:00
2023-06-05 09:57:14 +02:00
2020-06-01 14:48:52 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2022-08-27 09:49:54 -07:00
2022-01-15 08:47:31 -08:00
2017-11-02 11:10:55 +01:00
2020-06-01 14:48:52 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-06-01 14:48:52 -04:00
2023-06-19 16:19:24 -07:00
2024-05-02 12:01:31 +02:00
2024-02-22 15:27:19 -08:00
2023-01-30 21:04:21 -08:00
2020-06-01 14:48:52 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-12-28 12:11:45 -08:00
2024-09-13 07:10:38 -07:00
2018-12-28 12:11:45 -08:00
2018-12-28 12:11:45 -08:00
2024-05-02 12:01:25 +02:00
2017-11-02 11:10:55 +01:00
2018-12-28 12:11:45 -08:00
2020-08-14 22:05:14 -04:00
2017-11-02 11:10:55 +01:00
2020-06-01 14:48:52 -04:00
2020-11-06 23:14:54 +01:00
2024-10-02 17:23:23 -04:00
2024-05-02 12:01:23 +02:00
2020-08-14 22:05:14 -04:00
2024-05-02 12:01:24 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-08-14 22:05:14 -04:00
2020-11-23 10:31:06 +01:00
2023-07-13 08:37:53 +02:00
2017-11-02 11:10:55 +01:00
2024-11-06 20:11:10 -08:00
2024-05-02 12:01:23 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2023-08-18 10:12:34 -07:00
2017-11-02 11:10:55 +01:00
2025-04-01 09:29:18 -07:00
2024-09-26 17:24:51 +02:00
2017-11-02 11:10:55 +01:00
2024-11-07 14:25:15 -08:00
2020-08-14 22:05:07 -04:00
2023-12-12 17:20:18 -08:00
2017-11-02 11:10:55 +01:00
2023-11-10 19:59:05 +09:00
2017-11-02 11:10:55 +01:00
2023-10-25 16:50:30 +02:00
2019-04-08 12:00:21 +01:00
2020-10-27 16:02:38 +01:00
2020-10-27 16:02:38 +01:00
2017-11-02 11:10:55 +01:00
2024-09-03 21:15:28 -07:00
2020-04-23 10:50:26 +09:00
2024-11-20 15:13:02 -08:00
2022-07-22 17:23:45 -05:00
2017-11-02 11:10:55 +01:00
2025-04-01 15:17:13 -07:00
2023-08-31 12:20:12 -07:00
2020-06-04 19:06:21 -07:00
2023-01-10 05:31:42 -06:00
2023-08-24 16:20:23 -07:00
2019-10-07 13:50:48 +02:00
2020-06-01 14:48:52 -04:00
2023-03-09 10:01:59 -08:00
2023-06-16 10:16:00 +02:00
2017-11-02 11:10:55 +01:00
2019-07-01 17:51:40 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2023-06-09 17:44:16 -07:00
2020-11-20 11:16:35 -08:00
2022-09-13 10:33:17 -07:00
2024-05-13 15:37:11 +02:00
2021-10-27 16:51:24 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-12-28 12:11:45 -08:00
2018-12-28 12:11:45 -08:00
2020-08-14 22:05:05 -04:00
2023-03-08 08:44:24 -08:00
2020-10-25 14:51:49 -07:00
2020-08-15 18:50:32 -07:00
2017-11-02 11:10:55 +01:00
2024-11-11 17:17:04 -08:00
2018-12-28 12:11:45 -08:00
2019-04-08 12:00:21 +01:00
2018-12-28 12:11:45 -08:00
2017-11-02 11:10:55 +01:00
2022-11-18 02:18:10 +01:00
2020-08-14 22:05:11 -04:00
2020-08-15 18:50:32 -07:00
2020-06-01 14:48:52 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-06-01 14:48:52 -04:00
2021-09-14 16:06:20 +02:00
2020-06-01 14:48:52 -04:00
2020-08-14 22:05:14 -04:00
2024-05-02 12:01:23 +02:00
2023-06-09 17:44:16 -07:00
2017-11-02 11:10:55 +01:00
2024-05-02 12:01:23 +02:00
2017-11-02 11:10:55 +01:00
2017-11-17 16:10:04 -08:00
2023-11-23 11:32:32 +01:00
2020-06-01 14:48:52 -04:00
2023-04-25 09:16:51 +02:00
2020-08-14 22:05:04 -04:00
2022-02-25 09:36:06 +01:00
2017-11-02 11:10:55 +01:00
2024-07-10 14:23:38 +02:00
2017-11-02 11:10:55 +01:00
2022-01-30 21:17:00 -05:00
2020-06-01 14:48:52 -04:00
2019-12-10 10:12:55 +01:00
2020-06-01 14:48:52 -04:00
2020-08-14 22:05:14 -04:00
2024-02-01 09:47:59 -08:00