Re: [PATCH] cgroup: deprecate remount option changes mount option
From: Lennart Poettering
Date: Thu Mar 15 2012 - 15:36:35 EST
On Thu, 15.03.12 09:56, Tejun Heo (tj@xxxxxxxxxx) wrote:
> This patch marks the following features for deprecation.
>
> * Rebinding subsys by remount: Never reached useful state - only works
> on empty hierarchies.
>
> * release_agent update by remount: release_agent itself will be
> replaced with conventional fsnotify notification.
Just wondering, what kind of event do you plan to emit if a cgroup runs
empty? To userspace, with fanotify, will this be FAN_MODIFY? I'd very
much prefer if we only get events really when a group runs empty, and
not each time a PID is added/removed from a cgroup, which FAN_NOTIFY
might suggest?
Lennart
--
Lennart Poettering - Red Hat, Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/