android_kernel_samsung_msm8976/include
Tom Zanussi fd30fc3256 [PATCH] relayfs: remove warning printk() in relay_switch_subbuf()
There's currently a diagnostic printk in relay_switch_subbuf() meant as
a warning if you accidentally try to log an event larger than the
sub-buffer size.

The problem is if this happens while logging from somewhere it's not
safe to be doing printks, such as in the scheduler, you can end up with
a deadlock.  This patch removes the warning from relay_switch_subbuf()
and instead prints some diagnostic info when the channel is closed.

Thanks to Mathieu Desnoyers for pointing out the problem and
suggesting a fix.

Signed-off-by: Tom Zanussi <zanussi@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-12-20 17:33:22 -08:00
..
acpi
asm-alpha
asm-arm [ARM] 3205/1: Handle new EABI relocations when loading kernel modules. 2005-12-14 22:04:22 +00:00
asm-arm26
asm-cris
asm-frv
asm-generic
asm-h8300
asm-i386
asm-ia64 [IA64] disable preemption in udelay() 2005-12-16 10:00:24 -08:00
asm-m32r
asm-m68k
asm-m68knommu
asm-mips [PATCH] ide: AU1200 IDE update 2005-12-15 02:17:46 +01:00
asm-parisc
asm-powerpc
asm-ppc [PATCH] ppc: ppc4xx_dma DMA_MODE_{READ,WRITE} fix 2005-12-16 14:43:05 -08:00
asm-s390
asm-sh
asm-sh64
asm-sparc [PATCH] sun4c_memerr_reg __iomem annotations 2005-12-15 10:01:29 -08:00
asm-sparc64
asm-um
asm-v850
asm-x86_64
asm-xtensa
keys
linux [PATCH] relayfs: remove warning printk() in relay_switch_subbuf() 2005-12-20 17:33:22 -08:00
math-emu
media [PATCH] V4L/DVB: (3086c) Whitespaces cleanups part 4 2005-12-12 08:57:44 -08:00
mtd
net [IPSEC]: Perform SA switchover immediately. 2005-12-19 14:23:23 -08:00
pcmcia
rdma
rxrpc
scsi [SCSI] Consolidate REQ_BLOCK_PC handling path (fix ipod panic) 2005-12-13 21:29:27 -08:00
sound
video