From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail172.messagelabs.com (mail172.messagelabs.com [216.82.254.3]) by kanga.kvack.org (Postfix) with ESMTP id 3EE836B0093 for ; Fri, 17 Dec 2010 00:21:08 -0500 (EST) MIME-Version: 1.0 Message-ID: Date: Thu, 16 Dec 2010 21:15:07 -0800 (PST) From: Dan Magenheimer Subject: RE: [PATCH V0 1/4] kztmem: simplified radix tree data structure support References: <20101207180653.GA28115@ca-server1.us.oracle.com dd88185d-bc2c-4d65-8730-8b1fc712306a@default> In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: owner-linux-mm@kvack.org To: Chris Mason , akpm@linux-foundation.org, matthew@wil.cx, linux-kernel@vger.kernel.org, linux-mm@kvack.org, ngupta@vflare.org, jeremy@goop.org, Kurt Hackel , npiggin@kernel.dk, riel@redhat.com, Konrad Wilk , mel@csn.ul.ie, minchan.kim@gmail.com List-ID: > A monolithic patch containing all of kztmem, cleancache, and frontswap > that applies cleanly to 2.6.36 can be found at: >=20 > http://oss.oracle.com/projects/tmem/dist/files/kztmem/kztmem-linux- > 2.6.36-101207.patch >=20 > (Or http://oss.oracle.com/projects/tmem and Downloads and kztmem > patches) >=20 > I'm a git novice but can prepare a git tree also if desired. >=20 > To try kztmem: >=20 > 1) apply the monolithic patch to 2.6.36 > 2) rebuild your config ensuring that CONFIG_KZTMEM, CONFIG_CLEANCACHE, > CONFIG_FRONTSWAP, and CONFIG_ZRAM (for xvMalloc) become enabled > 3) rebuild and reboot with "kztmem" as a kernel boot parameter > 4) see /sys/kernel/mm/kztmem/* for statistics... note that with > lots of RAM and no swapping, little or no activity will be seen >=20 > As I said, there are known weird bugs that may or may not show > up in your configuration and build environment, so be prepared > in advance that the kernel may crash... removing kztmem as > a boot parameter should disable kztmem and result in a normal boot. >=20 > Thanks in advance for trying and testing (and, if you are so > inclined, debugging) kztmem! I'll be happy to answer any > questions on- or off-list! FYI, in case anyone was thinking about giving it a spin, I have just posted an update of the (monolithic) kztmem patch here: http://oss.oracle.com/projects/tmem/dist/files/kztmem/kztmem-linux-2.6.36-1= 01207.patch=20 I think all the weird bugs and crashes are now gone, though I have some concurrency rework to do after some feedback from Jeremy Fitzhardinge, and that's not going to happen until after the holidays. So I am posting this intermediate version if you want to try it, but please hold off on any detailed code review until I post v1 to lkml/linux-mm. Thanks, Dan -- 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/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: email@kvack.org