[RFC cr-pipe-v13][PATCH 2/3] Checkpoint open pipes

Cedric Le Goater clg at fr.ibm.com
Sat Feb 7 04:54:33 PST 2009


Dave Hansen wrote:
> On Fri, 2009-02-06 at 18:20 +0100, Cedric Le Goater wrote:
>>> Sleeping inside mutexes is OK.  In general, they're drop-in compatible
>>> with semaphore behavior.
>> what about the vfs_write() ? 
> 
> Unless vfs_write() can come back and take the same mutex, I still think
> you're OK.  

generic_file_aio_write() locks the inode mutex.

C.


More information about the Containers mailing list