diff options
author | Santiago Leon <santil@linux.vnet.ibm.com> | 2010-09-03 20:28:09 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-07 03:20:32 +0200 |
commit | c033a6d1390bb6cc0c11c3b4137b856dfd8cb7c8 (patch) | |
tree | ff296183b963b75d0da43e3c809b58083316e3af /security/apparmor/resource.c | |
parent | ibmveth: Remove integer divide caused by modulus (diff) | |
download | linux-c033a6d1390bb6cc0c11c3b4137b856dfd8cb7c8.tar.xz linux-c033a6d1390bb6cc0c11c3b4137b856dfd8cb7c8.zip |
ibmveth: batch rx buffer replacement
At the moment we try and replenish the receive ring on every rx interrupt.
We even have a pool->threshold but aren't using it.
To limit the maximum latency incurred when refilling, change the threshold
from 1/2 to 7/8 and reduce the largest rx pool from 768 buffers to 512 which
should be more than enough.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Santiago Leon <santil@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/apparmor/resource.c')
0 files changed, 0 insertions, 0 deletions