Subject: Re: Porting user code into kernel space.
To: Ceri Storey <cez@mrtall.compsoc.man.ac.uk>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 12/06/2002 06:48:33
On Fri, Dec 06, 2002 at 01:49:50PM +0000, Ceri Storey wrote:

 > I'm wondering if there are any special considerations I'll need to take
 > into account when porting a user-space library (in this case a small
 > subset of GMP) into kernel space. I realise that the memory allocation
 > Is going to be intresting, and stack consumption is something to watch
 > out for, but is there anything else?

For code which is self-contained, porting it to the kernel is usually
pretty easy.

However, you should make sure that you do NOT use floating-point in
the kernel -- it is not allowed.

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