4866cde064
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> |
||
---|---|---|
.. | ||
arch-aaec2000 | ||
arch-cl7500 | ||
arch-clps711x | ||
arch-ebsa110 | ||
arch-ebsa285 | ||
arch-epxa10db | ||
arch-h720x | ||
arch-imx | ||
arch-integrator | ||
arch-iop3xx | ||
arch-ixp4xx | ||
arch-ixp2000 | ||
arch-l7200 | ||
arch-lh7a40x | ||
arch-omap | ||
arch-pxa | ||
arch-rpc | ||
arch-s3c2410 | ||
arch-sa1100 | ||
arch-shark | ||
arch-versatile | ||
hardware | ||
mach | ||
a.out.h | ||
apm.h | ||
assembler.h | ||
atomic.h | ||
bitops.h | ||
bug.h | ||
bugs.h | ||
byteorder.h | ||
cache.h | ||
cacheflush.h | ||
checksum.h | ||
cpu-multi32.h | ||
cpu-single.h | ||
cpu.h | ||
cputime.h | ||
current.h | ||
delay.h | ||
div64.h | ||
dma-mapping.h | ||
dma.h | ||
domain.h | ||
ecard.h | ||
elf.h | ||
errno.h | ||
fcntl.h | ||
fiq.h | ||
floppy.h | ||
fpstate.h | ||
glue.h | ||
hardirq.h | ||
hardware.h | ||
hdreg.h | ||
ide.h | ||
io.h | ||
ioctl.h | ||
ioctls.h | ||
ipc.h | ||
ipcbuf.h | ||
irq.h | ||
kmap_types.h | ||
leds.h | ||
limits.h | ||
linkage.h | ||
local.h | ||
locks.h | ||
mc146818rtc.h | ||
memory.h | ||
mman.h | ||
mmu.h | ||
mmu_context.h | ||
mmzone.h | ||
module.h | ||
msgbuf.h | ||
namei.h | ||
numnodes.h | ||
nwflash.h | ||
page.h | ||
param.h | ||
parport.h | ||
pci.h | ||
percpu.h | ||
pgalloc.h | ||
pgtable.h | ||
poll.h | ||
posix_types.h | ||
proc-fns.h | ||
processor.h | ||
procinfo.h | ||
ptrace.h | ||
resource.h | ||
rtc.h | ||
scatterlist.h | ||
sections.h | ||
segment.h | ||
semaphore-helper.h | ||
semaphore.h | ||
sembuf.h | ||
serial.h | ||
setup.h | ||
shmbuf.h | ||
shmparam.h | ||
sigcontext.h | ||
siginfo.h | ||
signal.h | ||
sizes.h | ||
smp.h | ||
socket.h | ||
sockios.h | ||
spinlock.h | ||
stat.h | ||
statfs.h | ||
string.h | ||
suspend.h | ||
system.h | ||
termbits.h | ||
termios.h | ||
therm.h | ||
thread_info.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
topology.h | ||
traps.h | ||
types.h | ||
uaccess.h | ||
ucontext.h | ||
unaligned.h | ||
unistd.h | ||
user.h | ||
vfp.h | ||
vfpmacros.h | ||
vga.h | ||
xor.h |