From nobody Thu Nov 11 09:21:26 2021 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 61BB91843A62; Thu, 11 Nov 2021 09:21:44 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hqbnh29r7z3pKw; Thu, 11 Nov 2021 09:21:44 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: by mail-lj1-f175.google.com with SMTP id v15so10803826ljc.0; Thu, 11 Nov 2021 01:21:44 -0800 (PST) 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=Pfkg93p815ziZBG6X7DG+ZIbXWu/no40SevthLYOnKM=; b=65gMYrbAuhCQMK4P1MtZGdbZ6mT90E1Qolwuy/bP2k+chjW07QfJPoyO2OuDgAdTLg WqfrMzvJe18tkpN5y1bipL4Zr0GsBz7ZLYF3id8k0N/Ryov3zWAu8NNJ7Gbh1t6M+SN2 HoToJUF/kOa2CONZVLB9yb0TWM/IL7TgmxRaE3SwEkDZIZMJkNPv+iYRXQOy4q8XsmgG 8XWscm7Y8nVaaPLqFeiTnIPIX4low1Ps1fmZ+gVlPLFz0M96/gAzI120/ylISk7dTLMQ qbuTZpYG0B6X1UcSeqmTKoFB+iewLP/fXl3JHeeLo6Uw4jkaPBuVaymxySVv8DSRKOpK pc7Q== X-Gm-Message-State: AOAM533mEtybWOYnh+/kka2+VdEwrFUoKss4IJlheIHO32BSZBMy9aZ6 BTmbO2K4KRiCvtx/rvEF3gFKySU2UEAnzqKOeJGvQ69KAgA= X-Google-Smtp-Source: ABdhPJx+reJuYkPV5j1izSD3wT/yAPbzsMw59KB/GZ0ljBVXamzXkPLe3qj0DvU9SJgrl3bxaOwbXyzUPow/+0BPPTU= X-Received: by 2002:a2e:9d59:: with SMTP id y25mr5710593ljj.205.1636622496909; Thu, 11 Nov 2021 01:21:36 -0800 (PST) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 References: <202111101934.1AAJYJFQ041545@gitrepo.freebsd.org> In-Reply-To: From: Antoine Brodin Date: Thu, 11 Nov 2021 09:21:26 +0000 Message-ID: Subject: Re: git: 160b4b922b60 - main - Add real sched.h To: Konstantin Belousov Cc: src-committers , dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4Hqbnh29r7z3pKw X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_FROM(0.00)[]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Thu, Nov 11, 2021 at 8:06 AM Konstantin Belousov wrote: > > On Thu, Nov 11, 2021 at 07:29:19AM +0000, Antoine Brodin wrote: > > On Wed, Nov 10, 2021 at 7:34 PM Konstantin Belousov wrote: > > > > > > The branch main has been updated by kib: > > > > > > URL: https://cgit.FreeBSD.org/src/commit/?id=160b4b922b6021848b6b48afc894d16b879b7af2 > > > > > > commit 160b4b922b6021848b6b48afc894d16b879b7af2 > > > Author: Konstantin Belousov > > > AuthorDate: 2021-10-22 15:17:21 +0000 > > > Commit: Konstantin Belousov > > > CommitDate: 2021-11-10 19:18:53 +0000 > > > > > > Add real sched.h > > > > > > It is required by IEEE Std 1003.1-2008 AKA POSIX. > > > > > > Put some Linux compatibility stuff under BSD_VISIBLE namespace, in > > > particular, sys/cpuset.h definitions. Also, if user really want > > > Linux compatibility, she can request cpu_set_t typedef with > > > _WITH_CPU_SET_T define. > > > > > > Reviewed by: jhb > > > Sponsored by: The FreeBSD Foundation > > > MFC after: 1 week > > > Differential revision: https://reviews.freebsd.org/D32901 > > > --- > > > include/Makefile | 5 +++-- > > > include/sched.h | 46 ++++++++++++++++++++++++++++++++++++++++++++++ > > > 2 files changed, 49 insertions(+), 2 deletions(-) > > > > Hi, > > > > It seems that this broke some ports: > > http://gohan03.nyi.freebsd.org/data/main-amd64-default-baseline/p913ccecf2a92_s448bcd01dc/logs/errors/ninja-1.10.2,2.log > > http://gohan03.nyi.freebsd.org/data/main-amd64-default-baseline/p913ccecf2a92_s448bcd01dc/logs/errors/ghc-8.10.7.log > > http://gohan03.nyi.freebsd.org/data/main-amd64-default-baseline/p913ccecf2a92_s448bcd01dc/logs/errors/openpgm-5.2.122_6.log > > http://gohan03.nyi.freebsd.org/data/main-amd64-default-baseline/p913ccecf2a92_s448bcd01dc/logs/errors/guile2-2.2.7_1.log > > http://gohan03.nyi.freebsd.org/data/main-amd64-default-baseline/p913ccecf2a92_s448bcd01dc/logs/errors/liburcu-0.12.1.log > > http://gohan03.nyi.freebsd.org/data/main-amd64-default-baseline/p913ccecf2a92_s448bcd01dc/logs/errors/guile-3.0.7.log > > http://gohan03.nyi.freebsd.org/data/main-amd64-default-baseline/p913ccecf2a92_s448bcd01dc/logs/errors/squid-4.15.log > > ... > > Could you please try this? My intent was that cpu_set_t would be requested > as needed by consumers with _WITH_CPU_SET_T. Hi, I started bulk at http://gohan04.nyi.freebsd.org/build.html?mastername=main-amd64-sched-default&build=2021-11-11_09h04m08s This fixes at least ninja. Antoine