Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp1894423rdb; Sun, 24 Dec 2023 06:38:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IFf3ccXkVsWgJ5sw+H/egevjlUwCWusExE6jYytJd7JES+OkTnqnh97pP3Hps3esCK3mnTr X-Received: by 2002:a17:906:1c4a:b0:a19:a19b:c6ff with SMTP id l10-20020a1709061c4a00b00a19a19bc6ffmr1734187ejg.79.1703428712628; Sun, 24 Dec 2023 06:38:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703428712; cv=none; d=google.com; s=arc-20160816; b=hezx6V1rftuUhLJxoaMZNQd8k0iNJjmG9xAU9p2dgRZRwAvVtiOpT5UlRB0dyasztg asBh1exLI/GxB9hMT1KOEyuhjeXmWiPTFo5A/XcvbUq4z7ESWVZ2uzoFN6TQCJpYykkz dip8EM6acW99K7mp9hF4Q5CLko23GOU+5X+9RVU73gbkm8Z44FXHGaJv5nufxb/dZsBL 9guSHwejUsvXCoY8KCT1uG6xECL6biTWXA39pzuKgSWUB98iU9Bdkp27oGpJb1r/7BKq O07UMGMEsiAG1YwaiNJ55rkMiUt5zSw3HHEmlBkOaznLNL9RRHBsBmB8ymONQWFBz54t r2wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from; bh=yNcuIsGQ99HlfHHXSO4LXJtsjHTlDgRF/XbDBUq7Tjs=; fh=7f7ldjASoi3v4VhgNTDSnD3903cyRtQmcilgbiCkzrA=; b=y+VmuOedzLa9+dLO21d7cviBYB3HYpj6g2ETCjybDzyWuc0w5MZ48ZutvC3TxQDPOx preZ/wMdOnGBqzSvXUrknNo3Gd2ZpYg6XWqh8j3w57PEapQNrnMaDkA1fTrFyia5fv8a 518ik/BUwANOdgq+FNJ50uMTx2XwcCTtkuQkc6H5c1SGkXAYB/3hTIfLpJBNeHZNIwpc 85CrsJsL03q/bNYaewUwDKMSbhjEmSmbQiEibfJEXnke4Ra/ccibK+MnQxab4vYhvTmM UFEpFVKBgEm5nuJauRrCxoHdOaeqKq9AAY8IGGwRN0cbVHR6psyGTwBwuSxwaTUw9Yfn +EUQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-10732-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10732-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ec15-20020a170906b6cf00b00a26ef699425si260130ejb.344.2023.12.24.06.38.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Dec 2023 06:38:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10732-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-10732-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10732-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 35A9A1F218D8 for ; Sun, 24 Dec 2023 14:38:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0BAF95697; Sun, 24 Dec 2023 14:38:25 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 998905663 for ; Sun, 24 Dec 2023 14:38:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ACULAB.COM Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aculab.com Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with both STARTTLS and AUTH (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-270-G_GBy4ibM22dzQOYQeJs3A-1; Sun, 24 Dec 2023 14:38:13 +0000 X-MC-Unique: G_GBy4ibM22dzQOYQeJs3A-1 Received: from AcuMS.Aculab.com (10.202.163.4) by AcuMS.aculab.com (10.202.163.4) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Sun, 24 Dec 2023 14:37:54 +0000 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Sun, 24 Dec 2023 14:37:54 +0000 From: David Laight To: 'Guo Ren' CC: Leonardo Bras , "linux-kernel@vger.kernel.org" , "paul.walmsley@sifive.com" , "palmer@dabbelt.com" , "alexghiti@rivosinc.com" , "charlie@rivosinc.com" , "xiao.w.wang@intel.com" , "david@redhat.com" , "panqinglin2020@iscas.ac.cn" , "rick.p.edgecombe@intel.com" , "willy@infradead.org" , "bjorn@rivosinc.com" , "conor.dooley@microchip.com" , "cleger@rivosinc.com" , "linux-riscv@lists.infradead.org" , Guo Ren Subject: RE: [PATCH V2 4/4] riscv: mm: Optimize TASK_SIZE definition Thread-Topic: [PATCH V2 4/4] riscv: mm: Optimize TASK_SIZE definition Thread-Index: AQHaNMmXQnV6P1CryUOzF1IfQQ8rsbC1Lv+wgAD9mACAAH0Z4IAA/HsAgADbDKA= Date: Sun, 24 Dec 2023 14:37:54 +0000 Message-ID: <794c14d6c979495e869d7ba03a935e3b@AcuMS.aculab.com> References: <20231221154702.2267684-1-guoren@kernel.org> <20231221154702.2267684-5-guoren@kernel.org> <9d4d15e8e3e944b8bd18e8bc1d54f59c@AcuMS.aculab.com> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 RnJvbTogR3VvIFJlbg0KPiBTZW50OiAyNCBEZWNlbWJlciAyMDIzIDAxOjI0DQouLi4NCj4gPiBP bmUgcG9zc2liaWxpdHkgd291bGQgYmUgdG8gc2F2ZSB0aGUgdGFzaydzIG1heCB1c2VyIGFkZHJl c3MNCj4gPiBpbiB0aGUgdGFzayBzdHJ1Y3R1cmUgaXRzZWxmIC0gdGhhdCB3b3VsZCBzYXZlIGFs bCB0aGUgY29uZGl0aW9uYWxzDQo+ID4gYXQgYSBjb3N0IG9mIGFuIGV4dHJhIHZhbHVlIGluIHRo ZSB0YXNrIHN0cnVjdHVyZS4NCg0KPiBJdCB3b3VsZCBzdGlsbCBjYXVzZSBtZW1vcnkgbG9hZCBv cGVyYXRpb24sIGFsdGhvdWdoIGl0IGlzICR0cC0+eHh4Lg0KDQpBbGwgdGhlIChtaXNwcmVkaWN0 ZWQpIGJyYW5jaGVzIGFyZSBsaWtlbHkgdG8gY2F1c2UgbW9yZSBvZiBhDQpwcm9ibGVtIHRoYW4g YSBsb2FkIGZyb20gdGhlIGN1cnJlbnQgdGFzayB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