lkml.org 
[lkml]   [1999]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectdoubt in shrink_mmap
hi,

i encountered this doubt when i was reading the linux source code
( ver : 2.0.33)
in the function shrink_mmap() which is called from
try_to_free_page() some of the pages (text pages) are thrown out of
memory without reflecting the changes in the page tables.

-----------------------------------------------------------

/* is it a page cache page? */
if (page->inode) {
remove_page_from_hash_queue(page);
remove_page_from_inode_queue(page);
__free_page(page);
return 1;
}

----------------------------------------------------------------

i think this may create problems , when the thrown pages are
referred afterwards.
whether i am right ?

thanks in advance.

- sharma



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.079 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site