Hi all, <At ll_rw_blk.c:generic_make_request()> It is possible to trace the host inode when given a buffer head pointer at this function if the "bh->b_page" refers to a page in memory that contains data from a file on disk via "bh->b_page->mapping->host". For the case of swapping to a file, the buffer head recieved at "generic_make_request" does not have a mapping (points to NULL, does it always do that?). This also means that there is no host inode. Is it possible to trace back to the host inode of the swap file( in the case of anonymous pages ) given just the buffer head? Thank You in Advance, Louis Lam __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/