Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp2932049pxy; Mon, 3 May 2021 11:09:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCadRY9NSHCUlPMmayf7jJMQZbosze+Mh+RSFbfTS6mEcufyjuEKAeOECnyjbYelFkhHtz X-Received: by 2002:a63:4c63:: with SMTP id m35mr18952049pgl.105.1620065377585; Mon, 03 May 2021 11:09:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620065377; cv=none; d=google.com; s=arc-20160816; b=baJ2anB6arCJPgZoT+K6Jtid97OuL7dasAvdU09/6XnOtVODcENSd3kAr+UdfSyFjw lSEW6BdU590Libma4zWf6YV+tp9ZzvMq9WxFDWFZV7bTD/DyoDKKyB6pQJVOMHseMaUW 1NMjlfkP8b/va7hFJqH76Rm3EWPH/1IySAvOvjqJVXIelxVP+Cum1Li0syOpM9kAIdcI xIhj+j/ARxWgB5WUg361po+A55JHTed5oq+kcL/LFiwEE4iDG9TWK/XHxUsfUeXtk6Yz BTSHDjNf6NRFy3VtWbPXokq+CiQL2uzHnGTS9QSjhigdd2/D332QSpzBJggjNfB+EzNT b6zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=UFM7qJwXs0TUSsk1/0ivnzcFsGc4JFJYgeo9SDT/gqk=; b=rNND942MM6rhWHoJ9JpRTfEPgdzcDB3BomXeYmW4guEVAs4NVvynym9I5Cv5hYnG3T jQqri7+n7Xn14TPS0xOgZiKLhuDcrAN81YXDv1sZJj4StJczKhyPqF6k2IvPkvsSqyFc /txz7aSonygiKHZJcj/lUAjQPNTMuVNiyjR1RxaVkgXc42gzSPk2DKYptjN5zZp36Wq8 v2WiPTeNFPCLJ7SDiDXLio4RUD4alHfXIGzBj9O/zZkkpoPqH6RauOLYByEjN2vPdWvn 4jCYuqfSXmIC/F0ONxivdaGHo6J3ZadVWGm8yHsYP25eRRDc+A+i8nA46xia0oN30X7n raQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n124si381021pga.76.2021.05.03.11.09.24; Mon, 03 May 2021 11:09:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229872AbhECOzm (ORCPT + 99 others); Mon, 3 May 2021 10:55:42 -0400 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:57092 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229596AbhECOzl (ORCPT ); Mon, 3 May 2021 10:55:41 -0400 Received: from cwcc.thunk.org (pool-72-74-133-215.bstnma.fios.verizon.net [72.74.133.215]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 143EsaBc017067 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 3 May 2021 10:54:36 -0400 Received: by cwcc.thunk.org (Postfix, from userid 15806) id D763515C39C4; Mon, 3 May 2021 10:54:35 -0400 (EDT) Date: Mon, 3 May 2021 10:54:35 -0400 From: "Theodore Ts'o" To: "Maciej W. Rozycki" Cc: Linus Torvalds , Tom Stellard , Nick Desaulniers , Masahiro Yamada , Nathan Chancellor , Linux Kernel Mailing List , clang-built-linux , Fangrui Song , Serge Guelton , Sylvestre Ledru Subject: Re: Very slow clang kernel config .. Message-ID: References: <1c5e05fa-a246-9456-ff4e-287960acb18c@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 03, 2021 at 10:38:12AM -0400, Theodore Ts'o wrote: > On Mon, May 03, 2021 at 03:03:31AM +0200, Maciej W. Rozycki wrote: > > > > People went through great efforts to support shared libraries, sacrificed > > performance for it even back then when the computing power was much lower > > than nowadays. > > That was because memory was *incredibly* restrictive in those days. > My first Linux server had one gig of memory, and so shared libraries > provided a huge performance boost --- because otherwise systems would > be swapping or paging their brains out. Correction. My bad, my first Linux machine had 16 megs of memory.... - Ted > > However, these days, many if not most developers aren't capable of the > discpline needed to maintained the ABI stability needed for shared > libraries to work well. I can think several packages where if you > used shared libraries, the major version number would need to be > bumped at every releases, because people don't know how to spell ABI, > never mind be able to *preserve* ABI. Heck, it's the same reason that > we don't promise kernel ABI compatibility for kernel modules! > > https://www.kernel.org/doc/Documentation/process/stable-api-nonsense.rst > > And in the case of Debian, use of shared libraries means that every > time you release a new version of, say, f2fs-tools, things can get > stalled for months or in one case, over a year, due to the new package > review process (a shared library version bump means a new binary > package, and that in turn requires a full review of the entire source > package for GPL compliance from scratch, and f2fs-tools has bumped > their shared library major version *every* *single* *release*) --- > during which time, security bug fixes were being held up due to the > new package review tarpit. > > If people could actually guarantee stable ABI's, then shared libraries > might make sense. E2fsprogs hasn't had a major version bump in shared > libraries for over a decade (although some developers whine and > complain about how I reject function signature changes in the > libext2fs library to provide that ABI stability). But how many > userspace packages can make that claim? > > - Ted