Date: Mon, 30 Sep 1996 13:45:12 +0200 From: Poul-Henning Kamp <phk@critter.tfs.com> To: Mikael Karpberg <karpen@ocean.campus.luth.se> Cc: hackers@FreeBSD.ORG Subject: Re: Optimizing bzero() Message-ID: <8050.844083912@critter.tfs.com> In-Reply-To: Your message of "Mon, 30 Sep 1996 10:33:14 %2B0200." <199609300833.KAA18915@ocean.campus.luth.se>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <199609300833.KAA18915@ocean.campus.luth.se>, Mikael Karpberg writes >> > >> >phk> The next thing you could start to consider is when people realloc a >> >phk> multipage allocation to something bigger, it would be nice to be able >> >phk> to ask the kernel to "move these pages to this address" and then exten >d >> >phk> It there instead of copying the contents. >> > >Can't you just make realloc do that? Is there a problem with doing it? >If not, is there a way to tell the system to rearrange your address space? It would be done in realloc(), but the savings seems to be very marginal from the traces I have collected so far. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8050.844083912>