linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Raghu R. Arur" <rra2002@cs.columbia.edu>
To: kernelnewbies@nl.linux.org
Cc: linux-mm@kvack.org
Subject: swap_free() inside delete_from_swap_cache
Date: Fri, 5 Sep 2003 22:02:06 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.44.0309052200580.440-100000@tehran.clic.cs.columbia.edu> (raw)



 Why is swap_free() called inside delete_from_swap_cache() in linux 
2.4.19? I believe delete_from_swap_cache() is called when we write a page 
to the swap disk. swap_free() decreases the count of number of references 
to that page. I am not understanding why should we decrement the count of 
references when we are swapping the page to the disk.

 Thanks,
 Raghu


--
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/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>

             reply	other threads:[~2003-09-06  2:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-06  2:02 Raghu R. Arur [this message]
2003-09-07  2:17 ` 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=Pine.LNX.4.44.0309052200580.440-100000@tehran.clic.cs.columbia.edu \
    --to=rra2002@cs.columbia.edu \
    --cc=kernelnewbies@nl.linux.org \
    --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