Received: by 10.213.65.68 with SMTP id h4csp113646imn; Thu, 15 Mar 2018 11:10:11 -0700 (PDT) X-Google-Smtp-Source: AG47ELvL3PSO+uU2OKHq45wuVQfCfraSjYwAmZC/XNtytZUXM0hNirvdgR5e2fbomenr/M5X0uxK X-Received: by 10.101.93.17 with SMTP id e17mr7546415pgr.239.1521137411550; Thu, 15 Mar 2018 11:10:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521137411; cv=none; d=google.com; s=arc-20160816; b=STMFAHxZ+geZAna8E9Lf/OXeaLtRnGpvgg60p3Up9p7Zgswbkbd5edC4ZaBe01ruyB QTNXjjbUHPOpu1UA5y8k189d9jdJAXb8rtLfalhkZzUnWny9ZtOguVRgaUiN3z7Rin3Q 9HC0xGcPtBhqDhbg9RIRWozs47dAWEi7kTA34VIlj7SuJt7tv5mPowuNXTCQgBtRlF/r n9RaLDBBGdqRvG5cqBedWvUfGHIU9CZ1dJjswiQGaMNBESeTkBBeO7bisZAIMJygeL8W uMZEpXuhtk1KDCSlAZnR/BiblLSBAULyERCsnmNTHZ4yKaiByjvxM6xLYtsemd7xvO78 1Wnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:mime-version:user-agent :message-id:in-reply-to:date:references:cc:to:from :arc-authentication-results; bh=ndtv3S7YNqmZ8QDgR5WS46huH6SsqUaMsP/EbbqCNw4=; b=ev5G9Yf3z6Vu/9skjGRPVa/7G9yIdyj6+EEm+OUGnZGew0xUpvhgC4sqM8eyLVTb8A QRFIzhkNqZwriIDYAG2Ok0vQeMCq2VLyWEqEdHrOzydZl1q2vFpFWMSeAyn5jTYJLNU9 j1PxVkHfdpwcZaNM+ghrKZmLSrHiTafBzMs1mGjGAuu73fQCiBqVU2fAwGXL+lyEnh9Q 1ueJ3VGsVSeyflpkV89IcISfEvEj625Q+Lob1syOhMn9aDvy0MJhvLc+f2ldKVbT5rDf PTYidx4mwZLGK4R2ifbEt0p2JMVB5BscC1eXubE51GEgkWq9xuNjtu8gVGpMnS3yyvA2 63Kg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e71si4141681pfc.276.2018.03.15.11.09.56; Thu, 15 Mar 2018 11:10:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932423AbeCOSIu (ORCPT + 99 others); Thu, 15 Mar 2018 14:08:50 -0400 Received: from out01.mta.xmission.com ([166.70.13.231]:41659 "EHLO out01.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932257AbeCOSIs (ORCPT ); Thu, 15 Mar 2018 14:08:48 -0400 Received: from in01.mta.xmission.com ([166.70.13.51]) by out01.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1ewXJ1-0007vW-Ql; Thu, 15 Mar 2018 12:08:47 -0600 Received: from 97-119-121-173.omah.qwest.net ([97.119.121.173] helo=x220.xmission.com) by in01.mta.xmission.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1ewXJ1-0006jq-5F; Thu, 15 Mar 2018 12:08:47 -0600 From: ebiederm@xmission.com (Eric W. Biederman) To: Arnd Bergmann Cc: linux-arch , Linux Kernel Mailing List , Al Viro , Thomas Gleixner References: <20180314143529.1456168-1-arnd@arndb.de> <20180314144614.1632190-1-arnd@arndb.de> <20180314144614.1632190-2-arnd@arndb.de> <87po45hcuy.fsf@xmission.com> <87o9jpbmcy.fsf@xmission.com> Date: Thu, 15 Mar 2018 13:07:59 -0500 In-Reply-To: (Arnd Bergmann's message of "Thu, 15 Mar 2018 13:50:36 +0100") Message-ID: <87fu51b4ao.fsf@xmission.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1ewXJ1-0006jq-5F;;;mid=<87fu51b4ao.fsf@xmission.com>;;;hst=in01.mta.xmission.com;;;ip=97.119.121.173;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX19hfrlNNPRlbDORUUX5RylIzV4CfdUX42k= X-SA-Exim-Connect-IP: 97.119.121.173 X-SA-Exim-Mail-From: ebiederm@xmission.com X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa06.xmission.com X-Spam-Level: ** X-Spam-Status: No, score=2.0 required=8.0 tests=ALL_TRUSTED,BAYES_50, DCC_CHECK_NEGATIVE,TVD_RCVD_IP,T_TM2_M_HEADER_IN_MSG,T_TooManySym_01, XMNoVowels,XMSubLong autolearn=disabled version=3.4.1 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.0 TVD_RCVD_IP Message was received from an IP address * 1.5 XMNoVowels Alpha-numberic number with no vowels * 0.7 XMSubLong Long Subject * 0.0 T_TM2_M_HEADER_IN_MSG BODY: No description available. * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.5000] * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa06 1397; Body=1 Fuz1=1 Fuz2=1] * 0.0 T_TooManySym_01 4+ unique symbols in subject X-Spam-DCC: XMission; sa06 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: **;Arnd Bergmann X-Spam-Relay-Country: X-Spam-Timing: total 238 ms - load_scoreonly_sql: 0.03 (0.0%), signal_user_changed: 5 (2.2%), b_tie_ro: 3.6 (1.5%), parse: 0.77 (0.3%), extract_message_metadata: 13 (5.3%), get_uri_detail_list: 1.69 (0.7%), tests_pri_-1000: 7 (3.1%), tests_pri_-950: 1.25 (0.5%), tests_pri_-900: 0.94 (0.4%), tests_pri_-400: 21 (8.8%), check_bayes: 20 (8.4%), b_tokenize: 7 (2.7%), b_tok_get_all: 7 (3.0%), b_comp_prob: 2.2 (0.9%), b_tok_touch_all: 2.1 (0.9%), b_finish: 0.57 (0.2%), tests_pri_0: 183 (76.7%), check_dkim_signature: 0.48 (0.2%), check_dkim_adsp: 2.6 (1.1%), tests_pri_500: 3.9 (1.6%), rewrite_mail: 0.00 (0.0%) Subject: Re: [PATCH 12/16] asm-generic: siginfo: remove obsolete #ifdefs X-Spam-Flag: No X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in01.mta.xmission.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnd Bergmann writes: > On Thu, Mar 15, 2018 at 12:37 PM, Eric W. Biederman > wrote: >>> On Thu, Mar 15, 2018 at 11:06 AM, Eric W. Biederman > >>> That seems reasonable. If you send me a patch with a proper >>> changelog (I don't think I could explain this well enough), I'll >>> add it to the series. >> >> I just realized you can also remove the #ifdefs for BUS_MCEERR_AR, >> BUS_MCEERR_AO, and SEGV_BNDERR. As those si_codes are now always >> defined. That description I expect you can handle. > > My existing patch already does this, and I've added a note to the changelog > as well now. I did not see the changes to kernel/signal.c and fs/signalfd.c that remove the #ifdef BUS_MCERR_AR etc. Did I miss that patch. >> For a description of the above change how does this sound? >> >> Unlike system call numbers the assignment of si_codes has never had a >> reason to be made per architecture. Some architectures have had unique >> conditions to report and reporting those conditions needed new si_codes. >> Nothing has ever needed si_codes to have different values on different >> architectures. The si_code space is vast so even with defining all >> si_codes on all architectures there is no danger in running out of >> si_code values. >> >> The history of the si_codes BUS_MCEERR_AR, BUS_MCEER_AO, SEGV_BNDERR, >> and SEGV_PKUERR show that a need of one architecture frequently becomes >> a need of another architecture which makes sharing si_codes between >> architectures a positive benefit and something to be encouraged. >> >> Where there are no conflicts with the historical ia64 arch specific >> si_codes and any other si_codes make them generic si_codes. We might >> need them on another architecture someday. >> >> This leaves only the good example of arch generic si_codes in the kernel >> for future architectures and architecture enhancments to follow. >> Without bad examples to follow it should be easy to avoid the mistakes >> of the past. > > Ok, done. I've listed you as 'Suggested-by' for that patch. Since the > changelog is way more work than the actual change, I would have > made you the author of that patch, but I don't have a Signed-off-by > from you for it. For however much it helps. Reviewed-by: "Eric W. Biederman" Signed-off-by: "Eric W. Biederman" Eric