From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Hansen Subject: Re: [RFC cr-pipe-v13][PATCH 2/3] Checkpoint open pipes Date: Fri, 06 Feb 2009 09:24:08 -0800 Message-ID: <1233941048.20090.123.camel@nimitz> References: <1233091395-24582-1-git-send-email-orenl@cs.columbia.edu> <1233091395-24582-4-git-send-email-orenl@cs.columbia.edu> <498AB553.3090902@fr.ibm.com> <20090205202637.4d4f4a29@thinkcentre.lan> <1233940315.20090.120.camel@nimitz> <498C715B.4050303@fr.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <498C715B.4050303-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Cedric Le Goater Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Nathan Lynch List-Id: containers.vger.kernel.org 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. -- Dave