user_enter_callable(9)
β¨ 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:
ct_nmi_exit(9)ct_nmi_enter(9)ct_idle_enter(9)ct_idle_exit(9)ct_irq_enter(9)ct_irq_exit(9)__ct_user_enter(9)__ct_user_exit(9)user_exit_callable(9)
okay bye bestie π source/version: ./kernel Β· date: October 2026 Β· page: user_enter_callable(9). periodt π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms