Re: [PATCH 2/2] mm: tlb: add tlb swap entries batch async release

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





在 2024/7/31 20:08, Arnd Bergmann 写道:
On Tue, Jul 30, 2024, at 13:44, Zhiguo Jiang wrote:

+
+
+extern bool __tlb_remove_swap_entries(struct mmu_gather *tlb,
+		swp_entry_t entry, int nr);
+#else
+bool __tlb_remove_swap_entries(struct mmu_gather *tlb,
+		swp_entry_t entry, int nr)
+{
+	return false;
+}
+#endif
To address the reported build regression, that function must
be annotated as 'static inline'.

      Arnd
Hi Arnd,

I have added 'static inline' for __tlb_remove_swap_entries() in [PATCH v2 3/3].
Thanks for your nice guidance.
https://lore.kernel.org/linux-mm/20240731133318.527-1-justinjiang@xxxxxxxx/T/#t

Thanks
Zhiguo





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux