mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Retire td_syscalls now that it is no longer needed.
This commit is contained in:
parent
6e7661023a
commit
f2a664ac97
3 changed files with 0 additions and 3 deletions
|
|
@ -96,7 +96,6 @@ thread_ctor(void *mem, int size, void *arg, int flags)
|
|||
td->td_oncpu = NOCPU;
|
||||
|
||||
td->td_tid = alloc_unr(tid_unrhdr);
|
||||
td->td_syscalls = 0;
|
||||
|
||||
/*
|
||||
* Note that td_critnest begins life as 1 because the thread is not
|
||||
|
|
|
|||
|
|
@ -261,7 +261,6 @@ syscallenter(struct thread *td, struct syscall_args *sa)
|
|||
|
||||
PCPU_INC(cnt.v_syscall);
|
||||
p = td->td_proc;
|
||||
td->td_syscalls++;
|
||||
|
||||
td->td_pticks = 0;
|
||||
if (td->td_ucred != p->p_ucred)
|
||||
|
|
|
|||
|
|
@ -296,7 +296,6 @@ struct thread {
|
|||
struct mdthread td_md; /* (k) Any machine-dependent fields. */
|
||||
struct td_sched *td_sched; /* (*) Scheduler-specific data. */
|
||||
struct kaudit_record *td_ar; /* (k) Active audit record, if any. */
|
||||
int td_syscalls; /* per-thread syscall count (used by NFS :)) */
|
||||
struct lpohead td_lprof[2]; /* (a) lock profiling objects. */
|
||||
struct kdtrace_thread *td_dtrace; /* (*) DTrace-specific data. */
|
||||
int td_errno; /* Error returned by last syscall. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue