Re: [PATCHSET driver-core-next] sysfs: separate out kernfs, take #3

From: Tejun Heo
Date: Sun Nov 24 2013 - 09:28:47 EST


Hello,

On Sun, Nov 24, 2013 at 01:16:02AM -0800, Christoph Hellwig wrote:
> It would be highly useful if you could explain us what kernfs is
> supposed to do and why we're cheerfully waiting for it. Also given

Oops, sorry about that. It was explained in earlier series but I
probably should carry on a simplified explanation on later ones too.
It's just separating out the core features of sysfs into a separate
filesystem so that it can be used by non-kobject based users too. So,
kernfs implements the core pseudo file functionality and sysfs becomes
kobject-wrapping layer on top of it. I'm gonna convert cgroup to use
kernfs and Greg seems to have some plans for debugfs, IIUC.

> that you touch VFS core files please Cc linux-fsdevel for those and
> explain them in detail.

Does it? Ah, okay, fs/Makefile and fs/namespace.c. The former is
just adding kernfs/ directory and the latter is splitting out
kernfs_init() from sysfs_init() call. Both are trivial. Will cc
linux-fsdevel on those patches.

Thanks.

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