diff options
| author | NeilBrown <[email protected]> | 2025-02-18 15:39:34 +0000 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2025-03-10 13:11:06 +0000 |
| commit | 8017afd66cbc98b838ac6d5b469e733a608a1211 (patch) | |
| tree | f9f7860b303fbda973c98bcc2ccb971d0ac4d487 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | nfsd: filecache: use nfsd_file_dispose_list() in nfsd_file_close_inode_sync() (diff) | |
| download | kernel-8017afd66cbc98b838ac6d5b469e733a608a1211.tar.gz kernel-8017afd66cbc98b838ac6d5b469e733a608a1211.zip | |
nfsd: filecache: use list_lru_walk_node() in nfsd_file_gc()
list_lru_walk() is only useful when the aim is to remove all elements
from the list_lru. It will repeatedly visit rotated elements of the
first per-node sublist before proceeding to subsequent sublists.
This patch changes nfsd_file_gc() to use list_lru_walk_node() and
list_lru_count_node() on each NUMA node.
Signed-off-by: NeilBrown <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
