Revision 078c6c3a5e7dc53a9a23408cc32c83954abb5d0d authored by Rasmus Villemoes on 12 February 2016, 00:13:06 UTC, committed by Linus Torvalds on 12 February 2016, 02:35:48 UTC
We need to use post-decrement to get percpu_counter_destroy() called on &wb->stat[0]. Moreover, the pre-decremebt would cause infinite out-of-bounds accesses if the setup code failed at i==0. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Michal Hocko <mhocko@suse.com> Cc: Vladimir Davydov <vdavydov@virtuozzo.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 6b9116a
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 283 bytes |
asm-offsets.c | -rw-r--r-- | 3.6 KB |
c6x_ksyms.c | -rw-r--r-- | 2.0 KB |
devicetree.c | -rw-r--r-- | 493 bytes |
dma.c | -rw-r--r-- | 3.5 KB |
entry.S | -rw-r--r-- | 15.6 KB |
head.S | -rw-r--r-- | 1.7 KB |
irq.c | -rw-r--r-- | 3.1 KB |
module.c | -rw-r--r-- | 3.2 KB |
process.c | -rw-r--r-- | 3.3 KB |
ptrace.c | -rw-r--r-- | 4.1 KB |
setup.c | -rw-r--r-- | 11.2 KB |
signal.c | -rw-r--r-- | 8.1 KB |
soc.c | -rw-r--r-- | 2.0 KB |
switch_to.S | -rw-r--r-- | 1.6 KB |
sys_c6x.c | -rw-r--r-- | 1.9 KB |
time.c | -rw-r--r-- | 1.5 KB |
traps.c | -rw-r--r-- | 14.5 KB |
vectors.S | -rw-r--r-- | 1.7 KB |
vmlinux.lds.S | -rw-r--r-- | 2.4 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...