From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cmx-torrgo001.bell.net (mta-tor-005.bell.net [209.71.212.37]) by sourceware.org (Postfix) with ESMTP id BB7C03858D32 for ; Sat, 11 Feb 2023 15:56:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BB7C03858D32 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=bell.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=bell.net X-RG-CM-BuS: 0 X-RG-CM-SC: 0 X-RG-CM: Clean X-Originating-IP: [174.88.80.151] X-RG-Env-Sender: dave.anglin@bell.net X-RG-Rigid: 63E5FA3B001D4EDA X-CM-Envelope: MS4xfEV8f/aPptMxMI/nDZIoqrRfn+39BaqQYmh4tfsITZGLv5VtMNf6LRDXuGCkWWkF7MHbY6NMBHR2bjYAa/cqOCHvLY6mnJXR1PUiXGNMNJ9QILtbiYDx W5H68tZ9PBrP8q4A6uh8QWO22sy3A/pHemj9L0uwAQ94npAFEoavqMqQS59Pu7/Tf2PT4P8G6NU4HlSqkUrmWabfqC94MNFwhD12OhLL+IHTqf3E/OyIxbUt mNV3+eJXxpfn71v14+bIiZv40buauVdZdm63W3SW96C8Q1nZXDPjXALv4F7FWi0TsvGEB3PG5DbDHY7SgGsZbBRERoBLVf+DqwE4M2Qg8yE= X-CM-Analysis: v=2.4 cv=T5Lv89GQ c=1 sm=1 tr=0 ts=63e7ba9f a=6Iw0JHgwQEnu+SgMJEJdFQ==:117 a=6Iw0JHgwQEnu+SgMJEJdFQ==:17 a=IkcTkHD0fZMA:10 a=FBHGMhGWAAAA:8 a=JBq0f8TtP_vSkFAo364A:9 a=QEXdDO2ut3YA:10 a=9gvnlMMaQFpL9xblJ6ne:22 Received: from [192.168.2.49] (174.88.80.151) by cmx-torrgo001.bell.net (5.8.814) (authenticated as dave.anglin@bell.net) id 63E5FA3B001D4EDA; Sat, 11 Feb 2023 10:56:15 -0500 Message-ID: <02117d0d-5686-f388-d51c-dfe3202ec0be@bell.net> Date: Sat, 11 Feb 2023 10:56:15 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: Re: [PATCH v2] hppa: Drop old parisc-specific MADV_* constants Content-Language: en-US To: Helge Deller , Joseph Myers Cc: libc-alpha@sourceware.org, fweimer@redhat.com References: <595f5482-c55a-275c-3729-1e1f0af7719a@gmx.de> From: John David Anglin In-Reply-To: <595f5482-c55a-275c-3729-1e1f0af7719a@gmx.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,NICE_REPLY_A,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2023-02-11 1:37 a.m., Helge Deller wrote: > On 2/10/23 22:48, Joseph Myers wrote: >> On Fri, 10 Feb 2023, Helge Deller via Libc-alpha wrote: >> >>> -  [Add deprecations, removals and changes affecting compatibility here] >>> +* In the Linux kernel for the hppa/parisc architecture some of the >>> +  MADV_XXX constants were changed to have the same values as the other >>> +  architectures.  New programs compiled with this glibc version and which >>> +  use the madvise call will require at least Linux kernel version 6.2, >>> +  alternatively stable kernels from versions 6.1.6, 5.15.87, 5.10.163, >>> +  5.4.228, 4.19.270 or 4.14.303. >> >> Normally we'd be a lot more conservative about kernel version >> requirements, but if we require a new kernel we'd put it in >> arch_minimum_kernel in the relevant configure.ac. > > Basically, programs compiled with the new MADV values should work even > on all older kernels since it's just an advise for the kernel which it may > ignore and for which programs should allow the syscall to fail. > The only program I've found so far to be more strict is the > tor-browser, which refuses to start if MADV_WIPEONFORK fails. > But it's unlikely people will use tor on parisc, and IMHO > if you care about security you should use a more recent kernel anyway. > > That said, I can add arch_minimum_kernel=4.14.303 (or 6.2?) but I don't > think it's necessary. I don't think adding a arch_minimum_kernel define would help much. I don't know about gentoo, but the current Debian kernel for hppa is already past the minimum for the new values. The biggest risk is for people like me that keep a collection of old kernels around to check for regressions in behavior.  As long as there is no major breakage with old kernels running new applications, we can make the switch. Dave -- John David Anglin dave.anglin@bell.net