Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753825Ab0IADhG (ORCPT ); Tue, 31 Aug 2010 23:37:06 -0400 Received: from ozlabs.org ([203.10.76.45]:52496 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750969Ab0IADhE (ORCPT ); Tue, 31 Aug 2010 23:37:04 -0400 Date: Wed, 1 Sep 2010 13:32:37 +1000 From: Anton Blanchard To: Nitin Gupta Cc: Pekka Enberg , Minchan Kim , Andrew Morton , Greg KH , Linux Driver Project , linux-mm , linux-kernel Subject: Re: [PATCH 00/10] zram: various improvements and cleanups Message-ID: <20100901033237.GA18958@kryten> References: <1281374816-904-1-git-send-email-ngupta@vflare.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1281374816-904-1-git-send-email-ngupta@vflare.org> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 610 Lines: 18 Hi Nitin, I gave zram a try on a ppc64 box with a 64kB PAGE_SIZE. It looks like the xvmalloc allocator fails when we add in a large enough block (in this case 65532 bytes). flindex ends up as 127 which is larger than BITS_PER_LONG. We continually call grow_block inside find_block and fail: zram: Error allocating memory for compressed page: 0, size=467 Anton -- 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/