Update the comment for Task.netns
Task.netns can be accessed atomically, so Task.mu isn't needed to access it. PiperOrigin-RevId: 398773947
This commit is contained in:
parent
b510c98464
commit
e3657847cb
|
@ -511,8 +511,6 @@ type Task struct {
|
||||||
numaNodeMask uint64
|
numaNodeMask uint64
|
||||||
|
|
||||||
// netns is the task's network namespace. netns is never nil.
|
// netns is the task's network namespace. netns is never nil.
|
||||||
//
|
|
||||||
// netns is protected by mu.
|
|
||||||
netns inet.NamespaceAtomicPtr
|
netns inet.NamespaceAtomicPtr
|
||||||
|
|
||||||
// If rseqPreempted is true, before the next call to p.Switch(),
|
// If rseqPreempted is true, before the next call to p.Switch(),
|
||||||
|
|
Loading…
Reference in New Issue