]> git.baikalelectronics.ru Git - kernel.git/commit
net/ipx: push down BKL into a ipx_dgram_ops
authorArnd Bergmann <arnd@arndb.de>
Thu, 5 Nov 2009 04:37:27 +0000 (04:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Nov 2009 08:46:39 +0000 (00:46 -0800)
commit9b122bfad5c573a957302da576afb755797d27bd
treea4286ea9985ba13dbb49a7f3f2898c40d11558ee
parentb9f2ff20f23d8e31ba38576ee1d1c38ca4be861f
net/ipx: push down BKL into a ipx_dgram_ops

Making the BKL usage explicit in ipx makes it more
obvious where it is used, reduces code size and helps
getting rid of the BKL in common code.

I did not analyse how to kill lock_kernel from ipx
entirely, this will involve either proving that it's not
needed, or replacing with a proper mutex or spinlock,
after finding out which data structures are protected
by the lock.

Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: David S. Miller <davem@davemloft.net>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: netdev@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipx/af_ipx.c