linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: pnilesh@in.ibm.com
To: linux-mm@kvack.org
Date: Tue, 28 Mar 2000 09:20:57 +0530	[thread overview]
Message-ID: <CA2568B0.0015D747.00@d73mta05.au.ibm.com> (raw)

     When a executable file runs there is only one copy of the text part in
the memory. But I have some doubts as I am not able to figure how exactly
this is done.

Suppose a text page of an executable is mapped in the address space of 2
processes. The page count will be one.
The page table entries of both the process will have entry for this page.
But when the page is discarded only the page entry of only one process get
cleared , this is what I have understood from the swap_out () function .
But the page table entry of the other process is still pointing to the page
which has been discarded.


Can any body please clear my doubt.


Q    When a page of a file is in page hash queue, does this page have page
table entry in any process ?
Q     Can this be discarded right away , if the need arises?


Nilesh Patel


--
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.eu.org/Linux-MM/

                 reply	other threads:[~2000-03-28  3:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CA2568B0.0015D747.00@d73mta05.au.ibm.com \
    --to=pnilesh@in.ibm.com \
    --cc=linux-mm@kvack.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox