linux kernel implementation?

Vincent Lefevre vincent at vinc17.org
Wed Dec 13 13:47:23 CET 2006


On 2006-12-12 23:11:40 -0800, Nicholas Murphy wrote:
> Has anyone ever tried to port GMP for use within the Linux kernel?   
> If not, any idea what would be involved?  Would it just be a matter  
> of stripping out printf's and replacing malloc with kmalloc, etc.?

When GMP can't allocate memory, it calls abort (). Is that fine
for the Linux kernel?

-- 
Vincent Lefèvre <vincent at vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)


More information about the gmp-discuss mailing list