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
..
2016-07-05 11:34:49 -06:00
2014-08-04 15:23:02 -07:00
2014-08-04 15:23:02 -07:00
2016-11-22 08:57:21 -07:00
2014-02-25 18:42:49 -08:00
2014-03-18 12:22:35 -07:00
2014-03-18 12:22:35 -07:00
2014-03-18 12:22:35 -07:00
2013-11-10 21:56:32 -08:00
2014-03-18 12:22:35 -07:00