On Tue, May 04, 2010 at 06:44:41PM -0700, [email protected] wrote:
> From: Sukadev Bhattiprolu <[email protected]>
>
> Restore POSIX file-locks of an application from its checkpoint image.
>
> Read the saved file-locks from the checkpoint image and for each POSIX
> lock, call flock_set() to set the lock on the file.
>
> As pointed out by Matt Helsley, no special handling is necessary for a
> process P2 in the checkpointed container that is blocked on a lock, L1
Which was inspired by Dave Hansen's explanation of c/r of futex locking :).
Cheers,
-Matt
_______________________________________________
Containers mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/containers
_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel