|
@@ -971,7 +971,13 @@ static inline void setmax_mm_hiwater_rss(unsigned long *maxrss,
|
|
*maxrss = hiwater_rss;
|
|
*maxrss = hiwater_rss;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#if defined(SPLIT_RSS_COUNTING)
|
|
void sync_mm_rss(struct task_struct *task, struct mm_struct *mm);
|
|
void sync_mm_rss(struct task_struct *task, struct mm_struct *mm);
|
|
|
|
+#else
|
|
|
|
+static inline void sync_mm_rss(struct task_struct *task, struct mm_struct *mm)
|
|
|
|
+{
|
|
|
|
+}
|
|
|
|
+#endif
|
|
|
|
|
|
/*
|
|
/*
|
|
* A callback you can register to apply pressure to ageable caches.
|
|
* A callback you can register to apply pressure to ageable caches.
|