On Mon, Apr 20, 2020 at 06:11:22PM -0400, Johannes Weiner wrote: > A few cleanups to streamline the swap controller setup: > > - Replace the do_swap_account flag with cgroup_memory_noswap. This > brings it in line with other functionality that is usually available > unless explicitly opted out of - nosocket, nokmem. > > - Remove the really_do_swap_account flag that stores the boot option > and is later used to switch the do_swap_account. It's not clear why > this indirection is/was necessary. Use do_swap_account directly. > > - Minor coding style polishing > > Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxx> Reviewed-by: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>