TRACEHOOK_NOTIFY_RES(9) Kernel Internals TRACEHOOK_NOTIFY_RES(9)NAMEtracehook_notify_resume - report when about to return to user mode
SYNOPSIS
void tracehook_notify_resume(struct pt_regs * regs);
ARGUMENTS
regs
user-mode registers of current task
DESCRIPTION
This is called when TIF_NOTIFY_RESUME has been set. Now we are about to
return to user mode, and the user state in regs can be inspected or
adjusted. The caller in arch code has cleared TIF_NOTIFY_RESUME before
the call. If the flag gets set again asynchronously, this will be
called again before we return to user mode.
Called without locks. However, on some machines this may be called with
interrupts disabled.
Kernel Hackers Manual 2.6. November 2013 TRACEHOOK_NOTIFY_RES(9)