diff options
Diffstat (limited to 'mm/filemap.c')
-rw-r--r-- | mm/filemap.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mm/filemap.c b/mm/filemap.c index 8f378ac675d7..8ea609718839 100644 --- a/mm/filemap.c +++ b/mm/filemap.c | |||
@@ -36,6 +36,9 @@ | |||
36 | #include <linux/rmap.h> | 36 | #include <linux/rmap.h> |
37 | #include "internal.h" | 37 | #include "internal.h" |
38 | 38 | ||
39 | #include <litmus/litmus.h> | ||
40 | #include <litmus/mc2_common.h> | ||
41 | |||
39 | #define CREATE_TRACE_POINTS | 42 | #define CREATE_TRACE_POINTS |
40 | #include <trace/events/filemap.h> | 43 | #include <trace/events/filemap.h> |
41 | 44 | ||
@@ -1885,6 +1888,8 @@ int filemap_fault(struct vm_area_struct *vma, struct vm_fault *vmf) | |||
1885 | /* | 1888 | /* |
1886 | * Do we have something in the page cache already? | 1889 | * Do we have something in the page cache already? |
1887 | */ | 1890 | */ |
1891 | if (is_realtime(current)) | ||
1892 | printk("FILEMAP_FAULT %ld\n", vma->vm_start); | ||
1888 | page = find_get_page(mapping, offset); | 1893 | page = find_get_page(mapping, offset); |
1889 | if (likely(page) && !(vmf->flags & FAULT_FLAG_TRIED)) { | 1894 | if (likely(page) && !(vmf->flags & FAULT_FLAG_TRIED)) { |
1890 | /* | 1895 | /* |