> > It will never be in the fast path. It will always require > > TIF_SYSCALL_TRACE to bet set on each thread, which means the slow path. > > [...] > > OK, I must have misunderstood your original posting: > > # [...] > # d. Kernel already has checks here, so "almost free".
This refers to all the other cases, where there is just a check at the time of the event. The syscall case is special, requiring TIF_SYSCALL_TRACE. Thanks, Roland