Re: [RFC V2 PATCH] kernfs: create raw version kernfs_path_len and kernfs_path

From: Christoph Hellwig
Date: Sat Feb 27 2016 - 03:53:00 EST


On Fri, Feb 26, 2016 at 01:47:39PM -0800, Yang Shi wrote:
> commit 5634cc2aa9aebc77bc862992e7805469dcf83dac ("writeback: update writeback
> tracepoints to report cgroup") made writeback tracepoints report cgroup
> writeback, but it may trigger the below bug on -rt kernel since kernfs_path
> and kernfs_path_len are called by tracepoints, which acquire sleeping lock.

Sounds like the tracepoints simplify shouldn't try to do this path
generation at all..