mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[PATCH] Swapless page migration: rip out swap based logic
Rip the page migration logic out. Remove all code that has to do with swapping during page migration. This also guts the ability to migrate pages to swap. No one used that so lets let it go for good. Page migration should be a bit broken after this patch. Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
0697212a41
commit
d75a0fcda2
4 changed files with 3 additions and 120 deletions
|
@ -91,7 +91,6 @@ static inline void page_dup_rmap(struct page *page)
|
|||
*/
|
||||
int page_referenced(struct page *, int is_locked);
|
||||
int try_to_unmap(struct page *, int ignore_refs);
|
||||
void remove_from_swap(struct page *page);
|
||||
|
||||
/*
|
||||
* Called from mm/filemap_xip.c to unmap empty zero page
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue