centos man page for kgdb_roundup_cpus

Query: kgdb_roundup_cpus

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

KGDB_ROUNDUP_CPUS(9)					     Kernel Debugger Internals					      KGDB_ROUNDUP_CPUS(9)

NAME
kgdb_roundup_cpus - Get other CPUs into a holding pattern
SYNOPSIS
void kgdb_roundup_cpus(unsigned long flags);
ARGUMENTS
flags Current IRQ state
DESCRIPTION
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.
AUTHOR
Jason Wessel <jason.wessel@windriver.com> Author.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 KGDB_ROUNDUP_CPUS(9)
Related Man Pages
smp(4) - freebsd
chcpu(8) - opensolaris
chcpu(8) - hpux
chcpu(8) - xfree86
chcpu(8) - sunos
Similar Topics in the Unix Linux Community
DB2 convert digits to binary format
Tar Command
CentOS7 restoring file capabilities
Docker learning Phase-I
[TIP] Processing YAML files with yq