From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14583 invoked by alias); 7 Jan 2019 19:12:13 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 14568 invoked by uid 89); 7 Jan 2019 19:12:12 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=sense X-HELO: mx1.redhat.com From: Florian Weimer To: "H.J. Lu" Cc: "Carlos O'Donell" , Szabolcs Nagy , libc-alpha Subject: Re: [PATCH] NUMA spinlock [BZ #23962] References: <20181226025019.38752-1-ling.ma@MacBook-Pro-8.local> <7D8A82D6-6F0A-4860-856A-EB0C8CD13E9C@antfin.com> <0a474516-b8c8-48cf-aeea-e57c77b78cbd.ling.ml@antfin.com> <8c67f319-31bf-818b-4a89-66d25328026e@arm.com> Date: Mon, 07 Jan 2019 19:12:00 -0000 In-Reply-To: (H. J. Lu's message of "Sat, 5 Jan 2019 08:35:45 -0800") Message-ID: <87ef9oe0zf.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2019-01/txt/msg00170.txt.bz2 * H. J. Lu: > Should glibc have scalable spinlock, in libc.so or a separate shared object? > Or should we tell people that if they want scalable spinlock, they look > elsewhere? I think non-polymorphic, small lock types with scoped locking could make sense for glibc. A lock specific to a certain machine architecture seems strange. We currently lack any of the kernel NUMA interfaces in glibc, which makes this stand out even more. Thanks, Florian