search for: smp_lock

Displaying 20 results from an estimated 36 matches for "smp_lock".

Did you mean: smpt_lock
2007 Feb 05
3
Kernel panic kickstarting to CentOS 4
I have an older server I am trying to update to CentOS 4.3 but I can't get to the installer screen because the machine kernel panics when booted from the install CD. The error message I get is: Kernel panic - not syncing: include/linux/smp_lock.h:25 spin_unlock(kernel/sched.c:c035) not locked The boot messages before this point are mainly to do with acpi including: acpi_ps_parse_anl acpi_?s_one_complete ... acpi_early_init start_kernel Kernel panic .... At a guess, I tried starting the installer with the options: linux text acpi=o...
2007 Apr 18
1
Patch: use .pushsection/.popsection
...ck) RING0_EC_FRAME diff -r e698e6ee2fa1 include/asm-i386/alternative-asm.i --- a/include/asm-i386/alternative-asm.i Tue Aug 08 10:18:34 2006 -0700 +++ b/include/asm-i386/alternative-asm.i Tue Aug 08 10:33:13 2006 -0700 @@ -3,10 +3,10 @@ #ifdef CONFIG_SMP .macro LOCK_PREFIX 1: lock - .section .smp_locks,"a" + .pushsection .smp_locks,"a" .align 4 .long 1b - .previous + .popsection .endm #else .macro LOCK_PREFIX diff -r e698e6ee2fa1 include/linux/linkage.h --- a/include/linux/linkage.h Tue Aug 08 10:18:34 2006 -0700 +++ b/include/linux/linkage.h Tue Aug 08 10:35:55 2006...
2007 Apr 18
1
Patch: use .pushsection/.popsection
...ck) RING0_EC_FRAME diff -r e698e6ee2fa1 include/asm-i386/alternative-asm.i --- a/include/asm-i386/alternative-asm.i Tue Aug 08 10:18:34 2006 -0700 +++ b/include/asm-i386/alternative-asm.i Tue Aug 08 10:33:13 2006 -0700 @@ -3,10 +3,10 @@ #ifdef CONFIG_SMP .macro LOCK_PREFIX 1: lock - .section .smp_locks,"a" + .pushsection .smp_locks,"a" .align 4 .long 1b - .previous + .popsection .endm #else .macro LOCK_PREFIX diff -r e698e6ee2fa1 include/linux/linkage.h --- a/include/linux/linkage.h Tue Aug 08 10:18:34 2006 -0700 +++ b/include/linux/linkage.h Tue Aug 08 10:35:55 2006...
2007 Apr 18
7
[patch 0/6] Various cleanups
Hi Andi, Here's a little batch of cleanups: - re-enable VDSO when PARAVIRT is enabled - make the parainstructions symbols match the other altinstructions naming convention - add kernel command-line options to disable altinstructions for smp and pv_ops Oh, and I'm mailing your noreplacement patch back at you, for no particularly good reason. J --
2007 Apr 18
7
[patch 0/6] Various cleanups
Hi Andi, Here's a little batch of cleanups: - re-enable VDSO when PARAVIRT is enabled - make the parainstructions symbols match the other altinstructions naming convention - add kernel command-line options to disable altinstructions for smp and pv_ops Oh, and I'm mailing your noreplacement patch back at you, for no particularly good reason. J --
2013 Sep 23
0
[LLVMdev] Wrong types in inline assembly?
...irst = ACCESS_ONCE(head->first); } while (cmpxchg(&head->first, first, new_first) != first); return !first; } The generated code in the IR for the cmpxchg call is: %struct.llist_node = type { %struct.llist_node* } %tmp8 = tail call %struct.llist_node* asm sideeffect ".pushsection .smp_locks,\22a\22\0A.balign 4\0A.long 671f - .\0A.popsection\0A671:\0A\09lock; cmpxchgq $2,$1", "={ax},=*m,r,0,*m,~{memory},~{dirflag},~{fpsr},~{flags}"(i64* %tmp2, %struct.llist_node* %tmp7, %struct.llist_node* %entry.0, i64* %tmp2) Can someone explain how cmpxchg can receive a struct type...
2007 Aug 19
1
[PATCH 1/5] um/... convert #include "linux/..." to #include <linux/...>
...ned long) (addr) < TASK_SIZE) && \ diff --git a/arch/um/kernel/exec.c b/arch/um/kernel/exec.c index ce6828f..0512c34 100644 --- a/arch/um/kernel/exec.c +++ b/arch/um/kernel/exec.c @@ -3,14 +3,14 @@ * Licensed under the GPL */ -#include "linux/slab.h" -#include "linux/smp_lock.h" -#include "linux/ptrace.h" -#include "linux/fs.h" -#include "asm/ptrace.h" -#include "asm/pgtable.h" -#include "asm/tlbflush.h" -#include "asm/uaccess.h" +#include <linux/slab.h> +#include <linux/smp_lock.h> +#include &...
2007 Aug 19
1
[PATCH 1/5] um/... convert #include "linux/..." to #include <linux/...>
...ned long) (addr) < TASK_SIZE) && \ diff --git a/arch/um/kernel/exec.c b/arch/um/kernel/exec.c index ce6828f..0512c34 100644 --- a/arch/um/kernel/exec.c +++ b/arch/um/kernel/exec.c @@ -3,14 +3,14 @@ * Licensed under the GPL */ -#include "linux/slab.h" -#include "linux/smp_lock.h" -#include "linux/ptrace.h" -#include "linux/fs.h" -#include "asm/ptrace.h" -#include "asm/pgtable.h" -#include "asm/tlbflush.h" -#include "asm/uaccess.h" +#include <linux/slab.h> +#include <linux/smp_lock.h> +#include &...
2007 Aug 23
2
give me some works
hello, Chris In the next several months, I will have a lot of spare time. I will be happy if you assign some work to me. I have learn linux kernel for years but only fix a few small bugs in IP stack. In the past few months, I read some EXT4/VFS codes. I began reading source of btrfs ten days ago and have read it twice now. Regards YZ
2018 Dec 16
1
[PATCH v2] x86, kbuild: revert macrofying inline assembly code
.../arch/x86/include/asm/alternative-asm.h index 8e4ea39..31b627b 100644 --- a/arch/x86/include/asm/alternative-asm.h +++ b/arch/x86/include/asm/alternative-asm.h @@ -7,24 +7,16 @@ #include <asm/asm.h> #ifdef CONFIG_SMP -.macro LOCK_PREFIX_HERE + .macro LOCK_PREFIX +672: lock .pushsection .smp_locks,"a" .balign 4 - .long 671f - . # offset + .long 672b - . .popsection -671: -.endm - -.macro LOCK_PREFIX insn:vararg - LOCK_PREFIX_HERE - lock \insn -.endm + .endm #else -.macro LOCK_PREFIX_HERE -.endm - -.macro LOCK_PREFIX insn:vararg -.endm + .macro LOCK_PREFIX + .endm #endif...
2004 Jun 22
3
[ANNOUNCE] sch_ooo - Out-of-order packet queue discipline
...t your option) any later version. + * + * Authors: Catalin(ux aka Dino) BOIE, <catab at deuroconsult.ro> + */ + +#include <linux/config.h> +#include <linux/init.h> +#include <linux/kernel.h> +#include <linux/module.h> +#include <linux/sched.h> +#include <linux/smp_lock.h> +#include <linux/capability.h> +#include <linux/in.h> +#include <linux/ip.h> +#include <linux/udp.h> +#include <linux/tcp.h> +#include <linux/time.h> + +#include <linux/proc_fs.h> +#include <asm/uaccess.h> + +#include <linux/string.h> +#in...
2018 Dec 13
2
[PATCH] kbuild, x86: revert macros in extended asm workarounds
.../arch/x86/include/asm/alternative-asm.h index 8e4ea39..31b627b 100644 --- a/arch/x86/include/asm/alternative-asm.h +++ b/arch/x86/include/asm/alternative-asm.h @@ -7,24 +7,16 @@ #include <asm/asm.h> #ifdef CONFIG_SMP -.macro LOCK_PREFIX_HERE + .macro LOCK_PREFIX +672: lock .pushsection .smp_locks,"a" .balign 4 - .long 671f - . # offset + .long 672b - . .popsection -671: -.endm - -.macro LOCK_PREFIX insn:vararg - LOCK_PREFIX_HERE - lock \insn -.endm + .endm #else -.macro LOCK_PREFIX_HERE -.endm - -.macro LOCK_PREFIX insn:vararg -.endm + .macro LOCK_PREFIX + .endm #endif...
2018 Dec 13
2
[PATCH] kbuild, x86: revert macros in extended asm workarounds
.../arch/x86/include/asm/alternative-asm.h index 8e4ea39..31b627b 100644 --- a/arch/x86/include/asm/alternative-asm.h +++ b/arch/x86/include/asm/alternative-asm.h @@ -7,24 +7,16 @@ #include <asm/asm.h> #ifdef CONFIG_SMP -.macro LOCK_PREFIX_HERE + .macro LOCK_PREFIX +672: lock .pushsection .smp_locks,"a" .balign 4 - .long 671f - . # offset + .long 672b - . .popsection -671: -.endm - -.macro LOCK_PREFIX insn:vararg - LOCK_PREFIX_HERE - lock \insn -.endm + .endm #else -.macro LOCK_PREFIX_HERE -.endm - -.macro LOCK_PREFIX insn:vararg -.endm + .macro LOCK_PREFIX + .endm #endif...
2006 May 30
2
Testing status of fully virtualized guests (Intel VT) on 64bit XEN unstable
Summary: Changeset 10173 - 64bit UP and SMP guests boot cleanly - 32bit UP guests boot clean and 32bit SMP guests still fail to boot (see failure.7) - 32bit UP guests lockup under load with "ata1: command 0x25 timeout" (see failure.4) - 64bit SMP 2 CPU guests lockup under load with "ata1: command 0x25 timeout" (see failure.2) - 32bit UP guest crashed on user load test
2007 Apr 18
2
refactoring io_apic.c
...split/arch/i386/mach-default/apic.c 2005-08-08 16:02:55.803335544 -0700 @@ -0,0 +1,57 @@ +#include <linux/config.h> +#include <linux/init.h> + +#include <linux/mm.h> +#include <linux/irq.h> +#include <linux/delay.h> +#include <linux/bootmem.h> +#include <linux/smp_lock.h> +#include <linux/interrupt.h> +#include <linux/mc146818rtc.h> +#include <linux/kernel_stat.h> +#include <linux/sysdev.h> + +#include <asm/atomic.h> +#include <asm/smp.h> +#include <asm/mtrr.h> +#include <asm/mpspec.h> +#include <asm/desc.h&gt...
2007 Apr 18
2
refactoring io_apic.c
...split/arch/i386/mach-default/apic.c 2005-08-08 16:02:55.803335544 -0700 @@ -0,0 +1,57 @@ +#include <linux/config.h> +#include <linux/init.h> + +#include <linux/mm.h> +#include <linux/irq.h> +#include <linux/delay.h> +#include <linux/bootmem.h> +#include <linux/smp_lock.h> +#include <linux/interrupt.h> +#include <linux/mc146818rtc.h> +#include <linux/kernel_stat.h> +#include <linux/sysdev.h> + +#include <asm/atomic.h> +#include <asm/smp.h> +#include <asm/mtrr.h> +#include <asm/mpspec.h> +#include <asm/desc.h&gt...
2007 Apr 18
0
[patch 9/9] Guest page hinting: full s390 support.
...12:49:25.000000000 +0200 +++ linux-2.6-patched/arch/s390/mm/fault.c 2006-09-01 12:50:25.000000000 +0200 @@ -19,6 +19,7 @@ #include <linux/ptrace.h> #include <linux/mman.h> #include <linux/mm.h> +#include <linux/pagemap.h> #include <linux/smp.h> #include <linux/smp_lock.h> #include <linux/init.h> @@ -31,6 +32,7 @@ #include <asm/uaccess.h> #include <asm/pgtable.h> #include <asm/kdebug.h> +#include <asm/io.h> #ifndef CONFIG_64BIT #define __FAIL_ADDR_MASK 0x7ffff000 @@ -515,3 +517,74 @@ pfault_interrupt(struct pt_regs *regs, _...
2007 Apr 18
0
[patch 9/9] Guest page hinting: full s390 support.
...12:49:25.000000000 +0200 +++ linux-2.6-patched/arch/s390/mm/fault.c 2006-09-01 12:50:25.000000000 +0200 @@ -19,6 +19,7 @@ #include <linux/ptrace.h> #include <linux/mman.h> #include <linux/mm.h> +#include <linux/pagemap.h> #include <linux/smp.h> #include <linux/smp_lock.h> #include <linux/init.h> @@ -31,6 +32,7 @@ #include <asm/uaccess.h> #include <asm/pgtable.h> #include <asm/kdebug.h> +#include <asm/io.h> #ifndef CONFIG_64BIT #define __FAIL_ADDR_MASK 0x7ffff000 @@ -515,3 +517,74 @@ pfault_interrupt(struct pt_regs *regs, _...
2017 Oct 04
1
[PATCH 11/13] x86/paravirt: Add paravirt alternatives infrastructure
...t __read_mostly alternatives_patched; @@ -269,6 +270,7 @@ static void __init_or_module add_nops(void *insns, unsigned int len) } extern struct alt_instr __alt_instructions[], __alt_instructions_end[]; +extern struct alt_instr __pv_alt_instructions[], __pv_alt_instructions_end[]; extern s32 __smp_locks[], __smp_locks_end[]; void *text_poke_early(void *addr, const void *opcode, size_t len); @@ -598,6 +600,17 @@ int alternatives_text_reserved(void *start, void *end) #endif /* CONFIG_SMP */ #ifdef CONFIG_PARAVIRT +/* + * Paravirt alternatives are applied much earlier than normal alternatives...
2007 Apr 18
1
[PATCH] (with benchmarks) binary patching of paravirt_ops call sites
...dr *s, *text = NULL, *alt = NULL, *locks = NULL, + *para = NULL; char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; for (s = sechdrs; s < sechdrs + hdr->e_shnum; s++) { @@ -118,6 +119,8 @@ int module_finalize(const Elf_Ehdr *hdr, alt = s; if (!strcmp(".smp_locks", secstrings + s->sh_name)) locks= s; + if (!strcmp(".parainstructions", secstrings + s->sh_name)) + para = s; } if (alt) { @@ -132,6 +135,10 @@ int module_finalize(const Elf_Ehdr *hdr, lseg, lseg + locks->sh_size, tseg, tseg + text->sh_s...