8000 Comparing linux-test-project:master...chenhuacai:master · linux-test-project/ltp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: linux-test-project/ltp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: chenhuacai/ltp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Jul 17, 2020

  1. controllers/memcg_control: Use tst_umount in cleanup()

    Use tst_umount in cleanup(), in order to avoid "rm: cannot remove '/tmp
    /ltp-XXXXXXXXXX/mnt/YYY': Operation not permitted" in the memcg_control
    test. This is because umount may sometimes fail even if the accessing
    process is killed.
    
    Signed-off-by: Huacai Chen <chenhc@lemote.com>
    chenhuacai committed Jul 17, 2020
    Configuration menu
    Copy the full SHA
    2f3faa0 View commit details
    Browse the repository at this point in the history
  2. mem/oom01: Run oom01 test only once

    This patch is really not to fix an LTP bug. But if we want to verify
    kernel functions, run oom01 only once is enough. Running oom01 for
    multiple times may hurt the whole Linux system, because applications
    (such as systemd, Xorg, and so on) may have some corner cases that
    malloc()/mmap() failures are not handled perfectly.
    
    If we want to verify kernel functions, please run LTP in this manner
    and oom01 will run only once:
    
    ./runltp
    ./runltp -t 3d
    
    If we want to discover application bugs, please run LTP in this manner
    and oom01 will run multiple times:
    
    while true; do
        ./runltp
    done
    
    Signed-off-by: Huacai Chen <chenhc@lemote.com>
    chenhuacai committed Jul 17, 2020
    Configuration menu
    Copy the full SHA
    9c088df View commit details
    Browse the repository at this point in the history
Loading
0