Subject: Re: Dynamic linking is go (again)
To: None <>
From: Valeriy E. Ushakov <>
List: tech-kern
Date: 07/10/2003 18:26:07
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
--                         |       Zu Grunde kommen            |       Ist zu Grunde gehen