|
|
@@ -612,7 +612,7 @@ Signed-off-by: Andrew Morton <[email protected]>
|
|
|
mem_cgroup_id_remove(memcg);
|
|
|
--- a/mm/memory.c
|
|
|
+++ b/mm/memory.c
|
|
|
-@@ -4792,6 +4792,27 @@ static inline void mm_account_fault(stru
|
|
|
+@@ -4805,6 +4805,27 @@ static inline void mm_account_fault(stru
|
|
|
perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MIN, 1, regs, address);
|
|
|
}
|
|
|
|
|
|
@@ -640,7 +640,7 @@ Signed-off-by: Andrew Morton <[email protected]>
|
|
|
/*
|
|
|
* By the time we get here, we already hold the mm semaphore
|
|
|
*
|
|
|
-@@ -4823,11 +4844,15 @@ vm_fault_t handle_mm_fault(struct vm_are
|
|
|
+@@ -4836,11 +4857,15 @@ vm_fault_t handle_mm_fault(struct vm_are
|
|
|
if (flags & FAULT_FLAG_USER)
|
|
|
mem_cgroup_enter_user_fault();
|
|
|
|