Files
linux/drivers
Chen Li 3fcb4f01de drm/radeon: Use kvmalloc for CS chunks
The number of chunks/chunks_array may be passed in
by userspace and can be large.

It has been observed to cause kcalloc failures from trinity fuzzy test:

 WARNING: CPU: 0 PID: 5487 at mm/page_alloc.c:4385
 __alloc_pages_nodemask+0x2d8/0x14d0

Obviously, the required order in this case is larger than MAX_ORDER.
So, just use kvmalloc instead.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Chen Li <chenli@uniontech.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-03-02 14:31:57 -05:00
..
…
…
…
2021-01-14 20:56:56 +00:00
…
…
…
2020-12-07 10:08:14 +01:00
…
2020-12-02 22:35:44 +01:00
2021-01-05 15:50:36 -08:00
2020-12-09 19:26:02 -06:00
…
…
…
…
…
2020-12-15 22:50:12 +11:00
…
…
…
2020-12-10 10:45:36 +01:00
…
…
…
2020-12-09 19:44:34 +01:00
…
…