linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC] Structure in Compressed Cache
@ 2000-10-30 21:09 Rodrigo S. de Castro
  2000-10-31 16:06 ` Marcelo Tosatti
  0 siblings, 1 reply; 4+ messages in thread
From: Rodrigo S. de Castro @ 2000-10-30 21:09 UTC (permalink / raw)
  To: linux-mm

Hello,

	In my implementation of compressed cache (kernel 2.2.16), I
started the project having my cache as a slab cache, structure
provided by kernel. I have all step 1 (a cache with no compression)
done, but I had a problem with marking pages in my cache. After an
email sent to the list about this subject, I started looking at shared
memory mechanism (mainly ipc/shm.c), and I saw that there's another
way of making it: with a page table allocation and memory mapping. I
could go on with my initial idea (with slab cache) but I think that
doing the latter way (with page table and memory mapping) would be
more complete (and, of course, harder). I will have a pool of
(compressed) pages that gotta be always in memory and will be
"between" physical memory and swap. As the project is growing I would
like to define now which path to follow, taking in account
completeness and upgradeability (to future versions of kernel). Which
way do you think that is better? Please, I also ask you to tell me in
case you know if there's another way, maybe better, of doing it.

Thank you in advance,
-- 
Rodrigo S. de Castro   <rcastro@linux.ime.usp.br>
University of Sao Paulo - Brazil
Compressed caching - http://tutu.ime.usp.br 
--
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.eu.org/Linux-MM/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-11-01 21:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-30 21:09 [RFC] Structure in Compressed Cache Rodrigo S. de Castro
2000-10-31 16:06 ` Marcelo Tosatti
2000-10-31 19:15   ` Rodrigo S. de Castro
2000-11-01 20:51   ` Rodrigo S. de Castro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox