[PATCH v2 00/33] Separate struct slab from struct page

2021-12-01 Thread Vlastimil Babka
Folks from non-slab subsystems are Cc'd only to patches affecting them, and this cover letter. Series also available in git, based on 5.16-rc3: https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/linux.git/log/?h=slab-struct_slab-v2r2 The plan: as my SLUB PREEMPT_RT series in 5.15, I would pre

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-02 Thread Vlastimil Babka
On 12/1/21 19:14, Vlastimil Babka wrote: > Folks from non-slab subsystems are Cc'd only to patches affecting them, and > this cover letter. > > Series also available in git, based on 5.16-rc3: > https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/linux.git/log/?h=slab-struct_slab-v2r2 I have p

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-14 Thread Vlastimil Babka
On 12/1/21 19:14, Vlastimil Babka wrote: > Folks from non-slab subsystems are Cc'd only to patches affecting them, and > this cover letter. > > Series also available in git, based on 5.16-rc3: > https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/linux.git/log/?h=slab-struct_slab-v2r2 Pushed a

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-14 Thread Vlastimil Babka
On 12/14/21 15:38, Hyeonggon Yoo wrote: > On Tue, Dec 14, 2021 at 01:57:22PM +0100, Vlastimil Babka wrote: >> On 12/1/21 19:14, Vlastimil Babka wrote: >> > Folks from non-slab subsystems are Cc'd only to patches affecting them, and >> > this cover letter. >> > >> > Series also available in git, ba

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-14 Thread Hyeonggon Yoo
On Tue, Dec 14, 2021 at 01:57:22PM +0100, Vlastimil Babka wrote: > On 12/1/21 19:14, Vlastimil Babka wrote: > > Folks from non-slab subsystems are Cc'd only to patches affecting them, and > > this cover letter. > > > > Series also available in git, based on 5.16-rc3: > > https://git.kernel.org/pub

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-14 Thread Roman Gushchin via iommu
On Tue, Dec 14, 2021 at 01:57:22PM +0100, Vlastimil Babka wrote: > On 12/1/21 19:14, Vlastimil Babka wrote: > > Folks from non-slab subsystems are Cc'd only to patches affecting them, and > > this cover letter. > > > > Series also available in git, based on 5.16-rc3: > > https://git.kernel.org/pub

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-14 Thread Hyeonggon Yoo
On Tue, Dec 14, 2021 at 03:43:35PM +0100, Vlastimil Babka wrote: > On 12/14/21 15:38, Hyeonggon Yoo wrote: > > On Tue, Dec 14, 2021 at 01:57:22PM +0100, Vlastimil Babka wrote: > >> On 12/1/21 19:14, Vlastimil Babka wrote: > >> > Folks from non-slab subsystems are Cc'd only to patches affecting them

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-15 Thread Roman Gushchin via iommu
On Tue, Dec 14, 2021 at 05:03:12PM -0800, Roman Gushchin wrote: > On Tue, Dec 14, 2021 at 01:57:22PM +0100, Vlastimil Babka wrote: > > On 12/1/21 19:14, Vlastimil Babka wrote: > > > Folks from non-slab subsystems are Cc'd only to patches affecting them, > > > and > > > this cover letter. > > > >

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-16 Thread Vlastimil Babka
On 12/16/21 00:38, Roman Gushchin wrote: > On Tue, Dec 14, 2021 at 05:03:12PM -0800, Roman Gushchin wrote: >> On Tue, Dec 14, 2021 at 01:57:22PM +0100, Vlastimil Babka wrote: >> > On 12/1/21 19:14, Vlastimil Babka wrote: >> > > Folks from non-slab subsystems are Cc'd only to patches affecting them,

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-16 Thread Hyeonggon Yoo
On Tue, Dec 14, 2021 at 01:57:22PM +0100, Vlastimil Babka wrote: > On 12/1/21 19:14, Vlastimil Babka wrote: > > Folks from non-slab subsystems are Cc'd only to patches affecting them, and > > this cover letter. > > > > Series also available in git, based on 5.16-rc3: > > https://git.kernel.org/pub

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-19 Thread Vlastimil Babka
On 12/15/21 02:03, Roman Gushchin wrote: > On Tue, Dec 14, 2021 at 01:57:22PM +0100, Vlastimil Babka wrote: >> On 12/1/21 19:14, Vlastimil Babka wrote: >> > Folks from non-slab subsystems are Cc'd only to patches affecting them, and >> > this cover letter. >> > >> > Series also available in git, b

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-19 Thread Vlastimil Babka
On 12/16/21 00:38, Roman Gushchin wrote: > Part 2: > > * mm: Convert check_heap_object() to use struct slab > Reviewed-by: Roman Gushchin > > * mm/slub: Convert detached_freelist to use a struct slab > How about to convert free_nonslab_page() to free_nonslab_folio()? > And maybe rename it to som

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-19 Thread Matthew Wilcox
On Mon, Dec 20, 2021 at 01:47:54AM +0100, Vlastimil Babka wrote: > > * mm/slub: Convert print_page_info() to print_slab_info() > > Do we really need to explicitly convert slab_folio()'s result to (struct > > folio *)? > > Unfortunately yes, as long as folio_flags() don't take const struct folio *

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-20 Thread Vlastimil Babka
On 12/16/21 16:00, Hyeonggon Yoo wrote: > On Tue, Dec 14, 2021 at 01:57:22PM +0100, Vlastimil Babka wrote: >> On 12/1/21 19:14, Vlastimil Babka wrote: >> > Folks from non-slab subsystems are Cc'd only to patches affecting them, and >> > this cover letter. >> > >> > Series also available in git, ba

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-21 Thread Robin Murphy
On 2021-12-20 23:58, Vlastimil Babka wrote: On 12/16/21 16:00, Hyeonggon Yoo wrote: On Tue, Dec 14, 2021 at 01:57:22PM +0100, Vlastimil Babka wrote: On 12/1/21 19:14, Vlastimil Babka wrote: Folks from non-slab subsystems are Cc'd only to patches affecting them, and this cover letter. Series a

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-21 Thread Hyeonggon Yoo
On Tue, Dec 21, 2021 at 12:58:14AM +0100, Vlastimil Babka wrote: > On 12/16/21 16:00, Hyeonggon Yoo wrote: > > On Tue, Dec 14, 2021 at 01:57:22PM +0100, Vlastimil Babka wrote: > >> On 12/1/21 19:14, Vlastimil Babka wrote: > >> > Folks from non-slab subsystems are Cc'd only to patches affecting them

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-22 Thread Vlastimil Babka
On 12/14/21 13:57, Vlastimil Babka wrote: > On 12/1/21 19:14, Vlastimil Babka wrote: >> Folks from non-slab subsystems are Cc'd only to patches affecting them, and >> this cover letter. >> >> Series also available in git, based on 5.16-rc3: >> https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-25 Thread Hyeonggon Yoo
On Wed, Dec 22, 2021 at 05:56:50PM +0100, Vlastimil Babka wrote: > On 12/14/21 13:57, Vlastimil Babka wrote: > > On 12/1/21 19:14, Vlastimil Babka wrote: > >> Folks from non-slab subsystems are Cc'd only to patches affecting them, and > >> this cover letter. > >> > >> Series also available in git,

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-25 Thread Matthew Wilcox
On Sat, Dec 25, 2021 at 09:16:55AM +, Hyeonggon Yoo wrote: > # mm: Convert struct page to struct slab in functions used by other subsystems > I'm not familiar with kasan, but to ask: > Does kasan_slab_free detect invalid free if someone frees > an object that is not allocated from slab? >

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-26 Thread Hyeonggon Yoo
On Sat, Dec 25, 2021 at 05:53:23PM +, Matthew Wilcox wrote: > On Sat, Dec 25, 2021 at 09:16:55AM +, Hyeonggon Yoo wrote: > > # mm: Convert struct page to struct slab in functions used by other > > subsystems > > I'm not familiar with kasan, but to ask: > > Does kasan_slab_free detect i

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-29 Thread Hyeonggon Yoo
On Wed, Dec 22, 2021 at 05:56:50PM +0100, Vlastimil Babka wrote: > On 12/14/21 13:57, Vlastimil Babka wrote: > > On 12/1/21 19:14, Vlastimil Babka wrote: > >> Folks from non-slab subsystems are Cc'd only to patches affecting them, and > >> this cover letter. > >> > >> Series also available in git,

Re: [PATCH v2 00/33] Separate struct slab from struct page

2022-01-03 Thread Vlastimil Babka
On 12/29/21 12:22, Hyeonggon Yoo wrote: > On Wed, Dec 22, 2021 at 05:56:50PM +0100, Vlastimil Babka wrote: >> On 12/14/21 13:57, Vlastimil Babka wrote: >> > On 12/1/21 19:14, Vlastimil Babka wrote: >> >> Folks from non-slab subsystems are Cc'd only to patches affecting them, >> >> and >> >> this c