mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 13:09:04 -04:00
taskstats: remove redundant MM_STAT config check
Userspace does not have access to MM_STAT configs, so remove redundant config checks. Change-Id: I0ec0807a1e62bd5932f01ed285f2175f27900e37 Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
This commit is contained in:
parent
bbc7f2d3ed
commit
9d12d29a2d
3 changed files with 5 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
|
||||
/*
|
||||
* Copyright (c) 2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _LINUX_SYSSTATS_H
|
||||
|
|
@ -25,9 +25,7 @@ struct sys_memstats {
|
|||
__u64 zram_compressed;
|
||||
__u64 swap_used;
|
||||
__u64 swap_total;
|
||||
#ifdef CONFIG_MM_STAT_UNRECLAIMABLE_PAGES
|
||||
__u64 unreclaimable;
|
||||
#endif
|
||||
__u64 buffer;
|
||||
__u64 slab_reclaimable;
|
||||
__u64 slab_unreclaimable;
|
||||
|
|
|
|||
|
|
@ -179,9 +179,7 @@ struct taskstats2 {
|
|||
__u64 file_rss; /* KB */
|
||||
__u64 swap_rss; /* KB */
|
||||
__u64 shmem_rss; /* KB */
|
||||
#ifdef CONFIG_MM_STAT_UNRECLAIMABLE_PAGES
|
||||
__u64 unreclaimable; /* KB */
|
||||
#endif
|
||||
/* version 1 ends here */
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue