#include <asm/page.h>
#include <linux/threads.h>
#include <linux/mm.h>
#include <linux/memblock.h>
#include <linux/bootmem.h>
Go to the source code of this file.
#define __pte_free_tlb |
( |
|
tlb, |
|
|
|
pte, |
|
|
|
addr |
|
) |
| tlb_remove_page((tlb), (pte)) |
#define check_pgt_cache |
( |
|
void | ) |
do { } while (0) |
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.