]> git.baikalelectronics.ru Git - kernel.git/commit
[MTD] [NOR] Fix deadlock in Intel chip driver caused by get_chip recursion
authorAlexey Korolev <akorolev@infradead.org>
Mon, 22 Oct 2007 16:55:20 +0000 (17:55 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 23 Oct 2007 11:07:52 +0000 (12:07 +0100)
commit65029c9ab7a013bee9d146f5125756c9295cbfb4
tree4d4bb74499d093aa9a921e72875d223f15506657
parentbca1deb4f99d9953e7b3ba286cc6de435a5f95ad
[MTD] [NOR] Fix deadlock in Intel chip driver caused by get_chip recursion

This patch solves kernel deadlock issue seen on JFFF2 simultaneous
operations. Detailed investigation of the issue showed that the kernel
deadlock is caused by tons of recursive get_chip calls.

Signed-off-by: Alexey Korolev <akorolev@infradead.org>
Acked-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/chips/cfi_cmdset_0001.c