search for: all_cpus

Displaying 3 results from an estimated 3 matches for "all_cpus".

Did you mean: all_cls
2008 Jul 17
1
[PATCH] stopmachine: add stopmachine_timeout v4
...+ 3 files changed, 66 insertions(+), 3 deletions(-) diff --git a/include/linux/stop_machine.h b/include/linux/stop_machine.h index 0a7815c..4c934f7 100644 --- a/include/linux/stop_machine.h +++ b/include/linux/stop_machine.h @@ -13,6 +13,9 @@ /* Deprecated, but useful for transition. */ #define ALL_CPUS CPU_MASK_ALL_PTR +/* for sysctl entry */ +extern unsigned long stopmachine_timeout; + /** * stop_machine_run: freeze the machine on all CPUs and run this function * @fn: the function to run diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c index 5b72c2b..9059b9e 100644 --- a/kernel/...
2008 Jul 17
1
[PATCH] stopmachine: add stopmachine_timeout v4
...+ 3 files changed, 66 insertions(+), 3 deletions(-) diff --git a/include/linux/stop_machine.h b/include/linux/stop_machine.h index 0a7815c..4c934f7 100644 --- a/include/linux/stop_machine.h +++ b/include/linux/stop_machine.h @@ -13,6 +13,9 @@ /* Deprecated, but useful for transition. */ #define ALL_CPUS CPU_MASK_ALL_PTR +/* for sysctl entry */ +extern unsigned long stopmachine_timeout; + /** * stop_machine_run: freeze the machine on all CPUs and run this function * @fn: the function to run diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c index 5b72c2b..9059b9e 100644 --- a/kernel/...
2013 Oct 28
5
FreeBSD PVH guest support
...c(kernel_arena, DPCPU_SIZE, + M_WAITOK | M_ZERO); + + bootSTK = (char *)bootstacks[cpu] + KSTACK_PAGES * PAGE_SIZE - 8; + bootAP = cpu; + + /* attempt to start the Application Processor */ + if (!start_xen_ap(cpu)) + panic("AP #%d failed to start!", cpu); + + CPU_SET(cpu, &all_cpus); /* record AP in CPU map */ + } + + return mp_naps; +} + +/* + * Functions to convert the "extra" parameters passed by Xen + * into FreeBSD boot options (from the i386 Xen port). + */ +static char * +xen_setbootenv(char *cmd_line) +{ + char *cmd_line_next; + + /* Skip leading spac...