Messages in this thread | | | Subject | Re: [RFC][PATCH 1/4] checkpoint-restart: general infrastructure | From | Dave Hansen <> | Date | Thu, 14 Aug 2008 08:12:16 -0700 |
| |
On Thu, 2008-08-14 at 07:53 +0200, Pavel Machek wrote: > > As Oren has pointed out before, passing in an fd means we can pass a > > socket into the syscall. > > If you do pass a socket, will it handle blocking correctly? Getting > deadlocked task would be bad. What happens if I try to snapshot into > /proc/self/fd/0 ? Or maybe restore from /proc/cmdline?
Heh, that's a good point. What was the other code where we kept coming up with deadlocks like that? Anyone remember?
-- Dave
| |