linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] slab updates for 6.17
@ 2025-07-28 16:56 Vlastimil Babka
  2025-07-30 18:42 ` Linus Torvalds
  2025-07-30 18:47 ` pr-tracker-bot
  0 siblings, 2 replies; 6+ messages in thread
From: Vlastimil Babka @ 2025-07-28 16:56 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Andrew Morton, Harry Yoo, David Rientjes, Christoph Lameter,
	Roman Gushchin, linux-mm@kvack.org, LKML, Matthew Wilcox,
	Pedro Falcato, Bernard Metzler, linux-rdma@vger.kernel.org,
	David Howells

Hi Linus,

please pull the latest slab updates from:

  git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git tags/slab-for-6.17

We've hit a last-minute snag last week when lkp reported [1] the commit
"mm, slab: use frozen pages for large kmalloc" exposed a pre-existing bug
in siw_tcp_sendpages(). Pedro has been fixing it [2] so hopefully that will
result in a PR soon, which you can pull before this one - or perhaps take
the fix directly. If that gets stuck for some reason and taking the fix
later would be unacceptable, I can do another PR with my commit taken out.

[1] https://lore.kernel.org/all/202507220801.50a7210-lkp@intel.com/
[2] https://lore.kernel.org/all/20250723104123.190518-1-pfalcato@suse.de/

Thanks,
Vlastimil

======================================

* Convert struct slab to its own flags instead of referencing page flags,
  which is another preparation step before separating it from struct page
  completely. Along with that, a bunch of documentation fixes and cleanups.
  (Matthew Wilcox)

* Convert large kmalloc to use frozen pages in order to be consistent with
  non-large kmalloc slabs (Vlastimil Babka)

* MAINTAINERS updates (Matthew Wilcox, Lorenzo Stoakes)

* Restore NUMA policy support for large kmalloc, broken by mistake in v6.1
  (Vlastimil Babka)

----------------------------------------------------------------
Jonathan Corbet (1):
      slub: Fix a documentation build error for krealloc()

Lorenzo Stoakes (1):
      MAINTAINERS: add missing files to slab section

Matthew Wilcox (Oracle) (9):
      doc: Move SLUB documentation to the admin guide
      slab: Rename slab->__page_flags to slab->flags
      slab: Add SL_partial flag
      slab: Add SL_pfmemalloc flag
      doc: Add slab internal kernel-doc
      vmcoreinfo: Remove documentation of PG_slab and PG_hugetlb
      kfence: Remove mention of PG_slab
      memcg_slabinfo: Fix use of PG_slab
      slab: Update MAINTAINERS entry

Vlastimil Babka (2):
      mm, slab: restore NUMA policy support for large kmalloc
      mm, slab: use frozen pages for large kmalloc

 Documentation/ABI/testing/sysfs-kernel-slab        |  5 +-
 Documentation/admin-guide/kdump/vmcoreinfo.rst     |  8 +--
 Documentation/admin-guide/kernel-parameters.txt    | 12 ++--
 Documentation/admin-guide/mm/index.rst             |  1 +
 .../{mm/slub.rst => admin-guide/mm/slab.rst}       | 19 +++--
 Documentation/mm/index.rst                         |  1 -
 Documentation/mm/slab.rst                          |  7 ++
 MAINTAINERS                                        | 17 +++--
 include/linux/mm.h                                 |  4 +-
 mm/kfence/core.c                                   |  4 +-
 mm/slab.h                                          | 28 +-------
 mm/slub.c                                          | 80 ++++++++++++++++------
 tools/cgroup/memcg_slabinfo.py                     |  4 +-
 13 files changed, 110 insertions(+), 80 deletions(-)
 rename Documentation/{mm/slub.rst => admin-guide/mm/slab.rst} (97%)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL] slab updates for 6.17
  2025-07-28 16:56 [GIT PULL] slab updates for 6.17 Vlastimil Babka
