Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a33acb commit 39d357aCopy full SHA for 39d357a
arch/x86/kernel/kvm.c
@@ -141,7 +141,8 @@ void kvm_async_pf_task_wait(u32 token)
141
142
n.token = token;
143
n.cpu = smp_processor_id();
144
- n.halted = is_idle_task(current) || preempt_count() > 1;
+ n.halted = is_idle_task(current) || preempt_count() > 1 ||
145
+ rcu_preempt_depth();
146
init_swait_queue_head(&n.wq);
147
hlist_add_head(&n.link, &b->list);
148
raw_spin_unlock(&b->lock);
0 commit comments