mm/lib: more cleanup

write_cpusets() and _gather_cpus() are used both by oom* and by ksm*
tests, so make a move on the codes as well.

Signed-off-by: Caspar Zhang <caspar@casparzhang.com>
2 files changed