@ 2025-07-30 18:42 ` Linus Torvalds
  2025-07-30 18:47   ` Jason Gunthorpe
  2025-07-30 18:47 ` pr-tracker-bot
  1 sibling, 1 reply; 6+ messages in thread
From: Linus Torvalds @ 2025-07-30 18:42 UTC (permalink / raw)
  To: Vlastimil Babka, Jason Gunthorpe
  Cc: Andrew Morton, Harry Yoo, David Rientjes, Christoph Lameter,
	Roman Gushchin, linux-mm@kvack.org, LKML, Matthew Wilcox,
	Pedro Falcato, Bernard Metzler, linux-rdma@vger.kernel.org,
	David Howells

On Mon, 28 Jul 2025 at 09:56, Vlastimil Babka <vbabka@suse.cz> wrote:
>
> We've hit a last-minute snag last week when lkp reported [1] the commit
> "mm, slab: use frozen pages for large kmalloc" exposed a pre-existing bug
> in siw_tcp_sendpages(). Pedro has been fixing it [2] so hopefully that will
> result in a PR soon, which you can pull before this one - or perhaps take
> the fix directly. If that gets stuck for some reason and taking the fix
> later would be unacceptable, I can do another PR with my commit taken out.
>
> [1] https://lore.kernel.org/all/202507220801.50a7210-lkp@intel.com/
> [2] https://lore.kernel.org/all/20250723104123.190518-1-pfalcato@suse.de/

Thanks for the heads up.

I've pulled this, although I don't see the rdma fix in the rdma tree
(the pull for which is still pending in my inbox - I've merged a big
chunk already, people have been very good about sending their pulls
early - thanks)

Let's hope that gets handled soonish - but I'm adding Jason explicitly
to the cc just so that he sees this.

I'll take the fix directly in the worst case, but prefer for things to
go through the normal subsystem maintainer if at all possible, and
this one seems fairly straightforward.

             Linus

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL] slab updates for 6.17
  2025-07-30 18:42 ` Linus Torvalds
@ 2025-07-30 18:47   ` Jason Gunthorpe
  2025-07-30 18:50     ` Vlastimil Babka
  2025-07-30 18:52     ` Linus Torvalds
  0 siblings, 2 replies; 6+ messages in thread
From: Jason Gunthorpe @ 2025-07-30 18:47 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Vlastimil Babka, Andrew Morton, Harry Yoo, David Rientjes,
	Christoph Lameter, Roman Gushchin, linux-mm@kvack.org, LKML,
	Matthew Wilcox, Pedro Falcato, Bernard Metzler,
	linux-rdma@vger.kernel.org, David Howells

On Wed, Jul 30, 2025 at 11:42:21AM -0700, Linus Torvalds wrote:
> On Mon, 28 Jul 2025 at 09:56, Vlastimil Babka <vbabka@suse.cz> wrote:
> >
> > We've hit a last-minute snag last week when lkp reported [1] the commit
> > "mm, slab: use frozen pages for large kmalloc" exposed a pre-existing bug
> > in siw_tcp_sendpages(). Pedro has been fixing it [2] so hopefully that will
> > result in a PR soon, which you can pull before this one - or perhaps take
> > the fix directly. If that gets stuck for some reason and taking the fix
> > later would be unacceptable, I can do another PR with my commit taken out.
> >
> > [1] https://lore.kernel.org/all/202507220801.50a7210-lkp@intel.com/
> > [2] https://lore.kernel.org/all/20250723104123.190518-1-pfalcato@suse.de/
> 
> Thanks for the heads up.
> 
> I've pulled this, although I don't see the rdma fix in the rdma tree
> (the pull for which is still pending in my inbox - I've merged a big
> chunk already, people have been very good about sending their pulls
> early - thanks)

It is not there, it was unclear in the emails what should happen and I
did not want to delay things due to your travel note.

> I'll take the fix directly in the worst case, but prefer for things to
> go through the normal subsystem maintainer if at all possible, and
> this one seems fairly straightforward.

I think it will be easiest for all if I send a one patch PR after you pick up
the main RDMA PR in the next few days. siw is not so critical that we
need to rush.

Thanks,
Jason

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL] slab updates for 6.17
  2025-07-28 16:56 [GIT PULL] slab updates for 6.17 Vlastimil Babka
  2025-07-30 18:42 ` Linus Torvalds
