From: sygalula@t2.technion.ac.il
To: linux-mm@kvack.org
Subject: compression of swap pages
Date: Thu, 27 Nov 2003 16:35:31 +0200 [thread overview]
Message-ID: <1069943731.3fc60bb3ac896@webmail.technion.ac.il> (raw)
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
sygalula@t2.technion.ac.il
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
reply other threads:[~2003-11-27 14:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1069943731.3fc60bb3ac896@webmail.technion.ac.il \
--to=sygalula@t2.technion.ac.il \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox