Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fs/epoll: rename check_events label to send_events

It is currently called check_events because it, well, did exactly that.
However, since the lockless ep_events_available() call, the label no
longer checks, but just sends the events. Rename as such.

Link: http://lkml.kernel.org/r/20181114182532.27981-1-dave@stgolabs.net
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Jason Baron <jbaron@akamai.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Davidlohr Bueso and committed by
Linus Torvalds
35cff1a6 abc610e0

+3 -3
+3 -3
fs/eventpoll.c
··· 1774 1774 eavail = ep_events_available(ep); 1775 1775 spin_unlock_irq(&ep->wq.lock); 1776 1776 1777 - goto check_events; 1777 + goto send_events; 1778 1778 } 1779 1779 1780 1780 fetch_events: ··· 1784 1784 1785 1785 eavail = ep_events_available(ep); 1786 1786 if (eavail) 1787 - goto check_events; 1787 + goto send_events; 1788 1788 1789 1789 /* 1790 1790 * Busy poll timed out. Drop NAPI ID for now, we can add ··· 1841 1841 __remove_wait_queue(&ep->wq, &wait); 1842 1842 spin_unlock_irq(&ep->wq.lock); 1843 1843 1844 - check_events: 1844 + send_events: 1845 1845 /* 1846 1846 * Try to transfer events to user space. In case we get 0 events and 1847 1847 * there's still timeout left over, we go trying again in search of