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/20260605173038.495075-1-longman@redhat.com/
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(-)
--
2.54.0