Subject: Re: Linux/Mips syscall shift
To: Emmanuel Dreyfus <manu@netbsd.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 09/15/2001 09:55:56
On Sat, Sep 15, 2001 at 06:10:20PM +0200, Emmanuel Dreyfus wrote:

 > extern struct emul emul_linux;
 > /* ... */
 > if (p->p_emul == &emul_linux) 
 >         syscall_shift = 4000;
 > else
 >         syscall_shift = 0;
 > 
 > Would it be acceptable?

No.

	(1) It slows down the native syscall path.

	(2) It makes emulatoins-as-LKMs harder.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>