]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
shmem: Convert shmem_partial_swap_usage to XArray
authorMatthew Wilcox <willy@infradead.org>
Mon, 4 Dec 2017 08:28:00 +0000 (03:28 -0500)
committerMatthew Wilcox <willy@infradead.org>
Sun, 21 Oct 2018 14:46:40 +0000 (10:46 -0400)
commit7ae3424fb4b5587d9b2db12a4b1040c52073dd5c
tree0b827f9645b9aa2b1cd40dd3df28256038f3f8a4
parentc121d3bb717ee932caf031c6a7923547f7f83163
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>
mm/shmem.c