Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!usc!cs.utexas.edu!execu!sequoia!rpp386!jfh From: jfh@rpp386.cactus.org (John F Haugh II) Newsgroups: comp.unix.aix Subject: Re: 3rd party memory for RS-6000 530 installed! Message-ID: <19043@rpp386.cactus.org> Date: 9 Feb 91 15:19:57 GMT References: <1991Jan29.143725.16144@rice.edu> <5055@awdprime.UUCP> <19031@rpp386.cactus.org> Reply-To: jfh@rpp386.cactus.org (John F Haugh II) Organization: Lone Star Cafe and BBS Service Lines: 22 X-Clever-Slogan: Recycle or Die. In article richard@locus.com (Richard M. Mathews) writes: >On AIX V1.2 (PS/2 and 370) there is an alternate malloc supplied in >libmalloc. This is a System V version of malloc which makes more >efficient use of address space at the expense of taking more time to >search for free space and possibly taking more page faults. As with >AIX V3, the default malloc in libc is the one used by BSD. > >As far as I know, V3 does not provide libmalloc. Nor could it, if IBM wanted to. The malloc in the C library is pre-bound with the other modules in the shared library. This would give you two different "malloc()"'s, which won't work. So far as I know, you would have to not use any functions in the C library in order to use your own malloc. Or you could just rename the malloc you want to use to "mymalloc()" and hope those two malloc's can co-operate with each other ... -- John F. Haugh II UUCP: ...!cs.utexas.edu!rpp386!jfh Ma Bell: (512) 832-8832 Domain: jfh@rpp386.cactus.org "I've never written a device driver, but I have written a device driver manual" -- Robert Hartman, IDE Corp.