Go to the source code of this file.
#define paravirt_pgd_alloc |
( |
|
mm | ) |
__paravirt_pgd_alloc(mm) |
OK, this one's a bit tricky... ioremap can get called before memory is initialized (early serial console does this) and will want to alloc a page for its mapping. No userspace pages will ever get allocated before memory is initialized so this applies only to kernel pages. In the event that this is called before memory is initialized we allocate the page using the memblock infrastructure.
Definition at line 23 of file pgalloc.c.
gfp_t __userpte_alloc_gfp |