Re: [PATCH net-next] net_sched: htb: do not acquire qdisc lock in dump operations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
Date: Wed, 05 Mar 2014 10:14:34 -0800

> From: Eric Dumazet <edumazet@xxxxxxxxxx>
> 
> htb_dump() and htb_dump_class() do not strictly need to acquire
> qdisc lock to fetch qdisc and/or class parameters.
> 
> We hold RTNL and no changes can occur.
> 
> This reduces by 50% qdisc lock pressure while doing tc qdisc|class dump
> operations.
> 
> Signed-off-by: Eric Dumazet <edumazet@xxxxxxxxxx>

Yep, this looks like a valid locking removal.

Applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Discussion]     [TCP Instrumentation]     [Ethernet Bridging]     [Linux Wireless Networking]     [Linux WPAN Networking]     [Linux Host AP]     [Linux WPAN Networking]     [Linux Bluetooth Networking]     [Linux ATH6KL Networking]     [Linux Networking Users]     [Linux Coverity]     [VLAN]     [Git]     [IETF Annouce]     [Linux Assembly]     [Security]     [Bugtraq]     [Yosemite Information]     [MIPS Linux]     [ARM Linux Kernel]     [ARM Linux]     [Linux Virtualization]     [Linux IDE]     [Linux RAID]     [Linux SCSI]