aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2019-10-21 18:19:32 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2019-10-21 18:19:32 +0000
commit279b9aabe306d2f5fe3702f0c0707f3a440e92b5 (patch)
tree07e96d335f2ec2d6df96bb7dec583bf35c8efcea /sys/sys
parent19e09f447fd9bbbc7e8b0271dfee7c74e9417047 (diff)
downloadsrc-279b9aabe306d2f5fe3702f0c0707f3a440e92b5.tar.gz
src-279b9aabe306d2f5fe3702f0c0707f3a440e92b5.zip
Remove epoch tracker from struct thread. It was an ugly crutch to emulate
locking semantics for if_addr_rlock() and if_maddr_rlock().
Notes
Notes: svn path=/head/; revision=353869
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/epoch.h3
-rw-r--r--sys/sys/proc.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/sys/epoch.h b/sys/sys/epoch.h
index e4e109d1f9ef..91a7a71a27e4 100644
--- a/sys/sys/epoch.h
+++ b/sys/sys/epoch.h
@@ -93,8 +93,5 @@ void epoch_trace_list(struct thread *);
void epoch_enter(epoch_t epoch);
void epoch_exit(epoch_t epoch);
-void epoch_thread_init(struct thread *);
-void epoch_thread_fini(struct thread *);
-
#endif /* _KERNEL */
#endif /* _SYS_EPOCH_H_ */
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index b7ec9d875b78..54dea8d89018 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -365,7 +365,6 @@ struct thread {
int td_lastcpu; /* (t) Last cpu we were on. */
int td_oncpu; /* (t) Which cpu we are on. */
void *td_lkpi_task; /* LinuxKPI task struct pointer */
- struct epoch_tracker *td_et; /* (k) compat KPI spare tracker */
int td_pmcpend;
#ifdef EPOCH_TRACE
SLIST_HEAD(, epoch_tracker) td_epochs;