linux_dsm_epyc7002/arch/powerpc/platforms
Anton Blanchard f8729e8531 powerpc: Convert RTAS event scan from kernel thread to workqueue
RTAS event scan has to run across all cpus. Right now we use a kernel
thread and set_cpus_allowed but in doing so we wake up the previous cpu
unnecessarily.

Some ftrace output shows this:

previous cpu (2):
[002]  7.022331: sched_switch: task swapper:0 [140] ==> rtasd:194 [120]
[002]  7.022338: sched_switch: task rtasd:194 [120] ==> migration/2:9 [0]
[002]  7.022344: sched_switch: task migration/2:9 [0] ==> swapper:0 [140]

next cpu (3):
[003]  7.022345: sched_switch: task swapper:0 [140] ==> rtasd:194 [120]
[003]  7.022371: sched_switch: task rtasd:194 [120] ==> swapper:0 [140]

We can use schedule_delayed_work_on and avoid the unnecessary wakeup.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2009-06-02 10:35:32 +10:00
..
8xx powerpc/cpm: Remove some cruft code and defines 2009-05-19 00:47:19 -05:00
40x powerpc/virtex: Add uImage to the default images list 2009-05-14 10:23:10 -06:00
44x powerpc: Update Warp to use leds-gpio driver 2009-05-21 15:42:56 +10:00
52xx powerpc/pci: Clean up direct access to sysdata by 52xx platforms 2009-05-21 15:44:22 +10:00
82xx powerpc/cpm: Remove some cruft code and defines 2009-05-19 00:47:19 -05:00
83xx powerpc/fsl_soc: isolate legacy fsl_spi support to mpc832x_rdb boards 2009-04-01 08:59:23 -07:00
85xx powerpc/85xx: Add P2020DS board support 2009-05-19 00:50:43 -05:00
86xx powerpc/86xx: clean up smp init code 2009-05-19 00:50:20 -05:00
512x powerpc/kconfig: Kill PPC_MULTIPLATFORM 2009-03-11 17:11:35 +11:00
amigaone powerpc/kconfig: Kill PPC_MULTIPLATFORM 2009-03-11 17:11:35 +11:00
cell powerpc/spufs: Remove double check for non-negative dentry 2009-05-21 15:44:25 +10:00
chrp powerpc/pci: Clean up direct access to sysdata by CHRP platforms 2009-05-21 15:44:23 +10:00
embedded6xx Merge commit 'origin/master' into next 2009-03-24 13:38:30 +11:00
iseries powerpc/pci: clean up direct access to sysdata by iseries platform 2009-05-21 15:44:26 +10:00
maple powerpc/maple: Add a quirk to disable MSI for IPR on Bimini 2009-05-22 16:01:11 +10:00
pasemi powerpc/pasemi: Fix build error on UP 2009-04-22 14:56:35 +10:00
powermac powerpc/pci: Clean up direct access to sysdata by powermac platforms 2009-05-21 15:44:23 +10:00
prep powerpc/kconfig: Kill PPC_MULTIPLATFORM 2009-03-11 17:11:35 +11:00
ps3 powerpc/ps3: Use smp_request_message_ipi 2009-05-21 15:43:58 +10:00
pseries powerpc: Convert RTAS event scan from kernel thread to workqueue 2009-06-02 10:35:32 +10:00
fsl_uli1575.c powerpc/85xx: Add P2020DS board support 2009-05-19 00:50:43 -05:00
Kconfig Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2009-04-03 15:24:35 -07:00
Kconfig.cputype powerpc: Make the NR_CPUS max 8192 2009-06-02 10:32:24 +10:00
Makefile powerpc/amigaone: Add platform support for AmigaOne 2009-02-11 16:00:08 +11:00