From owner-freebsd-mips@freebsd.org Tue Mar 6 23:22:57 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8BF20F392AC for ; Tue, 6 Mar 2018 23:22:57 +0000 (UTC) (envelope-from wolfgang@lyxys.ka.sub.org) Received: from saturn.lyxys.ka.sub.org (saturn.lyxys.ka.sub.org [217.29.35.151]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 01EB8711A4; Tue, 6 Mar 2018 23:22:56 +0000 (UTC) (envelope-from wolfgang@lyxys.ka.sub.org) Received: from juno.lyxys.ka.sub.org (juno.lyx [IPv6:fd2a:89ca:7d54:0:240:caff:fe92:4f47]) by saturn.lyxys.ka.sub.org (8.15.2/8.15.2) with ESMTPS id w26NMe0L033548 (version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=FAIL); Wed, 7 Mar 2018 00:22:42 +0100 (CET) (envelope-from wolfgang@lyxys.ka.sub.org) Received: from juno.lyxys.ka.sub.org (localhost [127.0.0.1]) by juno.lyxys.ka.sub.org (8.15.2/8.15.2) with ESMTPS id w26NMec0079326 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 7 Mar 2018 00:22:40 +0100 (CET) (envelope-from wolfgang@lyxys.ka.sub.org) Received: (from wolfgang@localhost) by juno.lyxys.ka.sub.org (8.15.2/8.15.2/Submit) id w26NMdU5079325; Wed, 7 Mar 2018 00:22:39 +0100 (CET) (envelope-from wolfgang@lyxys.ka.sub.org) X-Authentication-Warning: juno.lyx: wolfgang set sender to wolfgang@lyxys.ka.sub.org using -f Date: Wed, 7 Mar 2018 00:22:39 +0100 From: Wolfgang Zenker To: Eugene Grosbein Cc: Juli Mallett , John Baldwin , freebsd-mips@freebsd.org Subject: Re: ELF - panic on installworld Message-ID: <20180306232239.GB79006@lyxys.ka.sub.org> References: <20180305211635.GA21623@lyxys.ka.sub.org> <5A9DEE9E.6050906@grosbein.net> <5A9DF0D6.7090306@grosbein.net> <1949943.3JoNfSzP6x@ralph.baldwin.cx> <5A9F0CBE.9070909@grosbein.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5A9F0CBE.9070909@grosbein.net> Organization: private site User-Agent: Mutt/1.9.4 (2018-02-28) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (saturn.lyxys.ka.sub.org [IPv6:fd2a:89ca:7d54:1:200:24ff:feca:b4cc]); Wed, 07 Mar 2018 00:22:42 +0100 (CET) X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2018 23:22:57 -0000 * Eugene Grosbein [180306 22:48]: > 07.03.2018 3:14, Juli Mallett wrote: >> That said, we could easily use a more flexible wired TLB entry scheme, >> including smartly using pagemask in the cases where the number of pages is >> suitable. If we wanted to allow wiring of mappings into the TLB flexibly >> at runtime we could do that, or we could just at compile-time have >> different code to handle different KSTACK_PAGES values. People have strong >> feelings about some of those options, but if there's a workload-oriented >> pressure to move in a different direction, it should be very easy to do. > I cannot understand what "feelings" may exist about kernel stack shortage leading to panics. People being people, they have feelings about everything, no matter if that is logical or not. So it is better to be prepared for it.