[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1427210687-6634-1-git-send-email-sergey.senozhatsky@gmail.com>
Date: Wed, 25 Mar 2015 00:24:45 +0900
From: Sergey Senozhatsky <sergey.senozhatsky@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
Minchan Kim <minchan@...nel.org>
Cc: Nitin Gupta <ngupta@...are.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org,
Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>
Subject: [PATCH 0/2] zs_object_copy() micro-optimizations
Hello,
two small patches two micro-optimize zs_object_copy().
The first one removes unneeded kunmap_atomic/kmap_atomic of dst page,
when object that we copy belongs to two source pages.
The seconds one is also trivial -- removes branching and (a bit)
reduses the amount of work done by the function (double offsets
calculations).
Sergey Senozhatsky (2):
zsmalloc: do not remap dst page while prepare next src page
zsmalloc: micro-optimize zs_object_copy()
mm/zsmalloc.c | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)
--
2.3.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists