Thanks. --------- This do identify a page uniquely. But would the mapping, index be changed when the page is swpped out[?]..... Could you point out the chaning place? As I'm working on 2.2.19....whith the help of "Understanding Linux Kernel"... ------thanks------- ps Any good books on 2.4 VM?...I find it a lot different from 2.2. --- Swapnil Nagle <swaps@protonic.com> wrote: > Jiang Nomk <nomkchina@yahoo.com> wrote : > > > Hello: > > > > I'm trying to trace a page's behavior, from the > first > > fresh read to any possible re-reads from swap > area. > > > > I found page identity a problem. > > AFAIK, a page can be uniquely identified using its > index and mapping. You can use the page_hash macro > to get hash. > > > > > -- > Kernelnewbies: Help each other learn about the Linux > kernel. > Archive: > http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/