Re: [PATCH] kernfs: make kernfs_walk_ns() use kernfs_pr_cont_buf[]

From: Greg Kroah-Hartman
Date: Fri Jan 15 2016 - 17:05:56 EST


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@xxxxxxxxxx>
> Reported-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> ---
> Hello,
>
> Greg, can you please route this one?

Thanks, will take this after 4.5-rc1 is out.

greg k-h