In struct thread, fields td_vnet and td_vnet_lpush may only be accessed
via curthread (via appropriate macros), so update the comment indicating the protection model for those two fields.
This commit is contained in:
parent
f089869fa5
commit
c3ea428a25
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=194013
@ -278,8 +278,8 @@ struct thread {
|
||||
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. */
|
||||
struct vnet *td_vnet; /* (*) Effective vnet. */
|
||||
const char *td_vnet_lpush; /* (*) Debugging vnet push / pop. */
|
||||
struct vnet *td_vnet; /* (k) Effective vnet. */
|
||||
const char *td_vnet_lpush; /* (k) Debugging vnet push / pop. */
|
||||
};
|
||||
|
||||
struct mtx *thread_lock_block(struct thread *);
|
||||
|
Loading…
Reference in New Issue
Block a user