diff options
| author | Kevin Hao <haokexin@gmail.com> | 2021-02-04 13:56:38 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2021-02-06 22:57:29 +0300 |
| commit | d0dfbb9912d9477578f41c5200d7eac3da899dce (patch) | |
| tree | d15cb81d2e5f49a4f783dd94da3d2ad02a9abfdd /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 1b041601c798a1a6bb3a651ce17aefd41979a1e2 (diff) | |
| download | linux-d0dfbb9912d9477578f41c5200d7eac3da899dce.tar.xz | |
net: dpaa2: Use napi_alloc_frag_align() to avoid the memory waste
The napi_alloc_frag_align() will guarantee that a correctly align
buffer address is returned. So use this function to simplify the buffer
alloc and avoid the unnecessary memory waste.
Signed-off-by: Kevin Hao <haokexin@gmail.com>
Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
