diff options
author | Pedro Falcato <pfalcato@suse.de> | 2025-04-21 18:16:28 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-05-12 23:50:44 -0700 |
commit | 551c643fb29a221e8fcd00ff680a364a73deb2f3 (patch) | |
tree | f3e670825450fcfcbf06186702d7a78a6bca1906 /mm/memory.c | |
parent | 31cf0dd94509eb61e7242e217aea9604621f6b6d (diff) |
mm: workingset: simplify lockdep check in update_node
container_of(node->array, ..., i_pages) just to access i_pages again is an
incredibly roundabout way of accessing node->array itself. Simplify it.
Link: https://lkml.kernel.org/r/20250421-workingset-simplify-v1-1-de5c40051e0e@suse.de
Signed-off-by: Pedro Falcato <pfalcato@suse.de>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions