OSDN Git Service

untangling ep_call_nested(): it's all serialized on epmutex.
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 23 Aug 2020 02:19:12 +0000 (22:19 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 26 Oct 2020 00:01:49 +0000 (20:01 -0400)
commitd01f0594d727d2346e4b6ac26ae63e416b60c3f0
tree960994478a79c73a04a47052a9406fdaa1e9bb48
parent8677600d796697f04adcdec57bd73a9f54c79697
untangling ep_call_nested(): it's all serialized on epmutex.

IOW,
* no locking is needed to protect the list
* the list is actually a stack
* no need to check ->ctx
* it can bloody well be a static 5-element array - nobody is
going to be accessing it in parallel.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/eventpoll.c