Date: Mon, 15 Apr 2019 12:30:13 +0000 From: Alexey Dokuchaev <danfe@freebsd.org> To: Adrian Chadd <adrian.chadd@gmail.com> Cc: "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>, Hans Petter Selasky <hselasky@freebsd.org> Subject: Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD Message-ID: <20190415123013.GB22516@FreeBSD.org> In-Reply-To: <CAJ-VmokSMXXgT791oumoUyCth3ttDWz92boMMLRL9LFYgZsxKw@mail.gmail.com> References: <20190411125242.GA64046@FreeBSD.org> <20190411131328.GA4909@c720-r342378> <20190411131859.GA17806@FreeBSD.org> <CAJ-VmokDt0Ss9awPwAf-pk8=s6XqGJyBbfYTAg1BHrVM06HeGQ@mail.gmail.com> <20190411142350.GA71446@FreeBSD.org> <20190412171218.GA16463@FreeBSD.org> <20190413142006.GA59512@FreeBSD.org> <CAJ-VmomspHeZBKnZ2Y1uM3N3M1Mbx8T5GDrEZ0mNz2uoLw4FxA@mail.gmail.com> <20190413191419.GB13742@FreeBSD.org> <CAJ-VmokSMXXgT791oumoUyCth3ttDWz92boMMLRL9LFYgZsxKw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 13, 2019 at 12:35:30PM -0700, Adrian Chadd wrote: > On Sat, 13 Apr 2019 at 12:14, Alexey Dokuchaev wrote: > > ... > > If you tell me how to implement Linuxish usleep_range() correctly in > > our userland, I can do that. :-) > > usleep_range() is just the same as usleep() at either min, max or a value > in between. It's just a hint to the scheduler that says "look, don't sleep > exactly for this amount of time to wake me up; here are my bounds that are > fine so if you schedule something else before then don't forget about me." I understand, and it makes sense to give hints to the scheduler from the kernel side, but less so when calling uslee() from userland. > Just pick a value in between. :-) Oh well, maybe that'll do. ./danfe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190415123013.GB22516>