linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* anonymous buffer pages
@ 2003-08-05 15:45 Raghu R. Arur
  2003-08-05 15:54 ` Mel Gorman
  0 siblings, 1 reply; 2+ messages in thread
From: Raghu R. Arur @ 2003-08-05 15:45 UTC (permalink / raw)
  To: kernelnewbies; +Cc: linux-mm

 Hi,

  when are anonymous buffer pages created and how are they removed from
the system  in linux 2.4.19 ? In try_to_swap_out() when it encounters a
anonymous buffer page the page is not unmapped from the process. So how is
this page freed to the free-list ?

 Thanks a lot,
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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: anonymous buffer pages
  2003-08-05 15:45 anonymous buffer pages Raghu R. Arur
@ 2003-08-05 15:54 ` Mel Gorman
  0 siblings, 0 replies; 2+ messages in thread
From: Mel Gorman @ 2003-08-05 15:54 UTC (permalink / raw)
  To: Raghu R. Arur; +Cc: kernelnewbies, linux-mm

On Tue, 5 Aug 2003, Raghu R. Arur wrote:

>   when are anonymous buffer pages created and how are they removed from
> the system  in linux 2.4.19 ?

Buried in
http://www.skynet.ie/~mel/projects/vm/guide/html/understand/node70.html#SECTION001533000000000000000
is

"An anonymous page may have associated buffers if it is backed by a swap
file."

The reason being that the page will need to be written out in block-sized
chunks. Once written out, the page->buffers will be null again and it'll
be cleared out the normal way via the swap cache when all processes have
unmapped the page

-- 
Mel Gorman
http://www.csn.ul.ie/~mel
--
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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-05 15:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-05 15:45 anonymous buffer pages Raghu R. Arur
2003-08-05 15:54 ` Mel Gorman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox