Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28894
b: refs/heads/master
c: 4da5eda
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Lameter authored and Linus Torvalds committed Jun 23, 2006
1 parent 96d49e8 commit 1f22e3a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cb2b95e1c6b56e3d2369d3a5f4bc97f4fa180683
refs/heads/master: 4da5eda0dca9730f59f391230304526ab4bffec7
7 changes: 0 additions & 7 deletions trunk/mm/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -1879,7 +1879,6 @@ static int do_swap_page(struct mm_struct *mm, struct vm_area_struct *vma,
goto out;

entry = pte_to_swp_entry(orig_pte);
again:
page = lookup_swap_cache(entry);
if (!page) {
swapin_readahead(entry, address, vma);
Expand All @@ -1903,12 +1902,6 @@ static int do_swap_page(struct mm_struct *mm, struct vm_area_struct *vma,

mark_page_accessed(page);
lock_page(page);
if (!PageSwapCache(page)) {
/* Page migration has occured */
unlock_page(page);
page_cache_release(page);
goto again;
}

/*
* Back out if somebody else already faulted in this pte.
Expand Down

0 comments on commit 1f22e3a

Please sign in to comment.