| Index: include/linux/mm.h
|
| diff --git a/include/linux/mm.h b/include/linux/mm.h
|
| index c0a67b894c4ce5338e845774b3c4e3ad8c325f5f..f3f6ceeb06a1c7248a77111fe0a3539fb4ea3c62 100644
|
| --- a/include/linux/mm.h
|
| +++ b/include/linux/mm.h
|
| @@ -1368,6 +1368,11 @@ static inline void update_hiwater_vm(struct mm_struct *mm)
|
| mm->hiwater_vm = mm->total_vm;
|
| }
|
|
|
| +static inline void reset_mm_hiwater_rss(struct mm_struct *mm)
|
| +{
|
| + mm->hiwater_rss = get_mm_rss(mm);
|
| +}
|
| +
|
| static inline void setmax_mm_hiwater_rss(unsigned long *maxrss,
|
| struct mm_struct *mm)
|
| {
|
|
|