On Fri, 28 May 2010 07:31:27 +0200, eiji@oracle.com wrote:
I'm wondering if there is a way to get a zoneid from kernel even though
it's not in user context. If it's possible, this is useful for us to
activate an HCA port in the exclusive-IP zone at boot time.
Here's the background info.
Hi Frank,
getzoneid() can return a correct value even if it's called in a taskq thread
(kernel context) and/or in an interrupt handler (interrupt context)?
Thanks,
-Eiji
I'm wondering if there is a way to get a zoneid from kernel even though
it's not in user context. If it's possible,
On Fri, 28 May 2010 10:43:22 +0200, eiji@oracle.com wrote:
Hi Frank,
getzoneid() can return a correct value even if it's called in a taskq thread
(kernel context) and/or in an interrupt handler (interrupt context)?
I suppose so, look its not doing anything earth shattering:
2496
On 05/28/10 04:57, Frank Batschulat (Home) wrote:
On Fri, 28 May 2010 10:43:22 +0200, eiji@oracle.com wrote:
Hi Frank,
getzoneid() can return a correct value even if it's called in a taskq thread
(kernel context) and/or in an interrupt handler (interrupt context)?
I suppose so, look
On Fri, 28 May 2010 13:35:07 +0200, James Carlson carls...@workingcode.com
wrote:
On 05/28/10 04:57, Frank Batschulat (Home) wrote:
On Fri, 28 May 2010 10:43:22 +0200, eiji@oracle.com wrote:
getzoneid() can return a correct value even if it's called in a taskq thread
(kernel context)
On Fri, 28 May 2010 13:35:07 +0200, James Carlson carls...@workingcode.com
wrote:
On 05/28/10 04:57, Frank Batschulat (Home) wrote:
On Fri, 28 May 2010 10:43:22 +0200, eiji@oracle.com wrote:
getzoneid() can return a correct value even if it's called in a taskq thread
(kernel context)
more information is needed about your architecture and what your trying
to do.
first off, as has been pointed out, if your not in user context
getzoneid() isn't really that useful.
second, below you keep mentioning at boot time. are you talking about
system boot time? or zone boot time? at
Hi Ed,
Yes, I meant the system boot time since it'd be ideal the setup is complete
w/o any customers' actions.
Sounds I should go back to the project w/ the info and talk about how to
deal with our issue. We might want to discuss it more with you offline then.
Thanks,
-Eiji
more
Hi Frank,
Yes, it seems we might not get a correct zoneid in kernel or interrupt context
as you pointed out here. In our project, the listener should be initialized
at boot time hopefully before the userland processes start, but in practice
it seems hard according to others' e-mails including