Re: config PROC_CHILDREN

From: Cyrill Gorcunov
Date: Wed Jul 08 2015 - 10:46:25 EST


On Wed, Jul 08, 2015 at 04:18:28PM +0200, Iago López Galeiras wrote:
...
>
> > That being said, I am curious... Is this interface so expensive that it
> > really deserves a separate option, instead of always enabling it? This
> > seems to be a fairly generic feature that a lot of scripts and tools
> > could benefit from (starting with pstree I suppose.)
>
> I don't think I have enough information to answer that question. I'll CC Cyrill
> Gorcunov and Andrew Morton.

The interface is not expensive per-se but it was developed for
checkpoint/restore in first place so we've been wrapping any
new code created for this sake with CONFIG_. And we (criu
team) were the only users of this interface at those days
so it had lot of sence to keep it conditionally enabled.
--
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/