usbhist support for urtwn

2019-11-24 Thread Andreas Gustafsson
Hi all, I have this patch to replace the debug printfs in sys/dev/usb/if_urtwn.c by usbhist calls, roughly modelled after the use of usbhist in if_axe.c: https://www.gson.org/netbsd/patches/urtwn-usbhist.patch OK to commit? -- Andreas Gustafsson, g...@gson.org

Re: __{read,write}_once

2019-11-24 Thread Taylor R Campbell
> Date: Wed, 6 Nov 2019 12:31:37 +0100 > From: Maxime Villard > > There are cases in the kernel where we read/write global memory locklessly, > and accept the races either because it is part of the design (eg low-level > scheduling) or we simply don't care (eg global stats). > > In these cases,