Re: how can i wipeout swap pages?

2001-10-26 Thread Ilmar S. Habibulin
On Thu, 25 Oct 2001, Terry Lambert wrote: To do what you want, which is to clean the backing pages, you Yes, i mean cleaning pages in the backing storage. are better off doing it for all freed blocks, not just swap blocks (if someone can read your swap, they can read other data off your

how can i wipeout swap pages?

2001-10-24 Thread Ilmar S. Habibulin
I'm trying to implement wiping of freed swap pages inside swap_pager. I'm using 2.2-branch, here is my thoughts and steps: I have a (starting) block number of swapped page, i know page size, and i know that i have to use some pool of buffers inside kernel. So i get buffer with getpbuf(), then