Retire td_syscalls now that it is no longer needed.

This commit is contained in:
John Baldwin 2010-07-15 20:24:37 +00:00
parent 6e7661023a
commit f2a664ac97
3 changed files with 0 additions and 3 deletions

View file

@ -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

View file

@ -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)

View file

@ -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. */