kgdb_roundup_cpus(9)

kgdb_roundup_cpus9

Get other cpus into a holding pattern

Usage

void kgdb_roundup_cpus(unsigned long flags);

Arguments

flags

Current IRQ state

Overview

On SMP systems, we need to get the attention of the other CPUs and get them into a known state. This should do what is needed to get the other CPUs to call kgdb_wait. Note that on some arches, the NMI approach is not used for rounding up all the CPUs. For example, in case of MIPS, smp_call_function is used to roundup CPUs. In this case, we have to make sure that interrupts are enabled before calling smp_call_function. The argument to this function is the flags that will be used when restoring the interrupts. There is local_irq_save call before kgdb_roundup_cpus.

On non-SMP systems, this is not called.

Releases

5 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9

Author

Jason Wessel <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.