Skip to content

fix VFS register_shrinker fixup

Michal Hocko linux-fsdevel linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm,vmscan: Make unregister_shrinker() no-op if register_shrinker() failed.mm/vmscan.c+3 -00 replies
2/2VFS: handle register_shrinker failure in sget_usernsfs/super.c+4 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [resend PATCH 0/2] fix VFS register_shrinker fixup

Hi Andrew,
Tetsuo has posted patch 1 already [1]. I had some minor concenrs about the changelog but the approach was already OK. Aliaksei came with an alternative patch [2] which also handles double unregistration. I have updated the changelog and moved the syzbot report to the 2nd patch because it is more related to the change there. The patch 1 is prerequisite. Maybe we should just merge those two. I've kept Tetsuo's s-o-b and his original authorship, but let me know if you disagree with the new wording or the additional change, Tetsuo.

The patch 2 is based on Al's suggestion [3] and it fixes sget_userns shrinker registration code.

Both of these stalled so can we have them merged finally?

[1] http://lkml.kernel.org/r/1511523385-6433-1-git-send-email-penguin-kernel@I-love.SAKURA.ne.jp
[2] http://lkml.kernel.org/r/[email protected]
[3] http://lkml.kernel.org/r/[email protected]

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>