Article 5G0PH [$] GDB and io_uring

[$] GDB and io_uring

by
jake
from LWN.net on (#5G0PH)
A problem reported when attaching GDB to programs that use io_uring has led to a flurry of potentialsolutions, and one that was merged into Linux 5.12-rc5. The problemstemmed from a change made in the 5.12merge window tohow the threads used by io_uring were created, such that they became associatedwith the process using io_uring. Those "I/O threads" were treatedspecially in the kernel, but that led to the problem with GDB (and likely other ptrace()-usingprograms). The solution is to treat them like other threads because itturned out that trying to makethem special caused more problems than it solved.
External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments