diff options
| author | NeilBrown <[email protected]> | 2018-02-20 13:23:37 +1100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-02-22 15:03:23 +0100 |
| commit | 033085ff96a1615b08e80fd4327f2608ff7408cb (patch) | |
| tree | 319a32ef692f829e9f72f6c28be6726736c913d8 /tools/perf/scripts/python/bin | |
| parent | c23d6d0e54117212ed69da2a0b380187462cf0fd (diff) | |
staging: lustre: improve some libcfs_kvzalloc calls.
Using vmalloc with GFP_NOFS is not supported as vmalloc
performs some internal allocations with GFP_KERNEL.
So in cases where the size passed to libcfs_kvzalloc()
is clearly at most 1 page, convert to kzalloc().
In cases where the call clearly doesn't hold any
filesystem locks, convert to GFP_KERNEL.
Unfortunately there are many more that are not easy to fix.
Signed-off-by: NeilBrown <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions