From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751226Ab0EHHBV (ORCPT ); Sat, 8 May 2010 03:01:21 -0400 Received: from mail-pv0-f174.google.com ([74.125.83.174]:46879 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750854Ab0EHHBT (ORCPT ); Sat, 8 May 2010 03:01:19 -0400 Message-ID: <4BE50B71.4020202@vflare.org> Date: Sat, 08 May 2010 12:27:53 +0530 From: Nitin Gupta Reply-To: ngupta@vflare.org User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc11 Thunderbird/3.0.4 MIME-Version: 1.0 To: Pekka Enberg CC: Andrew Morton , Greg KH , Linus Torvalds , Hugh Dickins , Cyp , Minchan Kim , Al Viro , Christoph Hellwig , Jens Axboe , Andi Kleen , driverdev , linux-kernel Subject: Re: [PATCH 0/3] ramzswap: Eliminate stale data from compressed memory (v2) References: <1273217107-2023-1-git-send-email-ngupta@vflare.org> <20100507155504.10532b3e.akpm@linux-foundation.org> <4BE504AD.4030807@cs.helsinki.fi> In-Reply-To: <4BE504AD.4030807@cs.helsinki.fi> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Oops, missed this part: On 05/08/2010 11:59 AM, Pekka Enberg wrote: > Andrew Morton wrote: >> I've completely forgotten why we need this xvmalloc thing and I don't >> recall whether we decided it would be a good thing to have as a generic >> facility and of course it's all unexplained and undocumented. I won't >> be looking at it today, for this reason. > > We need it because the slab allocator is not a good fit for this special > purpose driver due to fragmentation. Nitin, you had a nice web page > showing all the relevant numbers but I can't find it anymore. > xvmalloc performance numbers: http://code.google.com/p/compcache/wiki/xvMalloc http://code.google.com/p/compcache/wiki/xvMallocPerformance Thanks, Nitin