Re: CVS commit: src/sys/dev/wscons

2025-03-24 Thread Hans Rosenfeld
Hi Greg, On Sun, Mar 23, 2025 at 08:31:14AM -0400, Greg Troxel wrote: > "Hans Rosenfeld" writes: > > > Module Name:src > > Committed By: hans > > Date: Sun Mar 23 12:19:32 UTC 2025 > > > > Modified Files: > > src/sys/dev/wscons: wsmouse.c > > > > Log Message: > >

Re: CVS commit: src/sys/dev/wscons

2025-03-24 Thread Greg Troxel
Hans Rosenfeld writes: > I fully agree with you on what DIAGNOSTIC should do, and what it shouldn't. > In particular, if there's a check for an unexpected situation that's > only there in DIAGNOSTIC kernels, it shouldn't handle these situations > gracefully where the non-DIAGNOSTIC code path woul

Re: Tickless NetBSD with high-resolution timers GSOC project

2025-03-24 Thread Dorjoy Chowdhury
Ping. It would be great if I could get some input on this project. Thanks! Regards, Dorjoy On Fri, Mar 14, 2025 at 12:40 AM Dorjoy Chowdhury wrote: > > Hi, > Hope everyone is doing well. I am Dorjoy. I am from Bangladesh. I am > interested in the Tickless NetBSD with high-resolution timers[1] >

Re: library in kernel space

2025-03-24 Thread Brian Buhrow
hello Peter. As others have suggested, you could make a third kernel module which the other two depend on. Another alternative is to move the common code into one of the existing modules and make them dependent on each other as was discussed earler in the thread. For example, move the

patch review: 0x40000010 CPUID leaf support for NVMM

2025-03-24 Thread Emile `iMil' Heitor
The NVMM hypervisor currently does not implement CPUID leaf 0x4010, which returns the host's CPU TSC frequency in EAX and the host's LAPIC frequency in EBX. Implementing this leaf would help reduce boot time by avoiding the calculation of both values. Additionally, as reported in pr/59170, N

Re: pfil_add_ihook() with PFIL_IFNET

2025-03-24 Thread Ethan Miller
> But, surely, it seems to me the simple thing to do is to just grep for > PFIL_IFNET_ATTACH and PFIL_IFNET_DETACH and look at the surrounding > code to see what circumstances they're used in. Yea just a quick look, they only really appear here. src/sys/net/if.c:755: pfil_run_ifhooks(if_pfil, PFI

Re: pfil_add_ihook() with PFIL_IFNET

2025-03-24 Thread Mouse
> when I create hook with parameter PFIL_IFNET what actions should > invoke hook with PFIL_IFNET_ATTACH or PFIL_IFNET_DETACH ? I don't actually know, though my guess would be an interface attaching or detaching (eg, USB Ethernet plugged in or removed). But, surely, it seems to me the simple thing

GSoC 2025: Interested in Contributing to NetBSD Kernel

2025-03-24 Thread SHIBE
Hello NetBSD Kernel Team, I’m Shiva Shankar, an aspiring GSoC contributor, and I’m excited about the opportunity to contribute to NetBSD for GSoC 2025. I’m particularly interested in: Kernel development and low-level systems programming. I’ve started exploring the NetBSD source code and practicin