mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
shmem: Convert shmem_partial_swap_usage to XArray
Simpler code because the xarray takes care of things like the limit and dereferencing the slot. Signed-off-by: Matthew Wilcox <willy@infradead.org>
This commit is contained in:
parent
c121d3bb71
commit
7ae3424fb4
1 changed files with 4 additions and 14 deletions
18
mm/shmem.c
18
mm/shmem.c
Loading…
Add table
Add a link
Reference in a new issue