On Fri, 08 Nov 2024 17:28:38 -0800, Omar Sandoval wrote: > From: Omar Sandoval <osandov@xxxxxx> > > Hi, > > The performance of /proc/kcore reads has been showing up as a bottleneck > for drgn. drgn scripts often spend ~25% of their time in the kernel > reading from /proc/kcore. > > [...] A bit too late for v6.13, I think but certainly something we can look at for v6.14. And great that your stepping up to maintain it! --- Applied to the vfs-6.14.kcore branch of the vfs/vfs.git tree. Patches in the vfs-6.14.kcore branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs-6.14.kcore [1/4] proc/kcore: mark proc entry as permanent https://git.kernel.org/vfs/vfs/c/182e1391e525 [2/4] proc/kcore: don't walk list on every read https://git.kernel.org/vfs/vfs/c/7d528645beeb [3/4] proc/kcore: use percpu_rw_semaphore for kclist_lock https://git.kernel.org/vfs/vfs/c/61c85db61fad [4/4] MAINTAINERS: add me as /proc/kcore maintainer https://git.kernel.org/vfs/vfs/c/f792a4899395