diff options
| author | Michal Hocko <[email protected]> | 2017-05-08 15:57:37 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-05-08 17:15:13 -0700 |
| commit | bc4e54f6e966e9ca35064cd60f91b1478c07a1b2 (patch) | |
| tree | 125ce2441c6a621067bcf346c8cc6a04aef2b1b7 /tools/perf/scripts/python | |
| parent | d224e938189771dbd1e3b68ee8603a949bee76bb (diff) | |
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/[email protected]
Signed-off-by: Michal Hocko <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Cc: Kent Overstreet <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions