Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp1326570rdb; Sat, 23 Dec 2023 02:31:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IHOFv3slXZp3RMyBkt1/9Gv3YzZEvnE/V3d7XE8QJ7zhysXIFwpbBd3eGunsHWLu1ARQpBz X-Received: by 2002:ac8:57c1:0:b0:427:8fa3:c5ba with SMTP id w1-20020ac857c1000000b004278fa3c5bamr2959219qta.133.1703327514271; Sat, 23 Dec 2023 02:31:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703327514; cv=none; d=google.com; s=arc-20160816; b=TkdlnNsRuadbDiZu7jyj+qbrjV9C2NJxJClrNaFBzMCv8s4YRqVGAFnmfJ+IGVLu54 nbS7u5vkNZFVyYfA8Vf4QQTzdCAIGdpkr2qNApzl+frSilbtYee8Iguc237XC+43Vm3o oLq74VXsybi0LukS7dXJwE+ODZK0/eAquTAlYtQBYMu+LeDDq+0FCZyc6tk3yo0zW/ss eWNrDHOS4oWtvfm5zM734Xg8DvISZy0D4+PkdesyDgQBoXMOf3b7eS0fqTPoFD37SpE/ 9t5YxWI9e1nbblFN8uOQabqmBm/vMlpiQGAIq3Zj/VwNzRhN3x1G/DGxN3fpLk+DTzqo hdYg== 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=3jSQZNNuwByADXW3TvNY80ja/6LWkeHDteSQ0QXuZhQ=; fh=7f7ldjASoi3v4VhgNTDSnD3903cyRtQmcilgbiCkzrA=; b=hmRP6SS+buJWUwjpz+cvazth2E0Fic91IU48ri/4KVV7pydvtTV4zWss9wj3Yv0dq/ IRjvxCwTT1wBNBKj+65sTuISZW+T+GIMrOVCJPfHMG6WxjL3xiNpv+MsKgySnir8Jv8+ Qb9NhnovXLiMduEKVw2wEPE5J0ixnMeWybCpaGhf6LRkSsa77kpN142AYQFR24kimAvC Q29yv+ikbqBX3kEPUkIiHqF47bdDagH8whPs3Mpyd9Wndnz68MtHWgRq2Vn27DB2opgg A5ukMnkY2GPu3DcQ3HTgolTHNJ7MCqYwAPVv4CbGMTVdiJanfHmJ9G4U9L6PpVapak8x YmJQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-10380-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10380-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id e13-20020ac85dcd000000b00423b62153f5si6459814qtx.341.2023.12.23.02.31.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 02:31:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10380-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-10380-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10380-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id ECF7B1C21508 for ; Sat, 23 Dec 2023 10:31:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B3394C2D6; Sat, 23 Dec 2023 10:31:46 +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 9CB8E946D for ; Sat, 23 Dec 2023 10:31:39 +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-228-U5G35-zWOAaFHs2mKPMClw-1; Sat, 23 Dec 2023 10:31:31 +0000 X-MC-Unique: U5G35-zWOAaFHs2mKPMClw-1 Received: from AcuMS.Aculab.com (10.202.163.6) by AcuMS.aculab.com (10.202.163.6) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Sat, 23 Dec 2023 10:31:16 +0000 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Sat, 23 Dec 2023 10:31:16 +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+wgAD9mACAAH0Z4A== Date: Sat, 23 Dec 2023 10:31:15 +0000 Message-ID: <9d4d15e8e3e944b8bd18e8bc1d54f59c@AcuMS.aculab.com> References: <20231221154702.2267684-1-guoren@kernel.org> <20231221154702.2267684-5-guoren@kernel.org> 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 RnJvbTogR3VvIFJlbg0KPiBTZW50OiAyMyBEZWNlbWJlciAyMDIzIDAyOjUzDQo+IA0KPiBPbiBG cmksIERlYyAyMiwgMjAyMyBhdCA3OjUy4oCvUE0gRGF2aWQgTGFpZ2h0IDxEYXZpZC5MYWlnaHRA YWN1bGFiLmNvbT4gd3JvdGU6DQo+ID4NCj4gPiBGcm9tOiBHdW8gUmVuDQo+ID4gPiBTZW50OiAy MiBEZWNlbWJlciAyMDIzIDExOjI1DQo+ID4gLi4uDQo+ID4gPiA+ID4gKyNkZWZpbmUgVEFTS19T SVpFICAgIChpc19jb21wYXRfdGFzaygpID8gXA0KPiA+ID4gPiA+ICAgICAgICAgICAgICAgICAg ICAgICAgVEFTS19TSVpFXzMyIDogVEFTS19TSVpFXzY0KQ0KPiA+ID4gSSB3b3VsZCByZW1vdmUg aXNfY29tcGF0X3Rhc2soKSBpbiB0aGUgbmV4dCB2ZXJzaW9uIGJlY2F1c2UgeW91ciBwYXRjaA0K PiA+ID4gY29udGFpbnMgdGhhdC4NCj4gPg0KPiA+IERvZXMgVEFTS19TSVpFIGdldCB1c2VkIGlu IGFjY2Vzc19vaygpID8NCj4gPiBJZiBzbyB0aGUgcmVwZWF0ZWQgZ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