On Mon, 1 Jul 2013 10:51:03 +0200 Pavel Machek <pa...@ucw.cz> wrote: > Hi! > > > diff --git a/Documentation/cgroups/memory.txt > > b/Documentation/cgroups/memory.txt > > index ddf4f93..3c589cf 100644 > > --- a/Documentation/cgroups/memory.txt > > +++ b/Documentation/cgroups/memory.txt > > @@ -807,12 +807,14 @@ register a notification, an application must: > > > > - create an eventfd using eventfd(2); > > - open memory.pressure_level; > > -- write string like "<event_fd> <fd of memory.pressure_level> <level>" > > +- write string like "<event_fd> <fd of memory.pressure_level> <level> > > [strict]" > > to cgroup.event_control. > > > > This is.. pretty strange interface. Would it be cleaner to do ioctl()? > New syscall?
Are you referring to my new mode or to the whole thing? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/