1KGDB_ROUNDUP_CPUS(9)       Kernel Debugger Internals      KGDB_ROUNDUP_CPUS(9)
2
3
4

NAME

6       kgdb_roundup_cpus - Get other CPUs into a holding pattern
7

SYNOPSIS

9       void kgdb_roundup_cpus(unsigned long flags);
10

ARGUMENTS

12       flags
13           Current IRQ state
14

DESCRIPTION

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

AUTHOR

29       Jason Wessel <jason.wessel@windriver.com>
30           Author.
31
33Kernel Hackers Manual 3.10         June 2019              KGDB_ROUNDUP_CPUS(9)
Impressum