OpenVZ Forum


Home » Mailing lists » Devel » [RFC PATCH 6/6] IPC/sem: .write operation for /proc/<self>/semundo
Re: [RFC PATCH 6/6] IPC/sem: .write operation for /proc/<self>/semundo [message #31431 is a reply to message #31410] Mon, 30 June 2008 08:37 Go to previous message
Nadia Derbey is currently offline  Nadia Derbey
Messages: 114
Registered: January 2008
Senior Member
Serge E. Hallyn wrote:
> Quoting Nadia.Derbey@bull.net (Nadia.Derbey@bull.net):
> 
>>PATCH [06/06]
>>
>>This patch introduces the .write seq operation for /proc/pid/semundo.
>>
>>In order to simplify the locking strategy, the write operation is only allowed
>>to 'current'.
>>
>>
>>Signed-off-by: Nadia Derbey <Nadia.Derbey@bull.net>
> 
> 
> Acked-by: Serge Hallyn <serue@us.ibm.com>
> 
> Have you written a patch to cryo in light of the new (target==current)
> restriction?
> 

Serge,

Finally, after having a look at cryo code, it appeared that the semundo 
proc file was already recreated in "injection mode" for current task.
So, nothing to be changed... except that I found a bug at the end of the 
  undo list restoring phase.
Sending the patch right now.

Regards,
Nadia
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH 3/3] i/o accounting and control
Next Topic: [PATCH -cryo 1/1] Correctly close the semundo procfile after restarting the undo list
Goto Forum:
  


Current Time: Tue Sep 09 04:20:00 GMT 2025

Total time taken to generate the page: 0.06340 seconds