Commit be5ceb40 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] remove page.list

Remove the now-unneeded page.list field.
parent 67817afb
......@@ -180,7 +180,6 @@ struct page {
page_flags_t flags; /* atomic flags, some possibly
updated asynchronously */
atomic_t count; /* Usage count, see below. */
struct list_head list; /* ->mapping has some page lists. */
struct address_space *mapping; /* The inode (or ...) we belong to. */
pgoff_t index; /* Our offset within mapping. */
struct list_head lru; /* Pageout list, eg. active_list;
......
......@@ -683,8 +683,6 @@ __alloc_pages(unsigned int gfp_mask, unsigned int order,
return NULL;
got_pg:
kernel_map_pages(page, 1 << order, 1);
INIT_LIST_HEAD(&page->list);
INIT_LIST_HEAD(&page->lru);
return page;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment