linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* mapped pages
@ 2003-08-27 15:55 Raghu R. Arur
  2003-08-27 16:03 ` William Lee Irwin III
  0 siblings, 1 reply; 3+ messages in thread
From: Raghu R. Arur @ 2003-08-27 15:55 UTC (permalink / raw)
  To: kernelnewbies; +Cc: linux-mm

 Do all mapped pages have buffers? Is there a possibility that a mapped
page to have its page->buffer to be NULL

 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>

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

* Re: mapped pages
  2003-08-27 15:55 mapped pages Raghu R. Arur
@ 2003-08-27 16:03 ` William Lee Irwin III
  2003-08-27 16:09   ` Raghu R. Arur
  0 siblings, 1 reply; 3+ messages in thread
From: William Lee Irwin III @ 2003-08-27 16:03 UTC (permalink / raw)
  To: Raghu R. Arur; +Cc: kernelnewbies, linux-mm

On Wed, Aug 27, 2003 at 11:55:09AM -0400, Raghu R. Arur wrote:
>  Do all mapped pages have buffers? Is there a possibility that a mapped
> page to have its page->buffer to be NULL

No to the first question, yes to the second.

-- wli
--
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] 3+ messages in thread

* Re: mapped pages
  2003-08-27 16:03 ` William Lee Irwin III
@ 2003-08-27 16:09   ` Raghu R. Arur
  0 siblings, 0 replies; 3+ messages in thread
From: Raghu R. Arur @ 2003-08-27 16:09 UTC (permalink / raw)
  To: William Lee Irwin III; +Cc: kernelnewbies, linux-mm

 So this means that I need to use try_to_release_page() on only those
mapped pages that have page->buffer non-null. Otherwise releasepage
functions of the address space crash. And if I have to return a mapped
page to the freelist that have page->buffer null, i just have to do
__remove_inode_page. I am speaking in the context of 2.4 kernel. Am I
right.

 Thanks a lot,
 Raghu


On Wed, 27 Aug 2003, William Lee Irwin III wrote:

> On Wed, Aug 27, 2003 at 11:55:09AM -0400, Raghu R. Arur wrote:
> >  Do all mapped pages have buffers? Is there a possibility that a mapped
> > page to have its page->buffer to be NULL
>
> No to the first question, yes to the second.
>
> -- wli
>
--
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] 3+ messages in thread

end of thread, other threads:[~2003-08-27 16:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-27 15:55 mapped pages Raghu R. Arur
2003-08-27 16:03 ` William Lee Irwin III
2003-08-27 16:09   ` Raghu R. Arur

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