diff options
author | Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | 2015-09-08 15:04:33 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-08 15:35:28 -0700 |
commit | 0dc63d488a2a433a4a85d3908b3f195c4e6450d2 (patch) | |
tree | 0e8403439dedb4bda6fcfd0b17be0ee66ec25e6b /kernel/time/clocksource.c | |
parent | 04f05909e0fde36ba481ad4c850b666ebef1ac55 (diff) | |
download | blackbird-op-linux-0dc63d488a2a433a4a85d3908b3f195c4e6450d2.tar.gz blackbird-op-linux-0dc63d488a2a433a4a85d3908b3f195c4e6450d2.zip |
zsmalloc: cosmetic compaction code adjustments
Change zs_object_copy() argument order to be (DST, SRC) rather than
(SRC, DST). copy/move functions usually have (to, from) arguments
order.
Rename alloc_target_page() to isolate_target_page(). This function
doesn't allocate anything, it isolates target page, pretty much like
isolate_source_page().
Tweak __zs_compact() comment.
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Acked-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/time/clocksource.c')
0 files changed, 0 insertions, 0 deletions