Re: [lc-devel] Chunk list issues
Status: Beta
Brought to you by:
nitin_sf
From: Anderson B. <bri...@gm...> - 2006-06-30 20:29:08
|
Hi Nitin, > On 6/28/06, Anderson Briglia <bri...@gm...> wrote: > > > > I have a doubt related to chunk operations: > > > > > > > > - I guess you will use the virtual swap as the compressed cache for > > > > anon pages, right? If yes, how will you swapin/swapout chunks? If a > > > > single chunk points to a portion of a physical page, and the > > > > swapin/swapout operations handle entire pages of data. > > > > > > Yes, vswap is for anon pages. I think you are mistaken somewhere...I'm not using > > > bio structs or anything to swapin/out pages from vswap. > > > > Ok. Will be possible to transfer pages from vswap to a 'real' swap area? > > > > Yes, but 'procedure' will be same as for transferring a page from a > swap to any other swap: change it swp_entry_t to have 'type' for other > swap and it will get written to this second swap. What will be the factor that determines when/which page will be migrated from vswap to real swap? How the chk->count is increased or decreased? Is this count related to page->_count? Cheers, Anderson Briglia |