OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] Add a 'trigger' callback on struct cftype.
Re: [PATCH] Add a 'trigger' callback on struct cftype. [message #28206 is a reply to message #28201] Tue, 11 March 2008 16:00 Go to previous messageGo to previous message
Paul Menage is currently offline  Paul Menage
Messages: 642
Registered: September 2006
Senior Member
On Tue, Mar 11, 2008 at 8:21 AM, Pavel Emelyanov <xemul@openvz.org> wrote:
> If the patch with max_usage for res_counter will be accepted we'll have
>  two :) files, that a event-triggers essentially, i.e. they don't care
>  what the user actually write to then, but are interested in the writing
>  by its own.
>
>  So the proposal is to make cgroups infrastructure handle this case.

This could be useful, but in the case of force_empty don't we lose the
ability to report an error (EBUSY?) in the event that the cgroup still
has tasks?

Paul
_______________________________________________
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
Read Message
Previous Topic: Re: [RFC/PATCH] cgroup swap subsystem
Next Topic: accessing "nonexistent" /proc/<tid>/
Goto Forum:
  


Current Time: Tue Jul 23 02:58:53 GMT 2024

Total time taken to generate the page: 0.02350 seconds