diff options
| author | Eric Farman <[email protected]> | 2020-10-22 16:54:32 +0200 |
|---|---|---|
| committer | Heiko Carstens <[email protected]> | 2023-01-09 14:34:07 +0100 |
| commit | 4b946d65b8aa0071dbbc54b35b8502fa99c1ee22 (patch) | |
| tree | 952ec21fdaffaac2c3ec123ba2ecb204b1d123dd /tools/perf/scripts/python | |
| parent | a4c6040472ba638f2719f371fad92c83365f7332 (diff) | |
vfio/ccw: remove unnecessary malloc alignment
Everything about this allocation is harder than necessary,
since the memory allocation is already aligned to our needs.
Break them apart for readability, instead of doing the
funky arithmetic.
Of the structures that are involved, only ch_ccw needs the
GFP_DMA flag, so the others can be allocated without it.
Signed-off-by: Eric Farman <[email protected]>
Reviewed-by: Matthew Rosato <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions