Re: [Lhms-devel] Re: 2.6.14-mm2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dave Hansen wrote:
Hmmm.  I _think_ you're just trying to do some things at runtime that I
didn't intend.  In the patch I pointed to in the last mail, look at what
I did in hot_add_zone_init().  It does some of what
free_area_init_core() does, but only the most minimal bits.  Basically:

       zone_wait_table_init(zone, size_pages);
       init_currently_empty_zone(zone, phys_start_pfn, size_pages);
       zone_pcp_init(zone);

Your way may also be valid, but I broke out init_currently_empty_zone()
for a reason, and I think this was it.  I don't think we want to be
calling free_area_init_core() itself at runtime.


I understand what is missing..
"add new zone" function is not in -mm kernel.
So, I can't add new pages into Highmem which is empty at boot time.
Could you post your "add new zone" patch to -mm ?

-- 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]
  Powered by Linux