RFC Docs/admin-guide/mm/damon: warn commit_inputs vs other params race
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Docs/admin-guide/mm/damon/reclaim: warn commit_inputs vs param updates raceDocumentation/ | +4 | 2 replies | |
| 2/2 | Docs/admin-guide/mm/damon/lru_sort: warn commit_inputs vs param updates raceDocumentation/ | +4 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/2] Docs/admin-guide/mm/damon: warn commit_inputs vs other params race
Writing 'Y' to the commit_inputs parameter of DAMON_RECLAIM and DAMON_LRU_SORT, and writing other parameters before the commit_inputs request is completely processed can cause race conditions. While the consequence can be bad, the documentation is not clearly describing that. Add clear warnings.
The issue was discovered [1,2] by sashiko.
[1] https://lore.kernel.org/[email protected]
[2] https://lore.kernel.org/[email protected]
SeongJae Park (2):
Docs/admin-guide/mm/damon/reclaim: warn commit_inputs vs param updates
race
Docs/admin-guide/mm/damon/lru_sort: warn commit_inputs vs param
updates race
Documentation/admin-guide/mm/damon/lru_sort.rst | 4 ++++ Documentation/admin-guide/mm/damon/reclaim.rst | 4 ++++ 2 files changed, 8 insertions(+)
base-commit: 02617badb619e548c4489c371fec5a4ceb0c347e
Signature · 1 line
2.47.3