#include <linux/stddef.h>
#include <linux/module.h>
#include <linux/bootmem.h>
#include <linux/highmem.h>
#include <linux/mm.h>
#include <linux/swap.h>
#include <linux/slab.h>
#include <asm/fixmap.h>
#include <asm/page.h>
#include <as-layout.h>
#include <init.h>
#include <kern.h>
#include <kern_util.h>
#include <mem_user.h>
#include <os.h>
Go to the source code of this file.
Definition at line 59 of file mem.c.
paging_init - setup page tables
paging_init() sets up the page tables for each node of the system and frees the bootmem allocator memory for general use.
Definition at line 214 of file mem.c.
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 289 of file mem.c.
Definition at line 23 of file mem.c.
Definition at line 35 of file mem.c.
Definition at line 36 of file mem.c.
Definition at line 32 of file mem.c.