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.
Andrew Morton
be6b026785
[PATCH] swiotlb uninlinings
Optimise swiotlb.c for size.
text data bss dec hex filename
5009 89 64 5162 142a lib/swiotlb.o-before
4666 89 64 4819 12d3 lib/swiotlb.o-after
For some reason my gcc (4.0.2) doesn't want to tailcall these things.
swiotlb_sync_sg_for_device:
pushq %rbp #
movl $1, %r8d #,
movq %rsp, %rbp #,
call swiotlb_sync_sg #
leave
ret
.size swiotlb_sync_sg_for_device, .-swiotlb_sync_sg_for_device
.section .text.swiotlb_sync_sg_for_cpu,"ax",@progbits
.globl swiotlb_sync_sg_for_cpu
.type swiotlb_sync_sg_for_cpu, @function
swiotlb_sync_sg_for_cpu:
pushq %rbp #
xorl %r8d, %r8d #
movq %rsp, %rbp #,
call swiotlb_sync_sg #
leave
ret
Cc: Jan Beulich <jbeulich@novell.com>
Cc: Andi Kleen <ak@suse.de>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|
18 years ago |
.. |
reed_solomon
|
…
|
|
zlib_deflate
|
…
|
|
zlib_inflate
|
…
|
|
.gitignore
|
…
|
|
Kconfig
|
…
|
|
Kconfig.debug
|
…
|
|
Makefile
|
…
|
|
audit.c
|
…
|
|
bitmap.c
|
…
|
|
bitrev.c
|
…
|
|
bug.c
|
…
|
|
bust_spinlocks.c
|
…
|
|
cmdline.c
|
…
|
|
cpumask.c
|
…
|
|
crc-ccitt.c
|
…
|
|
crc16.c
|
…
|
|
crc32.c
|
…
|
|
crc32defs.h
|
…
|
|
ctype.c
|
…
|
|
debug_locks.c
|
…
|
|
dec_and_lock.c
|
…
|
|
devres.c
|
…
|
|
div64.c
|
…
|
|
dump_stack.c
|
…
|
|
extable.c
|
…
|
|
fault-inject.c
|
…
|
|
find_next_bit.c
|
…
|
|
gen_crc32table.c
|
…
|
|
genalloc.c
|
…
|
|
halfmd4.c
|
…
|
|
hweight.c
|
…
|
|
idr.c
|
…
|
|
inflate.c
|
…
|
|
int_sqrt.c
|
…
|
|
iomap.c
|
…
|
|
iomap_copy.c
|
…
|
|
ioremap.c
|
…
|
|
irq_regs.c
|
…
|
|
kernel_lock.c
|
…
|
|
klist.c
|
…
|
|
kobject.c
|
…
|
|
kobject_uevent.c
|
…
|
|
kref.c
|
…
|
|
libcrc32c.c
|
…
|
|
list_debug.c
|
…
|
|
locking-selftest-hardirq.h
|
…
|
|
locking-selftest-mutex.h
|
…
|
|
locking-selftest-rlock-hardirq.h
|
…
|
|
locking-selftest-rlock-softirq.h
|
…
|
|
locking-selftest-rlock.h
|
…
|
|
locking-selftest-rsem.h
|
…
|
|
locking-selftest-softirq.h
|
…
|
|
locking-selftest-spin-hardirq.h
|
…
|
|
locking-selftest-spin-softirq.h
|
…
|
|
locking-selftest-spin.h
|
…
|
|
locking-selftest-wlock-hardirq.h
|
…
|
|
locking-selftest-wlock-softirq.h
|
…
|
|
locking-selftest-wlock.h
|
…
|
|
locking-selftest-wsem.h
|
…
|
|
locking-selftest.c
|
…
|
|
parser.c
|
…
|
|
percpu_counter.c
|
…
|
|
plist.c
|
…
|
|
prio_tree.c
|
…
|
|
radix-tree.c
|
…
|
|
random32.c
|
…
|
|
rbtree.c
|
…
|
|
reciprocal_div.c
|
…
|
|
rwsem-spinlock.c
|
…
|
|
rwsem.c
|
…
|
|
semaphore-sleepers.c
|
…
|
|
sha1.c
|
…
|
|
smp_processor_id.c
|
…
|
|
sort.c
|
…
|
|
spinlock_debug.c
|
…
|
|
string.c
|
…
|
|
swiotlb.c
|
[PATCH] swiotlb uninlinings
|
18 years ago |
textsearch.c
|
…
|
|
ts_bm.c
|
…
|
|
ts_fsm.c
|
…
|
|
ts_kmp.c
|
…
|
|
vsprintf.c
|
…
|
|