>    There is a reason the default pager avoids using the vanilla
>    malloc.
> 
> What would you think about a patch that changes all references to
> malloc()/free() to kalloc()/kfree() in the default pager and then
> remove the stubs for malloc()/free() in kalloc.c?

Ascertain that this is the only use of allocation in the program, and sure.
If it's calling libc routines that do allocation, this is not ok.

>    Figure out why the libc malloc is being linked in.
> 
> We compile mach-defpager with -static; so we link against libc which
> defines malloc/free.

You don't seem to understand how static linking works.


_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-hurd

Reply via email to