diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-11-28 17:50:16 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:04:19 -0500 |
commit | 5f06eba4dce361bfc077868d044768476b41d698 (patch) | |
tree | fd3522e31b06bae67609b9088231b82200834316 /arch/cris | |
parent | f03b865491c2f30f2a4d77cdafc69c978ceb38a0 (diff) |
sky2: rx allocation threshold change
When using larger MTU's sky2 driver changes from allocating one
data area, to using multiple pages. The threshold for this was based on
a heuristic where the cost of a single allocation is bigger than one
page. Since the allocator has changed, this heuristic is now incorrect;
instead just make the threshold be when the total size of the allocation
is greater than one page.
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'arch/cris')
0 files changed, 0 insertions, 0 deletions