aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorAndrĂ© Goddard Rosa <[email protected]>2009-12-15 16:47:39 -0800
committerLinus Torvalds <[email protected]>2009-12-16 07:20:12 -0800
commit7be6d991bca63bbcdc5bc3b09789f367a3486537 (patch)
tree79168c345c424ce7b80bfba382c9dc469bdcc70a /net/lapb/lapb_iface.c
parent698ba7b5a3a7be772922340fade365c675b8243f (diff)
pid: tighten pidmap spinlock critical section by removing kfree()
Avoid calling kfree() under pidmap spinlock, calling it afterwards. Normally kfree() is fast, but sometimes it can be slow, so avoid calling it under the spinlock if we can do it. Signed-off-by: AndrĂ© Goddard Rosa <[email protected]> Cc: Pekka Enberg <[email protected]> Cc: Oleg Nesterov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions