Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 365408
b: refs/heads/master
c: ee5df05
h: refs/heads/master
v: v3
  • Loading branch information
Zhang Yanfei authored and Linus Torvalds committed Apr 29, 2013
1 parent a7bd890 commit 3029e96
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 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: 13ba3fcbbe31068b1ee7c39a0b58ecbed03c4d72
refs/heads/master: ee5df0570c8af2610b28ab79bd8f8f8195687773
3 changes: 0 additions & 3 deletions trunk/mm/mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1935,9 +1935,6 @@ struct vm_area_struct *find_vma(struct mm_struct *mm, unsigned long addr)
{
struct vm_area_struct *vma = NULL;

if (WARN_ON_ONCE(!mm)) /* Remove this in linux-3.6 */
return NULL;

/* Check the cache first. */
/* (Cache hit rate is typically around 35%.) */
vma = ACCESS_ONCE(mm->mmap_cache);
Expand Down

0 comments on commit 3029e96

Please sign in to comment.