diff options
author | Minchan Kim <minchan@kernel.org> | 2016-07-26 15:23:26 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-07-26 16:19:19 -0700 |
commit | 4aa409cab7c39c90f4b725ff22f52bbf5d2fc4e0 (patch) | |
tree | 5c88e077ed6a29ef192d3e861bf1f99b5ea3b111 /fs/binfmt_em86.c | |
parent | 3783689a1aa82ef27a6418b043dd7a077b8330c5 (diff) | |
download | linux-4aa409cab7c39c90f4b725ff22f52bbf5d2fc4e0.tar.bz2 |
zsmalloc: separate free_zspage from putback_zspage
Currently, putback_zspage does free zspage under class->lock if fullness
become ZS_EMPTY but it makes trouble to implement locking scheme for new
zspage migration. So, this patch is to separate free_zspage from
putback_zspage and free zspage out of class->lock which is preparation
for zspage migration.
Link: http://lkml.kernel.org/r/1464736881-24886-10-git-send-email-minchan@kernel.org
Signed-off-by: Minchan Kim <minchan@kernel.org>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/binfmt_em86.c')
0 files changed, 0 insertions, 0 deletions