RE: Subject: [PATCH V7 2/4] mm: frontswap: core code

From: Dan Magenheimer
Date: Thu Aug 25 2011 - 13:53:34 EST


> From: Seth Jennings [mailto:sjenning@xxxxxxxxxxxxxxxxxx]
> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/