Josh Triplett
a4b5d580e0
bug: Make BUG() always stop the machine
When !CONFIG_BUG and !HAVE_ARCH_BUG, define the generic BUG() as an
infinite loop rather than a no-op. This avoids undefined behavior if
execution ever actually reaches BUG(), and avoids warnings about code
after BUG() (such as on non-void functions calling BUG() and then not
returning).
bloat-o-meter results:
add/remove: 0/0 grow/shrink: 43/10 up/down: 235/-98 (137)
function old new delta
umount_collect 119 138 +19
notify_change 306 324 +18
xstate_enable_boot_cpu 252 269 +17
kunmap 54 70 +16
balloon_page_dequeue 112 126 +14
mm_take_all_locks 223 233 +10
list_lru_walk_node 143 152 +9
vma_adjust 1059 1067 +8
pcpu_setup_first_chunk 1130 1138 +8
mm_drop_all_locks 143 151 +8
ns_capable 55 62 +7
anon_transport_class_unregister 8 15 +7
srcu_init_notifier_head 35 41 +6
shrink_dcache_for_umount 174 180 +6
kunmap_high 99 105 +6
end_page_writeback 43 49 +6
do_exit 1339 1345 +6
__kfifo_dma_out_prepare_r 86 92 +6
__kfifo_dma_in_prepare_r 90 96 +6
fixup_user_fault 120 125 +5
repair_env_string 73 77 +4
read_cache_pages_invalidate_page 56 60 +4
isolate_lru_pages.isra 142 146 +4
do_notify_parent_cldstop 255 259 +4
cpu_init 370 374 +4
utimes_common 270 272 +2
tasklet_hi_action 91 93 +2
tasklet_action 91 93 +2
set_pte_vaddr 46 48 +2
find_get_pages_tag 202 204 +2
early_iounmap 185 187 +2
__native_set_fixmap 36 38 +2
__get_user_pages 822 824 +2
__early_ioremap 299 301 +2
yield_task_stop 1 2 +1
tick_resume 37 38 +1
switched_to_stop 1 2 +1
switched_to_idle 1 2 +1
prio_changed_stop 1 2 +1
prio_changed_idle 1 2 +1
pm_qos_power_read 111 112 +1
arch_cpu_idle_dead 1 2 +1
__insert_vmap_area 140 141 +1
sys_renameat 614 612 -2
mm_fault_error 297 295 -2
SyS_renameat 614 612 -2
sys_linkat 416 413 -3
SyS_linkat 416 413 -3
chmod_common 129 122 -7
proc_cap_handler 240 225 -15
__schedule 849 831 -18
sys_madvise 1077 1054 -23
SyS_madvise 1077 1054 -23
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Reported-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|
2014-04-07 16:36:10 -07:00 |
| .. |
|
bitops
|
bitops: Fix signedness of compile-time hweight implementations
|
2014-02-09 13:39:26 +01:00 |
|
4level-fixup.h
|
|
|
|
atomic-long.h
|
|
|
|
atomic.h
|
asm-generic: move cmpxchg*_local defs to cmpxchg.h
|
2013-03-13 06:11:05 +01:00 |
|
atomic64.h
|
|
|
|
audit_change_attr.h
|
audit: Modify a set of system calls in audit class definitions
|
2014-01-17 17:01:46 -05:00 |
|
audit_dir_write.h
|
|
|
|
audit_read.h
|
|
|
|
audit_signal.h
|
|
|
|
audit_write.h
|
audit: Modify a set of system calls in audit class definitions
|
2014-01-17 17:01:46 -05:00 |
|
barrier.h
|
arch: Introduce smp_load_acquire(), smp_store_release()
|
2014-01-12 10:37:17 +01:00 |
|
bitops.h
|
|
|
|
bitsperlong.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
bug.h
|
bug: Make BUG() always stop the machine
|
2014-04-07 16:36:10 -07:00 |
|
bugs.h
|
|
|
|
cache.h
|
|
|
|
cacheflush.h
|
|
|
|
checksum.h
|
asm-generic headers: Allow yet more arch overrides in checksum.h
|
2013-02-11 20:00:33 +05:30 |
|
clkdev.h
|
asm-generic: Add default clkdev.h
|
2012-10-03 21:33:53 +02:00 |
|
cmpxchg-local.h
|
generic: Use raw local irq variant for generic cmpxchg
|
2013-02-19 08:43:37 +01:00 |
|
cmpxchg.h
|
asm-generic: move cmpxchg*_local defs to cmpxchg.h
|
2013-03-13 06:11:05 +01:00 |
|
cputime.h
|
cputime: Generic on-demand virtual cputime accounting
|
2013-01-27 19:23:27 +01:00 |
|
cputime_jiffies.h
|
cputime: Bring cputime -> nsecs conversion
|
2014-03-13 15:56:44 +01:00 |
|
cputime_nsecs.h
|
cputime: Bring cputime -> nsecs conversion
|
2014-03-13 15:56:44 +01:00 |
|
current.h
|
|
|
|
delay.h
|
|
|
|
device.h
|
|
|
|
div64.h
|
|
|
|
dma-coherent.h
|
|
|
|
dma-mapping-broken.h
|
asm-generic/dma-mapping-broken.h: Provide dma_alloc_attrs()/dma_free_attrs()
|
2012-12-25 20:14:54 +01:00 |
|
dma-mapping-common.h
|
|
|
|
dma.h
|
|
|
|
emergency-restart.h
|
|
|
|
exec.h
|
|
|
|
fb.h
|
|
|
|
fixmap.h
|
add generic fixmap.h
|
2014-01-23 16:36:54 -08:00 |
|
ftrace.h
|
|
|
|
futex.h
|
|
|
|
getorder.h
|
|
|
|
gpio.h
|
gpio: make gpiod_direction_output take a logical value
|
2014-02-07 09:47:02 +01:00 |
|
hardirq.h
|
|
|
|
hash.h
|
lib: hash: follow-up fixups for arch hash
|
2013-12-19 00:14:53 -05:00 |
|
hugetlb.h
|
mm: Fix generic hugetlb pte check return type.
|
2013-10-02 20:02:35 -04:00 |
|
hw_irq.h
|
|
|
|
ide_iops.h
|
|
|
|
int-ll64.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
io-64-nonatomic-hi-lo.h
|
|
|
|
io-64-nonatomic-lo-hi.h
|
|
|
|
io.h
|
kernel: Fix s390 absolute memory access for /dev/mem
|
2013-05-22 09:45:57 +02:00 |
|
ioctl.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
iomap.h
|
|
|
|
irq.h
|
|
|
|
irq_regs.h
|
|
|
|
irqflags.h
|
|
|
|
Kbuild.asm
|
UAPI: Set up uapi/asm/Kbuild.asm
|
2012-10-02 18:01:56 +01:00 |
|
kdebug.h
|
|
|
|
kmap_types.h
|
|
|
|
kvm_para.h
|
KVM: add kvm_para_available to asm-generic/kvm_para.h
|
2013-06-05 13:21:29 +03:00 |
|
libata-portmap.h
|
|
|
|
linkage.h
|
|
|
|
local.h
|
|
|
|
local64.h
|
|
|
|
mcs_spinlock.h
|
locking/mcs: Allow architecture specific asm files to be used for contended case
|
2014-02-09 21:18:52 +01:00 |
|
memory_model.h
|
__page_to_pfn: Fix typo in comment
|
2013-10-14 15:28:29 +02:00 |
|
mm_hooks.h
|
|
|
|
mmu.h
|
asm-generic/mmu.h: Add support for FDPIC
|
2012-12-09 23:14:14 +01:00 |
|
mmu_context.h
|
|
|
|
module.h
|
Make most arch asm/module.h files use asm-generic/module.h
|
2012-09-28 14:31:03 +09:30 |
|
mutex-dec.h
|
arch: Make __mutex_fastpath_lock_retval return whether fastpath succeeded or not
|
2013-06-26 12:10:55 +02:00 |
|
mutex-null.h
|
arch: Make __mutex_fastpath_lock_retval return whether fastpath succeeded or not
|
2013-06-26 12:10:55 +02:00 |
|
mutex-xchg.h
|
arch: Make __mutex_fastpath_lock_retval return whether fastpath succeeded or not
|
2013-06-26 12:10:55 +02:00 |
|
mutex.h
|
|
|
|
page.h
|
|
|
|
param.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
parport.h
|
include: remove __dev* attributes.
|
2013-01-03 15:57:16 -08:00 |
|
pci-bridge.h
|
|
|
|
pci-dma-compat.h
|
|
|
|
pci.h
|
|
|
|
pci_iomap.h
|
|
|
|
percpu.h
|
|
|
|
pgalloc.h
|
|
|
|
pgtable-nopmd.h
|
|
|
|
pgtable-nopud.h
|
|
|
|
pgtable.h
|
mm: add support for discard of unused ptes
|
2014-02-21 08:50:18 +01:00 |
|
preempt.h
|
sched: Remove PREEMPT_NEED_RESCHED from generic code
|
2013-12-11 15:52:32 +01:00 |
|
ptrace.h
|
|
|
|
resource.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
rtc.h
|
|
|
|
rwsem.h
|
asm-generic: rwsem: de-PPCify rwsem.h
|
2014-03-14 18:02:08 +00:00 |
|
scatterlist.h
|
|
|
|
sections.h
|
vmlinux.lds: add comments for global variables and clean up useless declarations
|
2013-07-03 16:07:34 -07:00 |
|
segment.h
|
|
|
|
serial.h
|
|
|
|
siginfo.h
|
constify copy_siginfo_to_user{,32}()
|
2013-11-09 00:16:29 -05:00 |
|
signal.h
|
unify default ptrace_signal_deliver
|
2012-11-29 00:01:23 -05:00 |
|
simd.h
|
crypto: create generic version of ablk_helper
|
2013-09-24 06:02:24 +10:00 |
|
sizes.h
|
|
|
|
spinlock.h
|
|
|
|
statfs.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
string.h
|
|
|
|
switch_to.h
|
|
|
|
syscall.h
|
|
|
|
syscalls.h
|
burying unused conditionals
|
2013-02-14 09:21:15 -05:00 |
|
termios-base.h
|
|
|
|
termios.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
timex.h
|
|
|
|
tlb.h
|
Fix TLB gather virtual address range invalidation corner cases
|
2013-08-16 08:52:46 -07:00 |
|
tlbflush.h
|
|
|
|
topology.h
|
|
|
|
trace_clock.h
|
tracing,x86: Add a TSC trace_clock
|
2012-11-13 15:48:27 -05:00 |
|
uaccess-unaligned.h
|
|
|
|
uaccess.h
|
asm-generic: uaccess: Spelling s/a ny/any/
|
2014-01-02 10:45:23 +01:00 |
|
unaligned.h
|
|
|
|
unistd.h
|
We get rid of the general module prefix confusion with a binary config option,
|
2013-05-05 10:58:06 -07:00 |
|
user.h
|
|
|
|
vga.h
|
|
|
|
vmlinux.lds.h
|
ARM: SoC specific changes
|
2014-04-05 14:19:54 -07:00 |
|
vtime.h
|
include/asm-generic/vtime.h: avoid zero-length file
|
2013-09-30 14:31:02 -07:00 |
|
word-at-a-time.h
|
word-at-a-time: provide generic big-endian zero_bytemask implementation
|
2013-12-12 10:39:01 -08:00 |
|
xor.h
|
asm-generic: xor: mark static functions as __maybe_unused
|
2012-10-03 21:21:06 +02:00 |