Skip to content

rearrange struct slab fields to allow larger rcu_head

Vlastimil Babka linux-mm linux-patches lkml rcu 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v1 RFC2 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm/slub: perform free consistency checks before call_rcumm/slub.c+10 -100 replies
2/3mm/migrate: make isolate_movable_page() skip slab pagesmm/migrate.c mm/slab.c mm/slub.c+22 -51 reply
3/3mm/sl[au]b: rearrange struct slab fields to allow larger rcu_headmm/slab.h+32 -220 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchHyeonggon Yoo
1/3R-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] rearrange struct slab fields to allow larger rcu_head

Hi,

The previous version (RFC, no cover letter) is here:
https://lore.kernel.org/all/[email protected]/

Git branch is here:
https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git/log/?h=slab/for-6.2/fit_rcu_head
(also in linux-next since late last week)

The rationale for doing all this is in patch 3 - I hope there are still plans for the rcu_head debugging, Joel?

The previous version was in linux-next, which brought crash reports due to causing false positive __PageMovable() tests. There were several attempts to deal with it, as explained in Patch 2, which is an updated version of one of those attempts. It hasn't been formally posted and reviewed yet, hence this posting.

Thanks,
Vlastimil

Vlastimil Babka (3):
mm/slub: perform free consistency checks before call_rcu mm/migrate: make isolate_movable_page() skip slab pages mm/sl[au]b: rearrange struct slab fields to allow larger rcu_head

 mm/migrate.c | 15 ++++++++++++---
 mm/slab.c    |  6 +++++-
 mm/slab.h    | 54 +++++++++++++++++++++++++++++++---------------------
 mm/slub.c    | 26 ++++++++++++++-----------
 4 files changed, 64 insertions(+), 37 deletions(-)
Signature · 1 line
2.38.0