diff options
| author | Florian Westphal <[email protected]> | 2016-06-09 00:27:43 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-06-08 23:58:52 -0700 |
| commit | c8945043cdc687388b7a43fc6f474bddd9607e80 (patch) | |
| tree | d22984bcaf0e223a471377f67dc83827f0cae7a6 /tools/perf/scripts/python | |
| parent | a09ceb0e08140a1eec05b49b4c232d3481339cb0 (diff) | |
sched: place state, next_sched and gso_skb in same cacheline again
Earlier commits removed two members from struct Qdisc which places
next_sched/gso_skb into a different cacheline than ->state.
This restores the struct layout to what it was before the removal.
Move the two members, then add an annotation so they all reside in the
same cacheline.
This adds a 16 byte hole after cpu_qstats.
The hole could be closed but as it doesn't decrease total struct size just
do it this way.
Reported-by: Eric Dumazet <[email protected]>
Signed-off-by: Florian Westphal <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions