diff options
author | Tim Chen <tim.c.chen@linux.intel.com> | 2017-08-25 09:13:55 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-09-14 09:56:18 -0700 |
commit | 11a19c7b099f96d00a8dec52bfbb8475e89b6745 (patch) | |
tree | f1b357ea18df807c38355591ff929aaf4bb3e3f0 /drivers/regulator/wm8350-regulator.c | |
parent | 2554db916586b228ce93e6f74a12fd7fe430a004 (diff) | |
download | op-kernel-dev-11a19c7b099f96d00a8dec52bfbb8475e89b6745.zip op-kernel-dev-11a19c7b099f96d00a8dec52bfbb8475e89b6745.tar.gz |
sched/wait: Introduce wakeup boomark in wake_up_page_bit
Now that we have added breaks in the wait queue scan and allow bookmark
on scan position, we put this logic in the wake_up_page_bit function.
We can have very long page wait list in large system where multiple
pages share the same wait list. We break the wake up walk here to allow
other cpus a chance to access the list, and not to disable the interrupts
when traversing the list for too long. This reduces the interrupt and
rescheduling latency, and excessive page wait queue lock hold time.
[ v2: Remove bookmark_wake_function ]
Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/regulator/wm8350-regulator.c')
0 files changed, 0 insertions, 0 deletions