From: Tomasz Paszkowski <hidden> Date: 2004-08-04 12:59:26
This patch changes dev->qdisc_list to a double-linked list. This solves
the performance problems when destroying qdiscs with large number of inner
qdiscs.
This is backported version of Patrick McHardy patch (03-qdisc_list-list_h.diff)
for 2.6 kernels.
--
Tomasz Paszkowski
From: Patrick McHardy <hidden> Date: 2004-08-04 13:30:45
Tomasz Paszkowski wrote:
This patch changes dev->qdisc_list to a double-linked list. This solves
the performance problems when destroying qdiscs with large number of inner
qdiscs.
This is backported version of Patrick McHardy patch (03-qdisc_list-list_h.diff)
or 2.6 kernels.
Looks good, except for the last hunk, the BUG_TRAP is valid in 2.4 because
it doesn't use RCU. Change it to BUG_TRAP(list_empty(&dev->qdisc_list)).
From: Tomasz Paszkowski <hidden> Date: 2004-08-04 14:56:10
On Wed, Aug 04, 2004 at 03:30:45PM +0200, Patrick McHardy wrote:
Looks good, except for the last hunk, the BUG_TRAP is valid in 2.4 because
it doesn't use RCU. Change it to BUG_TRAP(list_empty(&dev->qdisc_list)).
Thanks. In attachment there's a corrected version of this patch.
--
Tomasz Paszkowski
Administrator
Miejskie Sieci Informatyczne e-wro
http://www.e-wro.pl