Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp688484rdb; Tue, 19 Sep 2023 07:29:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGGBWlFDdJNmIYJpvIXt1UJ6d35brRUNAJ9JO8ioHqXFNT/mv0GCMmLBZqD48Jbvt5vQJY4 X-Received: by 2002:a05:6a20:440d:b0:15a:3285:e834 with SMTP id ce13-20020a056a20440d00b0015a3285e834mr15252392pzb.4.1695133751587; Tue, 19 Sep 2023 07:29:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695133751; cv=none; d=google.com; s=arc-20160816; b=luRBjPu0Wl5MDaS9h+OG7/Vj2ExfxzCU3smbVEE3Hfb6JnBmFBx/n/rGXNzZTaoH3O eVfID2SO+NjYLQwJTh1blBB+OPeuOCvVqwkO7bom16zBjKefaUfZGlMO2czqrzTnOBID BeLHVW9anlVo+3/NkNEF8t5e9W7l/+l0C5FkogUKku17uQGuc1MD1YzTBkTZMkemfqvI L2gIYXHoY6+a3GNb0KDYYM18r/dcth/bcQDGdm1m/CccwxLjgk3TzUkTJKbKHEatRJTH +gmFeT1rOCLKPxWzshxKSpnb6naAwCmsKRwbuCCveanIqKq3fByyxBrstG/9pmswjpOn yHGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:mime-version :content-transfer-encoding:content-id:content-language :accept-language:in-reply-to:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature:dkim-filter; bh=40z8z1Hk73M2hkRg1wiBJ5ltFVq3yIwwQsZN0SRdJQk=; fh=e7xm66zOjCR/z2kgwS0WBNl6VrP39SE55EBDcUI7SHo=; b=DCa6INrpKUmkWWJIwj+OB7/X6IvIPL2NUxCAO88h2A4IGwJ+djJVXFqKD3zycmz1H8 bMjsWm89FGP+/XIEYQj/ENWw3UOr4DWCy1VGekBqhAoTUdIA8iiId4iyu/vxIJG3pEbj NHAGzen25LE+55UXUk4SqsU2Yv4KBOuxxKRX1nao8jcl61avPFM+BIgdFkiEraP6NMr6 L9vU5ud/rWm9luvvKOjFORUz7JNWImUnMFfLX5VcF2A54fSiHcZ4JmOTyhSBP0UxNy3w LkakgsmROrjMxX/dy4/NI355n92p+ZInN2tHc8qPXGQghOJWnJa9A9RhFLleWbTghuzo 1ZQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=QkmWHV2y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id x186-20020a6386c3000000b00578b911f5a1si1085099pgd.533.2023.09.19.07.29.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 07:29:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=QkmWHV2y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 3D97880190BC; Tue, 19 Sep 2023 06:27:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232339AbjISN1e (ORCPT + 99 others); Tue, 19 Sep 2023 09:27:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232338AbjISN1b (ORCPT ); Tue, 19 Sep 2023 09:27:31 -0400 Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F0D8F1 for ; Tue, 19 Sep 2023 06:27:23 -0700 (PDT) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20230919132718euoutp02576a0467cf638cd7ceec556b295e6818~GT8oFCiVE1915519155euoutp02i for ; Tue, 19 Sep 2023 13:27:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20230919132718euoutp02576a0467cf638cd7ceec556b295e6818~GT8oFCiVE1915519155euoutp02i DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1695130038; bh=40z8z1Hk73M2hkRg1wiBJ5ltFVq3yIwwQsZN0SRdJQk=; h=From:To:CC:Subject:Date:In-Reply-To:References:From; b=QkmWHV2y1/NWdbsR1xjb0RbzT2vhEW1YXTd+EhBxSND346K7KbjGvht2wliCwNhV0 EoIJsTsCRGnqqPh0bn7/A1rB2jB2d9kEvA9E17/csS1rHDU4UQwzJ8XpVXoqZxY0MK dIYhLAPOaO5bYJzZyXGLGDpERAWzWhhjO0lWPghM= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20230919132718eucas1p2690958eecaa6a552a57fee113946a99a~GT8nwyobo1210812108eucas1p2J; Tue, 19 Sep 2023 13:27:18 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id DF.CA.42423.6B1A9056; Tue, 19 Sep 2023 14:27:18 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20230919132717eucas1p14025d8b15de60bc47717f7109006a7df~GT8nIzafE0694306943eucas1p1w; Tue, 19 Sep 2023 13:27:17 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20230919132717eusmtrp1e2032a27255919decb261e686f7e95d6~GT8nHqlYu0971909719eusmtrp1O; Tue, 19 Sep 2023 13:27:17 +0000 (GMT) X-AuditID: cbfec7f2-a3bff7000002a5b7-fe-6509a1b66889 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 4F.AF.14344.5B1A9056; Tue, 19 Sep 2023 14:27:17 +0100 (BST) Received: from CAMSVWEXC01.scsc.local (unknown [106.1.227.71]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20230919132717eusmtip25883ef57b8ec7ed35d8b476c6b813de3~GT8m8TsEj1522015220eusmtip2S; Tue, 19 Sep 2023 13:27:17 +0000 (GMT) Received: from CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) by CAMSVWEXC01.scsc.local (2002:6a01:e347::6a01:e347) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 19 Sep 2023 14:27:17 +0100 Received: from CAMSVWEXC02.scsc.local ([::1]) by CAMSVWEXC02.scsc.local ([fe80::3c08:6c51:fa0a:6384%13]) with mapi id 15.00.1497.012; Tue, 19 Sep 2023 14:27:17 +0100 From: Daniel Gomez To: Yosry Ahmed CC: "minchan@kernel.org" , "senozhatsky@chromium.org" , "axboe@kernel.dk" , "djwong@kernel.org" , "willy@infradead.org" , "hughd@google.com" , "akpm@linux-foundation.org" , "mcgrof@kernel.org" , "linux-kernel@vger.kernel.org" , "linux-block@vger.kernel.org" , "linux-xfs@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "linux-mm@kvack.org" , "gost.dev@samsung.com" , Pankaj Raghav Subject: Re: [PATCH 6/6] shmem: add large folios support to the write path Thread-Topic: [PATCH 6/6] shmem: add large folios support to the write path Thread-Index: AQHZ57o0gOj42/h7V0WVSDdaHJaWqLAcJBuAgAQHWgCAALe7AIABNpkA Date: Tue, 19 Sep 2023 13:27:16 +0000 Message-ID: <20230919132633.v2mvuaxp2w76zoed@sarkhan> In-Reply-To: Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [106.110.32.103] Content-Type: text/plain; charset="utf-8" Content-ID: <8E24B553E1C01443868318873E7B686E@scsc.local> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrBKsWRmVeSWpSXmKPExsWy7djP87rbFnKmGqy8JW4xZ/0aNovVd/vZ LC4/4bN4+qmPxWLvLW2LPXtPslhc3jWHzeLemv+sFrv+7GC3uDHhKaPFsq/v2S12b1zEZvH7 B1B2+65IBz6P2Q0XWTwWbCr12LxCy+Py2VKPTas62Tw2fZrE7nFixm8Wj8+b5AI4orhsUlJz MstSi/TtErgy3mzdzFpwxKmiZ/cFtgbGFw5djJwcEgImEq+u3WbvYuTiEBJYwSixbOEHKOcL o8THFTOYIJzPjBI3L/xihGmZ9eE3VNVyRoneg58Z4apuXFjLDlIlJHCGUWJypwNEYiWjxLNV G1lBEmwCmhL7Tm4CKxIRUJeYu2YT2FhmgS+sEl83BIHYwgJeEuvn3GGGqPGWeLFzCRuE7Sax +PIOsDiLgKrE5Y1TweK8AqYSU2ZuBItzCgRKdO7dBxZnFJCVeLTyFzvEfHGJW0/mM0G8ICix aPYeZghbTOLfrodsELaOxNnrT6DeNJDYunQfC4StJPGnYyFQnANojqbE+l36ECMtJc70vWGC sBUlpnQ/ZIc4R1Di5MwnLCC/SwhM5ZJ4/f4P1HwXiZaGg1A3CEu8Or6FfQKjziwk581CWDEL yYpZSFbMQrJiASPrKkbx1NLi3PTUYsO81HK94sTc4tK8dL3k/NxNj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QtgG EluX7mOBsJUk/nQsBIpzAM3RlFi/Sx9ipKXEmb43TBC2osSU7ofsELcJSpyc+YRlAqPMLCSb ZyF0z0LSPQtJ9ywk3QsYWVcxiqSWFuem5xYb6RUn5haX5qXrJefnbmIEJrVtx35u2cG48tVH vUOMTByMhxglOJiVRHhnGrKlCvGmJFZWpRblxxeV5qQWH2I0BQbdRGYp0eR8YFrNK4k3NDMw NTQxszQwtTQzVhLn9SzoSBQSSE8sSc1OTS1ILYLpY+LglGpgmnxTM+ad+c9DipNZWxPPsl6r rNBm8Kn+2H+xJk3RtGziT3GBGbf0rA32/MpW/r3qWUwEg3/azITEVw0n1p3Kr1zO7Jf1XLmj TCEx4s7nnWsvlNr6vHly96bCnOQC1gOv77YJ5ZuUZYhvfCG08JrNh3VrfDk3PDxuc/TOvT8B a4P/v4+sXOp2Qs92tUfYudXSHxcIq1hIVy+4eadiGq/eeQkZfQH+y9+Wypjo7I2a37467uU0 hmBDUdfrr3JesrZkLovbt6Oo72Lp5k85Bru2GbGl/py4TrbDUvfSlaoaO/fPj32Wnk+yZPxv MWXRndxn/2Uf3GaMU/l06QGvnXut3iZ/kb5du36Uz4hqNHkbqMRSnJFoqMVcVJwIAJIjgobz AwAA X-CMS-MailID: 20230919132717eucas1p14025d8b15de60bc47717f7109006a7df X-Msg-Generator: CA X-RootMTR: 20230915095133eucas1p267bade2888b7fcd2e1ea8e13e21c495f X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20230915095133eucas1p267bade2888b7fcd2e1ea8e13e21c495f References: <20230915095042.1320180-1-da.gomez@samsung.com> <20230915095042.1320180-7-da.gomez@samsung.com> <20230918075758.vlufrhq22es2dhuu@sarkhan> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 19 Sep 2023 06:27:42 -0700 (PDT) T24gTW9uLCBTZXAgMTgsIDIwMjMgYXQgMTE6NTU6MzRBTSAtMDcwMCwgWW9zcnkgQWhtZWQgd3Jv dGU6DQo+IE9uIE1vbiwgU2VwIDE4LCAyMDIzIGF0IDE6MDDigK9BTSBEYW5pZWwgR29tZXogPGRh LmdvbWV6QHNhbXN1bmcuY29tPiB3cm90ZToNCj4gPg0KPiA+IE9uIEZyaSwgU2VwIDE1LCAyMDIz IGF0IDExOjI2OjM3QU0gLTA3MDAsIFlvc3J5IEFobWVkIHdyb3RlOg0KPiA+ID4gT24gRnJpLCBT ZXAgMTUsIDIwMjMgYXQgMjo1MeKAr0FNIERhbmllbCBHb21leiA8ZGEuZ29tZXpAc2Ftc3VuZy5j b20+IHdyb3RlOg0KPiA+ID4gPg0KPiA+ID4gPiBBZGQgbGFyZ2UgZm9saW8gc3VwcG9ydCBmb3Ig c2htZW0gd3JpdGUgcGF0aCBtYXRjaGluZyB0aGUgc2FtZSBoaWdoDQo+ID4gPiA+IG9yZGVyIHBy ZWZlcmVuY2UgbWVjaGFuaXNtIHVzZWQgZm9yIGlvbWFwIGJ1ZmZlcmVkIElPIHBhdGggYXMgdXNl ZCBpbg0KPiA+ID4gPiBfX2ZpbGVtYXBfZ2V0X2ZvbGlvKCkuDQo+ID4gPiA+DQo+ID4gPiA+IFVz ZSB0aGUgX19mb2xpb19nZXRfbWF4X29yZGVyIHRvIGdldCBhIGhpbnQgZm9yIHRoZSBvcmRlciBv ZiB0aGUgZm9saW8NCj4gPiA+ID4gYmFzZWQgb24gZmlsZSBzaXplIHdoaWNoIHRha2Vz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mbyk7DQo+ID4gPiA+ICAgICAgICAgaWYg KElTX0VSUihmb2xpbykpIHsNCj4gPiA+ID4gIGFsbG9jX25vaHVnZToNCj4gPiA+ID4gICAgICAg ICAgICAgICAgIGZvbGlvID0gc2htZW1fYWxsb2NfYW5kX2FjY3RfZm9saW8oZ2ZwLCBpbm9kZSwg aW5kZXgsIGZhbHNlLA0KPiA+ID4gPiAtICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAmb3JkZXIpOw0KPiA+ID4gPiArICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAmb3JkZXIsIHNiaW5mbyk7DQo+ID4gPiA+ICAg ICAgICAgfQ0KPiA+ID4gPiAgICAgICAgIGlmIChJU19FUlIoZm9saW8pKSB7DQo+ID4gPiA+ICAg ICAgICAgICAgICAgICBpbnQgcmV0cnkgPSA1Ow0KPiA+ID4gPiBAQCAtMjE0Nyw2ICsyMTU1LDgg QEAgc3RhdGljIGludCBzaG1lbV9nZXRfZm9saW9fZ2ZwKHN0cnVjdCBpbm9kZSAqaW5vZGUsIHBn b2ZmX3QgaW5kZXgsDQo+ID4gPiA+ICAgICAgICAgaWYgKGZvbGlvX3Rlc3RfbGFyZ2UoZm9saW8p KSB7DQo+ID4gPiA+ICAgICAgICAgICAgICAgICBmb2xpb191bmxvY2soZm9saW8pOw0KPiA+ID4g PiAgICAgICAgICAgICAgICAgZm9saW9fcHV0KGZvbGlvKTsNCj4gPiA+ID4gKyAgICAgICAgICAg ICAgIGlmIChvcmRlciA+IDApDQo+ID4gPiA+ICsgICAgICAgICAgICAgICAgICAgICAgIG9yZGVy LS07DQo+ID4gPiA+ICAgICAgICAgICAgICAgICBnb3RvIGFsbG9jX25vaHVnZTsNCj4gPiA+ID4g ICAgICAgICB9DQo+ID4gPiA+ICB1bmxvY2s6DQo+ID4gPiA+IC0tDQo+ID4gPiA+IDIuMzkuMg0K PiA+ID4gPg==