Non-existing p_vmspace. When is it possible?

2009-03-11 Thread pluknet
Hi. I perform in FOREACH_PROC_IN_SYSTEM(), where I conditionally look at p_vmspace internals. I'd like to know the safe way to reference p_vmspace fields without potential null-dereference. I see an example in vm_pageout_oom(), where making access to p-p_vmspace fields is done without additional

Re: Non-existing p_vmspace. When is it possible?

2009-03-11 Thread Kostik Belousov
On Wed, Mar 11, 2009 at 04:38:39PM +0300, pluknet wrote: Hi. I perform in FOREACH_PROC_IN_SYSTEM(), where I conditionally look at p_vmspace internals. I'd like to know the safe way to reference p_vmspace fields without potential null-dereference. I see an example in vm_pageout_oom(),