diff options
| author | Kent Gibson <[email protected]> | 2023-12-21 09:20:38 +0800 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2023-12-27 15:43:56 +0100 |
| commit | b718fbfea9df4f715ddd4c61a671226fb11bb232 (patch) | |
| tree | b937250f9844b442ffde35ac814b1fc4b76d2f11 /tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c | |
| parent | ede7511e7c22c9542a699ddff9f32de74e0bb972 (diff) | |
gpiolib: cdev: allocate linereq using kvzalloc()
The size of struct linereq may exceed a page, so allocate space for
it using kvzalloc() instead of kzalloc() to handle the case where
memory is heavily fragmented and kzalloc() cannot find a sufficient
contiguous region.
Signed-off-by: Kent Gibson <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions