Messages in this thread | | | Date | Wed, 28 Nov 2001 17:33:59 -0800 | From | "David C. Hansen" <> | Subject | Re: [PATCH] remove BKL from drivers' release functions |
| |
Russell King wrote:
>The BKL is only held for the duration of the open, not until you close the >device. > I'll need to go back and review the changes to the char and block devices. I believe that a big chunk of the drivers that we changed were misc drivers, so I might still be in luck.
Does everyone agree that we need to get the BKL out of common areas like this? For starters, what about adding a pair of spinlocks for block devices and character devices to take the place of the BKL in serializing opens? Or, should we make it the driver's responsibility completely?
Dave Hansen haveblue@us.ibm.com
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |