Hi all, Does anyone know the difference between pte_dirty(pte) and PageDirty(page)? AFAIK each pte points to a page frame and should be the same, but sometimes pte_dirty returns true and PageDirty returns false for the same physical page frame. Below is a snippet of code: ... pfn = pte_pfn(pte); if (pfn_valid(pfn)) { page = pfn_to_page(pfn); if pte_dirty(pte) {}; if (PageDirty(page)) {}; ... } ... Any idea??? BR, Mauricio Lin. ************************************************ Conhecimento vem do seu instrutor; Sabedoria vem do seu interior. (Bruce Lee) ************************************************ __________________________________________________ Converse com seus amigos em tempo real com o Yahoo! Messenger http://br.download.yahoo.com/messenger/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/