diff options
| author | Dmitry Torokhov <[email protected]> | 2024-06-09 16:47:53 -0700 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2024-06-28 15:15:08 -0700 |
| commit | 17f5eebf6780eee50f887542e1833fda95f53e4d (patch) | |
| tree | 139307c3f25efd9f94f06aa63aeb7261e0b5145c /tools/perf/scripts/python/compaction-times.py | |
| parent | f2845b4f1b2d459ca2ddbcaf165b1dab0b366ea6 (diff) | |
Input: ili210x - use kvmalloc() to allocate buffer for firmware update
Allocating a contiguous buffer of 64K may fail if memory is sufficiently
fragmented, and may cause OOM kill of an unrelated process. However we
do not need to have contiguous memory. We also do not need to zero
out the buffer since it will be overwritten with firmware data.
Switch to using kvmalloc() instead of kzalloc().
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions