vanishing ioctl handler debugging
authorAndrew Morton <akpm@linux-foundation.org>
Sun, 3 Jun 2007 20:50:41 +0000 (13:50 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 4 Jun 2007 20:25:10 +0000 (13:25 -0700)
commit78ae87c3cd723c8a8dcd67d4e4cbc6d63671c108
treeba550d1d94a11b8f758f905e40c3d2aa7494007d
parent4c738480d21a190e3d99c7ce985ab9484f373a3c
vanishing ioctl handler debugging

We've had several reoprts of the CPU jumping to 0x00000000 is do_ioctl().  I
assume that there's a race and someone is zeroing out the ioctl handler while
this CPU waits for the lock_kernel().

The patch adds code to detect this, then emits stuff which will hopefuly lead
us to the culprit.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ioctl.c