From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60]) by gnuweeb.org (Postfix) with ESMTP id C21157E2BC for ; Tue, 27 Dec 2022 18:58:44 +0000 (UTC) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 2BRIwaWS006309; Tue, 27 Dec 2022 19:58:36 +0100 Date: Tue, 27 Dec 2022 19:58:36 +0100 From: Willy Tarreau To: Ammar Faizi Cc: Shuah Khan , "Paul E. McKenney" , Gilang Fachrezy , VNLX Kernel Department , Alviro Iskandar Setiawan , Kanna Scarlet , Muhammad Rizki , GNU/Weeb Mailing List , Linux Kernel Mailing List , Linux Kselftest Mailing List Subject: Re: [RFC PATCH v1 0/8] nolibc signal handling support Message-ID: <20221227185836.GB6287@1wt.eu> References: <20221222035134.3467659-1-ammar.faizi@intel.com> <20221222043452.GB29086@1wt.eu> <20221222134615.3535422-1-ammar.faizi@intel.com> <20221227062640.GA5337@1wt.eu> <00eee75f-59fa-83b2-c7e1-f0da347b2dde@gnuweeb.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: On Tue, Dec 27, 2022 at 08:36:41PM +0700, Ammar Faizi wrote: > On 12/27/22 8:32 PM, Ammar Faizi wrote: > > > Thus now my focus will be on storing these variables where relevant > > > for all archs, so that your getauxval() implementation works on top > > > of it. It will be much cleaner and will also improve programs' ease > > > of implementation and reliability. > > > > Are you going to wire up a patchset for it? > > > > If so, I'll wait for it. When it's already committed, I'll base this > > series on top it. > > > > Or I take your series locally then submit your patches and mine in a > > single series. > > > > What do you prefer? > > Side note: > I only know x86 Assembly. So unfortunately, I can't get them working > on all arch(s). The nice thing about assembly is that once you know one, others are easy to learn to permit you to write code that you can test. You can have a look at MIPS for delayed slots, SPARC for register banks, ARM for instructions that do multiple operations at once and you'll have seen most of the basics that you'll ever need. Also all of these are RISC based and cannot load a full-length register in a single instruction, that's possibly the most confusing thing when you come from x86. And it's also very interesting to see differences in constraints ;-) Willy