Patch "selftests: vm: add fragment CONFIG_GUP_BENCHMARK" has been added to the 5.9-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    selftests: vm: add fragment CONFIG_GUP_BENCHMARK

to the 5.9-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     selftests-vm-add-fragment-config_gup_benchmark.patch
and it can be found in the queue-5.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit a04692d74f20203085d1d8a659e295b6a2c0d3a0
Author: Anatoly Pugachev <matorola@xxxxxxxxx>
Date:   Tue Jun 16 15:26:18 2020 +0300

    selftests: vm: add fragment CONFIG_GUP_BENCHMARK
    
    [ Upstream commit cae1d5a2c5a491141faa747e9944ba40ab4ab786 ]
    
    When running gup_benchmark test the following output states that
    the config options is missing.
    
    $ sudo ./gup_benchmark
    open: No such file or directory
    
    $ sudo strace -e trace=file ./gup_benchmark 2>&1 | tail -3
    openat(AT_FDCWD, "/sys/kernel/debug/gup_benchmark", O_RDWR) = -1 ENOENT
    (No such file or directory)
    open: No such file or directory
    +++ exited with 1 +++
    
    Fix it by adding config option fragment.
    
    Fixes: 64c349f4ae78 ("mm: add infrastructure for get_user_pages_fast() benchmarking")
    Signed-off-by: Anatoly Pugachev <matorola@xxxxxxxxx>
    CC: Jiri Kosina <trivial@xxxxxxxxxx>
    CC: Shuah Khan <shuah@xxxxxxxxxx>
    Signed-off-by: Jiri Kosina <jkosina@xxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/tools/testing/selftests/vm/config b/tools/testing/selftests/vm/config
index 3ba674b64fa9f..69dd0d1aa30b2 100644
--- a/tools/testing/selftests/vm/config
+++ b/tools/testing/selftests/vm/config
@@ -3,3 +3,4 @@ CONFIG_USERFAULTFD=y
 CONFIG_TEST_VMALLOC=m
 CONFIG_DEVICE_PRIVATE=y
 CONFIG_TEST_HMM=m
+CONFIG_GUP_BENCHMARK=y



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux