[Devel] Re: [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.
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list