search for: arch_needs_cpu

Displaying 7 results from an estimated 7 matches for "arch_needs_cpu".

2017 Nov 15
6
[PATCH RFC v3 3/6] sched/idle: Add a generic poll before enter real idle path
.... > > Why not do a HV specific idle driver? If I understand the problem correctly then he wants to avoid the heavy lifting in tick_nohz_idle_enter() in the first place, but there is already an interesting quirk there which makes it exit early. See commit 3c5d92a0cfb5 ("nohz: Introduce arch_needs_cpu"). The reason for this commit looks similar. But lets not proliferate that. I'd rather see that go away. But the irq_timings stuff is heading into the same direction, with a more complex prediction logic which should tell you pretty good how long that idle period is going to be and in cas...
2017 Nov 15
6
[PATCH RFC v3 3/6] sched/idle: Add a generic poll before enter real idle path
.... > > Why not do a HV specific idle driver? If I understand the problem correctly then he wants to avoid the heavy lifting in tick_nohz_idle_enter() in the first place, but there is already an interesting quirk there which makes it exit early. See commit 3c5d92a0cfb5 ("nohz: Introduce arch_needs_cpu"). The reason for this commit looks similar. But lets not proliferate that. I'd rather see that go away. But the irq_timings stuff is heading into the same direction, with a more complex prediction logic which should tell you pretty good how long that idle period is going to be and in cas...
2017 Nov 16
2
[PATCH RFC v3 3/6] sched/idle: Add a generic poll before enter real idle path
...river? >> If I understand the problem correctly then he wants to avoid the heavy >> lifting in tick_nohz_idle_enter() in the first place, but there is >> already >> an interesting quirk there which makes it exit early.? See commit >> 3c5d92a0cfb5 ("nohz: Introduce arch_needs_cpu"). The reason for this >> commit >> looks similar. But lets not proliferate that. I'd rather see that go >> away. > > agreed. > > Even we can get more benifit than commit 3c5d92a0cfb5 ("nohz: Introduce > arch_needs_cpu") > in kvm guest. I won...
2017 Nov 16
2
[PATCH RFC v3 3/6] sched/idle: Add a generic poll before enter real idle path
...river? >> If I understand the problem correctly then he wants to avoid the heavy >> lifting in tick_nohz_idle_enter() in the first place, but there is >> already >> an interesting quirk there which makes it exit early.? See commit >> 3c5d92a0cfb5 ("nohz: Introduce arch_needs_cpu"). The reason for this >> commit >> looks similar. But lets not proliferate that. I'd rather see that go >> away. > > agreed. > > Even we can get more benifit than commit 3c5d92a0cfb5 ("nohz: Introduce > arch_needs_cpu") > in kvm guest. I won...
2017 Nov 20
0
[PATCH RFC v3 3/6] sched/idle: Add a generic poll before enter real idle path
...If I understand the problem correctly then he wants to avoid the heavy >>> lifting in tick_nohz_idle_enter() in the first place, but there is >>> already >>> an interesting quirk there which makes it exit early.? See commit >>> 3c5d92a0cfb5 ("nohz: Introduce arch_needs_cpu"). The reason for this >>> commit >>> looks similar. But lets not proliferate that. I'd rather see that go >>> away. >> agreed. >> >> Even we can get more benifit than commit 3c5d92a0cfb5 ("nohz: Introduce >> arch_needs_cpu") &gt...
2017 Nov 16
1
[PATCH RFC v3 3/6] sched/idle: Add a generic poll before enter real idle path
...t do a HV specific idle driver? > If I understand the problem correctly then he wants to avoid the heavy > lifting in tick_nohz_idle_enter() in the first place, but there is already > an interesting quirk there which makes it exit early. See commit > 3c5d92a0cfb5 ("nohz: Introduce arch_needs_cpu"). The reason for this commit > looks similar. But lets not proliferate that. I'd rather see that go away. agreed. Even we can get more benifit than commit 3c5d92a0cfb5 ("nohz: Introduce arch_needs_cpu") in kvm guest. I won't proliferate that.. > But the irq_timings...
2017 Nov 13
1
[PATCH RFC v3 3/6] sched/idle: Add a generic poll before enter real idle path
From: Yang Zhang <yang.zhang.wz at gmail.com> Implement a generic idle poll which resembles the functionality found in arch/. Provide weak arch_cpu_idle_poll function which can be overridden by the architecture code if needed. Interrupts arrive which may not cause a reschedule in idle loops. In KVM guest, this costs several VM-exit/VM-entry cycles, VM-entry for interrupts and VM-exit