]> git.baikalelectronics.ru Git - 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)
commitd7c494f5726074f84cfb2ea8c42053e944d8d9bf
tree0b827f9645b9aa2b1cd40dd3df28256038f3f8a4
parent40c4f0858229712005ccbbf33104dd306128f96d
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