Re: Anyone working on Octeon SMP?

Martin Husemann <[email protected]> Sat, 25 Apr 2026 08:17:54 +0200
Newsgroups gmane.os.netbsd.ports.mips.devel
Message-ID <[email protected]>
On Fri, Apr 24, 2026 at 12:30:59PM +0000, Andrew Parker wrote:
> Ktruss pointed to multiple lwp_getprivate and lwp_setprivate calls just before 
> the segfault.  My assumption was that unbound is using l_private for 
> synchronization and perhaps that value was 'stale'.  

This is strange. There should be exactly one _lwp_setprivate() call per
userland thread and it never changes later (for that thread).

The _lwp_getprivate() calls happen often when userland gets the
thread controll structure.

Martin