Download raw body.
kevent(2): make EVFILT_TIMER mp-safe
Vitaliy Makkoveev <mvs@openbsd.org> wrote: > On Thu, May 08, 2025 at 01:24:24PM -0400, Ted Unangst wrote: > > On 2025-05-08, Vitaliy Makkoveev wrote: > > > -int kq_ntimeouts = 0; > > > -int kq_timeoutmax = (4 * 1024); > > > +int kq_ntimeouts = 0; /* [a] */ > > > +int kq_timeoutmax = (4 * 1024); /* [I] */ > > > > Unrelated to this diff, but it would be nice to make these limits per > > process, like with the user event diff. (I still like the user events.) > > Yes, it will be better. Won't processes ask for the most system-punishing (highest cost) timeouts?
kevent(2): make EVFILT_TIMER mp-safe