* [TRIVIAL] fix counter in build_zonelists()
@ 2004-05-20 7:07 Rusty Russell
0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2004-05-20 7:07 UTC (permalink / raw)
To: akpm; +Cc: lkml - Kernel Mailing List
From: Stephen Leonard <stephen@phynp6.phy-astr.gsu.edu>
---
Hi Rusty
This trivial patch fixes a counter that is unnecessarily incremented
in build_zonelists(). It applies against 2.6.5.
stephen
--- trivial-2.6.6-bk6/mm/page_alloc.c.orig 2004-05-20 15:59:22.000000000 +1000
+++ trivial-2.6.6-bk6/mm/page_alloc.c 2004-05-20 15:59:22.000000000 +1000
@@ -1284,7 +1284,7 @@
for (node = 0; node < local_node; node++)
j = build_zonelists_node(NODE_DATA(node), zonelist, j, k);
- zonelist->zones[j++] = NULL;
+ zonelist->zones[j] = NULL;
}
}
--
What is this? http://www.kernel.org/pub/linux/kernel/people/rusty/trivial/
Don't blame me: the Monkey is driving
File: Stephen Leonard <stephen@phynp6.phy-astr.gsu.edu>: [PATCH] fix counter in build_zonelists()
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-05-20 7:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-20 7:07 [TRIVIAL] fix counter in build_zonelists() Rusty Russell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox