diff options
| author | Alice Ryhl <[email protected]> | 2024-11-29 14:58:25 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-01-14 06:40:38 +0000 |
| commit | da80f4ffb0dbee2419ac04f23aad0533658f1523 (patch) | |
| tree | 502ea2e0b602edb853fab1ecca0254b09c4cda78 /mm/filemap.c | |
| parent | mm/rodata_test: verify test data is unchanged, rather than non-zero (diff) | |
| download | kernel-da80f4ffb0dbee2419ac04f23aad0533658f1523.tar.gz kernel-da80f4ffb0dbee2419ac04f23aad0533658f1523.zip | |
list_lru: expand list_lru_add() docs with info about sublists
The documentation for list_lru_add() and list_lru_del() has not been
updated since lru lists were originally introduced by commit a38e40824844
("list: add a new LRU list type"). Back then, list_lru stored all of the
items in a single list, but the implementation has since been expanded to
use many sublists internally.
Thus, update the docs to mention that the requirements about not using the
item with several lists at the same time also applies not using different
sublists. Also mention that list_lru items are reparented when the memcg
is deleted as discussed on the LKML [1].
Also fix incorrect use of 'Return value:' which should be 'Return:'.
Link: https://lore.kernel.org/all/[email protected]/ [1]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Alice Ryhl <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Acked-by: Muchun Song <[email protected]>
Reviewed-by: Nhat Pham <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Qi Zheng <[email protected]>
Cc: Roman Gushchin <[email protected]>
Cc: Shakeel Butt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions
