Re: [PATCH] sched: share task comm length value to userspace

From: Arjan van de Ven
Date: Mon Sep 05 2011 - 16:36:44 EST


On Mon, 05 Sep 2011 23:17:05 +0300
Vladimir Zapolskiy <vz@xxxxxxxxx> wrote:

> but eventually having that value in
> userspace is really desirable. However in assumption that this value
> is preserved fixed and won't be changed in reasonable perspective,
> the presented approach becomes the most evident and simple.

yeah if it would never change, your change would be the most simple.
but I really don't want to pin that thing down....

>
> >
> > If we need to export this, we should export it in /proc or /sys
> > somewhere as a dynamic value.....
> >
> Let's do it in a proper way. What's the common practice to export
> such limit values? I suppose via /proc/sys/kernel, please correct me,
> if I'm wrong.

that or /sys/kernel

personally I like /proc/sys/kernel for this kind of thing more, but...
... others might disagree.


--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
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/