summaryrefslogtreecommitdiff
path: root/mm/swapfile.c
diff options
context:
space:
mode:
authorDennis Zhou <dennis@kernel.org>2021-04-18 22:44:16 +0000
committerDennis Zhou <dennis@kernel.org>2021-04-21 18:17:40 +0000
commit1c29a3ceaf5f02919e0a89119a70382581453dbb (patch)
treef0b01139bf50b0f8535e0563424ba5d46ffe562d /mm/swapfile.c
parent8ea2e1e35d1eb4c76290ff5d565a1bfd6c24f117 (diff)
percpu: use pcpu_free_slot instead of pcpu_nr_slots - 1
This prepares for adding a to_depopulate list and sidelined list after the free slot in the set of lists in pcpu_slot. Signed-off-by: Dennis Zhou <dennis@kernel.org> Acked-by: Roman Gushchin <guro@fb.com> Signed-off-by: Dennis Zhou <dennis@kernel.org>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions