On Thu, 21 Sep 2006 18:34:03 -0700
keith mannthey <[email protected]> wrote:
> That unhappy caller in the chain is cpuup_callback in mm/slab.c. I am
> still working out as to why, there is a lot going on if this function.
>
> > b) pageset_cpuup_callback()'s CPU_UP_CANCELED path possibly hasn't been
> > tested before. I'd be guessing that we're not zeroing out the
> > zone.pageset[] array when the `struct zone' is first allocated, but I
> > don't immediately recall where that code lives.
>
How about here ?
== at boot time in mm/page_alloc.c ==
free_area_init_core()
->zone_pcp_init(zone);
for (cpu = 0; cpu < NR_CPUS; cpu++) {
#ifdef CONFIG_NUMA
/* Early boot. Slab allocator not functional yet */
zone_pcp(zone, cpu) = &boot_pageset[cpu];
setup_pageset(&boot_pageset[cpu],0);
#else
setup_pageset(zone_pcp(zone,cpu), batch);
#endif
}
==================
Not zero-cleared.
-Kame
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]