search for: fault_flag_mkwrit

Displaying 1 result from an estimated 1 matches for "fault_flag_mkwrit".

Did you mean: fault_flag_mkwrite
2011 Nov 29
3
[PATCH] fs: push file_update_time into ->page_mkwrite
...ex 0f85778..abbaee4 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c @@ -3466,6 +3466,7 @@ static int perf_mmap_fault(struct vm_area_struct *vma, struct vm_fault *vmf) struct ring_buffer *rb; int ret = VM_FAULT_SIGBUS; + file_update_time(vma->vm_file); if (vmf->flags & FAULT_FLAG_MKWRITE) { if (vmf->pgoff == 0) ret = 0; diff --git a/mm/memory.c b/mm/memory.c index a56e3ba..8e4686f 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -2619,10 +2619,6 @@ reuse: } } - /* file_update_time outside page_lock */ - if (vma->vm_file) - file_update_time(vma->vm_file);...