aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlex Elder <[email protected]>2022-09-06 12:19:39 -0500
committerDavid S. Miller <[email protected]>2022-09-09 11:45:25 +0100
commit11902b41f2fa3960280b3a3b17474caa22b54cba (patch)
tree6af3d8da2b70834e337638795b6254cd85be5f7b /tools/perf/scripts/python
parent0c126ec3ddcc81448315e73d196a5a2f42cfd6b4 (diff)
net: ipa: kill the allocated transaction list
The only place the trans_info->alloc list is used is when initializing it, when adding a transaction to it when allocation finishes, and when moving a transaction from that list to the committed list. We can just skip putting a transaction on the allocated list, and add it (rather than move it) to the committed list when it is committed. On additional caveat is that an allocated transaction that's committed without any TREs added will be immediately freed. Because we aren't adding allocated transactions to a list any more, the list links need to be initialized to ensure they're valid at the time list_del() is called for the transaction. Then we can safely eliminate the allocated transaction list. Signed-off-by: Alex Elder <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions