Messages in this thread Patch in this message | | | Date | Wed, 10 Jul 2002 22:02:21 -0700 | From | William Lee Irwin III <> | Subject | Re: lazy_buddy-2.5.25-1 |
| |
On Wed, Jul 10, 2002 at 09:49:56PM -0700, William Lee Irwin III wrote: > Ugh, forward port breakage. Ran into this in a different patch but > realized it was broken here too. Sorry folks. You'll need this on > top of the prior post.
Even worse, I spotted another (thankfully more minor) bug while still peeking at this... okay, back to more urgent things.
Cheers, Bill
# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.631 -> 1.632 # mm/page_alloc.c 1.126 -> 1.127 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 02/07/10 wli@tisifone.holomorphy.com 1.632 # page_alloc.c: # Correct nr_deferred_pages() calculation. # -------------------------------------------- # diff --minimal -Nru a/mm/page_alloc.c b/mm/page_alloc.c --- a/mm/page_alloc.c Wed Jul 10 21:59:45 2002 +++ b/mm/page_alloc.c Wed Jul 10 21:59:45 2002 @@ -739,8 +739,8 @@ for (pgdat = pgdat_list; pgdat; pgdat = pgdat->node_next) { node_zones = pgdat->node_zones; for (i = 0; i < MAX_NR_ZONES; ++i) { - for (order = 0; order < MAX_ORDER; ++order) - pages += node_zones[i].free_area[order].locally_free; + for (order = MAX_ORDER; order >= 0; --order) + pages = 2*pages + node_zones[i].free_area[order].locally_free; } } return pages; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |