You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ingo Molnar
39c715b717
[PATCH] smp_processor_id() cleanup
...
This patch implements a number of smp_processor_id() cleanup ideas that
Arjan van de Ven and I came up with.
The previous __smp_processor_id/_smp_processor_id/smp_processor_id API
spaghetti was hard to follow both on the implementational and on the
usage side.
Some of the complexity arose from picking wrong names, some of the
complexity comes from the fact that not all architectures defined
__smp_processor_id.
In the new code, there are two externally visible symbols:
- smp_processor_id(): debug variant.
- raw_smp_processor_id(): nondebug variant. Replaces all existing
uses of _smp_processor_id() and __smp_processor_id(). Defined
by every SMP architecture in include/asm-*/smp.h.
There is one new internal symbol, dependent on DEBUG_PREEMPT:
- debug_smp_processor_id(): internal debug variant, mapped to
smp_processor_id().
Also, i moved debug_smp_processor_id() from lib/kernel_lock.c into a new
lib/smp_processor_id.c file. All related comments got updated and/or
clarified.
I have build/boot tested the following 8 .config combinations on x86:
{SMP,UP} x {PREEMPT,!PREEMPT} x {DEBUG_PREEMPT,!DEBUG_PREEMPT}
I have also build/boot tested x64 on UP/PREEMPT/DEBUG_PREEMPT. (Other
architectures are untested, but should work just fine.)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago
..
a.out.h
Linux-2.6.12-rc2
20 years ago
apic.h
Linux-2.6.12-rc2
20 years ago
archparam-i386.h
[PATCH] uml: s390 preparation, elf.h
20 years ago
archparam-ppc.h
[PATCH] uml: s390 preparation, elf.h
20 years ago
archparam-x86_64.h
[PATCH] uml: s390 preparation, elf.h
20 years ago
atomic.h
Linux-2.6.12-rc2
20 years ago
bitops.h
Linux-2.6.12-rc2
20 years ago
boot.h
Linux-2.6.12-rc2
20 years ago
bug.h
Linux-2.6.12-rc2
20 years ago
bugs.h
Linux-2.6.12-rc2
20 years ago
byteorder.h
Linux-2.6.12-rc2
20 years ago
cache.h
Linux-2.6.12-rc2
20 years ago
cacheflush.h
Linux-2.6.12-rc2
20 years ago
calling.h
Linux-2.6.12-rc2
20 years ago
checksum.h
Linux-2.6.12-rc2
20 years ago
cobalt.h
Linux-2.6.12-rc2
20 years ago
common.lds.S
[PATCH] uml: fix oops related to exception table
20 years ago
cpufeature.h
Linux-2.6.12-rc2
20 years ago
cputime.h
Linux-2.6.12-rc2
20 years ago
current.h
Linux-2.6.12-rc2
20 years ago
delay.h
[PATCH] uml: s390 preparation, delay moved to arch
20 years ago
desc.h
Linux-2.6.12-rc2
20 years ago
div64.h
Linux-2.6.12-rc2
20 years ago
dma-mapping.h
Linux-2.6.12-rc2
20 years ago
dma.h
Linux-2.6.12-rc2
20 years ago
dwarf2.h
Linux-2.6.12-rc2
20 years ago
elf-i386.h
[PATCH] uml: small fixes left over from rc4
20 years ago
elf-ppc.h
[PATCH] uml: s390 preparation, elf.h
20 years ago
elf-x86_64.h
[PATCH] uml: small fixes left over from rc4
20 years ago
errno.h
Linux-2.6.12-rc2
20 years ago
fcntl.h
Linux-2.6.12-rc2
20 years ago
fixmap.h
[PATCH] uml: s390 preparation, elf.h
20 years ago
floppy.h
Linux-2.6.12-rc2
20 years ago
hardirq.h
Linux-2.6.12-rc2
20 years ago
hdreg.h
Linux-2.6.12-rc2
20 years ago
highmem.h
Linux-2.6.12-rc2
20 years ago
hw_irq.h
Linux-2.6.12-rc2
20 years ago
ide.h
Linux-2.6.12-rc2
20 years ago
io.h
Linux-2.6.12-rc2
20 years ago
ioctl.h
Linux-2.6.12-rc2
20 years ago
ioctls.h
Linux-2.6.12-rc2
20 years ago
ipc.h
[PATCH] uml: obvious compile fixes for x86-64 Subarch and x86 regression fixes
20 years ago
ipcbuf.h
Linux-2.6.12-rc2
20 years ago
irq.h
Linux-2.6.12-rc2
20 years ago
irq_vectors.h
Linux-2.6.12-rc2
20 years ago
keyboard.h
Linux-2.6.12-rc2
20 years ago
kmap_types.h
Linux-2.6.12-rc2
20 years ago
linkage.h
[PATCH] uml: s390 preparation, linkage.h inherited from host
20 years ago
local.h
Linux-2.6.12-rc2
20 years ago
locks.h
Linux-2.6.12-rc2
20 years ago
mca_dma.h
Linux-2.6.12-rc2
20 years ago
mman.h
Linux-2.6.12-rc2
20 years ago
mmu.h
Linux-2.6.12-rc2
20 years ago
mmu_context.h
Linux-2.6.12-rc2
20 years ago
module-generic.h
Linux-2.6.12-rc2
20 years ago
module-i386.h
Linux-2.6.12-rc2
20 years ago
module-x86_64.h
Linux-2.6.12-rc2
20 years ago
msgbuf.h
Linux-2.6.12-rc2
20 years ago
mtrr.h
Linux-2.6.12-rc2
20 years ago
namei.h
Linux-2.6.12-rc2
20 years ago
page.h
[PATCH] uml: fix a couple of warnings
20 years ago
page_offset.h
Linux-2.6.12-rc2
20 years ago
param.h
Linux-2.6.12-rc2
20 years ago
pci.h
Linux-2.6.12-rc2
20 years ago
pda.h
Linux-2.6.12-rc2
20 years ago
percpu.h
Linux-2.6.12-rc2
20 years ago
pgalloc.h
Linux-2.6.12-rc2
20 years ago
pgtable-2level.h
[PATCH] freepgt: arch FIRST_USER_ADDRESS 0
20 years ago
pgtable-3level.h
[PATCH] uml: obvious compile fixes for x86-64 Subarch and x86 regression fixes
20 years ago
pgtable.h
[PATCH] uml: remove jail mode + other leftovers
20 years ago
poll.h
Linux-2.6.12-rc2
20 years ago
posix_types.h
Linux-2.6.12-rc2
20 years ago
prctl.h
Linux-2.6.12-rc2
20 years ago
processor-generic.h
[PATCH] uml: S390 preparation, abstract host page fault data
20 years ago
processor-i386.h
[PATCH] uml: S390 preparation, abstract host page fault data
20 years ago
processor-ppc.h
Linux-2.6.12-rc2
20 years ago
processor-x86_64.h
[PATCH] uml: S390 preparation, abstract host page fault data
20 years ago
ptrace-generic.h
Linux-2.6.12-rc2
20 years ago
ptrace-i386.h
[AUDIT] Update UML audit-syscall-{entry,exit} calls to new prototypes
20 years ago
ptrace-x86_64.h
[AUDIT] Update UML audit-syscall-{entry,exit} calls to new prototypes
20 years ago
resource.h
Linux-2.6.12-rc2
20 years ago
rwlock.h
Linux-2.6.12-rc2
20 years ago
rwsem.h
Linux-2.6.12-rc2
20 years ago
scatterlist.h
Linux-2.6.12-rc2
20 years ago
sections.h
Linux-2.6.12-rc2
20 years ago
segment.h
Linux-2.6.12-rc2
20 years ago
semaphore.h
Linux-2.6.12-rc2
20 years ago
sembuf.h
Linux-2.6.12-rc2
20 years ago
serial.h
Linux-2.6.12-rc2
20 years ago
setup.h
[PATCH] uml: command line handling cleanup
20 years ago
shmbuf.h
Linux-2.6.12-rc2
20 years ago
shmparam.h
Linux-2.6.12-rc2
20 years ago
sigcontext-generic.h
Linux-2.6.12-rc2
20 years ago
sigcontext-i386.h
Linux-2.6.12-rc2
20 years ago
sigcontext-ppc.h
Linux-2.6.12-rc2
20 years ago
sigcontext-x86_64.h
Linux-2.6.12-rc2
20 years ago
siginfo.h
Linux-2.6.12-rc2
20 years ago
signal.h
Linux-2.6.12-rc2
20 years ago
smp.h
[PATCH] smp_processor_id() cleanup
20 years ago
socket.h
Linux-2.6.12-rc2
20 years ago
sockios.h
Linux-2.6.12-rc2
20 years ago
spinlock.h
Linux-2.6.12-rc2
20 years ago
stat.h
Linux-2.6.12-rc2
20 years ago
statfs.h
Linux-2.6.12-rc2
20 years ago
string.h
Linux-2.6.12-rc2
20 years ago
suspend.h
Linux-2.6.12-rc2
20 years ago
system-generic.h
Linux-2.6.12-rc2
20 years ago
system-i386.h
Linux-2.6.12-rc2
20 years ago
system-ppc.h
Linux-2.6.12-rc2
20 years ago
system-x86_64.h
Linux-2.6.12-rc2
20 years ago
termbits.h
Linux-2.6.12-rc2
20 years ago
termios.h
Linux-2.6.12-rc2
20 years ago
thread_info.h
[PATCH] uml: fix PREEMPT_ACTIVE
20 years ago
timex.h
Linux-2.6.12-rc2
20 years ago
tlb.h
Linux-2.6.12-rc2
20 years ago
tlbflush.h
Linux-2.6.12-rc2
20 years ago
topology.h
Linux-2.6.12-rc2
20 years ago
types.h
Linux-2.6.12-rc2
20 years ago
uaccess.h
Linux-2.6.12-rc2
20 years ago
ucontext.h
Linux-2.6.12-rc2
20 years ago
unaligned.h
Linux-2.6.12-rc2
20 years ago
unistd.h
Linux-2.6.12-rc2
20 years ago
user.h
Linux-2.6.12-rc2
20 years ago
vga.h
Linux-2.6.12-rc2
20 years ago
vm-flags-i386.h
Linux-2.6.12-rc2
20 years ago
vm-flags-x86_64.h
Linux-2.6.12-rc2
20 years ago
xor.h
Linux-2.6.12-rc2
20 years ago