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 94E0CC433FE for ; Tue, 11 Oct 2022 09:03:21 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B6C776B0072; Tue, 11 Oct 2022 05:03:20 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B1B696B0073; Tue, 11 Oct 2022 05:03:20 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9E35C6B0074; Tue, 11 Oct 2022 05:03:20 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 8CD076B0072 for ; Tue, 11 Oct 2022 05:03:20 -0400 (EDT) Received: from smtpin21.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 1E9B3C06B7 for ; Tue, 11 Oct 2022 09:03:20 +0000 (UTC) X-FDA: 80008079760.21.E6653CA Received: from mail-yb1-f182.google.com (mail-yb1-f182.google.com [209.85.219.182]) by imf01.hostedemail.com (Postfix) with ESMTP id B02B940033 for ; Tue, 11 Oct 2022 09:03:19 +0000 (UTC) Received: by mail-yb1-f182.google.com with SMTP id k3so15690409ybk.9 for ; Tue, 11 Oct 2022 02:03:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=RcAOxa1eNezPHmJ9FrETfyniUyQ1uo7YUQ4nKmmzqaQ=; b=tl4+sPD+REiD6EkMCv/WFRGMoMNhfDFvCrq9TBhC1g1QrHzRnqXbFYZ65z8TmYWlDB CgB8GY/eJZnShEbgfxB8Qpk09fE1WzSU0BbfSiDHJssktoJE5Wt5In2FLMae9pqxMDh5 BZV8PXin+imLlZqVFUcUQcx28BGHQ53LBd9uJSf+UuvabPhV9IkbU0aLWkrRBZOU7P1Y tk0ZBZAySF7M9cZkk7RtADSUNF7waL+8rl2JsCpAlaVYbuposfHn7aXR83NJwi4yDUoU sJxzKuaAZoCLd7hsfJELnUm0JWfX4pqsXjDfPSTa0gFZjJj4wfi2rAy6LsejfG6W+9eH jQ2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RcAOxa1eNezPHmJ9FrETfyniUyQ1uo7YUQ4nKmmzqaQ=; b=6BVPQGMHJCNp6aMi3SMyxjLGNQ4POPASyzTnLENTPel0baf6nxx7X8xoSSPeCUEdM5 STTbJ0HdQSI5lp+A3HoxGC8J9dPGUIFyY07kn5rMPCFa73Y/cYWwMKNipGKdud4MKQny P8wt2diwXDDYDLXCEWF+tO1jcPz6p0Ra6wjxFAOLTY0ahzEMjHjyOIoB3A9OjRH4zyve pizJc9YvlqlQhjmKR1s2K1jcjo3h2kSQgXN1CYYiVV4h09VErFTJbTVEv1JAZzadqMeG V0l2wePMfgFUwthj1wWpGIlMktEHBEOxqEPJp72c02sn2Xex+3lNK3UuvbAnqngsRSqe fH3Q== X-Gm-Message-State: ACrzQf1VnyGt03Oz3WEUb5TuPUg6MyOiIHciMvSrwCfVcCJhNseJR2Q2 PgZANJGzPDKpq/cS3Ma5eFXAIjzTB6dESJz0tROUsw== X-Google-Smtp-Source: AMsMyM4Urn5vFXswQKScZ6Xnp/tV/RsptNvXWPtkoBumbwT02NnnChX1WgD70JU0gAjj3427ja4Cb9bqPm02qXzoGAU= X-Received: by 2002:a5b:a44:0:b0:6b0:13b:c93b with SMTP id z4-20020a5b0a44000000b006b0013bc93bmr22875414ybq.398.1665478998747; Tue, 11 Oct 2022 02:03:18 -0700 (PDT) MIME-Version: 1.0 References: <20221008132113.919b9b894426297de78ac00f@linux-foundation.org> In-Reply-To: From: Alexander Potapenko Date: Tue, 11 Oct 2022 11:02:42 +0200 Message-ID: Subject: Re: [GIT PULL] MM updates for 6.1-rc1 To: Linus Torvalds Cc: Andrew Morton , Andrey Konovalov , Josh Poimboeuf , Peter Zijlstra , mm-commits@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1665478999; h=from:from:sender: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:dkim-signature; bh=RcAOxa1eNezPHmJ9FrETfyniUyQ1uo7YUQ4nKmmzqaQ=; b=LTPEeDyJUvXfU1Jj+5/N+Maac8XfL5ASfTllPI8egpKBDBrGZ5twDlDucReBZE6tICzlSu GxX3Y/VcKv6N2v2iyzFYh7tDrtqol98m5RMgv9+xezlgOpRTULR/WswVU8dMm3T8UkzQj3 P1uTnJ9Ms9TFrTi30Pedo/Z7mbmKLT8= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=tl4+sPD+; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf01.hostedemail.com: domain of glider@google.com designates 209.85.219.182 as permitted sender) smtp.mailfrom=glider@google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1665478999; a=rsa-sha256; cv=none; b=hrh9Cwj+GIKDQ+DBb/CyPb4RAP1ZH8v7AFnoRNICRq9GVe851t8xFvId0glb2Qd1anhuUt rdnoECd4HrkN4IyzDdbjTUEdkWDvvAyMvGyyhWr2tqikPOKg8Oj7cleLkaVaWmF4hzcrlb wibbIRdz16w4ZQvcd1+iprhmar5vruQ= X-Stat-Signature: imy3m4fc1zhyuh4fjbby7h57ab3q1hp1 X-Rspamd-Server: rspam09 X-Rspam-User: Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=tl4+sPD+; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf01.hostedemail.com: domain of glider@google.com designates 209.85.219.182 as permitted sender) smtp.mailfrom=glider@google.com X-Rspamd-Queue-Id: B02B940033 X-HE-Tag: 1665478999-793295 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: On Tue, Oct 11, 2022 at 3:20 AM Linus Torvalds wrote: > > On Sat, Oct 8, 2022 at 1:21 PM Andrew Morton = wrote: > > > > Alexander Potapenko (43): > > crypto: kmsan: disable accelerated configs under KMSAN > > Ok, so this conflicted pretty badly with the crypto tree having > re-organized their Kconfig files. Sorry about that. There was a fix for this problem: https://lore.kernel.org/lkml/20220909095811.2166073-2-glider@google.com/, but I am not sure where it ended up, given that crypto tree didn't have KMSAN, and -mm didn't have the crypto changes. > I channelled my inner Alexander the Great, and just cut the whole > thing through by disabling all the architecture-accelerated crypto > includes when KMSAN was enabled. That's exactly the point. Thanks for doing that! > But that's very different from your tree that disabled the options > individually, so some KMSAN person should probably look around at it > and decide whether some more subtle approach is called for. No, in fact it was pretty painful to disable the configs one by one. Thankfully, the new Kconfig layout simplifies the things for us. > The other thing I notice from just doing a build is that I now get > > vmlinux.o: warning: objtool: kasan_report+0x12: call to > stackleak_track_stack() with UACCESS enabled Guess that's unrelated to KMSAN. Happy to take a look anyway. > which may just be a "need to teach objtool this is ok", but I'm not > seeing why it's now starting to happen. Maybe just code generation > changed for some reason, or maybe it's just that config options ended > up changing enough to expose this on my allmodconfig builds. > > Cc'ing people who may know better. > > This is just my reaction from doing the merge and test-build. There > may or may not be more commentary once I've actually tried to boot > into this thing. > > Linus Small nit: - Dmitry Vyukov introduces KMSAN: the Kernel Memory Sanitizer. It uses clang-generated instrumentation to detect used-unintialized bugs dow= n to the single bit level. s/Dmitry Vyukov/Alexander Potapenko/ ;) (although contributions of Dmitry Vyukov and Marco Elver to the whole thing cannot be underestimated!). -- Alexander Potapenko Software Engineer Google Germany GmbH Erika-Mann-Stra=C3=9Fe, 33 80636 M=C3=BCnchen Gesch=C3=A4ftsf=C3=BChrer: Paul Manicle, Liana Sebastian Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg