From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Tue, 05 May 2026 00:10:28 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-pj1-f60.google.com (mail-pj1-f60.google.com [209.85.216.60]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 644MAQxh021217 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 5 May 2026 00:10:27 +0200 Received: by mail-pj1-f60.google.com with SMTP id 98e67ed59e1d1-35845fcf0f5sf5022511a91.0 for ; Mon, 04 May 2026 15:10:27 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1777932620; cv=pass; d=google.com; s=arc-20240605; b=L/ROIl/CnKGfN6KWldLi3SSXVZ5RhNLh9j9iEbXoIKgVuFVUiDM35Q+vhJgR5gFVly m2/hNcod8QY5hnRtlIgCN5SWovFEb704MBwIp+WMVCzK8jBbb1cdiTNVUprDLedvkifI 8d6YN6raDoMDlvdlT9sZIDrXyBoJMT9qOZIOjg52CZWyYbrOprt6h1JwPxa9lS6l+Iiu OxxgwQyJpYE0jM5lU+DgUuNz7FdcAudUBgl6ZcwU8H8ye1llWuL3KdcRlcK1+zyHJfB9 Lhe+is9RnjzimYtTYJ5gwGQ9uPn7ETAYKoXZQ/BcI4x60e4mao65WXXPz+l5aPHliFIY XRRA== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=M9Zpr7quSc23MU5A2A8+Efu3BaIWuXjXw1/+KBiU5Q4=; fh=J1+VgSKojD2d/xNYk03oM6KnZi7qKZmM8ETQ4bbXTDs=; b=H0y5KIdyj0x2Ra8LW2u+fZlQuOphEIkZuZ7pvXJnR/5emt0aWwDIx0dGTbbr/zD3Kd mvehEiEDSyPc4uOkja/Zg+utyA94samddmy1CBj8tjdLU4s1z4vTDWvLEaSRTWyY3Fz8 wav27qRASrtlHNF7fU+2+M9mVGWwTVtYKM6XvT7yNIPUAAnORM+es7X6hmW9/Qr0dTMz ajvJQlkKQ1+Wuo2fQtyP6jSJNobMy8XvYwc2WIAU43iO6vays0iNoaxIv/6xSg9IbIX1 X77fGAXSzTTHpEA3sGLtwHlSRkr31WNohVWs7gMZ87dfVXOmeH8dL++oWMnRj6FTu2Ul eaOA==; darn=ilbers.de ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20251104 header.b=Q3y72fuj; arc=pass (i=1); spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::112b as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20251104; t=1777932620; x=1778537420; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:sender:from:to:cc:subject:date:message-id :reply-to; bh=M9Zpr7quSc23MU5A2A8+Efu3BaIWuXjXw1/+KBiU5Q4=; b=FtZlJMKzpoPLHS2XXUbwQ32rn4bQGQx/FO8dR7Hu15Rz55tas5t9oBBK/BLJeaPjK+ teecukrnsSGwKKODYjwXZZLZydNvxKYogCcOiGWoIFY2FwzVKku/SP7GZNdVO+EftUmo WuiN4l4IlN2T1WifrHDYNJQjVAi/9n4ZabqcINmX+TMm7tm6Y15CIxK96dZHjV6XcxPv 0VSAJqd+zXEIJY8Cx91SGo0DgVnzZCweBsB5ivD/Hb4G95a2bqp8InLxAkTeVfIPkmFF N46z8/D6oJTNci8266/qieT5IIP7avZ19w9sERP0vFMba1fyhGY+Q/38naLSLqps8QiF +HLg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1777932620; x=1778537420; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:from:to:cc:subject:date:message-id:reply-to; bh=M9Zpr7quSc23MU5A2A8+Efu3BaIWuXjXw1/+KBiU5Q4=; b=h62OYGIjrmZJq7aVTRySZ9hkDPjhILZ0nMZY4ZAoK2IzPxovpRaCvG20oynN77Wejl MuYkzrUXoxPsWvXkpE8mRTVKMMkFrKWmQCXL9ONlbXprai/A5FR2zFfewRTZA5hQKmhE Qnf5m1PsM2CEqJh/e5nQx4yVMVMEmwlGZ2vy0L40nwvADbx1Qipwf9WQW0VuvGmWzjsl 44ZsSO7isRIXUJghmBu+MlJAH1HwdFiA8/gcr6DCvSdd24TpfGZwJv8Fks4A15GhoLId 96FpOIWiWZ6JiHlWxMoKTbVj+n4Vjl0BRogGTT7aJP0oum45wROG3TNzToxOyzM/cznD FpBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777932620; x=1778537420; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version:x-gm-gg :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=M9Zpr7quSc23MU5A2A8+Efu3BaIWuXjXw1/+KBiU5Q4=; b=lBrHJFtKDw1McNlrQHxDlBRgjfbZo+Zg+Wj6DQKSYnQH0ZAC7ej3JMR5idyVcsvei8 oFqpoZLVhV2HlMNRpvo6BcDzgUAxxuJpZ2W8qSaiF788M9kf/7Ircthdx6meZNlAqTfv M4nDUqfl9klUuVO60ghu8J7idhByDdQQ0cNVpr20TBMHUGISOKN8F7v/dJ4QWp5gw8ww KJDGs2K5tKh+c9HllNKvneh1c2SK0o96C0oP3IoTipEBVmfKDc2jjQQ/Vin5jxAQIOUA GJtNpKk87Ea8pWXaCzensVfWxsu9f2qHWSuFdTsSCYWIB+VgYKMBkk2n2w5Fmq6x1VqT maXw== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=3; AFNElJ+dXgrf+RF601JC4ksmqdWIUjMBUO1Wtx6hapQ1XU+2BF6k5utlAZiiRt5p7VaEAEXF6uNK@ilbers.de X-Gm-Message-State: AOJu0YzM9cpsQgyRqVEON14zPif65tMF63fKss/lQulr+z1bGZ9e4j88 jiOYW7CR4sZOP9FYeov/a8rE88sDwTW4JJhmOwtJKjIgLZOFo5DqCrmp X-Received: by 2002:a17:90b:4b0b:b0:35d:aa02:d776 with SMTP id 98e67ed59e1d1-365722540e7mr965323a91.2.1777932620190; Mon, 04 May 2026 15:10:20 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="AUV6zMNCusE7Pnb+73UTKgEN1WYPYw/5t/7fkoiAdrKjfNUiwQ==" Received: by 2002:a17:90b:100c:b0:35f:b9f3:4383 with SMTP id 98e67ed59e1d1-364bf412dfdls2365172a91.1.-pod-prod-00-us; Mon, 04 May 2026 15:10:18 -0700 (PDT) X-Received: by 2002:a17:90b:1c86:b0:35f:b9ba:45b4 with SMTP id 98e67ed59e1d1-36572036d62mr907641a91.0.1777932618336; Mon, 04 May 2026 15:10:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1777932618; cv=pass; d=google.com; s=arc-20240605; b=bROUSwxGdyP0/TWB0uAOMlcLtSUqVA/MQkmPU7HhTYop63ecsS/9rbM3LSiq4zNz6E RcO3A6E7ZTuEG3qf3BbpId0sCg1RuHZ+RC4MlHns9tweBrQXKIshGdYtyZsetYHTqGp7 bh30uvAj3KvRiQOn2+CrPMom3Twwg30XIZCUHiwaYUnYBEpKd1dZ1B6PySu6wf/UajzO a0T+8SKEixSkqGLmu2qM/DbEoUmdOkjhf80bCmPOFrZMToFgiqy/6hmEFW3d9omApxuI Gkbd2A/8FX+12xXuuAWOH2wMyPpOSAVKX7PzKd2ZSLhi2IIet7JMveSgvhhz7vTNYAGz 8r+g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=5gLOWzUsbczLt+fec5L3L3iMnHdK0PiK9LryBrGFiIg=; fh=ddRaQh03aQXarukoh+N21CJdIIZNqOlz2Os/mBNuL/g=; b=k6EOr7ng3gNnAZSvbWmDJcmHPTSJAND7i+T4RuIZFitkc8W9gfkrPJqlYPv03QFiTN kNfePv6kEkrgueSjO60uf0ApwffsuZgD9yYfHY8+kpZBMKEpKeY2Yr1uGzz5eok3ExdM owvqu9ak9B5kVsLini2w9DGzKu35ZoLDbmVldkclprF70FUCQF3KIuujoG8igxnNVfRR UTTjPAswesT2ewYDP9a03ioSkizkHcsvO8P/MtuaR6TO8lumx+1M9xzmkL3AvSnOyZw8 gchqkYONRMf86engTCuER1xV4RND6L5L4NZA7bt+T6N3v8MB0wGau85FS54N18SNrsSh 0ilA==; dara=google.com ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20251104 header.b=Q3y72fuj; arc=pass (i=1); spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::112b as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com Received: from mail-yw1-x112b.google.com (mail-yw1-x112b.google.com. [2607:f8b0:4864:20::112b]) by gmr-mx.google.com with ESMTPS id 98e67ed59e1d1-36574b4f428si10436a91.0.2026.05.04.15.10.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 May 2026 15:10:18 -0700 (PDT) Received-SPF: pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::112b as permitted sender) client-ip=2607:f8b0:4864:20::112b; Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-7bd6f65c781so29725187b3.1 for ; Mon, 04 May 2026 15:10:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1777932617; cv=none; d=google.com; s=arc-20240605; b=BxFxhyzhDa8nThCPnu3IzVm8xwRnSMuitPnA5/UioFlDdyk7o9zyjlUGhGS6Apj5ZK WrhiIKZk4mPNN2cuC+5ONU/pCbzGAdfkhfDfgQGa6exbevbA3sTaFbODcPYpLVaeiigp Ko6zFzzSASkDW4Q02HQbRJwLyssezF/zaccbQNdsa711B0FIrJeBLN+dbRBM0MfHaKmk rEubOyS8kQkYU6L+uafF7HA4PFm9BGGFQ8kxZhyfGRAaZMsSPdNQbPmhmUNu3Maky23z AvxkxgAeQkoKuzM1rTIUiLB+aYLeHzxyK3LkG74u/ukB0EsNJoqPkUFx8yXs86kCqx6B AmMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=5gLOWzUsbczLt+fec5L3L3iMnHdK0PiK9LryBrGFiIg=; fh=ddRaQh03aQXarukoh+N21CJdIIZNqOlz2Os/mBNuL/g=; b=TtVz0b/0ukWblKhIE2t4WYLZIjJRIY3dTKCpGcM4hMohKGVXliivIVgBzqkG7nz0cN GeNd0gnukrJuSNOiER3Ie1iGJ8SJ5S4oC0g/duKiu3r7DKvQDaGiV+G2+/gJ9AIpE2vp QqYEigeDUyXTnkifxOEed0OwwUDdIRWBxgh/TPGCTy48xpBymvPZknHWWGYirJW6cefs euzoh9ObblgHqQqpglCPoRiRGDwyHk4W1bTKeI6F7KarDl3pf64WW6H9gGZCncNs9wxJ Iex0wSU3pYUB2qinuTWxI26cPebeo4go4CPUbsg0zylAkNWJk4UGFPXNtKGXAnkHhomU bUnA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; arc=none X-Gm-Gg: AeBDies1iRL952avPMC8AzFWl70Qcmo+ZQBa00L8PJECK5WsQUphhDhn3res6fwlfqN tlCFozvNKfo5VqsGvwnBakiP+ufQcEvBqXWDGaxJ3v5opt1MdlugzeeMGjOlAMW6l2BhU37l052 tjhjZu1euXW7xmRfyJIzWABm5RtvXISYqGCxb5RtVr1NwABKEftMiVq7JIv3TT/n+Xf5k4+bWQA mBkdAGOH5ikn12i3QGac0K6oACdaA5KQ33+fcr+tem3FwRY3Juzy67RhL4ItL4p7JxfTkh7rlG+ 7sbzZntPSeIZcgp+7R8cahHqOxJJRyuZiGl16cizo/VK5IZO4saj7D6rEWZKlVef6CkPEGDeH4b a8J+YBwyGZJpocaTr88eXSo0kLeZyhaY= X-Received: by 2002:a05:690c:dd6:b0:798:5213:d90e with SMTP id 00721157ae682-7bda8b728ddmr14636097b3.25.1777932617315; Mon, 04 May 2026 15:10:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Roberto A. Foglietta" Date: Tue, 5 May 2026 00:09:37 +0200 X-Gm-Features: AVHnY4K0Cju5K0BqW-0O1RiS6xBwyXStIqbNuGinsy0BJ_K-K7ZZjjvXvEXjxsA Message-ID: Subject: Re: Isar v1.1 Release Candidate 2 To: Zhihang Wei Cc: isar-users Content-Type: text/plain; charset="UTF-8" X-Original-Sender: roberto.foglietta@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20251104 header.b=Q3y72fuj; arc=pass (i=1); spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::112b as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-3.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FORGED_GMAIL_RCVD, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: 95lRnSzjh8C7 On Mon, 4 May 2026 at 12:02, Zhihang Wei wrote: > > Hi everyone, > > I have just tagged v1.1-rc2 as release candidate 2 for Isar v1.1. > Hi, I propose you consider a couple of patches of mine for busybox to include in ISAR as external patches. URL: https://github.com/robang74/busybox/tree/master/patches patches/ - 0004-replacing-time-functions-for-thread-reentrant-safety-v2.patch Replacing time functions for thread & reentrant safety, patchset v2 The listed changes following a static code inspection by one of the most used automatic analyser and reported as critical flaws but usually BusyBox is compiled static and leverages the fork() magic which on modern architectures do a copy in memory of the whole process by copy-on-write (CoW) optimisation. The functions ctime(), gmtime() and localtime() which uses a static buffer thus are not re-entrant / thread-safe, and in BusyBox their use correctly addresses their limitation in the most common scenario above depicted. However, fork() has its own use cases limitations as well. The fork() isn't available on no-MMU architectures which usually rely on vfork() while dynamic cpu/mem allocation in cloud infrastructure is the opposite architecture spectrum edge in which fork() magic (CoW) starts to face drawbacks. Plus libc-pthreaded despite being not common are other cases in which reentrant / thread safety is required. This patch replaces all those function with their _r() counterparts, and move BusyBox development/ maintenance towards new frontiers, but it brings also a penalty in terms of footprint increase: text data bss dec hex filename 1155501 18124 2056 1175681 11f081 busybox 1155856 18124 2056 1176036 11f1e4 busybox Total 19 fixes: +355 -Difference v2: -57 1155799 18124 2056 1175979 11f1ab busybox Total 19 fixes: +298 Actually, it is 253 ppm on an almost-all-yes dynamic compiled BusyBox but on a static linked ELF this figure can be halved or marginalised by including a subset of commands. Below a static musl-compiled elf64 using more common commands subset: text data bss dec hex filename 578882 855 6248 585985 8f101 bbox/busybox.elf 578953 855 6248 586056 8f148 bbox/busybox.elf Total v1: +71 Moreover, LTO linking as well as milder optimisation than -Os like -O1 can have a 25-33% impact on the size but where CPU process caching is a relevant factor that can speed up a process run in the way size-only reduction cannot achieve. Climbing a mountain starts with a first step towards it. Best regards, -- Roberto A. Foglietta +49.176.274.75.661 +39.349.33.30.697 -- You received this message because you are subscribed to the Google Groups "isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/CAJGKYO4RJvyf6%3DRz3teCArSUKvmxwLto8tWXgz6O4Ek%2BESz2iQ%40mail.gmail.com.