projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kfence: use TASK_IDLE when awaiting allocation
[linux-2.6-microblaze.git]
/
mm
/
kfence
/
core.c
diff --git
a/mm/kfence/core.c
b/mm/kfence/core.c
index
e18fbbd
..
4d21ac4
100644
(file)
--- a/
mm/kfence/core.c
+++ b/
mm/kfence/core.c
@@
-627,10
+627,10
@@
static void toggle_allocation_gate(struct work_struct *work)
* During low activity with no allocations we might wait a
* while; let's avoid the hung task warning.
*/
* During low activity with no allocations we might wait a
* while; let's avoid the hung task warning.
*/
- wait_event_timeout(allocation_wait, atomic_read(&kfence_allocation_gate),
- sysctl_hung_task_timeout_secs * HZ / 2);
+ wait_event_
idle_
timeout(allocation_wait, atomic_read(&kfence_allocation_gate),
+
sysctl_hung_task_timeout_secs * HZ / 2);
} else {
} else {
- wait_event(allocation_wait, atomic_read(&kfence_allocation_gate));
+ wait_event
_idle
(allocation_wait, atomic_read(&kfence_allocation_gate));
}
/* Disable static key and reset timer. */
}
/* Disable static key and reset timer. */