[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4EE4FCBB.9050600@gmail.com>
Date: Sun, 11 Dec 2011 13:55:55 -0500
From: KOSAKI Motohiro <kosaki.motohiro@...il.com>
To: Glauber Costa <glommer@...allels.com>
CC: linux-kernel@...r.kernel.org, jbottomley@...allels.com,
cgroups@...r.kernel.org, bsingharora@...il.com, devel@...nvz.org,
kamezawa.hiroyu@...fujitsu.com, tj@...nel.org
Subject: Re: [PATCH 1/3] nitpick: make simple functions inline
> -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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists