[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The Hurd and gcc 3.4.x part #3
From: |
Alfred M. Szmidt |
Subject: |
Re: The Hurd and gcc 3.4.x part #3 |
Date: |
Thu, 30 Sep 2004 18:33:13 +0200 |
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?
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.
Cheers.