> -static int notify_on_release(const struct cgroup *cgrp) > +static inline int notify_on_release(const struct cgroup *cgrp) > { > return test_bit(CGRP_NOTIFY_ON_RELEASE,&cgrp->flags); > } > > -static int clone_children(const struct cgroup *cgrp) > +static inline int clone_children(const struct cgroup *cgrp) > { > return test_bit(CGRP_CLONE_CHILDREN,&cgrp->flags); > }
Can you please tell us which compiler failed automatic inlining? I suspect gcc is enough sane and we don't need this patch. _______________________________________________ Devel mailing list Devel@openvz.org https://openvz.org/mailman/listinfo/devel