kernel-hacking-2024-linux-s.../arch/alpha/kernel
Frederic Weisbecker 4c94cada48 alpha: Add missing RCU idle APIs on idle loop
In the old times, the whole idle task was considered
as an RCU quiescent state. But as RCU became more and
more successful overtime, some RCU read side critical
section have been added even in the code of some
architectures idle tasks, for tracing for example.

So nowadays, rcu_idle_enter() and rcu_idle_exit() must
be called by the architecture to tell RCU about the part
in the idle loop that doesn't make use of rcu read side
critical sections, typically the part that puts the CPU
in low power mode.

This is necessary for RCU to find the quiescent states in
idle in order to complete grace periods.

Add this missing pair of calls in the Alpha's idle loop.

Reported-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Tested-by: Michael Cree <mcree@orcon.net.nz>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Matt Turner <mattst88@gmail.com>
Cc: alpha <linux-alpha@vger.kernel.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: <stable@vger.kernel.org> # 3.3+
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
2012-09-23 07:44:43 -07:00
..
.gitignore
alpha_ksyms.c alpha: take kernel_execve() out of entry.S 2012-08-19 08:41:19 -07:00
asm-offsets.c
binfmt_loader.c __register_binfmt() made void 2012-03-20 21:29:46 -04:00
console.c
core_apecs.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
core_cia.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
core_irongate.c
core_lca.c
core_marvel.c
core_mcpcia.c
core_polaris.c
core_t2.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
core_titan.c
core_tsunami.c alpha: include module.h to fix modpost on Tsunami 2012-05-02 15:54:06 -04:00
core_wildfire.c
entry.S alpha: take kernel_execve() out of entry.S 2012-08-19 08:41:19 -07:00
err_common.c
err_ev6.c
err_ev7.c
err_impl.h Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
err_marvel.c
err_titan.c
es1888.c
gct.c
head.S Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
io.c
irq.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
irq_alpha.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
irq_i8259.c
irq_impl.h
irq_pyxis.c
irq_srm.c
machvec_impl.h
Makefile alpha: Use generic init_task 2012-05-05 13:00:21 +02:00
module.c
osf_sys.c alpha: take a bunch of syscalls into osf_sys.c 2012-08-19 08:41:19 -07:00
pc873xx.c
pc873xx.h
pci-noop.c Alpha: adapt for dma_map_ops changes 2012-03-28 16:36:36 +02:00
pci-sysfs.c
pci.c Merge branch 'pci/myron-pcibios_setup' into next 2012-07-05 15:31:05 -06:00
pci_impl.h alpha/PCI: replace pci_probe_only with pci_flags 2012-02-23 20:18:56 -07:00
pci_iommu.c Merge branch 'master' into for-next 2012-04-08 21:48:52 +02:00
perf_event.c perf: Pass last sampling period to perf_sample_data_init() 2012-05-09 15:23:12 +02:00
process.c alpha: Add missing RCU idle APIs on idle loop 2012-09-23 07:44:43 -07:00
proto.h
ptrace.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
setup.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
signal.c new helper: signal_delivered() 2012-06-01 12:58:52 -04:00
smc37c93x.c
smc37c669.c alpha: remove mysterious if zero-ed out includes 2012-07-30 17:25:11 -07:00
smp.c alpha: Fix preemption handling in idle loop 2012-09-23 07:44:42 -07:00
srm_env.c
srmcons.c TTY: srmcons, convert to use tty_port 2012-03-08 11:42:21 -08:00
sys_alcor.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
sys_cabriolet.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
sys_dp264.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
sys_eb64p.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
sys_eiger.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
sys_jensen.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
sys_marvel.c alpha: silence 'const' warning in sys_marvel.c 2012-05-02 15:54:06 -04:00
sys_miata.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
sys_mikasa.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
sys_nautilus.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
sys_noritake.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
sys_rawhide.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
sys_ruffian.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
sys_rx164.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
sys_sable.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
sys_sio.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
sys_sx164.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
sys_takara.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
sys_titan.c Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
sys_wildfire.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
systbls.S alpha: take a bunch of syscalls into osf_sys.c 2012-08-19 08:41:19 -07:00
time.c
traps.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
vmlinux.lds.S Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00