2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00
linux-next/include/asm-mips
Nick Piggin 4866cde064 [PATCH] sched: cleanup context switch locking
Instead of requiring architecture code to interact with the scheduler's
locking implementation, provide a couple of defines that can be used by the
architecture to request runqueue unlocked context switches, and ask for
interrupts to be enabled over the context switch.

Also replaces the "switch_lock" used by these architectures with an oncpu
flag (note, not a potentially slow bitflag).  This eliminates one bus
locked memory operation when context switching, and simplifies the
task_running function.

Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-25 16:24:43 -07:00
..
arc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cobalt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ddb5xxx Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dec Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
galileo-boards Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gcc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hp-lj Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip32 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
it8172 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jmr3927 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lasat Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-atlas Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-au1x00 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-db1x00 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-ddb5074 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-dec Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-ev64120 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-ev96100 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-generic Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-ip22 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-ip27 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-ip32 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-ja Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-jazz Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-jmr3927/asm Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-lasat Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-mips Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-ocelot Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-ocelot3 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-pb1x00 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-rm200 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-sibyte Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-vr41xx Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-yosemite Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mips-boards Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sgi Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sibyte Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sn Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tx4927 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vr41xx [PATCH] mips: add vr41xx gpio support 2005-06-21 18:46:32 -07:00
vr4181 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xtalk Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
8253pit.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
a.out.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
addrspace.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asmmacro-32.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asmmacro-64.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asmmacro.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atomic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bcache.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bitops.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bootinfo.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
branch.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
break.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bug.h [PATCH] remove all kernel BUGs 2005-05-01 08:59:01 -07:00
bugs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
byteorder.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cache.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cachectl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cacheflush.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cacheops.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
checksum.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
compat.h [PATCH] compat: introduce compat_time_t 2005-06-23 09:45:32 -07:00
compiler.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpu-features.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpu-info.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpu.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cputime.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
current.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ddb5074.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
debug.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
delay.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
div64.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dma-mapping.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dma.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ds1286.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
elf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
errno.h [PATCH] add EOWNERDEAD and ENOTRECOVERABLE version 2 2005-05-01 08:59:06 -07:00
fcntl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fixmap.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
floppy.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fpregdef.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fpu_emulator.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fpu.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gdb-stub.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gfx.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gt64120.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gt64240.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hardirq.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hazards.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hdreg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
highmem.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hw_irq.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i8259.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ide.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inst.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
interrupt.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inventory.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ioctl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ioctls.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ipc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ipcbuf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irq_cpu.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irq.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
isadep.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
it8712.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jazz.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jazzdma.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kmap_types.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
linkage.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
local.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m48t35.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m48t37.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
marvell.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mc146818-time.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mc146818rtc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mipsprom.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mipsregs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mman.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mmu_context.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mmu.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mmzone.h [PATCH] mips: add MIPS-specific support for flatmem/discontigmem 2005-06-25 16:24:25 -07:00
module.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
msc01_ic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
msgbuf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
namei.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nile4.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
numnodes.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
paccess.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
page.h [PATCH] mips: add MIPS-specific support for flatmem/discontigmem 2005-06-25 16:24:25 -07:00
param.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parport.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
percpu.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pgalloc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pgtable-32.h [PATCH] freepgt: arch FIRST_USER_ADDRESS 0 2005-04-19 13:29:23 -07:00
pgtable-64.h [PATCH] freepgt: arch FIRST_USER_ADDRESS 0 2005-04-19 13:29:23 -07:00
pgtable-bits.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pgtable.h [PATCH] mips: add MIPS-specific support for flatmem/discontigmem 2005-06-25 16:24:25 -07:00
pmon.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
poll.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
posix_types.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prctl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prefetch.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
processor.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ptrace.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
r4kcache.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
reboot.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
reg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
regdef.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
resource.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
riscos-syscall.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rtc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scatterlist.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sections.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
segment.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
semaphore.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sembuf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
serial.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
setup.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sgialib.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sgiarcs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sgidefs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
shmbuf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
shmparam.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sigcontext.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
siginfo.h [PATCH] consolidate SIGEV_PAD_SIZE 2005-05-01 08:59:08 -07:00
signal.h [PATCH] asm/signal.h unification 2005-05-04 07:33:15 -07:00
sim.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smp.h [PATCH] smp_processor_id() cleanup 2005-06-21 18:46:13 -07:00
sni.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
socket.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sockios.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
spinlock.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
stackframe.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
stat.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
statfs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
string.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
suspend.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysmips.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
system.h [PATCH] sched: cleanup context switch locking 2005-06-25 16:24:43 -07:00
termbits.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
termios.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
thread_info.h [PATCH] streamline preempt_count type across archs 2005-06-23 09:45:19 -07:00
time.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
timex.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
titan_dep.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tlb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tlbdebug.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tlbflush.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
topology.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
traps.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tx3912.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
types.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
uaccess.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ucontext.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
unaligned.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
unistd.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
user.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vga.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
war.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
watch.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
wbflush.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xor.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xxs1500.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00