Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2295213pxp; Mon, 21 Mar 2022 16:09:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9QSv/9CV2iQXCcjruqRYPcFxJhGoFB+2Xy0FTBxIn8vTZHUcSwjXu7oD0eYLWx9ScR2gI X-Received: by 2002:a63:134a:0:b0:378:9ef8:950a with SMTP id 10-20020a63134a000000b003789ef8950amr19433912pgt.548.1647904145725; Mon, 21 Mar 2022 16:09:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647904145; cv=none; d=google.com; s=arc-20160816; b=NKiZa67+URHK4feJ8nE9aEcNe2FdbskJs2kdcttd1vBF+HIqAv9yvOE9MLj22++Gb2 FeSHeP+G+EEL9tO1CYwL8rNJ3juXkvKv4JfS5fuhHRSlO/rzHWEzed7M/qC2Z4mcyLe8 q7wqnr+hFZNJNP/JjdWZwd0CMAXsqg16sjcd8w1K5yMqWYtOTrCJB6ie/tEIcNCRRI2Y dNslQ0H03Q1nMC+1C0+lcQM0UrEVV8bPOhHu1BuQj44QbcYbiDB4iBr7xEmThNA2cVIX O1zUbXSpVmA0TuR44TC4Y8V19zCPcyOxlFxa3R86/4qa/+N/9vaasvKwCE4d9nHjOhhR UsXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=SpcQ2fQs0B6gsc0zmrC1AWzw07HBH7voJSyZVgn+CmY=; b=bG/St9GaadABMETQWFr5d1QLQjsziWIJY+YZ9t0DXNZkFNkWADoVPhDbDenocZIgoh rLgrsED+hQjFY36lmXQ+4Tf0I2DOLGIQNu7gT5SNw5NI/7Z99mImqmQSevyLRZySFDss S7s5VZePEBMepSTUYKO3STythXto1DJMDf2/TWmgPCOjYwtSQpmd5LS3PCDcfSBmQ1x3 ZpvCmE98ftSL52+Jdt4pHW8+P6kcZ8MrsF7vGqkyX/suFeWJg8KQekwnCucTxVprxFH/ zhFaElLJ2iNNVmk0+zGt9jp+dOlOfyBXEoUQAtQh5cyc53Vdgz/YNCdDU58h8bJY2zH2 T59w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=YMmPb6uf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id lk15-20020a17090b33cf00b001bd41c084c0si782462pjb.18.2022.03.21.16.09.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 16:09:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=YMmPb6uf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A704135F824; Mon, 21 Mar 2022 15:07:18 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349297AbiCUOZy (ORCPT + 99 others); Mon, 21 Mar 2022 10:25:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350378AbiCUOVC (ORCPT ); Mon, 21 Mar 2022 10:21:02 -0400 Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8346C177099 for ; Mon, 21 Mar 2022 07:13:35 -0700 (PDT) Received: by mail-qt1-x82a.google.com with SMTP id t19so1050421qtc.4 for ; Mon, 21 Mar 2022 07:13:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=SpcQ2fQs0B6gsc0zmrC1AWzw07HBH7voJSyZVgn+CmY=; b=YMmPb6ufUoPO1xJawFqx/pw7tcukS4GdHAOpTMI6TNm1HeyLUsenwKkAlmFC5sskS9 G+wNHb8XVZRirIOXD5IKpxnzUczJMsQkb3lb26bM4xIpkG0BSfd+K9hOZug87/lkap3n loetXdhMOO4esSZ12p6xttO72PGLNa5Hjolu+3w+yQPa2P/PJi6jx/BzjMHrk3CRVets x7Dsj4N9NW7rj0axqNTcVj/HX2wMlYDfqvxQ/+uge9Lm786bX2wDZMSBj82IRVskN39c UY8Q8tqzp7am3VQ1xUTUHBNkExHsBO5n5rJvr14CodpI8BFubxJhna6n/VaZsQlP+qru 6A0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=SpcQ2fQs0B6gsc0zmrC1AWzw07HBH7voJSyZVgn+CmY=; b=yd0chaq98YJmI46V6lxIzSpKWuv+3rTeSSKdHAgWCgy841oQoYWcT8QFoiiwhBvUsW TSL/dB1IN20CWCmE2PtPKFw5NPVstbp5x3RdQbXmgovruAD8zJD/sbcIn6gIQS2gTj+i WREUTfRG+fkOARG9Vl71gJs+q7/+VVIq175Z7/GOPoNTLsoACAiYt+mLjq+vZeUZYu4U zLMEx1udxYVxysXM7Q1QqQcggtJNxRRccdYiLI7iJJGpzisLWQSZYL4OeG78GtgQ4hrY YE7OJAWGdk5m/AO8KmxZ7TiajgVmbhkpBq8tBLbR33dliePpbu1jXoNH/yeFYLnB9hKg kqJA== X-Gm-Message-State: AOAM532dwxGnMq0ZxJSO9XzC/4srEgolk60zQJc7+T8DE2AK300FQ9ko P7ba7Pc+pc/aI9I+ttPRimHobgLnQ6CwVSA5FdGNtA== X-Received: by 2002:a05:622a:1709:b0:2e1:2cbd:6139 with SMTP id h9-20020a05622a170900b002e12cbd6139mr16332484qtk.578.1647872011635; Mon, 21 Mar 2022 07:13:31 -0700 (PDT) MIME-Version: 1.0 References: <20211214162050.660953-1-glider@google.com> <20211214162050.660953-14-glider@google.com> In-Reply-To: From: Alexander Potapenko Date: Mon, 21 Mar 2022 15:12:55 +0100 Message-ID: Subject: Re: [PATCH 13/43] kmsan: add KMSAN runtime core To: Greg Kroah-Hartman Cc: Alexander Viro , Andrew Morton , Andrey Konovalov , Andy Lutomirski , Arnd Bergmann , Borislav Petkov , Christoph Hellwig , Christoph Lameter , David Rientjes , Dmitry Vyukov , Eric Dumazet , Herbert Xu , Ilya Leoshkevich , Ingo Molnar , Jens Axboe , Joonsoo Kim , Kees Cook , Marco Elver , Matthew Wilcox , "Michael S. Tsirkin" , Pekka Enberg , Peter Zijlstra , Petr Mladek , Steven Rostedt , Thomas Gleixner , Vasily Gorbik , Vegard Nossum , Vlastimil Babka , Linux Memory Management List , Linux-Arch , LKML , Mark Rutland Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-9.5 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > > > Just to make sure I don't misunderstand - for example for "kmsan: mm: > > call KMSAN hooks from SLUB code", would it be better to pull the code > > in mm/kmsan/core.c implementing kmsan_slab_alloc() and > > kmsan_slab_free() into that patch? > > Yes. > > > I thought maintainers would prefer to have patches to their code > > separated from KMSAN code, but if it's not true, I can surely fix > > that. > > As a maintainer, I want to know what the function call that you just > added to my subsystem to call does. Wouldn't you? Put it all in the > same patch. Ok, will be done in v2, thanks! > Think about submitting a patch series as telling a story. You need to > show the progression forward of the feature so that everyone can > understand what is going on. To just throw tiny snippets at us is > impossible to follow along with what your goal is. > > You want reviewers to be able to easily see if the things you describe > being done in the changelog actually are implemented in the diff. > Dividing stuff up by files does not show that at all. > > thanks, > > greg k-h --=20 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 Diese E-Mail ist vertraulich. Falls Sie diese f=C3=A4lschlicherweise erhalten haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, l=C3=B6schen Sie alle Kopien und Anh=C3=A4nge davon und lassen Sie = mich bitte wissen, dass die E-Mail an die falsche Person gesendet wurde. This e-mail is confidential. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person.