William Lee Irwin III wrote:
>> @@ -1104,6 +1126,7 @@ static void __init free_area_init_core(s
>> pcp->low = 0;
>> pcp->high = 32;
>> pcp->batch = 16;
>> + pcp->reserved = 0;
>> INIT_LIST_HEAD(&pcp->list);
>> }
>> INIT_LIST_HEAD(&zone->active_list);
On Sun, Oct 13, 2002 at 10:47:19AM -0700, Andrew Morton wrote:
> OK. But that's been there since 2.5.40-mm2. Why did it suddenly
> bite?
I must have been way too tired or something:
(1) It's embedded in struct zone, hence bootmem allocated, hence
already zeroed.
(2) The logs still show the show_free_areas() call immediately after
free_all_bootmem_core() seeing the garbage ->reserved values.
Bill
-
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/
This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:47 EST