Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp259741ybe; Wed, 18 Sep 2019 16:46:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqxhTIbVgBwr/MH/8p9lruGpWzLJ7qvOe2l34KIhwPd9GLq2h8asmiGYyKGVJE0KTD4zhpq0 X-Received: by 2002:aa7:dad3:: with SMTP id x19mr1450523eds.59.1568850375029; Wed, 18 Sep 2019 16:46:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568850375; cv=none; d=google.com; s=arc-20160816; b=u1upj8N+iwZMKqN33a4xbCe7gfEw5E0x6rpP+eFmGfFACn3G7QLE5/ttcRm5kvZkP7 fIEL9qqm7CURMmXzFtbEYfsF0nxu3LrmO4pzKxWAsRWL5AWG6Yo9gCtygcBCqPyHc1aU DoJnYUhbY1LU3hBi5161oBu+RXt1t0ImjaMSGKsfpbFJgrHLNAFvoUn7xogQWhK1Brd7 KyYUTmhchfzJxj9k/O3JUBI6PYivx9XIJLq7+snrxZtKG5CVn4CBo+gXCs5IWPJC3+dY yGEIZU3KZc7if/4zGywrOdk16r2gGfbgiouPeSmf8Csx8wM2+RTJGHQDMa4249EFgtqd XKQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=qeWM3clNU3uJNRLTBgPkz0oq23aWLhRpnv07nYVU28A=; b=uSnmW1MiRPVBykqj0ihFkjApMPb4LjrMv2cnXqAiL29NTh4IZE7V2QqNLDXCq5T1vn FWCSwZvp65ADH0iaTm/wt7PFwfxsfL64IJLPEBVrxeOm59DLWwzX2WfuObanrh2d0h9c nCF5Xbw+ztKD30aQsg/mN+Uv7raRR+jRwwXpgpTlAixipY7Y3nsnKNyQf+7mmB6V/xns n6ZngAl9hrVDW6NUQhruVp0lUP2lIdmDlpHwQrOuIRzSrVxDUiwcfBZvsoxOS9moBm8F nav37qfFwzFs8rMt0vLTCBcqyLt7IsD2CD5sba6SU4HDbJTSkJ9y2DXtFQEJmIJQyn1d C7Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aol.com header.s=a2048 header.b=bNa8B5zM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=aol.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b4si4778768edk.331.2019.09.18.16.45.51; Wed, 18 Sep 2019 16:46:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@aol.com header.s=a2048 header.b=bNa8B5zM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=aol.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731073AbfIRWos (ORCPT + 99 others); Wed, 18 Sep 2019 18:44:48 -0400 Received: from sonic302-22.consmr.mail.gq1.yahoo.com ([98.137.68.148]:39858 "EHLO sonic302-22.consmr.mail.gq1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725909AbfIRWor (ORCPT ); Wed, 18 Sep 2019 18:44:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1568846686; bh=qeWM3clNU3uJNRLTBgPkz0oq23aWLhRpnv07nYVU28A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=bNa8B5zMNrhPfbC8eYyT9//9+mIlw8wpsDjvtdrD5IsaAetmdK6fWPrZtrzm2bAv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IUWp_cZULzmQkA_jXIL37NkbIl pYqYNGDLqHS9LeEQ11naxMz8Q8ADyxX3zgQlLMmE3NLJ.niuJkkCLP4mkS49dvKQbSEf.C3zeB6M l3z2kiqdG5izpKlifH3xYKS7fANnvmNtqFf4PCqLY4Bf1zgVtr95ynhY0SCV.R_3ErfGBDkg9JIE hZEqpsfDqa1aLTSLX_ajISNuFI81wBEa7rvtyyHiiDWY6evP5J50lyImALLWctR53cbvAKblysMr onRMP4KmMeUzLainlUsu6Suu4kLVJw1qFmIF5vGl8jAUJ5qLyRBtuozE4gX817Y0EngbWOkS.ume kYQdeYfB51zXhbDBWXI6XnozeA_ZRzsNFK_HS0sX.a8_7HypdC9S1XxeV.wUfYh9CWr8RgBZ8peb owUVeOUdozwoUtuzWX2ENyw43cQPWp4SIe3TUUnOwVAJCVe0j62MlRfceb3K393VWSf9S77DiWQd 3qBOygO6qKtMhkW7gnrARGwMJTuSO_CVoWdDukbe8PrRmE3LYuvQnkzruGiggw44awI7XXRpGN1P oBrtCbUJ.pJUdKljyFTcTrQGYAqXKIHiW3d8rL4Y- Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.gq1.yahoo.com with HTTP; Wed, 18 Sep 2019 22:44:46 +0000 Received: by smtp431.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 70c22b09dff901a0cf446ffa2243c519; Wed, 18 Sep 2019 22:44:44 +0000 (UTC) Date: Thu, 19 Sep 2019 06:44:39 +0800 From: Gao Xiang To: Christoph Hellwig Cc: Greg KH , Stephen Rothwell , Andrew Morton , Linus Torvalds , linux-kernel@vger.kernel.org, devel@linuxdriverproject.org Subject: Re: [GIT PULL] Staging/IIO driver patches for 5.4-rc1 Message-ID: <20190918224435.GA25175@hsiangkao-HP-ZHAN-66-Pro-G1> References: <20190918114754.GA1899504@kroah.com> <20190918182412.GA9924@infradead.org> <20190918211123.GA22600@hsiangkao-HP-ZHAN-66-Pro-G1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190918211123.GA22600@hsiangkao-HP-ZHAN-66-Pro-G1> User-Agent: Mutt/1.9.4 (2018-02-28) X-Mailer: WebService/1.1.14303 hermes Apache-HttpAsyncClient/4.1.4 (Java/1.8.0_181) Content-Length: 1673 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 19, 2019 at 05:11:28AM +0800, Gao Xiang wrote: > Hi Christoph, > > On Wed, Sep 18, 2019 at 11:24:12AM -0700, Christoph Hellwig wrote: > > Just as a note of record: I don't think either file system move > > is a good idea. erofs still needs a lot of work, especially in > > interacting with the mm code like abusing page->mapping. > > I know what you mean, that is a known stuff in the TODO list, > Z_EROFS_MAPPING_STAGING page->mapping just be used as a temporary > page mark since page->private is already pointed to another > structure, It's now be marked as an non-movable and anon pseudo > mapping and most mm code just skip this case. Add a word, these pages are all non-LRU and short lifetime temporary pages (and need to differentiate with other NULL mapping pages [a lot of different type pages could have this intermediate state]). Alternate way is to use some page flag but that is what I really want to avoid this limited resource. For EROFS, it's widely deployment on each new HUAWEI mobile phones on the market this year and all old HUAWEI modile phones are still supported by upgrading to EROFS version and there are many pending new features for EROFS and a mature fixed-sized output compression subsystem in the future if more fs users have interested in that and I think it's good for whole linux ecosystem not just on a single filesystem upstreaming basis and we will continue working on this area. Thanks, Gao Xiang > > I think a better way is to use a real address_space structure for > page->mapping to point. It's easy to update but I need some time > to verify. If I am wrong, please point it out... > > Thanks, > Gao Xiang >