Skip to content

Commit

Permalink
[PATCH] mm: un-needed add-store operation wastes a few bytes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
nkalmala authored and Linus Torvalds committed Nov 3, 2006
1 parent c7e12b8 commit 941c710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ static struct page *buffered_rmqueue(struct zonelist *zonelist,
pcp = &zone_pcp(zone, cpu)->pcp[cold];
local_irq_save(flags);
if (!pcp->count) {
pcp->count += rmqueue_bulk(zone, 0,
pcp->count = rmqueue_bulk(zone, 0,
pcp->batch, &pcp->list);
if (unlikely(!pcp->count))
goto failed;
Expand Down

0 comments on commit 941c710

Please sign in to comment.