commit | 8d48b2e044218ba8b3f6b1d34e96a7474b6b0688 | [log] [tgz] |
---|---|---|
author | Alexey Dobriyan <adobriyan@gmail.com> | Tue Aug 21 21:54:23 2018 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Aug 22 10:52:45 2018 -0700 |
tree | b649d72c3703bdfa6cc1b0bbedbf861c1476786f | |
parent | 2cd36fb329487e9525db3ccdbac1e92053b646fa [diff] |
proc: smaller readlock section in readdir("/proc") Readdir context is thread local, so ->pos is thread local, move it out of readlock. Link: http://lkml.kernel.org/r/20180627195339.GD18113@avx2 Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>