From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751406AbdJSEae (ORCPT ); Thu, 19 Oct 2017 00:30:34 -0400 Received: from mga05.intel.com ([192.55.52.43]:16126 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750818AbdJSEad (ORCPT ); Thu, 19 Oct 2017 00:30:33 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,399,1503385200"; d="scan'208";a="1026765844" Date: Wed, 18 Oct 2017 21:30:32 -0700 From: Andi Kleen To: Matthew Wilcox Cc: Srividya Desireddy , "sjenning@redhat.com" , "ddstreet@ieee.org" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "penberg@kernel.org" , Dinakar Reddy Pathireddy , SHARAN ALLUR , RAJIB BASU , JUHUN KIM , "srividya.desireddy@gmail.com" Subject: Re: [PATCH] zswap: Same-filled pages handling Message-ID: <20171019043032.GY5109@tassilo.jf.intel.com> References: <20171018104832epcms5p1b2232e2236258de3d03d1344dde9fce0@epcms5p1> <8760bci3vl.fsf@linux.intel.com> <20171019011056.GB17308@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171019011056.GB17308@bombadil.infradead.org> User-Agent: Mutt/1.9.0 (2017-09-02) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Yes. Every 64-bit repeating pattern is also a 32-bit repeating pattern. > Supporting a 64-bit pattern on a 32-bit kernel is painful, but it makes > no sense to *not* support a 64-bit pattern on a 64-bit kernel. But a 32bit repeating pattern is not necessarily a 64bit pattern. >This is the same approach used in zram, fwiw. Sounds bogus. -Andi From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f72.google.com (mail-pg0-f72.google.com [74.125.83.72]) by kanga.kvack.org (Postfix) with ESMTP id 8652A6B0033 for ; Thu, 19 Oct 2017 00:30:34 -0400 (EDT) Received: by mail-pg0-f72.google.com with SMTP id l24so5705232pgu.17 for ; Wed, 18 Oct 2017 21:30:34 -0700 (PDT) Received: from mga03.intel.com (mga03.intel.com. [134.134.136.65]) by mx.google.com with ESMTPS id g6si6778077pgq.135.2017.10.18.21.30.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Oct 2017 21:30:33 -0700 (PDT) Date: Wed, 18 Oct 2017 21:30:32 -0700 From: Andi Kleen Subject: Re: [PATCH] zswap: Same-filled pages handling Message-ID: <20171019043032.GY5109@tassilo.jf.intel.com> References: <20171018104832epcms5p1b2232e2236258de3d03d1344dde9fce0@epcms5p1> <8760bci3vl.fsf@linux.intel.com> <20171019011056.GB17308@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171019011056.GB17308@bombadil.infradead.org> Sender: owner-linux-mm@kvack.org List-ID: To: Matthew Wilcox Cc: Srividya Desireddy , "sjenning@redhat.com" , "ddstreet@ieee.org" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "penberg@kernel.org" , Dinakar Reddy Pathireddy , SHARAN ALLUR , RAJIB BASU , JUHUN KIM , "srividya.desireddy@gmail.com" > Yes. Every 64-bit repeating pattern is also a 32-bit repeating pattern. > Supporting a 64-bit pattern on a 32-bit kernel is painful, but it makes > no sense to *not* support a 64-bit pattern on a 64-bit kernel. But a 32bit repeating pattern is not necessarily a 64bit pattern. >This is the same approach used in zram, fwiw. Sounds bogus. -Andi -- 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