Messages in this thread | | | Date | Thu, 25 Aug 2011 10:52:18 -0700 (PDT) | From | Dan Magenheimer <> | Subject | RE: Subject: [PATCH V7 2/4] mm: frontswap: core code |
| |
> From: Seth Jennings [mailto:sjenning@linux.vnet.ibm.com] > To: KAMEZAWA Hiroyuki > > On 08/25/2011 01:05 AM, KAMEZAWA Hiroyuki wrote: > <cut> > > > > > > I'm sorry if I miss codes but.... is an implementation of frontswap.ops included > > in this patch set ? Or how to test the work ? > > The zcache driver (in drivers/staging/zcache) is the one that registers frontswap ops. > > You can test frontswap by enabling CONFIG_FRONTSWAP and CONFIG_ZCACHE, and putting > "zcache" in the kernel boot parameters.
Also see Xen tmem (in drivers/xen). I am also working on a related project called RAMster that uses frontswap. And someone has started code for KVM to work with transcendent memory (including frontswap). But for now zcache is the only non-virtualization in-kernel user for frontswap.
Dan
P.S. A recent build fix for zcache is necessary for it to work without manual modification to the zcache Makefile. See 8c70aac04e01a08b7eca204312946206d1c1baac in Linus's tree.
| |