Re: sdmmc(4): sdmmc_io_function_enable(): don't sleep on lbolt

2020-12-25 Thread Mark Kettenis
> Date: Fri, 25 Dec 2020 11:52:03 -0600 > From: Scott Cheloha > > On Wed, Dec 16, 2020 at 10:04:48PM +0100, Mark Kettenis wrote: > > > Date: Wed, 16 Dec 2020 12:50:46 -0600 > > > From: Scott Cheloha > > > > > > On Tue, Dec 15, 2020 at 01:47:24PM +0100, Mark Kettenis wrote: > > > > > Date: Tue,

Re: kern.video.record - part 2

2020-12-25 Thread Marcus Glocker
Thanks for testing Laurie. Otherwise I got not much feedback -- No interest in this? What I like about the approach are mainly two things: 1. We're aligning to audio(4), which has the kern.audio.record toggle already in place. If we have a toggle for audio recording, why not having one

kernel: more lbolt removal

2020-12-25 Thread Scott Cheloha
Here's some more sleeps that use lbolt that could use and a timeout for 1 second. There are some trickier lbolt sleeps in the tty code that I have omitted, plus the lbolt sleep in the vfs syncer thread. Otherwise, lbolt is dead with this patch. ok? Index: uvm/uvm_fault.c

Clean up parameters of pselrecord()

2020-12-25 Thread Visa Hankala
The following diff cleans up the parameters of pselregister(), making its parameter use similar to that of pselcollect(). In addition, this removes from pselregister() the assumption that all the fd_set kinds are in one continuous array. OK? Index: kern/sys_generic.c

Set klist lock for pipes

2020-12-25 Thread Visa Hankala
This patch makes pipes use the pipe pair lock instead of the kernel lock for pipe klist serialization. In pipe_kqfilter(), the pipe pair lock is already held, so it is appropriate to keep on using klist_insert_locked() there. filt_pipedetach(), on the other hand, can be shortened by using

Re: sdmmc(4): sdmmc_io_function_enable(): don't sleep on lbolt

2020-12-25 Thread Scott Cheloha
On Wed, Dec 16, 2020 at 10:04:48PM +0100, Mark Kettenis wrote: > > Date: Wed, 16 Dec 2020 12:50:46 -0600 > > From: Scott Cheloha > > > > On Tue, Dec 15, 2020 at 01:47:24PM +0100, Mark Kettenis wrote: > > > > Date: Tue, 15 Dec 2020 13:32:22 +0100 > > > > From: Claudio Jeker > > > > > > > > On