mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 22:50:41 +00:00
[PATCH] mm: un-needed add-store operation wastes a few bytes
Un-needed add-store operation wastes a few bytes. 8 bytes wasted with -O2, on a ppc. Signed-off-by: nkalmala <nkalmala@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
c7e12b8389
commit
941c7105dc
@ -853,7 +853,7 @@ again:
|
|||||||
pcp = &zone_pcp(zone, cpu)->pcp[cold];
|
pcp = &zone_pcp(zone, cpu)->pcp[cold];
|
||||||
local_irq_save(flags);
|
local_irq_save(flags);
|
||||||
if (!pcp->count) {
|
if (!pcp->count) {
|
||||||
pcp->count += rmqueue_bulk(zone, 0,
|
pcp->count = rmqueue_bulk(zone, 0,
|
||||||
pcp->batch, &pcp->list);
|
pcp->batch, &pcp->list);
|
||||||
if (unlikely(!pcp->count))
|
if (unlikely(!pcp->count))
|
||||||
goto failed;
|
goto failed;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user