Download raw body.
wired pages vs sysctl(2)
On 04/03/25(Tue) 16:58, Vitaliy Makkoveev wrote: > On Tue, Mar 04, 2025 at 02:45:42PM +0100, Martin Pieuchot wrote: > > > As long as we need vslock(9), which is something that I don't know, might > > want to distinguish between userland vs kernel wiring like FreeBSD do. > > > > We need vslock() userland pages to avoid context switch provides by > copyin()/copyout(). In some cases, like kernel locked lists walkthrougs > or netlocked sections this context switch is totally unwanted. So this is about sysctl that do multiple copyout(9)? To try to limit side effects? > I'm slightly moving sysctl(2) paths out of vslock(), so if you are > interesting I could share stalled vfs_sysctl() diff with you. Thanks, I'm busy for the moment. I'll try to look at it when you'll post it to tech@.
wired pages vs sysctl(2)