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