Skip to content

Commit

Permalink
Revert "Revert "select: use freezable blocking call""
Browse files Browse the repository at this point in the history
This reverts commit 59612d1.

Android doesn't need to worry about buggy i686 implementations, which
was the reason behind the original revert.

See https://bugzilla.kernel.org/show_bug.cgi?id=61781.

Test: device enters suspend and everything works fine
bug 77139736

Signed-off-by: Tim Murray <[email protected]>
Signed-off-by: Alexander Winkowski <[email protected]>
Change-Id: Iecf6cb91ce4767637c5eafe8e005571b206eec3a
  • Loading branch information
Tim Murray authored and dereference23 committed Aug 4, 2022
1 parent ac825d1 commit 94b7fcf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fs/select.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ static int poll_schedule_timeout(struct poll_wqueues *pwq, int state,

set_current_state(state);
if (!pwq->triggered)
rc = schedule_hrtimeout_range(expires, slack, HRTIMER_MODE_ABS);
rc = freezable_schedule_hrtimeout_range(expires, slack,
HRTIMER_MODE_ABS);
__set_current_state(TASK_RUNNING);

/*
Expand Down

0 comments on commit 94b7fcf

Please sign in to comment.