Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 84d4826896a914229ea7591a0e84e4c003944203 ("refcount: Use
atomic_*_overflow()")
https://git.kernel.org/cgit/linux/kernel/git/peterz/queue.git locking/wip.refcount.crazy
in testcase: kernel-selftests
version: kernel-selftests-x86_64-a1616593-1_20211225
with following parameters:
group: lkdtm
ucode: 0xe2
test-description: The kernel contains a set of "self tests" under the
tools/testing/selftests/ directory. These are intended to be small unit tests to exercise
individual code paths in the kernel.
test-url:
https://www.kernel.org/doc/Documentation/kselftest.txt
on test machine: 8 threads Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz with 16G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang(a)intel.com>
# selftests: lkdtm: REFCOUNT_INC_OVERFLOW.sh
# [ 96.331871] lkdtm: Performing direct entry REFCOUNT_INC_OVERFLOW
# [ 96.338621] lkdtm: attempting good refcount_inc() without overflow
# [ 96.345493] lkdtm: attempting bad refcount_inc() overflow
# [ 96.351676] lkdtm: Fail: refcount wrapped to -2147483648
# REFCOUNT_INC_OVERFLOW: missing 'call trace:': [FAIL]
not ok 47 selftests: lkdtm: REFCOUNT_INC_OVERFLOW.sh # exit=1
To reproduce:
git clone
https://github.com/intel/lkp-tests.git
cd lkp-tests
sudo bin/lkp install job.yaml # job file is attached in this email
bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
sudo bin/lkp run generated-yaml-file
# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.
---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/[email protected] Intel Corporation
Thanks,
Oliver Sang