remove extra parentheses

2023-07-11 Thread Masato Asou
Hi, ok ? -- ASOU Masato Index: lib/libc/sys/poll.2 === RCS file: /cvs/src/lib/libc/sys/poll.2,v retrieving revision 1.39 diff -u -p -r1.39 poll.2 --- lib/libc/sys/poll.2 21 Jan 2022 15:23:36 - 1.39 +++ lib/libc/sys/poll.2

Re: bgpd: rewrite code to send UPDATE messages

2023-07-11 Thread Theo Buehler
> Updated diff below I have now spent a lot of time on this diff. Let's commit it in after the upcoming release. ok tb

Replace selwakeup() with knote(9) in wscons(4) and make filterops mpsafe

2023-07-11 Thread Vitaliy Makkoveev
Use per 'wseventvar' structure `mtx' mutex(9) to protect `put' and `get' circular buffer indexes together with klist data. Not a big deal, but Xorg will not kernel lock while polling keyboard and mouse events. Also removed obsolete selinfo. Feedback, objections, oks? Not related to this diff,

Re: GPROF: sleep_state: disable _mcount() across suspend/resume

2023-07-11 Thread Scott Cheloha
On Mon, Jul 10, 2023 at 10:41:15AM -0500, Scott Cheloha wrote: > On Mon, Jul 10, 2023 at 05:19:35PM +0200, Mark Kettenis wrote: > > > Date: Mon, 10 Jul 2023 09:57:39 -0500 > > > From: Scott Cheloha > > > > > > On Mon, Jul 10, 2023 at 07:42:55AM -0600, Theo de Raadt wrote: > > > > I dare you to

Re: GPROF: sleep_state: disable _mcount() across suspend/resume

2023-07-11 Thread Mark Kettenis
> Date: Tue, 11 Jul 2023 15:28:22 -0500 > From: Scott Cheloha > > On Mon, Jul 10, 2023 at 10:41:15AM -0500, Scott Cheloha wrote: > > On Mon, Jul 10, 2023 at 05:19:35PM +0200, Mark Kettenis wrote: > > > > Date: Mon, 10 Jul 2023 09:57:39 -0500 > > > > From: Scott Cheloha > > > > > > > > On Mon,

deadfs cleanup

2023-07-11 Thread thib4711
deadfs cleanup chkvnlock() is useless, since deadfs vops are only ever assigned to a vnode at the tail end of vclean(), at which point the VXLOCK has been cleared and won't be taken again for this particular vnode until it is re-used through getnewvnode(). As a bonus, LK_DRAIN can soon retire as