Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Jan 2013 15:42:01 -0500
From:      Alfred Perlstein <bright@mu.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        arch@freebsd.org, toolchain@freebsd.org
Subject:   Re: Fast sigblock (AKA rtld speedup)
Message-ID:  <50EB3319.6060303@mu.org>
In-Reply-To: <20130107182235.GA65279@kib.kiev.ua>
References:  <20130107182235.GA65279@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/7/13 1:22 PM, Konstantin Belousov wrote:
> Below is the forward of the patch for which I failed to obtain a private
> review. Might be, the list generates more responses.
Very cool.

Sorry for being rusty here, but is it safe to call fuword in the middle 
of issignal()?

The reason I ask is because it looks like proc lock is required for this 
block, and I forget it fuword(9) can fault.

If fuword(9) can fault then I don't think you can do this.

You'll need to use something like fuswintr(9) or wire the page down 
using vslock(9) or something.

I am probably missing something?

-Alfred




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50EB3319.6060303>