From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752989AbaEHGWP (ORCPT ); Thu, 8 May 2014 02:22:15 -0400 Received: from LGEMRELSE6Q.lge.com ([156.147.1.121]:39820 "EHLO lgemrelse6q.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752404AbaEHGWO (ORCPT ); Thu, 8 May 2014 02:22:14 -0400 X-Original-SENDERIP: 10.177.220.169 X-Original-MAILFROM: minchan@kernel.org Date: Thu, 8 May 2014 15:24:18 +0900 From: Minchan Kim To: Joonsoo Kim Cc: Weijie Yang , Weijie Yang , Davidlohr Bueso , Andrew Morton , Seth Jennings , Nitin Gupta , Sergey Senozhatsky , Bob Liu , Dan Streetman , Heesub Shin , linux-kernel , Linux-MM Subject: Re: [PATCH] zram: remove global tb_lock by using lock-free CAS Message-ID: <20140508062418.GF5282@bbox> References: <000001cf6816$d538c370$7faa4a50$%yang@samsung.com> <20140505152014.GA8551@cerebellum.variantweb.net> <1399312844.2570.28.camel@buesod1.americas.hpqcorp.net> <20140505134615.04cb627bb2784cabcb844655@linux-foundation.org> <1399328550.2646.5.camel@buesod1.americas.hpqcorp.net> <000001cf69c9$5776f330$0664d990$%yang@samsung.com> <20140507085743.GA31680@bbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 07, 2014 at 11:52:59PM +0900, Joonsoo Kim wrote: > >> Most popular use of zram is the in-memory swap for small embedded system > >> so I don't want to increase memory footprint without good reason although > >> it makes synthetic benchmark. Alhought it's 1M for 1G, it isn't small if we > >> consider compression ratio and real free memory after boot > > We can use bit spin lock and this would not increase memory footprint for 32 bit > platform. Sounds like a idea. Weijie, Do you mind testing with bit spin lock? > > Thanks. > > -- > 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/ . > Don't email: email@kvack.org -- Kind regards, Minchan Kim