This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: malloc-based ggc-page


On Jan 20, 2000, Mark Mitchell <mark@codesourcery.com> wrote:

>>>>>> "Alexandre" == Alexandre Oliva <oliva@lsd.ic.unicamp.br> writes:
Alexandre> BTW, why not just move the whole page allocation system
Alexandre> into libiberty.  I mean, including mmap anonymous, mmap
Alexandre> /dev/zero and plain valloc?  This would make it far
Alexandre> more reusable!

> Yes, this would be a good idea.  But, it should still be moved in
> separate pieces!

I was actually just talking about moving alloc_anon(), free_page() and
release_pages() into a portable xvalloc libiberty module.  The garbage
collector engine would remain within gcc, at least for now.

-- 
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]