Improve documentation of FADV_DONTNEED behaviour
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mm: fadvise: Document the fadvise(FADV_DONTNEED) behaviour for partial pagesmm/ | +5 | 0 replies | |
| 2/2 | posix_fadvise.2: Document the behaviour of partial page discard requestsman2/ | +5 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Improve documentation of FADV_DONTNEED behaviour
Partial page discard requests are ignored and the documentation on why this is correct behaviour sucks. A readahead patch looked like a "regression" to a random IO storage benchmark because posix_fadvise() was used incorrectly to force IO requests to go to disk. In reality, the benchmark sucked but it was non-obvious why. Patch 1 updates the kernel comment in case someone "fixes" either readahead or fadvise for inappropriate reasons. Patch 2 updates the relevant man page on the rough off chance that application developers do not read kernel source comments.
Signature · 7 lines
2.1.2 -- 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>