Greeting, FYI, we noticed non-canonical address due to commit (built with gcc-11): commit: 8cbd3a2c63383e4025b1b46444e51df916ff66d7 ("mm, netfs, fscache: Stop read optimisation when folio removed from pagecache") https://github.com/ammarfaizi2/linux-block dhowells/linux-fs/netfs-lib in testcase: vm-scalability version: vm-scalability-x86_64-1.0-0_20220518 with following parameters: thp_enabled: never thp_defrag: never nr_task: 64 nr_pmem: 4 priority: 1 test: swap-w-seq cpufreq_governor: performance test-description: The motivation behind this suite is to exercise functions and regions of the mm/ of the Linux kernel which are of interest to us. test-url: https://git.kernel.org/cgit/linux/kernel/git/wfg/vm-scalability.git/ on test machine: 144 threads 4 sockets Intel(R) Xeon(R) Gold 5318H CPU @ 2.50GHz (Cooper Lake) with 128G memory caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): [ 72.532218][ T935] general protection fault, probably for non-canonical address 0x2500000006063818: 0000 [#1] SMP NOPTI [ 72.543765][ T935] CPU: 0 PID: 935 Comm: kswapd0 Not tainted 6.1.0-rc4-00005-g8cbd3a2c6338 #1 [ 72.553057][ T935] RIP: 0010:filemap_release_folio+0x54/0x80 [ 72.559481][ T935] Code: c0 c3 cc cc cc cc 48 8b 0f 80 e5 20 75 08 48 8b 0f 80 e5 40 74 22 48 8b 07 f6 c4 80 75 e1 48 85 d2 74 1a 48 8b 82 90 00 00 00 <48> 8b 40 48 48 85 c0 74 0a ff e0 cc 66 90 c3 cc cc cc cc e9 d4 11 [ 72.580252][ T935] RSP: 0000:ffffc90009d57b28 EFLAGS: 00010246 [ 72.587246][ T935] RAX: 25000000060637d0 RBX: ffffc90009d57c08 RCX: 25000000060637e0 [ 72.596409][ T935] RDX: ffff88a07b4aaf71 RSI: 0000000000000cc0 RDI: ffffea001bbc9780 [ 72.605416][ T935] RBP: ffffc90009d57b98 R08: 000000000003091e R09: 0000000000000001 [ 72.614362][ T935] R10: ffff88877ffd5000 R11: 0000000000030900 R12: ffffc90009d57c1c [ 72.623393][ T935] R13: ffffea001bbc9780 R14: ffffea001bbc9788 R15: ffffc90009d57e10 [ 72.632113][ T935] FS: 0000000000000000(0000) GS:ffff888777800000(0000) knlGS:0000000000000000 [ 72.642105][ T935] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 72.649387][ T935] CR2: 00007fcf37b50000 CR3: 0000000cce4f8005 CR4: 00000000007706f0 [ 72.658226][ T935] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 72.667200][ T935] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 72.675964][ T935] PKRU: 55555554 [ 72.680693][ T935] Call Trace: [ 72.684966][ T935] [ 72.688637][ T935] shrink_folio_list+0xa2a/0xb40 [ 72.694966][ T935] shrink_inactive_list+0x157/0x440 [ 72.701019][ T935] shrink_lruvec+0x2b5/0x3c0 [ 72.706671][ T935] shrink_node_memcgs+0x175/0x200 [ 72.712644][ T935] shrink_node+0xb6/0x300 [ 72.717733][ T935] balance_pgdat+0x31c/0x700 [ 72.723264][ T935] kswapd+0x101/0x1c0 [ 72.728176][ T935] ? balance_pgdat+0x700/0x700 [ 72.734092][ T935] kthread+0xd6/0x100 [ 72.738963][ T935] ? kthread_complete_and_exit+0x40/0x40 [ 72.745817][ T935] ret_from_fork+0x1f/0x30 [ 72.751362][ T935] [ 72.755177][ T935] Modules linked in: xfs loop intel_rapl_msr intel_rapl_common skx_edac nfit x86_pkg_temp_thermal intel_powerclamp btrfs coretemp kvm_intel blake2b_generic xor kvm raid6_pq zstd_compress ast libcrc32c drm_vram_helper irqbypass crct10dif_pclmul drm_ttm_helper crc32_pclmul ttm nvme ipmi_ssif crc32c_intel ghash_clmulni_intel nd_pmem sha512_ssse3 nd_btt dax_pmem ahci rapl drm_kms_helper nvme_core t10_pi nd_e820 syscopyarea libahci intel_cstate mei_me acpi_ipmi sysfillrect crc64_rocksoft_generic ioatdma sysimgblt crc64_rocksoft libnvdimm intel_uncore ipmi_si libata mei crc64 fb_sys_fops joydev intel_pch_thermal dca wmi ipmi_devintf ipmi_msghandler acpi_pad acpi_power_meter drm fuse ip_tables [ 72.824424][ T935] ---[ end trace 0000000000000000 ]--- [ 72.884123][ T935] RIP: 0010:filemap_release_folio+0x54/0x80 [ 72.890997][ T935] Code: c0 c3 cc cc cc cc 48 8b 0f 80 e5 20 75 08 48 8b 0f 80 e5 40 74 22 48 8b 07 f6 c4 80 75 e1 48 85 d2 74 1a 48 8b 82 90 00 00 00 <48> 8b 40 48 48 85 c0 74 0a ff e0 cc 66 90 c3 cc cc cc cc e9 d4 11 [ 72.912874][ T935] RSP: 0000:ffffc90009d57b28 EFLAGS: 00010246 [ 72.919974][ T935] RAX: 25000000060637d0 RBX: ffffc90009d57c08 RCX: 25000000060637e0 [ 72.929181][ T935] RDX: ffff88a07b4aaf71 RSI: 0000000000000cc0 RDI: ffffea001bbc9780 [ 72.938070][ T935] RBP: ffffc90009d57b98 R08: 000000000003091e R09: 0000000000000001 [ 72.946847][ T935] R10: ffff88877ffd5000 R11: 0000000000030900 R12: ffffc90009d57c1c [ 72.955736][ T935] R13: ffffea001bbc9780 R14: ffffea001bbc9788 R15: ffffc90009d57e10 [ 72.964244][ T935] FS: 0000000000000000(0000) GS:ffff888777800000(0000) knlGS:0000000000000000 [ 72.974077][ T935] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 72.981585][ T935] CR2: 00007fcf37b50000 CR3: 0000000cce4f8005 CR4: 00000000007706f0 [ 72.990159][ T935] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 72.998973][ T935] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 73.008103][ T935] PKRU: 55555554 [ 73.012338][ T935] Kernel panic - not syncing: Fatal exception [ 73.149277][ T935] Kernel Offset: disabled If you fix the issue, kindly add following tag | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-lkp/202211281001.99962236-yujie.liu@intel.com 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://01.org/lkp