ktrace.h: move KTRPOINT() into the kernel part

2016-06-17 Thread Philip Guenther
KTRPOINT(), with its references to struct proc and struct process members, is only useful inside the kernel, so let's move it to the #ifdef _KERNEL part. ok? Index: sys/ktrace.h === RCS file: /data/src/openbsd/src/sys/sys/ktrace.h

umb(4) attachment

2016-06-17 Thread Mark Kettenis
As reported earlier, umb(4) currently doesn't attach to devices that implement both NCM 1.0 and MBIM, such as the Sierra Wireless EM7345 that is found in some thinkpads. The diff below fixes this. It revamps the way we look up interface descriptors quite a bit. I removed the unused code for matc

Re: set art_walk up for an mpsafe world

2016-06-17 Thread Martin Pieuchot
On 15/06/16(Wed) 11:38, David Gwynne wrote: > this tweaks art_walk in preparation for a world where the table may > be updated on another cpu. > > at the moment we're relying on the big lock to serialise updates, > so this adds big lock calls in the right place. I don't understand. rtable_walk()

new feature in pkg_add(1)

2016-06-17 Thread Marc Espie
I was waiting for snapshots to come up with the new stuff, but it looks like amd64 will be a bit late. Someone is still hiking in the mountains... A week ago or so, I committed support for some disambiguating filter in pkg_add. This means that you can now simply install packages for ports which

pool_setipl() for src/sys/ufs

2016-06-17 Thread David Gwynne
this is straightforward. filesystems only operate on behalf of processes, and these pools are initted with PR_WAITOK. its reasonable to assume IPL_NONE. ok? Index: ufs/ext2fs/ext2fs_vfsops.c === RCS file: /cvs/src/sys/ufs/ext2fs/ext