kgdb_roundup_cpus(9) suse man page | unix.com

Man Page: kgdb_roundup_cpus

Operating Environment: suse

Section: 9

KGDB_ROUNDUP_CPUS(9)						  KGDB 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.
AUTHORS
Jason Wessel <jason.wessel@windriver.com> Author. Tom Rini <trini@kernel.crashing.org> Author. Amit S. Kale <amitkale@linsyssoft.com> Author.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 KGDB_ROUNDUP_CPUS(9)
Related Man Pages
chcpu(8) - centos
kgdb_arch_handle_exception(9) - suse
chcpu(8) - hpux
chcpu(8) - v7
chcpu(8) - sunos
Similar Topics in the Unix Linux Community
Migrating to UNIX
Tar Command
A (ksh) Library For and From UNIX.com
Docker learning Phase-I
The Future of the PM (Private Message) System at UNIX.com