Michal Hocko bc4e54f6e9 drivers/md/bcache/super.c: use kvmalloc
bcache_device_init uses kmalloc for small requests and vmalloc for those
which are larger than 64 pages.  This alone is a strange criterion.
Moreover kmalloc can fallback to vmalloc on the failure.  Let's simply
use kvmalloc instead as it knows how to handle the fallback properly

Link: http://lkml.kernel.org/r/20170306103327.2766-5-mhocko@kernel.org
Signed-off-by: Michal Hocko <mhocko@suse.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-05-08 17:15:13 -07:00
..
2017-05-05 18:49:20 -07:00
2017-04-08 11:25:38 -06:00
2017-05-05 18:49:20 -07:00
2016-11-01 09:43:26 -06:00
2017-05-08 17:15:12 -07:00
2017-05-05 18:49:20 -07:00
2017-05-05 18:49:20 -07:00
2016-08-07 14:41:02 -06:00
2017-05-05 18:49:20 -07:00
2017-05-01 14:09:21 -07:00
2017-05-01 14:09:21 -07:00
2017-04-08 11:25:38 -06:00
2017-05-01 14:09:21 -07:00
2015-08-13 12:31:57 -06:00
2017-05-01 14:09:21 -07:00
2017-05-01 14:09:21 -07:00
2017-05-01 14:09:21 -07:00