From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd41.google.com (mail-io1-xd41.google.com [IPv6:2607:f8b0:4864:20::d41]) by sourceware.org (Postfix) with ESMTPS id 942E5386F442 for ; Sat, 16 May 2020 13:02:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 942E5386F442 Received: by mail-io1-xd41.google.com with SMTP id d7so5616465ioq.5 for ; Sat, 16 May 2020 06:02:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=37tHX1MMvna12eGeXolQGqPn4LQRv3cEUg0V/jDiuk4=; b=eNFoUZLaEcvS1AM8X6szeWsY2jM16lACW2w8XLPO3i7wa5m1+9H+6dELCnJ80Bpk9O xC8v4BChgDyWacmPk3EnxV/Dx5CDY9WBuQxM38B/NaifVcTH659Tua8wouMF5aH1l6rv 2ZGwKmHmpJFEXExmqGM6s175jo3zSc+Jqboq5ugezn2a0XwsXPreWDqX27KZfbnezjju EwX0D8sSTx5BStI9GVNooupmuo9nu7jBvwzJgynsaG9nPAHJ6G12y49YlRSzcFx7wSS1 B3y+IKrMQhlGniDnbKCNnd/BSJ5ff7t0VjSpxLCmtVZK4ekGkl0utvRRmZuAsPHM4R25 mFVA== X-Gm-Message-State: AOAM532eH5358NAGOY+o6ibgQgYyfcIz14vzJXqd8Xur0pK/9bRejOn4 ryCajBAXGAh/Dcc6zF9FtZk9bq+IokYTrZ3/urgbqw== X-Google-Smtp-Source: ABdhPJwjzSl2wS8LfFSP05ZtvZ/7Vp1psN9eM163hrHfAvp7xfOvvbaWhpdpA9YzkN0uUrTjcIrk1MLQB+sks6kffEI= X-Received: by 2002:a02:a1d8:: with SMTP id o24mr7300512jah.88.1589634144994; Sat, 16 May 2020 06:02:24 -0700 (PDT) MIME-Version: 1.0 References: <87mu68ns0y.fsf@mid.deneb.enyo.de> In-Reply-To: <87mu68ns0y.fsf@mid.deneb.enyo.de> From: "H.J. Lu" Date: Sat, 16 May 2020 06:01:49 -0700 Message-ID: Subject: Re: [PATCH] Linux: Remove remnants of the getcpu cache To: Florian Weimer Cc: GNU C Library , Adhemerval Zanella Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 May 2020 13:02:26 -0000 On Sat, May 16, 2020 at 2:33 AM Florian Weimer wrote: > > The getcpu cache was removed from the kernel in Linux 2.6.24. glibc > support from the sched_getcpu implementation was removed in commit > dd26c44403582fdf10d663170f947dfe4b3207a0 ("Consolidate sched_getcpu"). > > --- > sysdeps/unix/sysv/linux/pthread_setaffinity.c | 5 ----- > sysdeps/unix/sysv/linux/sched_setaffinity.c | 5 ----- > sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c | 14 -------------- > sysdeps/unix/sysv/linux/x86_64/sched_setaffinity.c | 14 -------------- > sysdeps/x86_64/nptl/tcb-offsets.sym | 1 - > sysdeps/x86_64/nptl/tls.h | 2 +- > 6 files changed, 1 insertion(+), 40 deletions(-) > LGTM. Thanks. -- H.J.