]> rtime.felk.cvut.cz Git - socketcan-devel.git/commit
Since 2.6.26 a new "midlevel private" ml_priv pointer has been
authorhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Sat, 23 Jan 2010 21:25:23 +0000 (21:25 +0000)
committerhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Sat, 23 Jan 2010 21:25:23 +0000 (21:25 +0000)
commit0240efc17576e2dc02a080ed5641275bd4d7aed3
treed78bbb54b5de274f1e608eb9ccd4f0dcc17aa664
parentf10c35c516f98001c025bd5d2eed3518ca0114d1
Since 2.6.26 a new "midlevel private" ml_priv pointer has been
introduced in struct net_device. We use this pointer to omit the
linear walk through the can_rx_dev_list. A similar speedup has been
queued for 2.6.34 mainline but using the new netdev_rcu lists.

The mainline commit:
http://git.kernel.org/?p=linux/kernel/git/davem/net-next-2.6.git;a=commitdiff;h=20dd3850bcf860561496827b711fa10fecf6e787

git-svn-id: svn://svn.berlios.de//socketcan/trunk@1118 030b6a49-0b11-0410-94ab-b0dab22257f2
kernel/2.6/net/can/af_can.c