user_enter_callable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ user_enter_callable(9) ✨ β€” from the Kernel API Manual

okay so bestie, gather round 🫢 this one is a little cursed, but we're gonna get through it together.

πŸ’– NAME πŸ’–

user_enter_callable β€” the unfortunate ASM callable version of user_enter() for archs that didn't manage to check the context tracking static key from low level code. πŸ˜­πŸ’…

✨ SYNOPSIS ✨

the whole signature is literally:

void user_enter_callable (void );

🫢 ARGUMENTS 🫢

  • void β€” no arguments. that's it, nothing to pass in, no little snack for this function πŸ“

πŸ’… DESCRIPTION πŸ’…

okay so this function is OBSOLETE β€” yes, all caps, it's giving not-the-move energy πŸ’€. It should be noinstr, but it unsafely calls local_irq_restore, involving illegal RCU uses through tracing and lockdep. 😬

This is unlikely to be fixed as this function is obsolete. periodt.

the preferred way is to call user_enter_irqoff ✨. It should be the arch entry code responsibility to call into context tracking with IRQs disabled. no cap.

🌈 SEE ALSO 🌈

Kernel file: ./kernel/context_tracking.c. the whole squad:


okay bye bestie πŸ’– source/version: ./kernel Β· date: October 2026 Β· page: user_enter_callable(9). periodt 🫢

πŸ“¦ where this page comes from