Skip to content

proc: Cleanup status files.

Eric W. Biederman lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 of 4 patches 1 replyIn review

3 of 4 patches are in this archive. The cover letter announces 4.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4proc: Implement proc_single_file_operationsfs/proc/base.c include/linux/proc_fs.h+46 -00 replies
2/4proc: Rewrite do_task_stat to correctly handle pid namespaces.fs/proc/array.c fs/proc/base.c fs/proc/internal.h+16 -160 replies
3/4proc: seqfile convert proc_pid_status to properly handle pid namespacesarch/s390/kernel/traps.c fs/proc/array.c fs/proc/base.c +7 more+93 -961 reply

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPavel Emelyanov
SeriesA-b
1/4
2/4
3/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] proc: Cleanup status files.

There is a long standing ugliness with /proc/<pid>/stat, /proc/<pid>/statm, and /proc/<pid>/status that they do not use the seqfile API.

In addition they are currently reporting pids in the pid namespace of the current task instead of the pid namespace with which proc was mounted which is confusing.

This patch series first build the infrastructure to allow these problems to be fixed and then it converts the individual proc status files.

Eric