@ 2025-07-30 18:47 ` pr-tracker-bot
  1 sibling, 0 replies; 6+ messages in thread
From: pr-tracker-bot @ 2025-07-30 18:47 UTC (permalink / raw)
  To: Vlastimil Babka
  Cc: Linus Torvalds, Andrew Morton, Harry Yoo, David Rientjes,
	Christoph Lameter, Roman Gushchin, linux-mm@kvack.org, LKML,
	Matthew Wilcox, Pedro Falcato, Bernard Metzler,
	linux-rdma@vger.kernel.org, David Howells

The pull request you sent on Mon, 28 Jul 2025 18:56:40 +0200:

> git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git tags/slab-for-6.17

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/e8d780dcd957d80725ad5dd00bab53b856429bc0

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL] slab updates for 6.17
  2025-07-30 18:47   ` Jason Gunthorpe
@ 2025-07-30 18:50     ` Vlastimil Babka
  2025-07-30 18:52     ` Linus Torvalds
  1 sibling, 0 replies; 6+ messages in thread
From: Vlastimil Babka @ 2025-07-30 18:50 UTC (permalink / raw)
  To: Jason Gunthorpe, Linus Torvalds
  Cc: Andrew Morton, Harry Yoo, David Rientjes, Christoph Lameter,
	Roman Gushchin, linux-mm@kvack.org, LKML, Matthew Wilcox,
	Pedro Falcato, Bernard Metzler, linux-rdma@vger.kernel.org,
	David Howells

On 7/30/25 20:47, Jason Gunthorpe wrote:
> On Wed, Jul 30, 2025 at 11:42:21AM -0700, Linus Torvalds wrote:
>> On Mon, 28 Jul 2025 at 09:56, Vlastimil Babka <vbabka@suse.cz> wrote:
>> >
>> > We've hit a last-minute snag last week when lkp reported [1] the commit
>> > "mm, slab: use frozen pages for large kmalloc" exposed a pre-existing bug
>> > in siw_tcp_sendpages(). Pedro has been fixing it [2] so hopefully that will
>> > result in a PR soon, which you can pull before this one - or perhaps take
>> > the fix directly. If that gets stuck for some reason and taking the fix
>> > later would be unacceptable, I can do another PR with my commit taken out.
>> >
>> > [1] https://lore.kernel.org/all/202507220801.50a7210-lkp@intel.com/
>> > [2] https://lore.kernel.org/all/20250723104123.190518-1-pfalcato@suse.de/
>> 
>> Thanks for the heads up.
>> 
>> I've pulled this, although I don't see the rdma fix in the rdma tree

Thanks.

>> (the pull for which is still pending in my inbox - I've merged a big
>> chunk already, people have been very good about sending their pulls
>> early - thanks)
> 
> It is not there, it was unclear in the emails what should happen and I
> did not want to delay things due to your travel note.
> 
>> I'll take the fix directly in the worst case, but prefer for things to
>> go through the normal subsystem maintainer if at all possible, and
>> this one seems fairly straightforward.
> 
> I think it will be easiest for all if I send a one patch PR after you pick up
> the main RDMA PR in the next few days. siw is not so critical that we
> need to rush.

Great, thanks. The last version with ack from Bernard is here:

https://lore.kernel.org/all/20250729120348.495568-1-pfalcato@suse.de/

> Thanks,
> Jason


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL] slab updates for 6.17
  2025-07-30 18:47   ` Jason Gunthorpe
  2025-07-30 18:50     ` Vlastimil Babka
@ 2025-07-30 18:52     ` Linus Torvalds
  1 sibling, 0 replies; 6+ messages in thread
From: Linus Torvalds @ 2025-07-30 18:52 UTC (permalink / raw)
  To: Jason Gunthorpe
  Cc: Vlastimil Babka, Andrew Morton, Harry Yoo, David Rientjes,
	Christoph Lameter, Roman Gushchin, linux-mm@kvack.org, LKML,
	Matthew Wilcox, Pedro Falcato, Bernard Metzler,
	linux-rdma@vger.kernel.org, David Howells

On Wed, 30 Jul 2025 at 11:47, Jason Gunthorpe <jgg@nvidia.com> wrote:
>
> I think it will be easiest for all if I send a one patch PR after you pick up
> the main RDMA PR in the next few days. siw is not so critical that we
> need to rush.

Ack, sounds good.

            Linus

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-07-30 18:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-28 16:56 [GIT PULL] slab updates for 6.17 Vlastimil Babka
2025-07-30 18:42 ` Linus Torvalds
2025-07-30 18:47   ` Jason Gunthorpe
2025-07-30 18:50     ` Vlastimil Babka
2025-07-30 18:52     ` Linus Torvalds
2025-07-30 18:47 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).