ci starts bisection 2024-12-06 01:23:29.364153743 +0000 UTC m=+119.368484846 bisecting cause commit starting from af2ea8ab7a546b430726183458da0a173d331272 building syzkaller on 6e50d07bee3b03370f797eaf024fa41ce74da61b ensuring issue is reproducible on original commit af2ea8ab7a546b430726183458da0a173d331272 testing commit af2ea8ab7a546b430726183458da0a173d331272 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5751f13b667181a52b2d6351770aecf6a498d7537bcc272e49220565bd6282ca all runs: crashed: WARNING in lru_gen_clear_refs representative crash: WARNING in lru_gen_clear_refs, types: [WARNING] check whether we can drop unnecessary instrumentation disabling configs for [UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit af2ea8ab7a546b430726183458da0a173d331272 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3216ea0ffcd8ca46e772e932be8b4e6a66ecf623b2374b3b704c3f87b0adb9e9 all runs: crashed: WARNING in lru_gen_clear_refs representative crash: WARNING in lru_gen_clear_refs, types: [WARNING] the bug reproduces without the instrumentation disabling configs for [LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed kconfig minimization: base=4045 full=8250 leaves diff=2128 split chunks (needed=false): <2128> split chunk #0 of len 2128 into 5 parts testing without sub-chunk 1/5 disabling configs for [UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit af2ea8ab7a546b430726183458da0a173d331272 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fc1d656e93c01fabec835ec1ceedac4a42d6c9b3619dfcac205c79356fb566fe all runs: crashed: WARNING in lru_gen_clear_refs representative crash: WARNING in lru_gen_clear_refs, types: [WARNING] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN KASAN], they are not needed testing commit af2ea8ab7a546b430726183458da0a173d331272 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building af2ea8ab7a546b430726183458da0a173d331272: drivers/gpu/drm/bridge/aux-bridge.c:116: undefined reference to `devm_drm_of_get_bridge' testing without sub-chunk 3/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit af2ea8ab7a546b430726183458da0a173d331272 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 846c27847356330a347d61833fdf37895b572983fcfd8d7c89c931ea2425dcb1 all runs: crashed: WARNING in lru_gen_clear_refs representative crash: WARNING in lru_gen_clear_refs, types: [WARNING] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed testing commit af2ea8ab7a546b430726183458da0a173d331272 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f1c5772a87f05e9fb14e7e546d40043f2cdfe0529dcf158c23d6f682de51b441 all runs: crashed: WARNING in lru_gen_clear_refs representative crash: WARNING in lru_gen_clear_refs, types: [WARNING] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed testing commit af2ea8ab7a546b430726183458da0a173d331272 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: af3b96ddeb317ef16b40cc70cdfe647b3a16c31704c39d0796de270a64218f09 all runs: crashed: WARNING in lru_gen_clear_refs representative crash: WARNING in lru_gen_clear_refs, types: [WARNING] the chunk can be dropped minimized to 426 configs; suspects: [6LOWPAN ARCH_ENABLE_MEMORY_HOTREMOVE ASUS_WMI CHARGER_BQ24190 CMA COMMON_CLK DAX DLM DRM DRM_BRIDGE DRM_GUD DRM_I915 DRM_I915_CAPTURE_ERROR DRM_I915_COMPRESS_ERROR DRM_I915_USERPTR DRM_KMS_HELPER DRM_MIPI_DSI DRM_PANEL DRM_PANEL_BRIDGE DRM_PANEL_EDP DRM_PANEL_ORIENTATION_QUIRKS DRM_SIMPLEDRM DRM_TTM DRM_TTM_HELPER DRM_UDL DRM_VGEM DRM_VIRTIO_GPU DRM_VIRTIO_GPU_KMS DRM_VKMS DRM_VMWGFX DUMMY DVB_AF9013 DVB_AF9033 DVB_AS102 DVB_AS102_FE DVB_B2C2_FLEXCOP DVB_B2C2_FLEXCOP_USB DVB_CORE DVB_DIB3000MB DVB_DIB3000MC DVB_EC100 DVB_GP8PSK_FE DVB_RTL2830 DVB_RTL2832 DVB_RTL2832_SDR DVB_TEST_DRIVERS DVB_TTUSB_BUDGET DVB_TTUSB_DEC DVB_USB DVB_USB_A800 DVB_USB_AF9005 DVB_USB_AF9005_REMOTE DVB_USB_AF9015 DVB_USB_AF9035 DVB_USB_ANYSEE DVB_USB_AU6610 DVB_USB_AZ6007 DVB_USB_AZ6027 DVB_USB_CE6230 DVB_USB_CINERGY_T2 DVB_USB_CXUSB DVB_USB_CXUSB_ANALOG DVB_USB_DIB0700 DVB_USB_DIB3000MC DVB_USB_DIBUSB_MB DVB_USB_DIBUSB_MC DVB_USB_DIGITV DVB_USB_DTT200U DVB_USB_DTV5100 DVB_USB_DVBSKY DVB_USB_DW2102 DVB_USB_EC168 DVB_USB_GL861 DVB_USB_GP8PSK DVB_USB_LME2510 DVB_USB_M920X DVB_USB_MXL111SF DVB_USB_NOVA_T_USB2 DVB_USB_OPERA1 DVB_USB_PCTV452E DVB_USB_RTL28XXU DVB_USB_TECHNISAT_USB2 DVB_USB_TTUSB2 DVB_USB_UMT_010 DVB_USB_V2 DVB_USB_VP702X DVB_USB_VP7045 DVB_USB_ZD1301 DVB_VIDTV DVB_ZL10353 ECRYPT_FS ECRYPT_FS_MESSAGING EDAC EEPROM_93CX6 EFS_FS ENCRYPTED_KEYS EQUALIZER EROFS_FS EROFS_FS_BACKED_BY_FILE EROFS_FS_POSIX_ACL EROFS_FS_SECURITY EROFS_FS_XATTR EROFS_FS_ZIP EVM EVM_ADD_XATTRS EVM_ATTR_FSUUID EXFAT_FS EXPORTFS_BLOCK_OPS EXT3_FS EXT3_FS_POSIX_ACL EXT3_FS_SECURITY EXTCON EXTCON_INTEL_CHT_WC EXTCON_PTN5150 EXTCON_USBC_TUSB320 F2FS_CHECK_FS F2FS_FAULT_INJECTION F2FS_FS F2FS_FS_COMPRESSION F2FS_FS_LZ4 F2FS_FS_LZ4HC F2FS_FS_LZO F2FS_FS_LZORLE F2FS_FS_POSIX_ACL F2FS_FS_SECURITY F2FS_FS_XATTR F2FS_FS_ZSTD F2FS_STAT_FS FANOTIFY FANOTIFY_ACCESS_PERMISSIONS FB FB_CFB_COPYAREA FB_CFB_FILLRECT FB_CFB_IMAGEBLIT FB_CORE FB_DEFERRED_IO FB_DEVICE FB_IOMEM_FOPS FB_IOMEM_HELPERS FB_NOTIFY FB_SYSMEM_FOPS FB_SYSMEM_HELPERS FB_SYSMEM_HELPERS_DEFERRED FB_SYS_COPYAREA FB_SYS_FILLRECT FB_SYS_IMAGEBLIT FB_TILEBLITTING FB_VESA FB_VGA16 FB_VIRTUAL FDDI FIREWIRE FIREWIRE_NET FIREWIRE_OHCI FIREWIRE_SBP2 FONT_8x16 FONT_8x8 FONT_SUPPORT FRAMEBUFFER_CONSOLE FRAMEBUFFER_CONSOLE_DETECT_PRIMARY FRAMEBUFFER_CONSOLE_ROTATION FS_DAX FS_DAX_PMD FS_ENCRYPTION FS_ENCRYPTION_ALGS FS_STACK FS_VERITY FS_VERITY_BUILTIN_SIGNATURES FTL FUSE_DAX FUSE_FS FW_LOADER_COMPRESS FW_LOADER_PAGED_BUF FW_LOADER_SYSFS FW_LOADER_USER_HELPER FW_LOADER_USER_HELPER_FALLBACK GACT_PROB GARP GENERIC_PHY GET_FREE_REGION GFS2_FS GFS2_FS_LOCKING_DLM GNSS GNSS_USB GOOGLE_COREBOOT_TABLE GOOGLE_FIRMWARE GOOGLE_MEMCONSOLE GOOGLE_MEMCONSOLE_COREBOOT GOOGLE_VPD GPIOLIB GPIOLIB_IRQCHIP GPIO_ACPI GPIO_DLN2 GPIO_LJCA GPIO_VIPERBOARD GREENASIA_FF GREYBUS GREYBUS_BRIDGED_PHY GREYBUS_ES2 GREYBUS_HID GREYBUS_USB GROUP_SCHED_WEIGHT GTP GUEST_PERF_EVENTS GVE HAVE_ARCH_NODE_DEV_GROUP HAVE_ARCH_USERFAULTFD_MINOR HAVE_ARCH_USERFAULTFD_WP HAVE_BOOTMEM_INFO_NODE HAVE_CLK_PREPARE HAVE_KVM_CPU_RELAX_INTERCEPT HAVE_KVM_DIRTY_RING HAVE_KVM_DIRTY_RING_ACQ_REL HAVE_KVM_DIRTY_RING_TSO HAVE_KVM_IRQCHIP HAVE_KVM_IRQ_BYPASS HAVE_KVM_IRQ_ROUTING HAVE_KVM_MSI HAVE_KVM_NO_POLL HAVE_KVM_PFNCACHE HAVE_KVM_PM_NOTIFIER HAVE_KVM_READONLY_MEM HAVE_SCHED_AVG_IRQ HDLC HDLC_CISCO HDLC_FR HDLC_PPP HDLC_RAW HDLC_RAW_ETH HDLC_X25 HDMI HFSPLUS_FS HFS_FS HID_ACCUTOUCH HID_ACRUX HID_ACRUX_FF HID_ALPS HID_APPLEIR HID_ASUS HID_AUREAL HID_BATTERY_STRENGTH HID_BETOP_FF HID_BIGBEN_FF HID_CMEDIA HID_CORSAIR HID_COUGAR HID_CP2112 HID_CREATIVE_SB0540 HID_ELAN HID_ELECOM HID_ELO HID_EMS_FF HID_EVISION HID_FT260 HID_GEMBIRD HID_GFRM HID_GLORIOUS HID_GOOGLE_STADIA_FF HID_GREENASIA HID_GT683R HID_HOLTEK HID_ICADE HID_JABRA HID_KEYTOUCH HID_KYE HID_LCPOWER HID_LED HID_LENOVO HID_LETSKETCH HID_LOGITECH_DJ HID_LOGITECH_HIDPP HID_MACALLY HID_MAGICMOUSE HID_MALTRON HID_MAYFLASH HID_MCP2200 HID_MCP2221 HID_MEGAWORLD_FF HID_MULTITOUCH HID_NTI HID_ORTEK HID_PENMOUNT HID_PICOLCD HID_PICOLCD_BACKLIGHT HID_PICOLCD_CIR HID_PICOLCD_FB HID_PICOLCD_LCD HID_PICOLCD_LEDS HID_PLANTRONICS HID_PRIMAX HID_PRODIKEYS HID_PXRC HID_RAZER HID_RETRODE HID_RMI HID_ROCCAT HID_SAITEK HID_SEMITEK HID_SENSOR_ACCEL_3D HID_SENSOR_ALS HID_SENSOR_CUSTOM_INTEL_HINGE HID_SENSOR_CUSTOM_SENSOR HID_SENSOR_DEVICE_ROTATION HID_SENSOR_GYRO_3D HID_SENSOR_HUB HID_SENSOR_HUMIDITY HID_SENSOR_IIO_COMMON HID_SENSOR_IIO_TRIGGER HID_SENSOR_INCLINOMETER_3D HID_SENSOR_MAGNETOMETER_3D HID_SENSOR_PRESS HID_SENSOR_PROX HID_SENSOR_TEMP HID_SIGMAMICRO HID_SPEEDLINK HID_STEELSERIES HID_THINGM HID_TIVO HID_TOPRE HID_TWINHAN HID_U2FZERO HID_UCLOGIC HID_UDRAW_PS3 HID_VIEWSONIC HID_VIVALDI HID_VIVALDI_COMMON HID_VRC2 HID_WACOM HID_WALTOP HID_WIIMOTE HID_XIAOMI HID_XINMO HID_ZYDACRON HMM_MIRROR HOLTEK_FF HOTPLUG_PCI_PCIE HPET_MMAP HPET_MMAP_DEFAULT HPFS_FS I2C_ALGOBIT I2C_CHARDEV I2C_CP2615 I2C_DESIGNWARE_CORE I2C_DESIGNWARE_PLATFORM I2C_DIOLAN_U2C I2C_DLN2 I2C_HID_ACPI I2C_HID_CORE I2C_HID_OF I2C_LJCA I2C_MUX I2C_MUX_REG I2C_ROBOTFUZZ_OSIF I2C_SI4713 I2C_SLAVE I2C_SLAVE_EEPROM I2C_TINY_USB I2C_VIPERBOARD IEEE802154 IEEE802154_6LOWPAN IEEE802154_ATUSB IEEE802154_DRIVERS IEEE802154_HWSIM IEEE802154_NL802154_EXPERIMENTAL IEEE802154_SOCKET IFB IIO IIO_BUFFER IIO_KFIFO_BUF IIO_TRIGGER IIO_TRIGGERED_BUFFER IKCONFIG IKCONFIG_PROC IMA IMA_APPRAISE IMA_APPRAISE_MODSIG IMA_DEFAULT_HASH_SHA256 IMA_LSM_RULES IMA_MEASURE_ASYMMETRIC_KEYS IMA_NG_TEMPLATE IMA_QUEUE_EARLY_BOOT_KEYS IMA_READ_POLICY IMA_WRITE_POLICY INET6_ESPINTCP INET6_ESP_OFFLOAD INET6_IPCOMP INET6_TUNNEL INET6_XFRM_TUNNEL INET_AH INET_DCCP_DIAG INET_DIAG INET_DIAG_DESTROY INET_ESP INET_ESPINTCP INET_ESP_OFFLOAD INET_IPCOMP INET_MPTCP_DIAG INET_RAW_DIAG INET_SCTP_DIAG INET_TCP_DIAG INET_UDP_DIAG INET_XFRM_TUNNEL INFINIBAND INFINIBAND_ADDR_TRANS INFINIBAND_ADDR_TRANS_CONFIGFS INFINIBAND_IPOIB INFINIBAND_IPOIB_CM INFINIBAND_IPOIB_DEBUG INFINIBAND_ISER INFINIBAND_ON_DEMAND_PAGING INFINIBAND_RTRS INFINIBAND_SRP INFINIBAND_USER_ACCESS INFINIBAND_USER_MAD INFINIBAND_USER_MEM INPUT_ATI_REMOTE2 INPUT_CM109 INPUT_IMS_PCU INPUT_JOYDEV INPUT_KEYSPAN_REMOTE INPUT_LEDS INPUT_MOUSEDEV INPUT_MOUSEDEV_PSAUX INPUT_POWERMATE INPUT_UINPUT INPUT_YEALINK INTEGRITY INTEGRITY_ASYMMETRIC_KEYS INTEGRITY_AUDIT INTEGRITY_SIGNATURE INTEGRITY_TRUSTED_KEYRING INTEL_CHTWC_INT33FE INTEL_IDMA64 INTEL_IOATDMA INTEL_IOMMU_DEFAULT_ON INTEL_IOMMU_SVM INTEL_ISHTP_ECLITE INTEL_ISH_FIRMWARE_DOWNLOADER INTEL_ISH_HID INTEL_SOC_PMIC_CHTWC INTERVAL_TREE_SPAN_ITER IOMMUFD IOMMUFD_DRIVER IOMMUFD_DRIVER_CORE IOMMUFD_TEST IP6_NF_MATCH_AH IP6_NF_MATCH_EUI64 IP6_NF_MATCH_FRAG IP6_NF_MATCH_HL IP6_NF_MATCH_MH IP6_NF_MATCH_OPTS IP6_NF_MATCH_RPFILTER IP6_NF_MATCH_RT IP6_NF_MATCH_SRH IP6_NF_NAT IP6_NF_RAW IP6_NF_SECURITY IP6_NF_TARGET_HL IP6_NF_TARGET_MASQUERADE IP6_NF_TARGET_NPT IP6_NF_TARGET_SYNPROXY IPV6_FOU IPV6_FOU_TUNNEL IPV6_GRE IPV6_ILA IPV6_MIP6 IPV6_MROUTE IPV6_MROUTE_MULTIPLE_TABLES IPV6_MULTIPLE_TABLES IPV6_OPTIMISTIC_DAD IPV6_PIMSM_V2 IPV6_ROUTER_PREF IPV6_ROUTE_INFO IPV6_RPL_LWTUNNEL IPV6_SEG6_BPF IPV6_SEG6_HMAC IPV6_SEG6_LWTUNNEL IPV6_SIT_6RD IPV6_SUBTREES IPV6_TUNNEL IPV6_VTI IPVLAN IPVLAN_L3S IPVTAP IP_DCCP IP_DCCP_CCID3 IP_DCCP_TFRC_LIB IP_FIB_TRIE_STATS IP_MROUTE_MULTIPLE_TABLES IP_NF_ARPFILTER IP_NF_ARPTABLES IP_NF_ARP_MANGLE IP_NF_MATCH_AH IP_NF_MATCH_ECN IP_NF_MATCH_RPFILTER IP_NF_MATCH_TTL IP_NF_RAW IP_NF_SECURITY IP_NF_TARGET_ECN IP_NF_TARGET_NETMAP IP_NF_TARGET_REDIRECT IP_NF_TARGET_SYNPROXY IP_NF_TARGET_TTL IP_ROUTE_CLASSID IP_SCTP IP_SET IP_SET_BITMAP_IP IP_SET_BITMAP_IPMAC IP_SET_BITMAP_PORT IP_SET_HASH_IP IP_SET_HASH_IPMAC IP_SET_HASH_IPMARK IP_SET_HASH_IPPORT IP_SET_HASH_IPPORTIP IP_SET_HASH_IPPORTNET IP_SET_HASH_MAC IP_SET_HASH_NET IP_SET_HASH_NETIFACE IP_SET_HASH_NETNET IP_SET_HASH_NETPORT IP_SET_HASH_NETPORTNET IP_SET_LIST_SET IP_VS IP_VS_DH IP_VS_FO IRQ_TIME_ACCOUNTING LAPB LCD_CLASS_DEVICE MAC802154 MEDIA_DIGITAL_TV_SUPPORT MEDIA_RADIO_SUPPORT MEDIA_SDR_SUPPORT MEDIA_SUPPORT MEDIA_TEST_SUPPORT MEDIA_USB_SUPPORT MEMORY_HOTPLUG MEMORY_HOTREMOVE MFD_DLN2 MFD_VIPERBOARD MPTCP MTD NETFILTER_ADVANCED NET_ACT_GACT NET_ACT_MIRRED NET_IPGRE_DEMUX NFT_COMPAT NFT_COMPAT_ARP NFT_FWD_NETDEV NF_TABLES NF_TABLES_ARP NF_TABLES_NETDEV RADIO_ADAPTERS RADIO_SI4713 RAS RC_CORE REGULATOR RFKILL SND SOUND STAGING TRANSPARENT_HUGEPAGE TYPEC TYPEC_MUX_PI3USB30532 USB_LJCA USB_ROLES_INTEL_XHCI USB_ROLE_SWITCH VIDEO_DEV VIRTIO_FS WAN ZONE_DEVICE] disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed picked [v6.12 v6.11 v6.10 v6.8 v6.6 v6.4 v6.2 v6.0 v5.17 v5.14 v5.11 v5.8 v5.5 v5.2 v4.20 v4.19] out of 35 release tags testing release v6.12 testing commit adc218676eef25575469234709c2d87185ca223a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e43ad915e4a9fe0cfc41c847df7eb232ea465aa8ab034831fad7fbcd3ecc41bd all runs: OK false negative chance: 0.000 # git bisect start af2ea8ab7a546b430726183458da0a173d331272 adc218676eef25575469234709c2d87185ca223a Bisecting: 6589 revisions left to test after this (roughly 13 steps) [28eb75e178d389d325f1666e422bc13bbbb9804c] Merge tag 'drm-next-2024-11-21' of https://gitlab.freedesktop.org/drm/kernel testing commit 28eb75e178d389d325f1666e422bc13bbbb9804c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 101dfb8cc0827a97ed0c61670cc82e475bda80b68a8128f1664d660b1cc38716 all runs: OK false negative chance: 0.000 # git bisect good 28eb75e178d389d325f1666e422bc13bbbb9804c Bisecting: 3203 revisions left to test after this (roughly 12 steps) [a0c1ca3934ddffe4f3f2a2bd860283a7b0ca5439] Merge tag 'staging-6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging testing commit a0c1ca3934ddffe4f3f2a2bd860283a7b0ca5439 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 417194dffbc3220722d783ddf02d35dfb4e7af61d55202d58bea0a98737d7e7c all runs: OK false negative chance: 0.000 # git bisect good a0c1ca3934ddffe4f3f2a2bd860283a7b0ca5439 Bisecting: 1587 revisions left to test after this (roughly 11 steps) [54515459e52adbe44608b7c3a42830d624747f56] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc.git testing commit 54515459e52adbe44608b7c3a42830d624747f56 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cec7e720a554c2d4078aae73153afebf014b5c5d32d8fbb352fda8f5e434ec50 all runs: crashed: WARNING in lru_gen_clear_refs representative crash: WARNING in lru_gen_clear_refs, types: [WARNING] # git bisect bad 54515459e52adbe44608b7c3a42830d624747f56 Bisecting: 820 revisions left to test after this (roughly 10 steps) [0e287d31b62bb53ad81d5e59778384a40f8b6f56] Merge tag 'rtc-6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux testing commit 0e287d31b62bb53ad81d5e59778384a40f8b6f56 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3106509c51b0716d3e2dcf298da75c9bba59183965b2b04856a15ce7db25801d all runs: OK false negative chance: 0.000 # git bisect good 0e287d31b62bb53ad81d5e59778384a40f8b6f56 Bisecting: 403 revisions left to test after this (roughly 9 steps) [f92d3390b756c6913ad3815b8166e9277437267e] Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git testing commit f92d3390b756c6913ad3815b8166e9277437267e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ec6d73e10c69a68786eaa60fafa0241a7e558cce04ac22a1c7e49f1ff3b92ae4 all runs: OK false negative chance: 0.000 # git bisect good f92d3390b756c6913ad3815b8166e9277437267e Bisecting: 209 revisions left to test after this (roughly 8 steps) [f308c6624ce8ff7bf306d721de8ca540c06f867f] Merge branch 'tip/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git testing commit f308c6624ce8ff7bf306d721de8ca540c06f867f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 96cf19d4d1348840f5409750e04d6133c154852c2f2f61ba5a1b72c349a96c0e all runs: OK false negative chance: 0.000 # git bisect good f308c6624ce8ff7bf306d721de8ca540c06f867f Bisecting: 104 revisions left to test after this (roughly 7 steps) [e8597e91699a67c27ef688640b4bbb702e0a2848] mm/mglru: rework workingset protection testing commit e8597e91699a67c27ef688640b4bbb702e0a2848 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b5b6b19011dc720e339093de620083e93e178ace3f08430cc7dbdb49190f6cc7 all runs: crashed: WARNING in lru_gen_clear_refs representative crash: WARNING in lru_gen_clear_refs, types: [WARNING] # git bisect bad e8597e91699a67c27ef688640b4bbb702e0a2848 Bisecting: 52 revisions left to test after this (roughly 6 steps) [2b396aa406eedd3a1e3b02488e1a15340ede4ca4] maple_tree: only root node could be deficient testing commit 2b396aa406eedd3a1e3b02488e1a15340ede4ca4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a495f5d2316aab1c5e1e600fff3bf2d5874a0de33fca700ea1f60107495b125f all runs: OK false negative chance: 0.000 # git bisect good 2b396aa406eedd3a1e3b02488e1a15340ede4ca4 Bisecting: 26 revisions left to test after this (roughly 5 steps) [65648c65d0f77ea80d22e8aa10705aaf438c68a1] fs/proc/vmcore: move vmcore definitions out of kcore.h testing commit 65648c65d0f77ea80d22e8aa10705aaf438c68a1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cebdcc299672afb051a53265ab4513e441bcdcedfdb87bf3611f6a2d697b706a all runs: OK false negative chance: 0.000 # git bisect good 65648c65d0f77ea80d22e8aa10705aaf438c68a1 Bisecting: 13 revisions left to test after this (roughly 4 steps) [79d5a1cf55295d8cb7025878fbfae6c9029df949] mm: zap_install_uffd_wp_if_needed: return whether uffd-wp pte has been re-installed testing commit 79d5a1cf55295d8cb7025878fbfae6c9029df949 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 403fcf245f39c37d6a8791806235eaebabb75ac55140ac3c497fb8f29e13381a all runs: OK false negative chance: 0.000 # git bisect good 79d5a1cf55295d8cb7025878fbfae6c9029df949 Bisecting: 6 revisions left to test after this (roughly 3 steps) [897390d7780d4d0dc5b573261052ea6929653d7a] mm/hugetlb: support FOLL_FORCE|FOLL_WRITE testing commit 897390d7780d4d0dc5b573261052ea6929653d7a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 32339ab69e1060f52b085595f91939e22b7b7c1ce68a9f0d870fa687986683e5 all runs: OK false negative chance: 0.000 # git bisect good 897390d7780d4d0dc5b573261052ea6929653d7a Bisecting: 3 revisions left to test after this (roughly 2 steps) [51ac493f56fa00b052be4fbc94ac91f057ebc2e7] mm/mglru: optimize deactivation testing commit 51ac493f56fa00b052be4fbc94ac91f057ebc2e7 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6e7e65fa6923e5292385675aaf0551780d719d69ac1a4ee75fd3200079ed89ac all runs: crashed: WARNING in lru_gen_clear_refs representative crash: WARNING in lru_gen_clear_refs, types: [WARNING] # git bisect bad 51ac493f56fa00b052be4fbc94ac91f057ebc2e7 Bisecting: 0 revisions left to test after this (roughly 1 step) [f296626550dc46fe64cea206c8967e94af9f250a] mm/mglru: clean up workingset testing commit f296626550dc46fe64cea206c8967e94af9f250a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a756f4434b12e6c6cb51026fc6659fa98f82ffddb7219266cdd9d91075b1a2a1 all runs: OK false negative chance: 0.000 # git bisect good f296626550dc46fe64cea206c8967e94af9f250a 51ac493f56fa00b052be4fbc94ac91f057ebc2e7 is the first bad commit commit 51ac493f56fa00b052be4fbc94ac91f057ebc2e7 Author: Yu Zhao Date: Sun Dec 1 20:28:19 2024 -0700 mm/mglru: optimize deactivation Do not shuffle a folio in the deactivation paths if it is already in the oldest generation. This reduces the LRU lock contention. Before this patch, the contention is reproducible by FIO, e.g., fio -filename=/dev/nvme1n1p2 -direct=0 -thread -size=1024G \ -rwmixwrite=30 --norandommap --randrepeat=0 -ioengine=sync \ -bs=4k -numjobs=400 -runtime=25000 --time_based \ -group_reporting -name=mglru 98.96%--_raw_spin_lock_irqsave folio_lruvec_lock_irqsave | --98.78%--folio_batch_move_lru | --98.63%--deactivate_file_folio mapping_try_invalidate invalidate_mapping_pages invalidate_bdev blkdev_common_ioctl blkdev_ioctl After this patch, deactivate_file_folio() bails out early without taking the LRU lock. A side effect is that a folio can be left at the head of the oldest generation, rather than the tail. If reclaim happens at the same time, it cannot reclaim this folio immediately. Since there is no known correlation between truncation and reclaim, this side effect is considered insignificant. Link: https://lkml.kernel.org/r/20241202032823.2741019-3-yuzhao@google.com Reported-by: Bharata B Rao Closes: https://lore.kernel.org/CAOUHufawNerxqLm7L9Yywp3HJFiYVrYO26ePUb1jH-qxNGWzyA@mail.gmail.com/ Signed-off-by: Yu Zhao Tested-by: Kalesh Singh Cc: David Stevens Cc: Kairui Song Signed-off-by: Andrew Morton mm/swap.c | 44 +++++++++++++++++++++++++++++++++++++------- 1 file changed, 37 insertions(+), 7 deletions(-) accumulated error probability: 0.00 culprit signature: 6e7e65fa6923e5292385675aaf0551780d719d69ac1a4ee75fd3200079ed89ac parent signature: a756f4434b12e6c6cb51026fc6659fa98f82ffddb7219266cdd9d91075b1a2a1 revisions tested: 20, total time: 6h40m29.497495772s (build: 3h4m21.90076101s, test: 2h18m13.816326913s) first bad commit: 51ac493f56fa00b052be4fbc94ac91f057ebc2e7 mm/mglru: optimize deactivation recipients (to): ["akpm@linux-foundation.org" "kaleshsingh@google.com" "yuzhao@google.com"] recipients (cc): [] crash: WARNING in lru_gen_clear_refs debug_vm_pgtable+0x24e/0x2d0 mm/debug_vm_pgtable.c:1397 do_one_initcall+0x146/0x3f0 init/main.c:1266 do_initcall_level+0x80/0xa0 init/main.c:1328 do_initcalls+0x3a/0x70 init/main.c:1344 kernel_init_freeable+0x172/0x1f0 init/main.c:1577 kernel_init+0x15/0x190 init/main.c:1466 ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3517 at ./include/linux/memcontrol.h:730 folio_lruvec include/linux/memcontrol.h:730 [inline] WARNING: CPU: 0 PID: 3517 at ./include/linux/memcontrol.h:730 lru_gen_clear_refs+0xfb/0x150 mm/swap.c:415 Modules linked in: CPU: 0 UID: 0 PID: 3517 Comm: syz.3.15 Not tainted 6.13.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:folio_lruvec include/linux/memcontrol.h:730 [inline] RIP: 0010:lru_gen_clear_refs+0xfb/0x150 mm/swap.c:415 Code: cc cc cc cc 48 89 c6 48 21 d6 f0 49 0f b1 36 74 bf eb f1 4c 89 f7 48 c7 c6 a2 da 11 83 e8 4d 18 04 00 c6 05 cb b6 5b 02 01 90 <0f> 0b 90 e9 36 ff ff ff 4c 89 f7 48 c7 c6 02 18 10 83 e8 2e 18 04 RSP: 0018:ffffc900022a39f8 EFLAGS: 00010246 RAX: 34a5b41ebd3ae600 RBX: 0000000000000000 RCX: 34a5b41ebd3ae600 RDX: 0000000000000002 RSI: ffffffff83107fb3 RDI: ffff8881033d5280 RBP: ffffc900022a3c98 R08: 0000000000000000 R09: ffffffff8352bce0 R10: ffffc900022a3720 R11: ffffc900022a36c8 R12: 0100000000000058 R13: 0000000000000000 R14: ffffea0005ff0000 R15: 0100000000000058 FS: 00007f4726fea6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f472630c000 CR3: 0000000101b94000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: deactivate_file_folio+0x21/0x60 mm/swap.c:684 mapping_try_invalidate+0x135/0x1c0 mm/truncate.c:489 drop_pagecache_sb+0xb8/0x100 fs/drop_caches.c:40 iterate_supers+0x78/0xc0 fs/super.c:934 drop_caches_sysctl_handler+0x34/0xb0 fs/drop_caches.c:64 proc_sys_call_handler+0x19f/0x290 fs/proc/proc_sysctl.c:601 do_iter_readv_writev+0x172/0x1c0 vfs_writev+0x217/0x480 fs/read_write.c:1050 do_writev+0x71/0x110 fs/read_write.c:1096 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xe0/0x1f0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f472617ff19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4726fea058 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007f4726345fa0 RCX: 00007f472617ff19 RDX: 0000000000000001 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007f47261f3986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f4726345fa0 R15: 00007ffc456026e8