Re: process: annotate locking for setitimer(2) state

2020-08-11 Thread Anton Lindqvist
On Sun, Aug 09, 2020 at 05:33:58PM +0200, Mark Kettenis wrote: > > Date: Sun, 9 Aug 2020 10:02:38 -0500 > > From: Scott Cheloha > > > > On Sun, Aug 09, 2020 at 04:43:24PM +0200, Mark Kettenis wrote: > > > > Date: Sat, 8 Aug 2020 19:46:14 -0500 > > > > From: Scott Cheloha > > > > > > > > Hi, > >

Re: process: annotate locking for setitimer(2) state

2020-08-09 Thread Mark Kettenis
> Date: Sun, 9 Aug 2020 10:02:38 -0500 > From: Scott Cheloha > > On Sun, Aug 09, 2020 at 04:43:24PM +0200, Mark Kettenis wrote: > > > Date: Sat, 8 Aug 2020 19:46:14 -0500 > > > From: Scott Cheloha > > > > > > Hi, > > > > > > I want to annotate the locking for the per-process interval timers. >

Re: process: annotate locking for setitimer(2) state

2020-08-09 Thread Scott Cheloha
On Sun, Aug 09, 2020 at 04:43:24PM +0200, Mark Kettenis wrote: > > Date: Sat, 8 Aug 2020 19:46:14 -0500 > > From: Scott Cheloha > > > > Hi, > > > > I want to annotate the locking for the per-process interval timers. > > > > In the process struct, the ITIMER_REAL itimerspec and the ps_itimer_to

Re: process: annotate locking for setitimer(2) state

2020-08-09 Thread Mark Kettenis
> Date: Sat, 8 Aug 2020 19:46:14 -0500 > From: Scott Cheloha > > Hi, > > I want to annotate the locking for the per-process interval timers. > > In the process struct, the ITIMER_REAL itimerspec and the ps_itimer_to > timeout are protected by the kernel lock. These should be annotated > with "

process: annotate locking for setitimer(2) state

2020-08-08 Thread Scott Cheloha
Hi, I want to annotate the locking for the per-process interval timers. In the process struct, the ITIMER_REAL itimerspec and the ps_itimer_to timeout are protected by the kernel lock. These should be annotated with "K", right? Also in the process struct, the ITIMER_VIRTUAL and ITIMER_PROF itim