Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751336AbZL1Sn1 (ORCPT ); Mon, 28 Dec 2009 13:43:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751074AbZL1Sn1 (ORCPT ); Mon, 28 Dec 2009 13:43:27 -0500 Received: from courier.cs.helsinki.fi ([128.214.9.1]:33672 "EHLO mail.cs.helsinki.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750892AbZL1Sn0 (ORCPT ); Mon, 28 Dec 2009 13:43:26 -0500 Message-ID: <4B38FC42.7000204@cs.helsinki.fi> Date: Mon, 28 Dec 2009 20:43:14 +0200 From: Pekka Enberg User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Andi Kleen CC: Nitin Gupta , Hugh Dickins , KAMEZAWA Hiroyuki , Andrew Morton , linux-kernel Subject: Re: [PATCH 1/2] [mmotm] Add notifiers for various swap events References: <1261963200-7136-1-git-send-email-ngupta@vflare.org> <87eimf87m5.fsf@basil.nowhere.org> <4B38D0CF.9000403@vflare.org> <20091228172903.GF4994@basil.fritz.box> In-Reply-To: <20091228172903.GF4994@basil.fritz.box> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1039 Lines: 30 Hi Andi, Andi Kleen wrote: >>> The first question to ask is if compressed swap is worth >>> it. Do you have benchmark numbers showing it to be an improvement? >>> Are there cases where it is slower than uncompressed swap? >>> >> http://code.google.com/p/compcache/wiki/Performance > > That should be included in the changelog of the patches. Which patches? The driver is already in staging and there's a pointer to the home page in linux/drivers/staging/ramzswap/ramzswap.txt >> ramzswap is an optional module. > > I have some doubts on the wisdom of making swap algorithms modular. > Better compile them in. Then you don't need messy notifiers either. What's so messy about them? The whole point of having the notifiers is to avoid CONFIG_RAMZSWAP in core kernel code... Pekka -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/