Re: Dynamic linking is go (again)

"Valeriy E. Ushakov" <[email protected]>
Newsgroups gmane.os.netbsd.ports.dreamcast,gmane.os.netbsd.devel.kernel,gmane.os.netbsd.ports.sh3
Message-ID <[email protected]>
On Sun, Jul 06, 2003 at 07:42:09 +0900, Izumi Tsutsui wrote:

> Hmm, it seems any processes of PIC binaries are not swapped out (no
> process is marked 'W' in ps -ax output) and it causes thrashing..

sh3 ports define __SWAP_BROKEN in sys/arch/sh3/include/types.h, so in
sys/uvm/uvm_pdaemon.c uvm_swapout_threads() is never called (thanks to
mrg for pointign this out).

__SWAP_BROKEN is also defined for mips ports.

I'm not familiar with that part of the kernel, so I don't know why
it's marked as broken.  Since for sh3 __SWAP_BROKEN was defined in the
same commit, in which the __HAVE_AST_PERPROC was added, may be it
needs the u-area to deliver an ast (but that's just a wild guess).

Any hints from folks who know how this works?

SY, Uwe
-- 
[email protected]                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.