Skip to content

prevent mincore() page cache leaks

Vlastimil Babka linux-api linux-fsdevel linux-mm lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v13 patches 43 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm/mincore: make mincore() more conservativemm/mincore.c+22 -10 replies
2/2mm/mincore: provide mapped status when cached status is not allowedmm/mincore.c+51 -160 replies

Reviews trailers per patch

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

PatchLinus TorvaldsDominique MartinetJosh SnyderMichal Hocko
1/2Originally-by Originally-by A-b A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/2] prevent mincore() page cache leaks

Here's a new version of the mincore() patches, with feedback from Andrew Morton applied. The IOCB_NOWAIT patch was dropped since David Chinner pointed out it's incomplete. We definitely want the first patch, while for the second Linus said:

I think that's fine, and probably the right thing to do, but I also suspect that nobody actually cares ;(

Whether or not somebody cares, we should hear of no breakage. If somebody does care after all, without second patch we might hear of breakage, so I would suggest applying it. It's not that complicated after all (famous last words?)

Jiri Kosina (1):
mm/mincore: make mincore() more conservative

Vlastimil Babka (1):
mm/mincore: provide mapped status when cached status is not allowed

 mm/mincore.c | 80 ++++++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 68 insertions(+), 12 deletions(-)
Signature · 1 line
2.20.1