Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144892
b: refs/heads/master
c: 0f18132
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed May 13, 2009
1 parent 571d13a commit 54f208b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 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: f2deae9d4e70793568ef9e85d227abb7bef5b622
refs/heads/master: 0f181328287db30671e9997329cff71395d4af8b
8 changes: 0 additions & 8 deletions trunk/mm/madvise.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,6 @@ static long madvise_willneed(struct vm_area_struct * vma,
if (!file)
return -EBADF;

/*
* Page cache readahead assumes page cache pages are order-0 which
* is not the case for hugetlbfs. Do not give a bad return value
* but ignore the advice.
*/
if (vma->vm_flags & VM_HUGETLB)
return 0;

if (file->f_mapping->a_ops->get_xip_mem) {
/* no bad return value, but ignore advice */
return 0;
Expand Down

0 comments on commit 54f208b

Please sign in to comment.