]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/zbud: zbud_alloc() minor param change
authorDan Streetman <ddstreet@ieee.org>
Thu, 26 Jun 2014 00:42:45 +0000 (10:42 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 26 Jun 2014 00:42:45 +0000 (10:42 +1000)
commite4d9861c53e9571a8bd35e76d0699e860d4330f5
treef178290c1cf6cb968ac89219eade9baa84b41d46
parent3cc8c120903474c89ce7794b882b68e3de6c9350
mm/zbud: zbud_alloc() minor param change

Change zbud to store gfp_t flags passed at pool creation to use for
each alloc; this allows the api to be closer to the existing zsmalloc
interface, and the only current zbud user (zswap) uses the same gfp
flags for all allocs.  Update zswap to use changed interface.

Signed-off-by: Dan Streetman <ddstreet@ieee.org>
Acked-by: Seth Jennings <sjennings@variantweb.net>
Cc: Weijie Yang <weijie.yang@samsung.com>
Reviewed-by: Bob Liu <bob.liu@oracle.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Nitin Gupta <ngupta@vflare.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/zbud.h
mm/zbud.c
mm/zswap.c