Hello all, How does the kernel determine when a page is unused? I see that __get_free_pages() returns pages that have no refcount. The first page looks like: flags:0x80000000 mapping:00000000 mapcount:0 count:1 And the other pages look like: flags:0x80000000 mapping:00000000 mapcount:0 count:0 I am printing this out exactly the way bad_page() does. How does the kernel know not to mess around with pages that have no refcount or any flags to indicate that they are in use? Thanks in advance, Avishay Traeger -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/