Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1310501
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] kernfs: make kernfs_walk_ns() use kernfs_pr_cont_buf[] |
| Date | 2016-01-15 23:10 +0100 |
| Message-ID | <qRkJc-3M8-7@gated-at.bofh.it> (permalink) |
| References | <qDcBQ-2jb-5@gated-at.bofh.it> <qDcBQ-2jb-7@gated-at.bofh.it> <qRbFV-60h-21@gated-at.bofh.it> <qRgvV-RW-29@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Jan 15, 2016 at 12:30:14PM -0500, Tejun Heo wrote: > kernfs_walk_ns() uses a static path_buf[PATH_MAX] to separate out path > components. Keeping around the 4k buffer just for kernfs_walk_ns() is > wasteful. This patch makes it piggyback on kernfs_pr_cont_buf[] > instead. This requires kernfs_walk_ns() to hold kernfs_rename_lock. > > Signed-off-by: Tejun Heo <tj@kernel.org> > Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> > --- > Hello, > > Greg, can you please route this one? Thanks, will take this after 4.5-rc1 is out. greg k-h
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH 2/8] kernfs: implement kernfs_walk_and_get() Geert Uytterhoeven <geert@linux-m68k.org> - 2016-01-15 13:30 +0100
[PATCH] kernfs: make kernfs_walk_ns() use kernfs_pr_cont_buf[] Tejun Heo <tj@kernel.org> - 2016-01-15 18:40 +0100
Re: [PATCH] kernfs: make kernfs_walk_ns() use kernfs_pr_cont_buf[] Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-01-15 23:10 +0100
csiph-web