Skip to content

debugobjects: Don't call fill_pool() in early boot hardirq context

Waiman Long linux-rt-devel lkml 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 1 replyIn review
  2. v51 patch 2 repliesApplied
  3. v41 patch 2 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v31 patch5 repliesSuperseded
v21 patch0 repliesSuperseded
v11 patch3 repliesSuperseded

Changes in v6 from the cover letter

- Break the v5 patch into 2 separate patches with the first patch just adding a can_fill_pool() helper with no functional change as suggested by Ingo.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2debugobjects: Add a can_fill_pool() helper for debug_objects_fill_pool()lib/debugobjects.c+26 -90 replies
2/2debugobjects: Don't call fill_pool() in early boot hardirq contextlib/debugobjects.c+18 -70 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchSebastian Andrzej Siewior
1/2
2/2R-b

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

Read the v6 thread

Cover letter [PATCH v6 0/2] debugobjects: Don't call fill_pool() in early boot hardirq context

v6:
- Break the v5 patch into 2 separate patches with the first patch just adding a can_fill_pool() helper with no functional change as suggested by Ingo.

Patch 1 adds a can_fill_pool() helper to break down the conditional check in debug_objects_fill_pool() to determine if fill_pool() should be called into easier to read components.

Patch 2 fix the lockdep warning caused by calling fill_pool() in early boot hardirq context.

These 2 patches together produce the same code change as in the v5 patch [1]. So the Reviewed-by tag from Sebastian is kept in the patch 2.

[1] https://lore.kernel.org/lkml/[email protected]/

Waiman Long (2):
debugobjects: Add a can_fill_pool() helper for
debug_objects_fill_pool()
debugobjects: Don't call fill_pool() in early boot hardirq context

 lib/debugobjects.c | 46 +++++++++++++++++++++++++++++++++++++---------
 1 file changed, 37 insertions(+), 9 deletions(-)
Signature · 1 line
2.54.0