diff options
Diffstat (limited to 'mm/filemap.c')
| -rw-r--r-- | mm/filemap.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mm/filemap.c b/mm/filemap.c index bcc7372aebbc..ef169f37156d 100644 --- a/mm/filemap.c +++ b/mm/filemap.c | |||
| @@ -58,7 +58,7 @@ | |||
| 58 | /* | 58 | /* |
| 59 | * Lock ordering: | 59 | * Lock ordering: |
| 60 | * | 60 | * |
| 61 | * ->i_mmap_lock (vmtruncate) | 61 | * ->i_mmap_lock (truncate_pagecache) |
| 62 | * ->private_lock (__free_pte->__set_page_dirty_buffers) | 62 | * ->private_lock (__free_pte->__set_page_dirty_buffers) |
| 63 | * ->swap_lock (exclusive_swap_page, others) | 63 | * ->swap_lock (exclusive_swap_page, others) |
| 64 | * ->mapping->tree_lock | 64 | * ->mapping->tree_lock |
| @@ -104,6 +104,10 @@ | |||
| 104 | * | 104 | * |
| 105 | * ->task->proc_lock | 105 | * ->task->proc_lock |
| 106 | * ->dcache_lock (proc_pid_lookup) | 106 | * ->dcache_lock (proc_pid_lookup) |
| 107 | * | ||
| 108 | * (code doesn't rely on that order, so you could switch it around) | ||
| 109 | * ->tasklist_lock (memory_failure, collect_procs_ao) | ||
| 110 | * ->i_mmap_lock | ||
| 107 | */ | 111 | */ |
| 108 | 112 | ||
| 109 | /* | 113 | /* |
| @@ -1607,7 +1611,7 @@ page_not_uptodate: | |||
| 1607 | } | 1611 | } |
| 1608 | EXPORT_SYMBOL(filemap_fault); | 1612 | EXPORT_SYMBOL(filemap_fault); |
| 1609 | 1613 | ||
| 1610 | struct vm_operations_struct generic_file_vm_ops = { | 1614 | const struct vm_operations_struct generic_file_vm_ops = { |
| 1611 | .fault = filemap_fault, | 1615 | .fault = filemap_fault, |
| 1612 | }; | 1616 | }; |
| 1613 | 1617 | ||
