Re: [PATCH] mm/slab: rename CONFIG_SLAB to CONFIG_SLAB_DEPRECATED

2023-05-24 Thread Vlastimil Babka
On 5/24/23 02:29, David Rientjes wrote: > On Tue, 23 May 2023, Vlastimil Babka wrote: > >> As discussed at LSF/MM [1] [2] and with no objections raised there, >> deprecate the SLAB allocator. Rename the user-visible option so that >> users with CONFIG_SLAB=y get a new prompt with explanation durin

Re: [PATCH v3 12/12] m68k/mm: Make pfn accessors static inlines

2023-05-24 Thread Geert Uytterhoeven
On Tue, May 23, 2023 at 4:05 PM Linus Walleij wrote: > Making virt_to_pfn() a static inline taking a strongly typed > (const void *) makes the contract of a passing a pointer of that > type to the function explicit and exposes any misuse of the > macro virt_to_pfn() acting polymorphic and acceptin

Re: [PATCH v3 02/12] m68k: Pass a pointer to virt_to_pfn() virt_to_page()

2023-05-24 Thread Geert Uytterhoeven
Hi Linus, On Tue, May 23, 2023 at 4:05 PM Linus Walleij wrote: > Functions that work on a pointer to virtual memory such as > virt_to_pfn() and users of that function such as > virt_to_page() are supposed to pass a pointer to virtual > memory, ideally a (void *) or other pointer. However since >