Skip to contentSkip to conversation

epoll-move-eavail-next-to-the-list_empty_careful-check.patch removed from -mm tree

merged [email protected] 1 participant 1 message Dec 20, 2020

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: epoll: move eavail next to the list_empty_careful check
has been removed from the -mm tree. Its filename was
epoll-move-eavail-next-to-the-list_empty_careful-check.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Soheil Hassas Yeganeh <[email protected]>
Subject: epoll: move eavail next to the list_empty_careful check

This is a no-op change and simply to make the code more coherent.

---

 fs/eventpoll.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
fs/eventpoll.c renamed from fs/eventpoll.c~epoll-move-eavail-next-to-the-list_empty_careful-check +1 -2
@@ -1828,6 +1828,7 @@ fetch_events:
 		if (!eavail)
 			timed_out = !schedule_hrtimeout_range(to, slack,
 							      HRTIMER_MODE_ABS);
+		__set_current_state(TASK_RUNNING);
 
 		/*
 		 * We were woken up, thus go and try to harvest some events.
@@ -1837,8 +1838,6 @@ fetch_events:
 		eavail = 1;
 	} while (0);
 
-	__set_current_state(TASK_RUNNING);
-
 	if (!list_empty_careful(&wait.entry)) {
 		write_lock_irq(&ep->lock);
 		/*

_

Patches currently in -mm which might be from [email protected] are