lkml.org 
[lkml]   [2013]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHSET driver-core-next] sysfs: separate out kernfs, take #3
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


\
 
 \ /
  Last update: 2013-11-24 15:41    [W:0.204 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site