diff options
| author | Jia-Ye Li <[email protected]> | 2019-09-25 08:37:29 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-10-04 08:20:57 +0000 |
| commit | 6e58fc14d7ed9160dc6e0e55ac11dfc84ed578e1 (patch) | |
| tree | 2aff59044d376432ab304d76001a4688307f046c /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | Staging: fbtft: fix memory leak in fbtft_framebuffer_alloc (diff) | |
| download | kernel-6e58fc14d7ed9160dc6e0e55ac11dfc84ed578e1.tar.gz kernel-6e58fc14d7ed9160dc6e0e55ac11dfc84ed578e1.zip | |
staging: exfat: Use kvzalloc() instead of kzalloc() for exfat_sb_info
Fix mount failed "Cannot allocate memory".
When the memory gets fragmented, kzalloc() might fail to allocate
physically contiguous pages for the struct exfat_sb_info (its size is
about 34KiB) even the total free memory is enough.
Use kvzalloc() to solve this problem.
Reviewed-by: Ethan Wu <[email protected]>
Signed-off-by: Jia-Ye Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
