aboutsummaryrefslogtreecommitdiff
path: root/drivers/switch
diff options
context:
space:
mode:
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>2015-09-08 15:04:33 -0700
committerMister Oyster <oysterized@gmail.com>2017-09-25 20:43:58 +0200
commitfb925c0cdb89e60bbf8d637ff2fbbf3df30da4b3 (patch)
treef08b80a7d15dea026927fc8835dc80a74f66494f /drivers/switch
parentc62c1f74cd9a259b53ee3bca8f0ccb598de0a9d6 (diff)
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 'drivers/switch')
0 files changed, 0 insertions, 0 deletions