1TRACEHOOK_NOTIFY_RES(9)        Kernel Internals        TRACEHOOK_NOTIFY_RES(9)
2
3
4

NAME

6       tracehook_notify_resume - report when about to return to user mode
7

SYNOPSIS

9       void tracehook_notify_resume(struct pt_regs * regs);
10

ARGUMENTS

12       regs
13           user-mode registers of current task
14

DESCRIPTION

16       This is called when TIF_NOTIFY_RESUME has been set. Now we are about to
17       return to user mode, and the user state in regs can be inspected or
18       adjusted. The caller in arch code has cleared TIF_NOTIFY_RESUME before
19       the call. If the flag gets set again asynchronously, this will be
20       called again before we return to user mode.
21
22       Called without locks. However, on some machines this may be called with
23       interrupts disabled.
24
25
26
27Kernel Hackers Manual 2.6.       November 2011         TRACEHOOK_NOTIFY_RES(9)
Impressum