Home | History | Annotate | Download | only in memctl
      1 The memory controller testplan includes a complete set of testcases that
      2 test the memory controller in different scenarios.
      3 
      4 **These testcases test the memory controller under single level.**
      5 
      6 TESTCASE DESCRIPTION:
      7 ====================
      8 
      9 Test 01: TASK MIGRATION TEST(1)
     10 -------------------------------
     11 In this test we create two groups(a & b) and run initially two tasks in one
     12 group(a). group b has no task in it. The tasks do anonymous memory allocation
     13 using malloc and after that just keep reading the pages they allocate. So
     14 the memory usage for group a is non zero and group b is zero. After some time
     15 one of the tasks from group a is migrated to group b and the memory usage of
     16 group b is checked. If memory usage of group b is still zero the test passes
     17 otherwise it fails.
     18 
     19 Test 02: TASK MIGRATION TEST(2)
     20 -------------------------------
     21 This test is an extension of the above test 1. After migration the task does
     22 memory allocation again and so this time the memory should be claimed from
     23 group b. The test checks if memory is claimed from group b and reports pass
     24 or failure accordingly.
     25