cond_resched

About this tag
The cond_resched tag on WindowsForum.com covers Linux kernel patches that add explicit rescheduling points to prevent soft lockups and CPU stalls. Recent discussions focus on CVE-2025-22010, which addresses a soft lockup in the RDMA hns driver during large memory-registration operations, and a fix for ftrace_graph_set_hash() that prevents denial-of-service conditions under heavy tracing. Both threads highlight how missing cond_resched calls can cause long loops to monopolize CPU cores, triggering the kernel's softlockup watchdog. The tag is relevant for Linux system administrators, kernel developers, and anyone troubleshooting responsiveness issues on enterprise or RDMA-enabled hosts.
  1. CVE-2025-22010: Linux RDMA HNS soft lockup fix with cond_resched

    A subtle but consequential Linux-kernel fix landed upstream this spring: CVE-2025-22010 closes a soft‑lockup hazard in the RDMA hns driver that could let a large memory‑region registration (MR) stall CPU cores for tens of seconds, producing real-world denial‑of‑service symptoms on RDMA‑enabled...
  2. Linux Kernel ftrace Fix: cond_resched Prevents Softlockups in ftrace_graph_set_hash

    The Linux kernel’s ftrace subsystem received a targeted fix for a responsiveness issue that could turn into a local denial‑of‑service: a missing conditional reschedule inside ftrace_graph_set_hash() allowed long loops to hog the CPU and trigger the kernel’s softlockup watchdog under heavy...