Skip to content

page_owner: Fixup and cleanup

Oscar Salvador linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review 1 of 2 applied

Patches in v1 1 of 2 applied

#Subject and filesSizeRepliesApplied
1/2mm,page_owner: Check for null stack_record before bumping its refcountmm/page_owner.c+7 -21 reply
2/2mm,page_owner: Drop unnecesary checkmm/page_owner.c+1 -21 replyApplied

Reviews trailers per patch

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

PatchVlastimil Babka
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [PATCH 0/2] page_owner: Fixup and cleanup

Hi,

this patchset consists of a fixup by an error that was reported by intel robot, where it seems to be that by the time page_owner gets initialized, stackdepot has already depleted its allocation space and returns 0-handles, turning that into null stack_records when trying to retrieve the stack_record.
I was not able to reproduce that from the config because it booted fine for me, but when setting e.g: dummy_handle to 0 artificially, I could see the same error that was reported.

The second patch is a cleanup that can also lead to a compilation warning.

Oscar Salvador (2):
mm,page_owner: Check for null stack_record before bumping its refcount mm,page_owner: Drop unnecesary check

 mm/page_owner.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
Signature · 1 line
2.44.0