All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrea Arcangeli <andrea@suse.de>
To: "David S. Miller" <davem@redhat.com>
Cc: riel@conectiva.com.br, linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH *] rmap VM, version 12
Date: Thu, 24 Jan 2002 04:50:55 +0100	[thread overview]
Message-ID: <20020124045055.F20533@athlon.random> (raw)
In-Reply-To: <20020123.112837.112624842.davem@redhat.com> <Pine.LNX.4.33L.0201231735540.32617-100000@imladris.surriel.com> <20020123.121857.18310310.davem@redhat.com>
In-Reply-To: <20020123.121857.18310310.davem@redhat.com>; from davem@redhat.com on Wed, Jan 23, 2002 at 12:18:57PM -0800

On Wed, Jan 23, 2002 at 12:18:57PM -0800, David S. Miller wrote:
>    
>    OK, so only the _pgd_ quicklist is questionable and the
>    _pte_ quicklist is fine ?
> 
> That is my understanding.

pgd cache is fine too, the page fault will update the pgd using
swapper_pg_dir accordingly if needed. The swapper_pg_dir will only fault
in new pmd, it will never deallocate them (vfree only invalidates the
pte and free the pages), so it's safe. If vfree would deallocate them
just a simple context switch would break, no matter of the pgd cache.

Andrea

WARNING: multiple messages have this Message-ID (diff)
From: Andrea Arcangeli <andrea@suse.de>
To: "David S. Miller" <davem@redhat.com>
Cc: riel@conectiva.com.br, linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH *] rmap VM, version 12
Date: Thu, 24 Jan 2002 04:50:55 +0100	[thread overview]
Message-ID: <20020124045055.F20533@athlon.random> (raw)
In-Reply-To: <20020123.121857.18310310.davem@redhat.com>; from davem@redhat.com on Wed, Jan 23, 2002 at 12:18:57PM -0800

On Wed, Jan 23, 2002 at 12:18:57PM -0800, David S. Miller wrote:
>    
>    OK, so only the _pgd_ quicklist is questionable and the
>    _pte_ quicklist is fine ?
> 
> That is my understanding.

pgd cache is fine too, the page fault will update the pgd using
swapper_pg_dir accordingly if needed. The swapper_pg_dir will only fault
in new pmd, it will never deallocate them (vfree only invalidates the
pte and free the pages), so it's safe. If vfree would deallocate them
just a simple context switch would break, no matter of the pgd cache.

Andrea
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

  parent reply	other threads:[~2002-01-24  3:50 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-23 17:14 [PATCH *] rmap VM, version 12 Rik van Riel
2002-01-23 17:14 ` Rik van Riel
2002-01-23 18:44 ` David S. Miller
2002-01-23 18:44   ` David S. Miller
2002-01-23 18:57   ` Rik van Riel
2002-01-23 18:57     ` Rik van Riel
2002-01-23 19:06     ` David S. Miller
2002-01-23 19:06       ` David S. Miller
2002-01-23 19:22       ` Rik van Riel
2002-01-23 19:22         ` Rik van Riel
2002-01-23 19:28         ` David S. Miller
2002-01-23 19:28           ` David S. Miller
2002-01-23 19:36           ` Rik van Riel
2002-01-23 19:36             ` Rik van Riel
2002-01-23 20:18             ` David S. Miller
2002-01-23 20:18               ` David S. Miller
2002-01-23 22:12               ` Rik van Riel
2002-01-23 22:12                 ` Rik van Riel
2002-01-24  3:50               ` Andrea Arcangeli [this message]
2002-01-24  3:50                 ` Andrea Arcangeli
2002-01-24  3:46       ` Andrea Arcangeli
2002-01-24  3:46         ` Andrea Arcangeli
2002-01-23 19:15     ` Robert Love
2002-01-23 19:15       ` Robert Love
  -- strict thread matches above, loose matches on Subject: below --
2002-01-23 19:02 Badari Pulavarty
2002-01-23 19:02 ` Badari Pulavarty
2002-01-23 19:05 ` Rik van Riel
2002-01-23 19:05   ` Rik van Riel
2002-01-23 19:12   ` Andi Kleen
2002-01-23 19:12     ` Andi Kleen
2002-01-23 19:11 Badari Pulavarty
2002-01-23 19:11 ` Badari Pulavarty
2002-01-23 19:20 ` Rik van Riel
2002-01-23 19:20   ` Rik van Riel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020124045055.F20533@athlon.random \
    --to=andrea@suse.de \
    --cc=davem@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=riel@conectiva.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.