diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-05-17 13:04:17 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-05-17 13:04:17 -0700 |
commit | e4b4e441323b7988a344f88d7ee3f8fcb17db048 (patch) | |
tree | c2495479973ef3db7ec11ec700977cc7924139dc /arch/x86/mm/hugetlbpage.c | |
parent | 58ddfe6c3af91d320cf5d0aba33143e7c1d8dc35 (diff) | |
download | linux-e4b4e441323b7988a344f88d7ee3f8fcb17db048.tar.bz2 |
fs/proc: re-factor proc_pid_cmdline_read() a bit
This is a pure refactoring of the function, preparing for some further
cleanups. The thing was pretty illegible, and the core functionality
still is, but now the core loop is a bit more isolated from the thing
that goes on around it.
This was "inspired" by the confluence of kworker workqueue name cleanups
by Tejun, currently scheduled for 4.18, and commit 7f7ccc2ccc2e ("proc:
do not access cmdline nor environ from file-backed areas").
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/mm/hugetlbpage.c')
0 files changed, 0 insertions, 0 deletions