alloc bootmem for UMA

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

 



In mm/bootmem.c

in __alloc_bootmem(....)
there is

    for_each_pgdat(pgdat)
        if ((ptr = __alloc_bootmem_core(pgdat->bdata, size,
                        align, goal)))
            return(ptr);

since this is for UMA, shouldnt __alloc_bootmem_core be called
with contig_page_data ..??
why for_each_pgdat(pgdat) ???

Abhishek

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux