From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by kanga.kvack.org (Postfix) with ESMTP id CBE5D6B0035 for ; Wed, 7 May 2014 10:53:00 -0400 (EDT) Received: by mail-ve0-f177.google.com with SMTP id db11so1394219veb.8 for ; Wed, 07 May 2014 07:53:00 -0700 (PDT) Received: from mail-vc0-x234.google.com (mail-vc0-x234.google.com [2607:f8b0:400c:c03::234]) by mx.google.com with ESMTPS id g10si2944784vcj.145.2014.05.07.07.52.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 07 May 2014 07:52:59 -0700 (PDT) Received: by mail-vc0-f180.google.com with SMTP id hy4so595574vcb.25 for ; Wed, 07 May 2014 07:52:59 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: 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> Date: Wed, 7 May 2014 23:52:59 +0900 Message-ID: Subject: Re: [PATCH] zram: remove global tb_lock by using lock-free CAS From: Joonsoo Kim Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: Weijie Yang Cc: Minchan Kim , Weijie Yang , Davidlohr Bueso , Andrew Morton , Seth Jennings , Nitin Gupta , Sergey Senozhatsky , Bob Liu , Dan Streetman , Heesub Shin , linux-kernel , Linux-MM >> 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. 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