Re: [PATCH] kernfs: Build paths in linear time with respect to depth

From: Chris Down

Date: Sat Nov 07 2026 - 22:19:43 EST


Chris Down writes:
Fixes: 3abb1d90f5d9 ("kernfs: make kernfs_path*() behave in the style of strlcpy()")
Cc: <stable@xxxxxxxxxxxxxxx>

Note, I am not sure whether this is worthy of stable. But I have noticed that in some cases this build time can be pretty substantial with these locks held. But on the other hand it has been like this for quite a while, so maybe it doesn't matter :-)