From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7E656C83F33 for ; Tue, 5 Sep 2023 12:10:11 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D9DFA940011; Tue, 5 Sep 2023 08:10:10 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D26AA8E001A; Tue, 5 Sep 2023 08:10:10 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BC793940011; Tue, 5 Sep 2023 08:10:10 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id A89778E001A for ; Tue, 5 Sep 2023 08:10:10 -0400 (EDT) Received: from smtpin17.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 77D53B3F34 for ; Tue, 5 Sep 2023 12:10:10 +0000 (UTC) X-FDA: 81202425780.17.3968BA8 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by imf24.hostedemail.com (Postfix) with ESMTP id 5AE2F18002D for ; Tue, 5 Sep 2023 12:10:07 +0000 (UTC) Authentication-Results: imf24.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf24.hostedemail.com: domain of regressions@leemhuis.info designates 80.237.130.52 as permitted sender) smtp.mailfrom=regressions@leemhuis.info ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1693915807; h=from:from:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RUqEkapl51HUUogzkfW95eCF8x3nn9PcHrkBfkILTHs=; b=MtpXFBRrBuoUMfa2gB1/iG9adgMA11jUn5Z4zmXWl7nVjidzs+ucDFpeZAEx6goALjwr1x Fplfnk2LHAuZ/7dp9dacAOIbwaYhoeEtvggIewhfGqfdIqoQcGU/IJPpEAUkfDAgeqO4qz X+u9OX7ARBUwOG71O9LXD8DES48qa3s= ARC-Authentication-Results: i=1; imf24.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf24.hostedemail.com: domain of regressions@leemhuis.info designates 80.237.130.52 as permitted sender) smtp.mailfrom=regressions@leemhuis.info ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1693915807; a=rsa-sha256; cv=none; b=H8Jv/CH1mtL7a5RhyftZoKKsRVm23NdnWLqwJQFkxOPeFFNOwskF7nJF6K94aoK7Xk5zFN TfTAfrV39EsxNRVn7EP4NoAXihLfg+6vGP8yXvxfGqmSH32IbjK9aEhSTYHkOz2+tg8H48 EBhjSimdGN0Gb9+0tGoG4CsPCpUTOvw= Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1qdUsf-0006J5-Ge; Tue, 05 Sep 2023 14:10:05 +0200 Message-ID: <1d79cc64-46d8-42ab-8219-e45e8d19532f@leemhuis.info> Date: Tue, 5 Sep 2023 14:10:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Don't fill the kernel log with memfd_create messages Content-Language: en-US, de-DE To: Linux kernel regressions list Cc: stable@vger.kernel.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org References: <1693408388.rwssx8r1h9.none.ref@localhost> <1693408388.rwssx8r1h9.none@localhost> <14b4a922-a31a-a329-0264-3d8bd101ee6b@suse.cz> From: "Linux regression tracking #update (Thorsten Leemhuis)" Reply-To: Linux regressions mailing list In-Reply-To: <14b4a922-a31a-a329-0264-3d8bd101ee6b@suse.cz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1693915807;afc559ae; X-HE-SMSGID: 1qdUsf-0006J5-Ge X-Rspamd-Queue-Id: 5AE2F18002D X-Rspam-User: X-Rspamd-Server: rspam02 X-Stat-Signature: zeu651k3fs1iit9jfpc1w7bm66ifsih7 X-HE-Tag: 1693915807-649986 X-HE-Meta: U2FsdGVkX1+CfLp40SGJXrnDiVF+NhNpReT40SJCWr+IMVCnv4fVOqTrXU2XQi0tK/AsVeF+miHKTcZbMj0NKe+WikCXh5luZd2iaGTsdecDMmrnq8kIWANQSskcwSgVVrm8AxXLcqFed4haKEC0u+x1jNcuPUNWuT/f1IX5vZiIt5pFR5APRCQonHk6SwZVGMSRgNtIirtzlv/a0dW5iK6OLl1OlVK7qgO5o1VuQFIjyfB2uRCalU/j7ajWNl9SRBjiG51bWovOSGckHcG/XCVgZeapLI+jWcdL2PvKRwOa05D8bPv2zOfG9Cr3jRRa33BkULy7dYKR+WigQfiMq9Q/obq90HdB8EdTgaQGRckw4SlvllcDK6f03Is+2LluOo3ghC9c5y1aDDCO1gosFbaZm2PcY0Im9RfXoAAijEwNYYpLfXDh/9e/0v9mVKDH1AKyqcHjkg2g5QRTfHQLYAylccwY5p2CD2oKsYmhZDjqwaedzBZb68L65JyQD/MYn/uIs1sQOCHxBD1AGfTi8HXs8PRC+2rvUDU012JEljbI1PYxMbWMu+9d44uTFHO+0JAIXNVRVpQtt7xkLsOSwoM9HhxDAayMqoCutTzOuYAIS/55MZIUumY7y7v1QzKlbmnpoCFi3kiOucAKkJyLQhSbmA+O/SNV+SMUL60B2AzFcfTE9x5Udyqj0neQD0LxGaSulQcBvob8I0KeozFcOZaf6q3x+gELsAEOgnJN5t6UxGxEp8OHhyy3sXAQxhg05DR9xxkR5eG/JnCYbCupAQghi6EqwEy0FHcpmadx1JW8gf/KFoinPCnYjRKBAGMdP/Jbol/1yO+xUcPMELrs9+p6hWyoBRiXgdCVoKEFHpk8yumRjgSYNw5JpUN4AO3B6IXOs/CalvYnWmYJH6+u+bHEGRqtOc8Oa/37BLKpOTo0UOcJulxC9JRlX5yp3Y1iby5Ht3wDdTHiUhDTbFW qW5d3cgG sq/YJ2492FbwfgLRSVWENSpkxRLj/U2dhg/6gAb9gfsu1VEwCir4tkzKYBD28AD6MjmX16qDIm/Hvn4KjyMiy5KcdLou2mJggsO+KGkCa4Qd3EZ6DCMxMOd9rwvZpG8AaPxSl6fZ/fwbsKk2SixLYVi+5klcoUg1LbAvvKB4EAavbccFSY+dNNP6nhXoGZplNAyQhWvrNoW11E2KFOUGBoPwzXyuf02Zg5lVrXn5YrB8eCkPpXfSoH0QrMjonvZV8GBqcIlOU0z3SDu35eKYUtsLS64KFeNfwAYKPCtCe+YrkUzZPSyK7mvzPNJ/fDrukLdIFuPjloRxlmic0KN9URIeGXvtOBW17qZqYMs+o4uUJ2H38Y4k0DEHLy6rQV/lWQcW/mt+pqL55apawCwuatHeEoLYTJhpQRk6o62QvJYelTK2rdCF2WkujejfVtYwSuFVHIhX9JM8s/r4FRswT8o+TMTCpS9ObyjGS X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: [TLDR: This mail in primarily relevant for Linux kernel regression tracking. See link in footer if these mails annoy you.] On 04.09.23 15:31, Vlastimil Babka wrote: > On 8/30/23 17:52, Alex Xu (Hello71) wrote: >> Hi all, >> >> Recently "memfd: improve userspace warnings for missing exec-related >> flags" was merged. On my system, this is a regression, not an >> improvement, because the entire 256k kernel log buffer (default on x86) >> is filled with these warnings and "__do_sys_memfd_create: 122 callbacks >> suppressed". I haven't investigated too closely, but the most likely >> cause is Wayland libraries. >> >> This is too serious of a consequence for using an old API, especially >> considering how recently the flags were added. The vast majority of >> software has not had time to add the flags: glibc does not define the >> macros until 2.38 which was released less than one month ago, man-pages >> does not document the flags, and according to Debian Code Search, only >> systemd, stress-ng, and strace actually pass either of these flags. >> >> Furthermore, since old kernels reject unknown flags, it's not just a >> matter of defining and passing the flag; every program needs to >> add logic to handle EINVAL and try again. >> >> Some other way needs to be found to encourage userspace to add the >> flags; otherwise, this message will be patched out because the kernel >> log becomes unusable after running unupdated programs, which will still >> exist even after upstreams are fixed. In particular, AppImages, >> flatpaks, snaps, and similar app bundles contain vendored Wayland >> libraries which can be difficult or impossible to update. > > It's being reverted: > https://lore.kernel.org/all/20230902230530.6B663C433C8@smtp.kernel.org/ in that case: #regzbot fix: revert "memfd: improve userspace warnings for missing exec-related flags". #regzbot ignore-activity Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr That page also explains what to do if mails like this annoy you.