summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2020-04-08 19:40:15 -0700
committergVisor bot <gvisor-bot@google.com>2020-04-08 19:41:43 -0700
commit7297fd7238e17803e073fb5a5ef85edf992bdf6b (patch)
tree39db2b88a28b5cef50ed38c8bc1e7ca5c24c6673 /test
parent0f75f7273d8c4ace73d93b6b00f81d53a5cf76ea (diff)
Bump proc_test's kRSSTolerance to 10MB.
PiperOrigin-RevId: 305604557
Diffstat (limited to 'test')
-rw-r--r--test/syscalls/linux/proc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/syscalls/linux/proc.cc b/test/syscalls/linux/proc.cc
index da98e1f66..79a625ebc 100644
--- a/test/syscalls/linux/proc.cc
+++ b/test/syscalls/linux/proc.cc
@@ -994,7 +994,7 @@ constexpr uint64_t kMappingSize = 100 << 20;
// Tolerance on RSS comparisons to account for background thread mappings,
// reclaimed pages, newly faulted pages, etc.
-constexpr uint64_t kRSSTolerance = 5 << 20;
+constexpr uint64_t kRSSTolerance = 10 << 20;
// Capture RSS before and after an anonymous mapping with passed prot.
void MapPopulateRSS(int prot, uint64_t* before, uint64_t* after) {