summaryrefslogtreecommitdiff
path: root/bpfc
AgeCommit message (Expand)AuthorFilesLines
2015-12-17cpp: Use new proc_exec function to invoke cppVadim Kochan1-0/+1
2015-11-24bpfc: Invoke C preprocessor from cpp.c moduleVadim Kochan1-0/+1
2015-07-20bpf: Use sysctl helpers to enable bpf jit compilerVadim Kochan1-0/+1
2015-04-21netsniff-ng: Delete rfmon mac80211 device in case of panicVadim Kochan1-0/+1
2013-07-30build: reduce Extra contents to bare minimumDaniel Borkmann1-0/+5
2013-07-11build: refactor tool specific flags into <tool>/MakefileDaniel Borkmann1-0/+2
2013-06-04xutils: eliminate xutils, move rest to epoll2Daniel Borkmann1-2/+0
2013-06-04sock: add socket management functionsDaniel Borkmann1-0/+1
2013-06-04xutils: break out string handling and lockingDaniel Borkmann1-0/+1
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann2-0/+16
al interrupt enabling when the CPU is exiting an idle state. The current code checks if the idle state is coupled and, if so, it will let the coupled code to enable interrupts. This way, it can decrement the ready-count before handling the interrupt. This mechanism prevents the other CPUs from waiting for a CPU which is handling interrupts. But the check is done against the state index returned by the back end driver's ->enter functions which could be different from the initial index passed as parameter to the cpuidle_enter_state() function. entered_state = target_state->enter(dev, drv, index); [ ... ] if (!cpuidle_state_is_coupled(drv, entered_state)) local_irq_enable(); [ ... ] If the 'index' is referring to a coupled idle state but the 'entered_state' is *not* coupled, then the interrupts are enabled again. All CPUs blocked on the sync barrier may busy loop longer if the CPU has interrupts to handle before decrementing the ready-count. That's consuming more energy than saving. Fixes: 0b89e9aa2856 (cpuidle: delay enabling interrupts until all coupled CPUs leave idle) Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: 3.15+ <stable@vger.kernel.org> # 3.15+ [ rjw: Subject & changelog ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/input/gamepad.txt')