aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2019-10-02 12:11:54 +0200
committerLuca Coelho <[email protected]>2019-12-23 11:54:31 +0200
commitcfdc20efebdc1dc918338818b10f1d95b58b2ca5 (patch)
tree8b1be578cadb71563cd7ca5d9f607c4cbe6bc09a /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent80084e3591390367f56161a48b6818b3a3fd64df (diff)
iwlwifi: pcie: use partial pages if applicable
If we have only 2k RBs like on the latest (AX210) hardware, then even on x86 where PAGE_SIZE is 4k we currently waste half of the memory. If this is the case, return partial pages from the allocator and track the offset in each RBD (to be able to find the data in them and remap them later.) This might also address other platforms with larger PAGE_SIZE by putting more RBs into a single large page. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions