Linus Torvalds removes legacy __get_user() and __put_user() functions from Linux 7.4

Linus Torvalds has merged a 48-part patch series removing the kernel’s __get_user() and __put_user() functions, with the changes destined for Linux 7.4. The primitives were historically used to access user-space memory from the kernel, but the older approach has been superseded. The cleanup addresses code that has remained in the large kernel codebase despite that change.

AI-written summary, checked against the cited sources. How summaries work

Image: Phoronix

What we know

Confirmed by several sources

  • Linus Torvalds merged changes removing the __get_user() and __put_user() kernel functions, with the work intended for Linux 7.4. — LWN.net, Phoronix
  • The functions were used for kernel access to user-space memory and are described as historical or superseded. — LWN.net, Phoronix

Reported by one source

  • The removal is part of a 48-part patch series. — LWN.net
  • Torvalds was assisted in part by Claude Code. — Phoronix
  • The functions are characterized as unsafe. — Phoronix
  • The cleanup had been long delayed and took time to work through the large codebase. — LWN.net

Coverage 2 publishers

  1. PhoronixFirst report

    Linus Torvalds Eliminates Unsafe __get_user() & __put_user() Functions In Linux 7.4

    Linus Torvalds continues with his recent uptick in kernel patches himself, assisted in part by AI with Claude Code. Merged today was removing the historical and unsafe __get_user() and __put_user() kernel functions...

  2. LWN.net

    [$] The end of __get_user() and __put_user()

    Linus Torvalds rarely writes significant amounts of kernel code these days, so the merging of a 48-part patch series from him is an unusual event. This series, destined for the 7.4 kernel release, performs some long-delayed kernel cleanup…

Earliest report first. Articles stay on their publishers’ sites; each link opens the original.