Paul Menage wrote: > Move the cgroup debug subsys into cgroup.c to access internal state > > While it's architecturally clean to have the cgroup debug subsystem be > completely independent of the cgroups framework, it limits its > usefulness for debugging the contents of internal data structures. > Move the debug subsystem code into the scope of all the cgroups data > structures to make more detailed debugging possible. > > Signed-off-by: Paul Menage <menage@xxxxxxxxxx> > Reviewed-by: Li Zefan <lizf@xxxxxxxxxxxxxx> ... > +static u64 current_css_set_read(struct cgroup *cont, struct cftype *cft) > +{ > + return (u64)(long)current->cgroups; I think it should be (unsigned long), otherwise: # cat debug.current_css_set 18446744072653386208 That is: ffffffffc10c31e0 > +} _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers