Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp2936008pxy; Mon, 3 May 2021 11:13:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZffGpezANUDCyosNyLHI3pRsFEHPgq/Z0tVokkpr0lXoDGAl4Z+2jnCQgcvq14aNu3ZLC X-Received: by 2002:a17:903:248e:b029:ec:9c4f:765e with SMTP id p14-20020a170903248eb02900ec9c4f765emr22058817plw.17.1620065514046; Mon, 03 May 2021 11:11:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620065514; cv=none; d=google.com; s=arc-20160816; b=Jjaz9bQksLb/73eUi7YwhG3JzHh9KiMp2iVD/3ccVV7Tfk5HXicLQV2XY9QQwihIhD vUVLqaMheITMKG4mYD4YLTLgg9SMHADxlAXTR+7nqd7NE9+O66KeHtPmS2rMWJ8ocx9r zoJQI1eUJRW88sY/QiG5tbUA0qtnV+qole/BB+aQfUgw0Dbiv2lI36LIOCKwb+24blFa 5FcUm99Si00eVh/IN8LxHWfGWhWDwMWA+r6Kz75kXmcJEZlWOKsc0Krh8JLfDO9AEeoh O0xtnN25F2+1dXwPhl66bnQ8AkToe8dxpIfw8ZMQN1V7IQYooAUi3pfSr2+yVZfLvdZd cLbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=ij8hlZehlkIlcfjkbcVu5cCAcoqbFAH3IjKmVp58oRo=; b=kWX0+6XzqKAjCKrGvF4QkCrW8x6a8mSLU4Dc3M9O5sUMQWPgS47SXRXmu29Ec9IV7b z6PHyVcOeQ9+6EhiKWXuB8Z0qJPJUgFMKctT02VYZE+BlfzSinDHWV66WADfEYshQeBB hker4+C1VVP8WyOKx+Fpk02VfLD91naqKEBKegt6H4W/iLC6kdvrSGyehpTqH+rDQMSF z45E90YhVpcb3Qei7mlksolul5NKFSd2VOnH778Mz9xsjTWu1t2jeuO7C4FOkOngpdge c39panNDk61ThYPT73wHHFdLHwNHMDVAekoArLFgwtw/HxKBRiegfTjSgsueOFWgLO3i xWPw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p3si12041169pfo.238.2021.05.03.11.11.41; Mon, 03 May 2021 11:11:54 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231265AbhECQKm convert rfc822-to-8bit (ORCPT + 99 others); Mon, 3 May 2021 12:10:42 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.86.151]:22108 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231182AbhECQKm (ORCPT ); Mon, 3 May 2021 12:10:42 -0400 Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-255-kFw4Vq1gOwC5lu5CIeuZOg-1; Mon, 03 May 2021 17:09:46 +0100 X-MC-Unique: kFw4Vq1gOwC5lu5CIeuZOg-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) by AcuMS.aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 3 May 2021 17:09:45 +0100 Received: from AcuMS.Aculab.com ([fe80::994c:f5c2:35d6:9b65]) by AcuMS.aculab.com ([fe80::994c:f5c2:35d6:9b65%12]) with mapi id 15.00.1497.015; Mon, 3 May 2021 17:09:45 +0100 From: David Laight To: 'Theodore Ts'o' , "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 .. Thread-Topic: Very slow clang kernel config .. Thread-Index: AQHXQCnxH46G91tEpEmd7WaoBDaEqarR6NJg Date: Mon, 3 May 2021 16:09:45 +0000 Message-ID: <71e42d2a3c9d415188984f34f602425c@AcuMS.aculab.com> References: <1c5e05fa-a246-9456-ff4e-287960acb18c@redhat.com> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Theodore Ts'o > Sent: 03 May 2021 15:38 ... > 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? Indeed. Stable ABIs are really mandatory for anything released as a shared library. You can add new functions, and (if careful) new features to existing functions (if you remembered to check all those unused fields and flags), but the function signatures must not change. You also can't change the exported data area. We've got some simple drivers, they don't do anything complex. Just hardware interrupts and PCIe accesses. It wouldn't require many structure to be fixed, and a few non-inlined versions of some access functions to make these reasonably binary compatible. At least to the point that they don't need rebuilding when a distribution releases a new minor kernel version. Solaris had stable kernel ABIs. The windows version of our drivers installs on everything from Windows 7 (maybe even Vista) through to the latest Windows 10 (apart from the 'driver signing' fiasco). With multiple symbol namespaces it ought to be possible to keep them separately stable - so that drivers that only use some symbols are portable. Of course, there are the people who only want to support in-tree source drivers. They clearly exist outside the commercial world. David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)