hrefs in FAQ

2015-09-04 Thread Rob Pierce
Index: faq10.html === RCS file: /cvs/www/faq/faq10.html,v retrieving revision 1.194 diff -u -p -r1.194 faq10.html --- faq10.html 2 Jul 2015 05:49:04 - 1.194 +++ faq10.html 5 Sep 2015 03:27:45 - @@ -196,7 +196,7 @@ This

Re: security.html

2015-09-04 Thread Rob Pierce
I found the answer... from 11 years and 5 months ago (see Theo's commit below). The "New Technologies" section of security.html has not been changed since then. I will try to propose something, but it will take me a while to go through all of the releases and summarize things appropriately for

security.html

2015-09-04 Thread Rob Pierce
Single quotes or double quotes? I left single as single, and double as double, but "fixed" (or is that 'fixed'?) them both. Is there any interest in bring the "New Technologies" section up to date? It seems like lots of additional good stuff has been done. When I point our new guys to this page

Avoid grabbing the kernel lock in pool backend allocator

2015-09-04 Thread Mark Kettenis
At this stage we can actually avoid grabbing the lock in the default pool backend allocator, as long as the PR_WAITOK flag isn't set. This is safe because: * The pmemrange allocator can be called without holding the kernel lock. * On pmap_direct architectures, we simply use the direct map to a

Re: plus58.html hrefs

2015-09-04 Thread Ingo Schwarze
Hi Tim, Tim van der Molen wrote on Fri, Sep 04, 2015 at 06:05:41PM +0200: > Tim van der Molen (2015-09-04 17:12 +0200): >> The smu(4) link contains a typo (fixed in my diff below), pkg(5) is a >> mere example (and not a real man page), and cpuid(6) does not refer to a >> man page, but to a CPUID

Re: plus58.html hrefs

2015-09-04 Thread Tim van der Molen
Tim van der Molen (2015-09-04 17:12 +0200): > The smu(4) link contains a typo (fixed in my diff below), pkg(5) is a > mere example (and not a real man page), and cpuid(6) does not refer to a > man page, but to a CPUID function. Actually, pkg(5) referring to a Solaris man page would be a more proba

Re: plus58.html hrefs

2015-09-04 Thread Rob
Hey Tim, That all makes se‎nse, thanks! I was not sure so I thought I would pass it along anyway for your consideration. Rob   Original Message   From: Tim van der Molen Sent: Friday, September 4, 2015 11:12 AM To: Rob Pierce Cc: tech Subject: Re: plus58.html hrefs Rob Pierce (2015-09-04 06:29

Re: plus58.html hrefs

2015-09-04 Thread Tim van der Molen
Rob Pierce (2015-09-04 06:29 +0200): > There is also a reference to smu(4) that appears to be broken, as well as an > unreferenced pkg(5) and cupid(6) that I couldn't resolve. Thanks, Rob! The smu(4) link contains a typo (fixed in my diff below), pkg(5) is a mere example (and not a real man page

Re: bnx pool diff

2015-09-04 Thread Mike Belopuhov
On 4 September 2015 at 16:15, Mark Kettenis wrote: > We might call pool_put(9) on the bnx_tx_pool from bnx_watchdog() which > runs from a timeout. So this one doesn't get PR_WAITOK. > > ok? > > Sure.

Re: pf pool diff

2015-09-04 Thread Mike Belopuhov
On 4 September 2015 at 14:49, Mark Kettenis wrote: >> Date: Fri, 4 Sep 2015 13:54:00 +0200 (CEST) >> From: Mark Kettenis >> >> As far as I can tell, these pools are only ever used from process >> context as well. >> >> ok? > > mikeb@ pointed out that pf_rm_rule() may be called from interrupt > co

bnx pool diff

2015-09-04 Thread Mark Kettenis
We might call pool_put(9) on the bnx_tx_pool from bnx_watchdog() which runs from a timeout. So this one doesn't get PR_WAITOK. ok? Index: if_bnx.c === RCS file: /cvs/src/sys/dev/pci/if_bnx.c,v retrieving revision 1.112 diff -u -p -

Re: the very first step towards MULTIPROCESSOR friendly PF

2015-09-04 Thread Alexandr Nedvedicky
Hello, after reading emails from Philip Guenther and Mark Kettenis, doing some RTFM on locking in OpenBSD kernel I have a new patch. I call it as a smp-step-0. Patch introduces a KERNEL_LOCK() to PF. Many dances with KERNEL_LOCK() happens in pf_test(). From future work point of view there are dis

Re: pf pool diff

2015-09-04 Thread Mark Kettenis
> Date: Fri, 4 Sep 2015 13:54:00 +0200 (CEST) > From: Mark Kettenis > > As far as I can tell, these pools are only ever used from process > context as well. > > ok? mikeb@ pointed out that pf_rm_rule() may be called from interrupt context. So here is an updated diff that drops the PR_WAITOK fl

pf pool diff

2015-09-04 Thread Mark Kettenis
As far as I can tell, these pools are only ever used from process context as well. ok? Index: pf_if.c === RCS file: /cvs/src/sys/net/pf_if.c,v retrieving revision 1.79 diff -u -p -r1.79 pf_if.c --- pf_if.c 21 Jul 2015 02:32:04 -

Re: UTF-8 string filtering

2015-09-04 Thread Nicholas Marriott
Hi I like this and I would use it in tmux (I have utf8_strvis which is not as strict). The code looks good on a quick read but I'm not a Unicode expert either. I'd like to see useful UTF-8 stuff go into libutil or somewhere common, but I guess perhaps the time of the UTF-8 hackathon in October (i