Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: be7612fd6665f5ef3f6c89e78bb4ec4dbff6cd16 ("drm/i915: Require object lock when freeing pages during destruction")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
in testcase: igt
version: igt-x86_64-60e5ffca-1_20220309
with following parameters:
group: gem_ctx_exec
ucode: 0xec
on test machine: 4 threads Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz with 32G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
(please be noted we notice there is a fix commit:
[6cb12fbda1c2e2fcb6d3adfe01f18eef6812e278] drm/i915: Use trylock instead of blocking lock for __i915_gem_free_objects.
but in our tests, the issue still exists on it, as well as on latest mainline
and linux-next/master, upon our test platform as above)
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <[email protected]>
[ 40.450947][ T301]
[ 40.463537][ T301] Starting subtest: eviction
[ 40.463544][ T301]
[ 92.943110][ T301] IPMI BMC is not supported on this machine, skip bmc-watchdog setup!
[ 92.943119][ T301]
[ 188.517859][ T1] systemd invoked oom-killer: gfp_mask=0x40cc0(GFP_KERNEL|__GFP_COMP), order=1, oom_score_adj=0
[ 188.528136][ T1] CPU: 2 PID: 1 Comm: systemd Tainted: G I 5.16.0-rc2-00405-gbe7612fd6665 #1
[ 188.538051][ T1] Hardware name: Dell Inc. OptiPlex 7040/0Y7WYT, BIOS 1.1.1 10/07/2015
[ 188.546142][ T1] Call Trace:
[ 188.549287][ T1] <TASK>
[ 188.552081][ T1] dump_stack_lvl (kbuild/src/consumer/lib/dump_stack.c:107)
[ 188.556445][ T1] dump_header (kbuild/src/consumer/mm/oom_kill.c:464)
[ 188.560718][ T1] oom_kill_process.cold (kbuild/src/consumer/mm/oom_kill.c:982)
[ 188.565599][ T1] out_of_memory (kbuild/src/consumer/mm/oom_kill.c:1119 (discriminator 4))
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.
---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/[email protected]
Thanks,
Oliver Sang