compression of swap pages
Hello,
I'm working on a student's project. currently trying to modify swap file contents (in order to try compressing them later).
I'm trying to change the pages being written to the swap file (via xor) and change them back, after reading them (via same xor).
While writing a page to the swap, in rw_swap_page(), I mark the page with a flag so that in rw_swap_page_base(), I would know to change it(xor).
While reading a page from the swap, in rw_swap_page(), I mark the page with a flag, so that in end_buffer_io_async() I would know to change it back(xor).
The system crashes - so obviously, I'm missing something here...
Would really appriciate help...
Yaron Galula
[email protected]
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>