Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2542557ybk; Tue, 12 May 2020 01:57:51 -0700 (PDT) X-Google-Smtp-Source: APiQypI3c7hM8+C7iVCMQalMtnaoUq70tkZTzDQRRyzaObzQUXYO9JFwCQMLQSQzoJ/XxQ/rL5hF X-Received: by 2002:a50:c60c:: with SMTP id k12mr16540327edg.111.1589273871614; Tue, 12 May 2020 01:57:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589273871; cv=none; d=google.com; s=arc-20160816; b=b/7bze8asJMe/bj7zDCuWHg2JW8SxA7Gr0ebuox/Ue0a+mniRQStKRNKWf3XSsKVzt tWS0/yG8fiQ9pJ7Xbwf4TDDKeJMQ0X4B97IuizjKawmlb3VFdW4PYQfd0KBdZ9WgCLjo D72EMffoRn8hzqKx3cF1+n9phAmC7uvseRjpV1DSq+fHSrdSlBvZSDLBuLg+dafGk1/5 xRRK8ekuvrDafLRTeq/zOYI8hsgXP4mAUp98t3bFlCHUCaPQuXkyEQY/i4ViQlhBAJnc n2gmg07GPiYD60Wp/Gv3NP47Df02XoifjiOAgZtEWdgW3A1ppJ/2y4I262EIbO48gwsF 5mVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from; bh=BlYORN9A/D1tLWU8DYJeMfxSqeQC/0CHapbgqNitItg=; b=ZJ8fCDoKqf/zM4HxFgoTyHZC+ikSkf3bNGPY6+b91wogbytzgSE6k9kObC8YGWgCWk XLsWJum0opdWDd3JLHljhNML8CCUWnwjhLyn59aEEnHko2QQUrl4krTMYMAc6d49+p4H tPM3I7x0uX5k+psNGdy55QvQqOLuguq0H4yT5Q3ajCl3L7SUUk8ILVWDf4yXKu0Ynfxr BeXNNLTlmmiwj8sJnqPSgbq8m6buz93DGW6VprwmmcR6L9LZ3pzrHKfH7OJSAbHha2MD y3Pp2zzx8yPhHxboKtZmF4FDo4E8NzeBTcbIMVWfJ8Fz/bgN5ko8dGZXOoKMuPSdK5H3 swbw== 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 c5si6308329edk.226.2020.05.12.01.57.28; Tue, 12 May 2020 01:57:51 -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 S1729260AbgELIxw (ORCPT + 99 others); Tue, 12 May 2020 04:53:52 -0400 Received: from mx2.suse.de ([195.135.220.15]:40914 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726067AbgELIxv (ORCPT ); Tue, 12 May 2020 04:53:51 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 05E73ABC7; Tue, 12 May 2020 08:53:52 +0000 (UTC) From: Andreas Schwab To: Linus Torvalds Cc: Palmer Dabbelt , linux-riscv@lists.infradead.org, Linux Kernel Mailing List Subject: Re: [GIT PULL] RISC-V Fixes for 5.7-rc5 References: X-Yow: Two LITTLE black dots and one BIG black dot...nice 'n' FLUFFY!! Date: Tue, 12 May 2020 10:53:49 +0200 In-Reply-To: (Linus Torvalds's message of "Mon, 11 May 2020 12:04:09 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mai 11 2020, Linus Torvalds wrote: > Why is glibc doing it in the first place? Is it some historical thing > that is simply irrelevant on RISC-V simply because RISC-V doesn't have > that kind of history, perhaps? It is completely generic. Even new architectures become old over time and accumulate cruft. The idea is that if you configure glibc with --enable-kernel=VERSION, it assumes that all syscalls from kernel VERSION are guaranteed to exist, and drops the fallbacks for those syscalls, or uses them in the first place (if no useful fallback existed). From time to time the absolute minimum supported kernel version is increased (this happend the last time in 2017, when x86 and x86_64 moved the mininum from 2.6.32 to 3.2, after all other architectures did that step in 2016), which allows removing the fallback code that becomes obsolete. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."