aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/smp.c
AgeCommit message (Expand)AuthorFilesLines
2023-10-30Merge tag 'csd-lock.2023.10.23a' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+12
2023-10-17Merge branch 'linus' into smp/coreThomas Gleixner1-2/+11
2023-10-16smp,csd: Throw an error if a CSD lock is stuck for too longRik van Riel1-1/+12
2023-09-13smp: Change function signatures to use call_single_data_tLeonardo Bras1-13/+13
2023-07-10smp: Reduce NMI traffic from CSD waiters to CSD destinationImran Khan1-1/+9
2023-07-10smp: Reduce logging due to dump_stack of CSD waitersImran Khan1-1/+2
2023-06-16trace,smp: Add tracepoints for scheduling remotelly called functionsLeonardo Bras1-11/+5
2023-06-16trace,smp: Add tracepoints around remotelly called functionsLeonardo Bras1-6/+19
2023-05-15cpu/hotplug: Mark arch_disable_smp_support() and bringup_nonboot_cpus() __initThomas Gleixner1-1/+1
2023-03-24trace,smp: Trace all smp_function_call*() invocationsPeter Zijlstra1-30/+36
2023-03-24trace: Add trace_ipi_send_cpu()Peter Zijlstra1-2/+2
2023-03-24sched, smp: Trace smp callback causing an IPIValentin Schneider1-8/+41
2023-03-24smp: reword smp call IPI commentValentin Schneider1-3/+4
2023-03-24smp: Trace IPIs sent via arch_send_call_function_ipi_mask()Valentin Schneider1-1/+8
2023-03-24sched, smp: Trace IPIs sent via send_call_function_single_ipi()Valentin Schneider1-0/+2
2023-03-24kernel/smp: Make csdlock_debug= resettablePaul E. McKenney1-3/+8
2023-03-24locking/csd_lock: Remove per-CPU data indirection from CSD lock debuggingPaul E. McKenney1-10/+6
2023-03-24locking/csd_lock: Remove added data from CSD lock debuggingPaul E. McKenney1-221/+12
2023-03-24locking/csd_lock: Add Kconfig option for csd_debug defaultPaul E. McKenney1-1/+1
2022-10-10Merge tag 'bitmap-6.1-rc1' of https://github.com/norov/linuxLinus Torvalds1-2/+4
2022-09-20lib/cpumask: add FORCE_NR_CPUS config optionYury Norov1-1/+1
2022-09-19smp: add set_nr_cpu_ids()Yury Norov1-2/+2
2022-09-19smp: don't declare nr_cpu_ids if NR_CPUS == 1Yury Norov1-0/+2
2022-08-31sched/debug: Try trigger_single_cpu_backtrace(cpu) in dump_cpu_task()Zhen Lei1-2/+1
2022-07-19locking/csd_lock: Change csdlock_debug from early_param to __setupChen Zhongjin1-2/+2
2022-05-24Merge tag 'sched-core-2022-05-23' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-8/+24
2022-05-23Merge tag 'rcu.2022.05.19a' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+5
2022-05-06Merge tag 'v5.18-rc5' into sched/core to pull in fixes & to resolve a conflictIngo Molnar1-1/+1
2022-05-01smp: Make softirq handling RT safe in flush_smp_call_function_queue()Sebastian Andrzej Siewior1-1/+4
2022-05-01smp: Rename flush_smp_call_function_from_idle()Thomas Gleixner1-7/+20
2022-04-20kernel/smp: Provide boot-time timeout for CSD lock diagnosticsPaul E. McKenney1-2/+5
2022-04-13smp: Fix offline cpu check in flush_smp_call_function_queue()Nadav Amit1-1/+1
2021-10-22sched: Improve wake_up_all_idle_cpus() take #2Peter Zijlstra1-7/+5
2021-10-07sched: Simplify wake_up_*idle*()Peter Zijlstra1-3/+3
2021-08-11smp: Fix all kernel-doc warningsRandy Dunlap1-3/+11
2021-05-06smp: Fix smp_call_function_single_async prototypeArnd Bergmann1-13/+13
2021-03-06Merge branch 'locking/core' into x86/mm, to resolve conflictIngo Molnar1-11/+263
2021-03-06smp: Micro-optimize smp_call_function_many_cond()Peter Zijlstra1-1/+1
2021-03-06smp: Inline on_each_cpu_cond() and on_each_cpu()Nadav Amit1-56/+0
2021-03-06smp: Run functions concurrently in smp_call_function_many_cond()Nadav Amit1-68/+88
2021-03-06locking/csd_lock: Add more data to CSD lock debuggingJuergen Gross1-4/+222
2021-03-06locking/csd_lock: Prepare more CSD lock debuggingJuergen Gross1-6/+10
2021-03-06locking/csd_lock: Add boot parameter for controlling CSD lock debuggingJuergen Gross1-4/+34
2021-02-17smp: Process pending softirqs in flush_smp_call_function_from_idle()Sebastian Andrzej Siewior1-0/+4
2020-11-27Merge branch 'linus' into sched/core, to resolve semantic conflictIngo Molnar1-1/+1
2020-11-24smp: Cleanup smp_call_function*()Peter Zijlstra1-25/+25
2020-10-18Merge tag 'core-rcu-2020-10-12' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+134
2020-10-16kernel/: fix repeated words in commentsRandy Dunlap1-1/+1
2020-09-04smp: Make symbol 'csd_bug_count' staticWei Yongjun1-1/+1
2020-09-04kernel/smp: Provide CSD lock timeout diagnosticsPaul E. McKenney1-2/+130
2020-09-04smp: Add source and destination CPUs to __call_single_dataPaul E. McKenney1-0/+6
2020-07-22smp: Fix a potential usage of stale nr_cpusMuchun Song1-2/+1
2020-06-28smp, irq_work: Continue smp_call_function*() and irq_work*() integrationPeter Zijlstra1-18/+0
2020-06-03Merge tag 'sched-core-2020-06-02' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-43/+132
2020-06-02irq_work: Define irq_work_single() on !CONFIG_IRQ_WORK tooIngo Molnar1-2/+0
2020-05-28sched/headers: Split out open-coded prototypes into kernel/sched/smp.hIngo Molnar1-4/+1
2020-05-28sched: Replace rq::wake_listPeter Zijlstra1-7/+40
2020-05-28irq_work, smp: Allow irq_work on call_single_queuePeter Zijlstra1-46/+73
2020-05-28smp: Optimize send_call_function_single_ipi()Peter Zijlstra1-1/+15
2020-05-28smp: Move irq_work_run() out of flush_smp_call_function_queue()Peter Zijlstra1-8/+9
2020-05-28smp: Optimize flush_smp_call_function_queue()Peter Zijlstra1-4/+23
2020-04-19smp: Use smp_call_func_t in on_each_cpu()Kaitao Cheng1-1/+1
2020-03-25cpu/hotplug: Move bringup of secondary CPUs out of smp_init()Qais Yousef1-8/+1
2020-03-06smp: Allow smp_call_function_single_async() to insert locked csdPeter Xu1-3/+11
2020-01-28smp: Remove superfluous cond_func check in smp_call_function_many_cond()Sebastian Andrzej Siewior1-1/+1
2020-01-24smp: Remove allocation mask from on_each_cpu_cond.*()Sebastian Andrzej Siewior1-10/+3
2020-01-24smp: Add a smp_cond_func_t argument to smp_call_function_many()Sebastian Andrzej Siewior1-43/+38
2020-01-24smp: Use smp_cond_func_t as type for the conditional functionSebastian Andrzej Siewior1-6/+5
2019-07-20smp: Warn on function calls from softirq contextPeter Zijlstra1-0/+16
2019-06-23smp: Remove smp_call_function() and on_each_cpu() return valuesNadav Amit1-7/+3
2019-06-23smp: Do not mark call_function_data as sharedNadav Amit1-1/+1
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-01-30cpu/hotplug: Fix "SMT disabled by BIOS" detection for KVMJosh Poimboeuf1-2/+0
2018-10-09smp,cpumask: introduce on_each_cpu_cond_maskRik van Riel1-4/+13
2018-10-09smp: use __cpumask_set_cpu in on_each_cpu_condRik van Riel1-1/+1
2018-08-07cpu/hotplug: Fix SMT supported evaluationThomas Gleixner1-0/+2
2017-11-08smp/core: Use lockdep to assert IRQs are disabled/enabledFrederic Weisbecker1-1/+1
2017-09-08treewide: make "nr_cpu_ids" unsignedAlexey Dobriyan1-1/+1
2017-08-29smp: Avoid using two cache lines for struct call_single_dataYing Huang1-15/+17
2017-05-23smp, cpumask: Use non-atomic cpumask_{set,clear}_cpu()Peter Zijlstra1-2/+2
2017-05-23smp: Avoid sending needless IPI in smp_call_function_many()Aaron Lu1-2/+12
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2016-10-26kernel/smp: Tell the user we're bringing up secondary CPUsMichael Ellerman1-0/+2
2016-10-26kernel/smp: Make the SMP boot message common on all archesMichael Ellerman1-6/+7
2016-10-26kernel/smp: Define pr_fmt() for smp.cMichael Ellerman1-0/+3
2016-09-22smp: Allocate smp_call_on_cpu() workqueue on stack tooPeter Zijlstra1-1/+2
2016-09-05smp: Add function to execute a function synchronously on a CPUJuergen Gross1-0/+50
2016-09-05virt, sched: Add generic vCPU pinning supportJuergen Gross1-0/+1
2016-07-29Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-47/+32
2016-07-15smp/cfd: Convert core to hotplug state machineRichard Weinberger1-47/+32
2016-06-14locking/barriers: Replace smp_cond_acquire() with smp_cond_load_acquire()Peter Zijlstra1-1/+1
2016-03-15Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-0/+1
2016-03-10locking/csd_lock: Use smp_cond_acquire() in csd_lock_wait()Davidlohr Bueso1-2/+1
2016-03-10locking/csd_lock: Explicitly inline csd_lock*() helpersDavidlohr Bueso1-3/+3
2016-03-01cpu/hotplug: Create hotplug threadsThomas Gleixner1-0/+1
2015-11-06mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep...Mel Gorman1-1/+1
2015-04-19smp: Fix error case handling in smp_call_function_*()Linus Torvalds1-1/+3
2015-04-17smp: Fix smp_call_function_single_async() lockingLinus Torvalds1-31/+47
2014-10-15Merge branch 'for-3.18-consistent-ops' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-3/+3
2014-09-19smp: Add new wake_up_all_idle_cpus() functionChuansheng Liu1-0/+22
2014-08-26kernel misc: Replace __get_cpu_var usesChristoph Lameter1-3/+3
2014-08-06kernel/smp.c:on_each_cpu_cond(): fix warning in fallback pathSasha Levin1-1/+1
2014-07-16Merge tag 'v3.16-rc5' into sched/core, to refresh the branch before applying ...Ingo Molnar1-8/+49
2014-06-23CPU hotplug, smp: flush any pending IPI callbacks before CPU offlineSrivatsa S. Bhat1-8/+49
2014-06-16irq_work: Implement remote queueingFrederic Weisbecker1-0/+9
2014-06-06smp: print more useful debug info upon receiving IPI on an offline CPUSrivatsa S. Bhat1-3/+15
2014-02-24smp: Rename __smp_call_function_single() to smp_call_function_single_async()Frederic Weisbecker1-6/+13
2014-02-24smp: Remove wait argument from __smp_call_function_single()Frederic Weisbecker1-15/+4
2014-02-24smp: Move __smp_call_function_single() below its safe versionFrederic Weisbecker1-32/+32
2014-02-24smp: Consolidate the various smp_call_function_single() declensionsFrederic Weisbecker1-41/+39
2014-02-24smp: Teach __smp_call_function_single() to check for offline cpusJan Kara1-4/+7
2014-02-24smp: Iterate functions through llist_for_each_entry_safe()Jan Kara1-9/+3
2014-01-30kernel/smp.c: remove cpumask_ipiRoman Gushchin1-16/+1
2014-01-30kernel: use lockless list for smp_call_function_singleChristoph Hellwig1-38/+13
2013-11-15kernel: fix generic_exec_single indentationChristoph Hellwig1-2/+1
2013-11-15kernel: remove CONFIG_USE_GENERIC_SMP_HELPERSChristoph Hellwig1-2/+0
2013-11-14Merge branch 'for-3.13/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+6
2013-10-25smp: don't warn about csd->flags having CSD_FLAG_LOCK cleared for !waitJens Axboe1-1/+5
2013-10-25smp: export __smp_call_function_single()Jens Axboe1-0/+1
2013-10-01x86/boot: Further compress CPUs bootup messageBorislav Petkov1-1/+6
2013-09-11kernel/smp.c: quit unconditionally enabling irqs in on_each_cpu_mask().David Daney1-4/+7
2013-09-11kernel/smp.c: free related resources when failure occurs in hotplug_cfd()Chen Gang1-1/+4
2013-09-04Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-13/+1
2013-08-19generic-ipi/locking: Fix misleading smp_call_function_any() descriptionXie XiuQi1-2/+0
2013-07-30generic-ipi: Kill unnecessary variable - csd_flagsXie XiuQi1-13/+1
2013-07-14kernel: delete __cpuinit usage from all core kernel filesPaul Gortmaker1-1/+1
2013-04-30kernel/smp.c: cleanupsAndrew Morton1-45/+46
2013-04-30kernel/smp.c: use '|=' for csd_lockliguang1-1/+1
2013-02-21smp: make smp_call_function_many() use logic similar to smp_call_function_sin...Shaohua Li1-153/+30
2013-01-28smp: Fix SMP function call empty cpu mask raceWang YanQing1-1/+12
2012-06-05smp: Remove ipi_call_lock[_irq]()/ipi_call_unlock[_irq]()Yong Zhang1-20/+0
2012-05-08smp: Implement kick_all_cpus_sync()Thomas Gleixner1-0/+23
2012-05-03smp, idle: Allocate idle thread for each possible cpu during bootSuresh Siddha1-0/+4
2012-03-28smp: add func to IPI cpus based on parameter funcGilad Ben-Yossef1-0/+61
2012-03-28smp: introduce a generic on_each_cpu_mask() functionGilad Ben-Yossef1-0/+29
2011-10-31kernel: Map most files to use export.h instead of module.hPaul Gortmaker1-1/+1
2011-06-17generic-ipi: Fix kexec boot crash by initializing call_single_queue before en...Takao Indoh1-4/+1
2011-03-22smp: move smp setup functions to kernel/smp.cAmerigo Wang1-0/+81
2011-03-17smp_call_function_interrupt: use typedef and %pfMilton Miller1-8/+8
2011-03-17smp_call_function_many: handle concurrent clearing of maskMilton Miller1-3/+10
2011-03-17call_function_many: add missing orderingMilton Miller1-13/+33
2011-03-17call_function_many: fix list delete vs add raceMilton Miller1-7/+13
2011-01-20Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-4/+7
2011-01-20kernel/smp.c: consolidate writes in smp_call_function_interrupt()Milton Miller1-10/+19
2011-01-20kernel/smp.c: fix smp_call_function_many() SMP raceAnton Blanchard1-0/+30
2011-01-20smp: Allow on_each_cpu() to be called while early_boot_irqs_disabled status t...Tejun Heo1-4/+7
2011-01-13kernel: clean up USE_GENERIC_SMP_HELPERSAmerigo Wang1-0/+19
2010-10-27Typedef SMP call function pointerDavid Howells1-4/+4
2010-09-10generic-ipi: Fix deadlock in __smp_call_function_singleHeiko Carstens1-3/+14
2010-05-27kernel/: convert cpu notifier to return encapsulate errno valueAkinobu Mita1-1/+1
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-01-18generic-ipi: Optimize accesses by using DEFINE_PER_CPU_SHARED_ALIGNED for IPI...Milton Miller1-4/+4
2010-01-16smp_call_function_any(): pass the node value to cpumask_of_node()David John1-1/+1
2009-12-15Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-16/+16
2009-12-15generic-ipi: cleanup for generic_smp_call_function_interrupt()Xiao Guangrong1-2/+1
2009-12-14smp: Convert smplocks to raw_spinlocksThomas Gleixner1-16/+16
2009-11-18generic-ipi: Add smp_call_function_any()Rusty Russell1-0/+45
2009-10-23generic-ipi: Fix misleading smp_call_function*() descriptionSheng Yang1-8/+3
2009-09-24cpumask: remove arch_send_call_function_ipiRusty Russell1-7/+0
2009-09-23generic-ipi: make struct call_function_data locklessXiao Guangrong1-21/+8
2009-08-26Merge branch 'x86/urgent' into x86/patH. Peter Anvin1-1/+1
2009-08-21generic-ipi: Allow cpus not yet online to call smp_call_function with irqs di...Suresh Siddha1-6/+34
2009-08-07generic-ipi: fix hotplug_cfd()Xiao Guangrong1-1/+1
2009-06-09cpumask: alloc zeroed cpumask for static cpumask_var_tsYinghai Lu1-1/+1
2009-03-13generic-ipi: eliminate WARN_ON()s during oops/panicIngo Molnar1-3/+4
2009-02-25generic-ipi: cleanupsIngo Molnar1-76/+86
2009-02-25generic-ipi: remove CSD_FLAG_WAITPeter Zijlstra1-67/+23
2009-02-25generic-ipi: remove kmalloc()Peter Zijlstra1-98/+166
2009-02-25generic IPI: simplify barriers and lockingNick Piggin1-39/+44
2009-01-30generic-ipi: use per cpu data for single cpu ipi callsSteven Rostedt1-3/+33
2009-01-01cpumask: prepare for iterators to only go to nr_cpu_ids/nr_cpumask_bits.: coreRusty Russell1-1/+1
2008-12-30cpumask: arch_send_call_function_ipi_mask: coreRusty Russell1-1/+7
2008-12-30cpumask: smp_call_function_many()Rusty Russell1-90/+49
2008-11-06generic-ipi: fix the smp_mb() placementSuresh Siddha1-6/+12
2008-08-25smp: have smp_call_function_single() detect invalid CPUsH. Peter Anvin1-3/+7
2008-08-12generic-ipi: fix stack and rcu interaction bug in smp_call_function_mask(), fixNick Piggin1-4/+6
2008-08-11generic-ipi: fix stack and rcu interaction bug in smp_call_function_mask()Nick Piggin1-7/+47
2008-07-26Full conversion to early_initcall() interface, remove old interfaceEduard - Gabriel Munteanu1-1/+3
2008-07-15generic ipi function calls: wait on alloc failure fallbackJeremy Fitzhardinge1-0/+1
2008-07-15Merge branch 'generic-ipi-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-0/+382
2008-06-27fix: "smp_call_function: get rid of the unused nonatomic/retry argument"Ingo Molnar1-1/+1
2008-06-26smp_call_function: get rid of the unused nonatomic/retry argumentJens Axboe1-4/+2
2008-06-26Add generic helpers for arch IPI function callsJens Axboe1-0/+383