Re: [PATCH] Proc: move proc fs hooks from cpuset.c to proc/fs/base.c

From: Christoph Hellwig
Date: Thu Mar 02 2006 - 03:45:19 EST


On Wed, Mar 01, 2006 at 11:08:12PM -0800, Paul Jackson wrote:
> From: Paul Jackson <pj@xxxxxxx>
>
> Move the generic proc file operations support for
> /proc/<pid>/cpuset from kernel/cpuset.c to fs/proc/base.c.
>
> Leave behind in kernel/cpuset.c, now as an exported function, the
> cpuset specific support for this /proc/<pid>/cpuset file, which
> writes the cpuset pathname of a tasks cpuset into a seq_file.
>
> The motivation for this move is to put proc stuff in fs/proc,
> while keeping cpuset stuff in kernel/cpuset.c.

Seems pointless. This just increases #ifdef churn for no gain.

-
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/