Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1566501pxb; Tue, 8 Feb 2022 22:32:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJy8PK3lidRjD8jCFc3El4UV6/gez6GZkfglO9mFCljI8ZC/OqW+eJxHwJqBDl0fEcmLZ1Lj X-Received: by 2002:a63:e04a:: with SMTP id n10mr754709pgj.487.1644388349669; Tue, 08 Feb 2022 22:32:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644388349; cv=none; d=google.com; s=arc-20160816; b=mEMMQAh6nYymJUffll3WVFwm78WbD/j1Ws61J9bngpsyhXhgKlIW6TQjZzvwaFgwvC /M4AJuEiVc6rt8h32oN2O4x8IpXD3a8Ir7Kw2gZV29bEPCVW0DKCySQPCflPBbVBY3r6 6ioAYx9NlCx1cZaM+hCmYRneJvf/r9eLlJRS8w7HfFrtuMDIskBBK29Adjnzj35ANKIj MOXhHRw3u/JKx784XoNxnRkekiwS1b0QhMrJ6VcU336N+nguGXymDRxPETS20z1JZnLd th9u/jScxiBFbJwU+Qg3wnzhLyL7LHFrQLSvcxEcyC4hQBIui2l0RXrlWXCbr6Pct2C5 F5Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from; bh=rPqk6PFI8GL5ArUZZm1T4fkr5I09wKkFDEw0TGWUmzs=; b=cWxdpudP9uF8sdUiJP4VBSAc1nRCTxlBG7H0vCDnQPoAiDvcSu7RgLJUsTYmqmjiJ7 Nr24bPpet2ngGMIVYUsRqDRvj2Zo4rGFQ5ai5v+KzpkQzYJlJ3pAHXXPUozNNBwmkVXj 7J/pFvkLmq1gPzAK/U1vjg9tbbv8qp5gbF80AEUDY7VGGN+QWCN6y0/RAI0wbaJmBAk7 ZQGYWYq+TPM6IbfjA5u43RZCz8W/lYD6ZWweddqeNWwg/ggFPo4E8XSngmVcPaXf5oIM skhGtkk60RxmVb3bAK4VcpiOIjhIluDhs5j8uRm9uWP54pIaP22wJOTsLz8Ej9EoFM2D CSAg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x18si13847928pll.165.2022.02.08.22.32.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Feb 2022 22:32:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AC57DC02B5D7; Tue, 8 Feb 2022 22:11:50 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241038AbiBGIxx (ORCPT + 99 others); Mon, 7 Feb 2022 03:53:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349261AbiBGIqg (ORCPT ); Mon, 7 Feb 2022 03:46:36 -0500 X-Greylist: delayed 503 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 07 Feb 2022 00:46:33 PST Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9651C043181 for ; Mon, 7 Feb 2022 00:46:33 -0800 (PST) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Jsffm0nXYz1rB81; Mon, 7 Feb 2022 09:38:08 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4Jsffm00XGz1qqkP; Mon, 7 Feb 2022 09:38:07 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 7iAGubkoVI4f; Mon, 7 Feb 2022 09:38:07 +0100 (CET) X-Auth-Info: 3fmUPnVS0Kvboy0oxbh9eBJwvyO+NTPtLCgh38lLIqw+6NL2h6OEzMlpGRGwyssh Received: from igel.home (ppp-46-244-191-16.dynamic.mnet-online.de [46.244.191.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 7 Feb 2022 09:38:07 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id 9D7122C36AF; Mon, 7 Feb 2022 09:38:06 +0100 (CET) From: Andreas Schwab To: David Abdurachmanov Cc: Jisheng Zhang , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv , "linux-kernel@vger.kernel.org List" Subject: Re: [RFC PATCH] riscv: reduce THREAD_SIZE from 16KB to 8KB for RV64 References: <20220206174359.2986-1-jszhang@kernel.org> X-Yow: .. One FISHWICH coming up!! Date: Mon, 07 Feb 2022 09:38:06 +0100 In-Reply-To: (David Abdurachmanov's message of "Mon, 7 Feb 2022 10:05:14 +0200") Message-ID: <87bkzjvzpt.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On Feb 07 2022, David Abdurachmanov wrote: > On Sun, Feb 6, 2022 at 7:53 PM Jisheng Zhang wrote: >> >> After irq stack is supported, it's possible to use small THREAD_SIZE. >> In fact, I tested this patch on a Lichee RV board, looks good so far. > > We went from 8K to 16K somewhere in mid-2020 on riscv64 because we > were seeing some random crashes in various distributions (Debian, > Fedora, OpenSUSE). Thus we matched what other popular arches do, i.e. > 16K. I think NFS is one of the worst offenders. I'm running an Unleashed with NFS root, which probably amplifies this. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."