diff options
| author | Heiner Kallweit <[email protected]> | 2019-01-20 11:12:01 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-01-22 14:51:50 -0800 |
| commit | 6dc8b74bf5c5a958136613ff773f6c770fbde2f2 (patch) | |
| tree | 35b122d3c4a7ec8e36d5ddfd9b898e15e478674e /scripts/gdb/linux/tasks.py | |
| parent | a5996989d5911f416f8a31cf2b3d415911febbf6 (diff) | |
r8169: improve rx buffer allocation
8 years ago, as part of 6f0333b8fde4 ("r8169: use 50% less ram for RX
ring"), the alignment requirement for rx buffers was silently changed
from 8 bytes to 16 bytes. I found nothing explaining this, also the
chip specs I have only mention an 8 byte requirement.
AFAICS kmalloc_node() guarantees allocated memory to be at least
"long long" aligned, what is 8 bytes on a 32 bit machine.
So we can take this memory as-is and avoid some overhead by changing
the alignment requirement back to 8 bytes.
Signed-off-by: Heiner Kallweit <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions