[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: why should physmem not know about which frames are extra?
From: |
Marcus Brinkmann |
Subject: |
Re: why should physmem not know about which frames are extra? |
Date: |
Wed, 27 Oct 2004 15:00:47 +0200 |
User-agent: |
Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (i386-pc-linux-gnu) MULE/5.0 (SAKAKI) |
At Wed, 27 Oct 2004 12:51:39 +0100,
Sam Mason <address@hidden> wrote:
>
> Marcus Brinkmann wrote:
> >I have considered this case before writing my mail, and thought that
> >you theoretically could mark the particular frame as guaranteed (from
> >extra) when mapping it write-only (ie, you have to contact physmem
> >anyway).
>
> Just thinking aloud here. . . But wouldn't this be a nightmare for a
> program using garbage collection? Writing a copying collector that
> would keep physmem in sync with its progress wouldn't be my idea
> of fun!
Good point. Now you know how much I know about garbage collectors.
> If the progress could be maintained "lazily" by physmem
> asking for the information only when it's needed would be a lot
> nicer - in my opinion anyway!
Well, the lazy approach is what Neal suggests and which is so far the
accepted solution, even by me, and even given the obvious problems
arising from it.
Thanks,
Marcus
- why should physmem not know about which frames are extra?, Marcus Brinkmann, 2004/10/26
- Re: why should physmem not know about which frames are extra?, Neal H. Walfield, 2004/10/26
- Re: why should physmem not know about which frames are extra?, Sam Mason, 2004/10/27
- Re: why should physmem not know about which frames are extra?,
Marcus Brinkmann <=
- Re: why should physmem not know about which frames are extra?, Sam Mason, 2004/10/27
- Re: why should physmem not know about which frames are extra?, Marcus Brinkmann, 2004/10/27
- Re: why should physmem not know about which frames are extra?, Neal H. Walfield, 2004/10/27