diff options
| author | 2018-02-20 13:23:37 +1100 | |
|---|---|---|
| committer | 2018-02-22 15:03:23 +0100 | |
| commit | 033085ff96a1615b08e80fd4327f2608ff7408cb (patch) | |
| tree | 319a32ef692f829e9f72f6c28be6726736c913d8 /include/linux/debugobjects.h | |
| parent | staging: lustre: discard lu_buf allocation library. (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 <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
