Home | History | Annotate | Download | only in kernel_Oom
      1 # Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 AUTHOR = "Chrome OS Team"
      6 DOC = """
      7 Verify that we get low memory notification from /dev/chromeos-low-mem
      8 before we kill processes (OOM) when we consume a lot of memory.
      9 """
     10 NAME = "kernel_Oom"
     11 PURPOSE = "Checks that processes get killed in very low memory conditions."
     12 CRITERIA = """
     13 Fails if /dev/chromeos-low-mem does not exist or does not behave as expected.
     14 Fails if we OOM (ie, processes get killed) before we get low memory
     15 notification.
     16 """
     17 TIME = "SHORT"
     18 TEST_CATEGORY = "Functional"
     19 TEST_CLASS = "kernel"
     20 TEST_TYPE = "client"
     21 
     22 job.run_test('platform_CompressedSwap', checking_for_oom=True)
     23