From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2, USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 19976 invoked from network); 29 Jul 2022 18:42:47 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 29 Jul 2022 18:42:47 -0000 Received: (qmail 22015 invoked by uid 550); 29 Jul 2022 18:42:44 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 21983 invoked from network); 29 Jul 2022 18:42:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JcjFj+RAUfCP9mTS9h+FW6QdaaxSC5i+2cYQBRjoUtk=; b=fLH9N9+QAuRcS5nkC8Hi6HiBkN6UhWmAMj23O5ektpQrefBJLtYEMpHVMJ/+ziFDrm mkWMRAE9xXg0RqOBDTXBmxgbIUyyUdVWhuCTtxiH+xiP09xXJo/v8wNVO5wYLTTY6T0F JiDk1wLY+cj4SVpf7Omx8r5Z0aIIAfiPjM9s3mEixCLJ/iozTUvCBGYqoGE4ZrcEkdZF NOrxhLvJQYllnYmaxli5OdKxdU4lUOI7sTJq3fDcTfyUf4oYd6/D5PrNcpkBr8dMs9t+ 3yE8jR8ayiAL+3lBZAEMTHYnnstxyYfJi7SIpLDNFOTV1t3Ky7vqh9PSLneQL64gT8CA nsYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JcjFj+RAUfCP9mTS9h+FW6QdaaxSC5i+2cYQBRjoUtk=; b=hhZAoVO1tUwDvnMdSJOW3NczEr6jOSiDOmwor5/JIfOevL0nY6C2arhl8UowuEJIh5 4cmv6f8sRm5bso121c1oiAbwXEcqRwAoYNhg0Y7lZE2V+LlpTD1p6imP1c1wBGJN4dy3 FKL3fdcmrpBLXry+Nkzdd95qpncexI7fhrpi3TLx24jvPbNCUl0BR0t8qh7GxIB/Cnyx O1hHUoT96nlLDF75fF95mXCmSYbn63ANMvF4seRmD1BxptTz5nKy9NTfO2XoW9xbmyDl IXmgCfmGB6MI66RS2lQ7YVMPiz0lSJqDingvOiZi5J7f93pr5BbLgi9uLzxatf5PShno MQFg== X-Gm-Message-State: AJIora9M7A+UJ95s9mfq+v+E18+qxr2PT+I7IB+4tpsXqdVvKAyvaDei 1wb9Y980/9ZHm9vJxswm4Kq+CkSTp5UqHQsEadeMI0KBGJo= X-Google-Smtp-Source: AGRyM1tb075rMVMhFI358APcWsdS1Jbrx2CgAP/H2NlQRSl5xXrQxNhIBnkiHsdJ2mW6DS49ik216cZtwz4az5ioLq4= X-Received: by 2002:a2e:aa0b:0:b0:25e:8fa:3c22 with SMTP id bf11-20020a2eaa0b000000b0025e08fa3c22mr1509816ljb.149.1659120151165; Fri, 29 Jul 2022 11:42:31 -0700 (PDT) MIME-Version: 1.0 References: <43e9ad2b-d53c-5fd5-0211-766f946c90f9@landley.net> <48546934-5ccd-0b1e-bf2b-306133101c6b@landley.net> <20220727175859.GC1320090@port70.net> <652507478.86440.1658957388428.JavaMail.zimbra@efficios.com> In-Reply-To: From: enh Date: Fri, 29 Jul 2022 11:42:19 -0700 Message-ID: To: musl@lists.openwall.com Cc: Rob Landley , Michael Jeanson , Mathieu Desnoyers Content-Type: text/plain; charset="UTF-8" Subject: Re: [musl] Re: sysconf(_SC_NPROCESSORS_CONF) broken. done: https://android-review.googlesource.com/c/platform/bionic/+/2168844 what's the worst that could happen? On Thu, Jul 28, 2022 at 10:27 AM enh wrote: > > interesting... in case anyone's wondering why bionic didn't use > /sys/devices/system/cpu/possible, i didn't know it existed. > > i'm pretty tempted to move us over to that. not because of the > distinction between "present" and "possible" -- i'm assuming over here > in mobile those two should always be the same anyway -- but because i > can just share code with "online" and do slightly less work than the > current directory scan... > > On Wed, Jul 27, 2022 at 4:00 PM Jonathan Rajotte-Julien > wrote: > > > > Hi, > > > > > > > > i think the most recent thread on the topic: > > > https://www.openwall.com/lists/musl/2021/07/06/2 > > > > > > an older discussion is at > > > https://www.openwall.com/lists/musl/2019/03/15/5 > > > > > > FIY, we recently had to revisit our handling of all this. > > > > See [1]. > > > > Which seems to be similar to what Vincent Donnefort, from [2], proposed. > > > > A follow up to unify our approach is also available here[3]. > > > > [1] https://github.com/lttng/lttng-ust/commit/66dbdc3448a77043d0fd59f47b17e77a8d59fddb > > [2] https://www.openwall.com/lists/musl/2021/07/06/2 > > [3] https://review.lttng.org/c/lttng-ust/+/8619 > > > > Cheers