Files
kernel_google_wahoo/include/linux
Sergey Senozhatsky bece429b72 BACKPORT: zsmalloc: require GFP in zs_malloc()
Pass GFP flags to zs_malloc() instead of using a fixed mask supplied to
zs_create_pool(), so we can be more flexible, but, more importantly, we
need this to switch zram to per-cpu compression streams -- zram will try
to allocate handle with preemption disabled in a fast path and switch to
a slow path (using different gfp mask) if the fast one has failed.

Apart from that, this also align zs_malloc() interface with zspool/zbud.

[sergey.senozhatsky@gmail.com: pass GFP flags to zs_malloc() instead of using a fixed mask]
  Link: http://lkml.kernel.org/r/20160429150942.GA637@swordfish
Link: http://lkml.kernel.org/r/20160429150942.GA637@swordfish
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>

(cherry picked from commit d0d8da2dc49dfdfe1d788eaf4d55eb5d4964d926)
Signed-off-by: Peter Kalauskas <peskal@google.com>
Bug: 112488418
Change-Id: I31276c9351be21a4ed588681b332e98142b76526
2018-08-23 12:00:15 -07:00
..
2015-10-01 12:48:11 -07:00
2015-10-17 21:22:08 -07:00
2015-10-07 18:08:15 +01:00
2018-08-06 19:12:19 +02:00
2018-08-06 19:12:19 +02:00
2017-11-07 23:57:47 +00:00
2018-05-30 13:25:24 +02:00
2016-03-09 15:34:52 -08:00
2018-04-08 11:51:57 +02:00
2018-04-24 09:32:12 +02:00
2018-04-12 09:58:05 -07:00
2015-11-07 10:40:47 -07:00
2018-07-03 18:23:34 +02:00
2017-06-14 13:16:23 +02:00
2018-08-15 18:20:41 +02:00
2015-09-08 15:35:28 -07:00
2018-05-30 13:25:24 +02:00
2015-10-18 10:14:39 -07:00
2018-05-26 10:12:26 +02:00
2018-04-12 09:58:05 -07:00
2017-07-15 11:57:44 +02:00
2018-01-17 09:35:30 +01:00
2018-06-16 10:33:03 +02:00
2018-04-12 09:58:05 -07:00
2016-02-16 13:50:55 -08:00
2018-04-24 09:32:07 +02:00
2015-09-08 15:35:28 -07:00
2016-04-20 15:42:02 +09:00
2015-10-23 05:44:28 -07:00
2018-02-26 09:24:57 +01:00
2015-08-27 19:40:58 -04:00
2018-01-02 20:58:26 +01:00
2015-10-01 15:06:43 +02:00
2015-10-13 19:01:25 +02:00
2017-12-02 06:53:26 +00:00
2015-08-18 15:49:15 -07:00
2015-07-28 08:50:42 +01:00
2015-11-23 09:44:58 +01:00
2017-06-14 16:33:25 +02:00
2015-10-27 18:55:31 -07:00
2018-08-15 18:20:41 +02:00
2018-01-06 10:53:18 +01:00
2018-02-26 09:24:57 +01:00
2017-04-30 07:30:52 +02:00
2015-10-20 22:10:45 +08:00
2016-03-03 15:07:28 -08:00
2015-09-10 13:29:01 -07:00
2015-11-06 17:50:42 -08:00
2016-12-08 07:15:24 +01:00
2017-08-24 17:02:36 -07:00
2015-10-09 17:00:32 -04:00
2017-08-07 14:29:16 -07:00
2018-07-31 20:18:19 +02:00
2016-09-30 10:18:37 +02:00
2018-05-30 13:25:24 +02:00
2016-04-12 09:08:35 -07:00
2018-08-15 18:20:41 +02:00
2015-08-17 11:25:28 -07:00
2015-10-01 09:57:59 -07:00
2015-10-19 01:01:21 +02:00
2015-11-23 09:44:58 +01:00
2015-12-13 14:30:59 -08:00
2015-11-13 20:34:33 -05:00
2015-09-08 15:35:28 -07:00