<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hey,</div><div><br></div><div>I need to modify pagecache such that each VM gets their own LRU list and eviction is done from that list.</div><div>I need to verify whether I'm on the right path, so can anyone please verify my approach.</div><div><br></div><div>The first step is to identify which VM is making the call to allocate a page.</div><div>As VMs are stored as a file, I can identify each VM with their filename, right?</div><div>For this, I'm trying to get the filename associated with an address_space object when add_to_page_cache_lru() is called in filemap.c</div><div><br></div><div>From address_space object, I can get inode and therefore dentry.</div><div>I'm not able to figure out how to get the name of a file.</div><div><br></div><div>And can you please provide brief overview of what the overall approach should be?</div><div>Any comments would help.</div><div><br></div><div>Thanks.</div><div>Chirag</div></div></div></div>