Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp502321rdf; Tue, 21 Nov 2023 08:17:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IF5XDnomPDvp6doP13my3/oklnE5+aFaJfFPOP+s0htI3LMZ6Ph04S7tWSRu9k6i7ZZm+jd X-Received: by 2002:a05:6a00:1390:b0:6cb:8abd:39ae with SMTP id t16-20020a056a00139000b006cb8abd39aemr6834509pfg.30.1700583472245; Tue, 21 Nov 2023 08:17:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1700583472; cv=pass; d=google.com; s=arc-20160816; b=B0HzeABPEwVsgQq6+of3mXTO7S8u1vlGKuBTTCzWbys473QASdOqFZLYbRk8kJXuG5 byuWZxYymE5FjzkwPbr28imgoad86Lw8oo4mGcThSQT6KouZLEwiiLKW18nhSc+NOD19 LjYZJQdLLzbGxOn3GBmgJ7B1fxQyi7uTgyolGxefKzLTJNn7IPv85RCee6Pm7tM4QoQG iNPMaHUwxRatsFVvSMLJFaJZAcILHqK24z09KUgqH3ao71akcEYInohtshWi1NeEFDTc hhE/xeMPmBQ1IDLh12YlwMWFSoJjaWrn36Yxvk3Gtj6UWh95Jqxv5xIoopxf/+zAVMxU 7SlA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:subject:user-agent:date :message-id:dkim-signature; bh=yUzNLr+cwGdy045lqg+bNpl3hY3ODB4hHXj2I01kkIw=; fh=PxC77I2mAcpdCi0Nvo4QY94RSHYBBqI4vgyiVskwuaw=; b=bTdAenn4OU4Ie+nPb4Hi3RfzbDyg/mANVjvN4RSPCzIvBTngk636LdhAl0v5hQVcCJ MezFfOaim/D4oLA89OgA2h0+7NUxWW8oMXi7m7dWth3P14Jp2g2KlPgslIkEEwndceAo midJKpCZL/bDCslK/3o/rPO8pM6uv5G8c9RV0K9oTSPw93sRkFtGNMY1dK+XSknmpaZ9 qAMNRl8zBe2VC5mwo78488s0bIP8ftBd9pyWAhZMpvDGPakYyNl7F6fHJ8JgdCOZKltc DuzOLpigICq7kTSn2DBU3vuecikv6qfCdOsWmtCeT6mFL5QH+Q9Ll87A85QyJKAVnT1g YNew== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b="nCTJJq/Q"; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id p17-20020a056a000b5100b006cb64315210si6832408pfo.9.2023.11.21.08.17.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 08:17:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b="nCTJJq/Q"; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id BBF1D808EE57; Tue, 21 Nov 2023 08:16:03 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233336AbjKUQPr (ORCPT + 99 others); Tue, 21 Nov 2023 11:15:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234038AbjKUQPn (ORCPT ); Tue, 21 Nov 2023 11:15:43 -0500 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01olkn2055.outbound.protection.outlook.com [40.92.66.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 110A3D5C for ; Tue, 21 Nov 2023 08:15:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Rz2IIS9VT+vNNypS5OTm+GAxfq2rx2j635xrLr1MEhveBspw3FziVv5XEHACPVdN5CJ6kepfgft2yNr2HSB+pC44flHv3t4GdqqDhCQHC2cv4Wcg09uxKqEGN5j9HtCRJnR0zbC7DVIBpfQy0YzE4ukcjXy6og42LzG+xFO36GEtS0ugSxLOpQgfCNipx87JGEI1vf+hPFXs4rV4rUEeHRMNr7kZSnGN+Iske/YW8y420McR1JZUvL3O8EZEvUi1k4LbgUsD03xuL6CzCkLtGLuJp+usKMsLGf3guZN0+88sqFS8VqRWfAnQUItaiPHicYBczOlh0Vh6FwEX+NEwBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=yUzNLr+cwGdy045lqg+bNpl3hY3ODB4hHXj2I01kkIw=; b=GxErmJjo2MhJkE5u3WE6CAdE93PmEpmf4/gNIMCjyxZholD6UyBLjx5875FubrUQ20xraY8+nsxHf7wVjWVUZq3cLjkRAp6F7B6v11Kz/hQATf2RlDlv3zwr3NQEueXtTTlVQl1Ss+U0KxTMuX9YrgOjt0t9E/r9q16+2AMdTGGa9QYqadJQSSVq/tbL5SEhBZ8l/eqhNHxzUyjcnYjG6y9fpe5jhB+yjb3dioHruKmICnnR4jtzl6ytoQ4ZyABy4ZsLS6n8i0kN1fMknaMoKxmG5LkQz89IKO74iec7IxLuVZbX4VVwJux7V6SXqnNTc9arJq0tO2vNNGO9DZQonw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yUzNLr+cwGdy045lqg+bNpl3hY3ODB4hHXj2I01kkIw=; b=nCTJJq/Q5nwnnjeHJdRktWGhBt1E6TFAVf0pHTw48gRcdcFBs9n+CsV+FmL9DSqmE6nIwURWhsKLSLRYKGanBQk9TBl36V3/1cHNqrnnz+YV1cTBXcFyGc8b471bnnqfn2w2HallWGABMAyUYYNTxPQ7k9Qa2PGW2uuzda024sxjuYy8W+5cHJCrgcLv+hAdHvsRR9GGz1r3BHuAMhPEMS8CyNezb/E3aBGZbCwyaKQ+jeh+ulVukwWz+wXa9ERjV4iS2w7dA0hHOE0COqDi2BY7TkHAfwoS+INtoKRWZSIIDqFyp9ElYKAD8arnsyEYtxtXeX3LLvGxQ55PmabGIg== Received: from VI1P193MB0752.EURP193.PROD.OUTLOOK.COM (2603:10a6:800:32::19) by PR3P193MB1117.EURP193.PROD.OUTLOOK.COM (2603:10a6:102:a4::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7002.28; Tue, 21 Nov 2023 16:15:38 +0000 Received: from VI1P193MB0752.EURP193.PROD.OUTLOOK.COM ([fe80::fdd2:7dbf:e16c:f4a4]) by VI1P193MB0752.EURP193.PROD.OUTLOOK.COM ([fe80::fdd2:7dbf:e16c:f4a4%4]) with mapi id 15.20.7002.028; Tue, 21 Nov 2023 16:15:38 +0000 Message-ID: Date: Wed, 22 Nov 2023 00:15:36 +0800 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] kasan: Improve free meta storage in Generic KASAN To: Andrey Konovalov Cc: kernel test robot , oe-lkp@lists.linux.dev, lkp@intel.com, Dmitry Vyukov , kasan-dev@googlegroups.com, ryabinin.a.a@gmail.com, glider@google.com, vincenzo.frascino@arm.com, akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org References: <202311212204.c9c64d29-oliver.sang@intel.com> From: Juntong Deng In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-TMN: [qJuxwt9riZ4A+iesZwU7TztC3P0OFlIS] X-ClientProxiedBy: LO2P123CA0004.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:a6::16) To VI1P193MB0752.EURP193.PROD.OUTLOOK.COM (2603:10a6:800:32::19) X-Microsoft-Original-Message-ID: <29437f37-f64b-4d40-be3f-3dd5f568a53e@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1P193MB0752:EE_|PR3P193MB1117:EE_ X-MS-Office365-Filtering-Correlation-Id: 6610bd59-392c-44d5-0d4a-08dbeaad193b X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: G7il+3OTQjRSM4i0SxyTbBIytEMqcR6eWkSPbzrmC4JDOU32nhJmH24275QT5dRXysby6hqbyGcXO6yzlWrMg4DgNV8ue2vypL4NFiZE9xcjlBzfFCnIm5o0YD9TE65kCn1LlDNVjUaAVxm3qsd9FZ7bQcoaJ+Wylh+Vuxr5q0NefIE4F6bp7va/NAYFrRZVAJVdZOur3uvdFPH57ChC8dWrYuCnZGJdscTgsddWEETXIyDNOI7cqYfhdn7G3b5PfcRRTXgC8399cqnPtRyUseWxzDxfi7TaDDmho6ErvIe9sIYP2qX7ZUxDtpWzxsq7iGjoCjnWN6FB/Iawglkyv84XcRJ9pTk3cE4cQe+ZNbI5gBz+xP7QDsk/mWOcFfEPfcw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lM?= =?utf-8?B?QzFDVEVFOFA0YVVlZlc0dS9OZ0pvS3FFTm1PbysrWXpyVTVIU2thY3FkdEF0?= =?utf-8?Q?FYcXP8rzkChSWAJNGoVJl82Sh8fFdtO3nveJToDJX7VU=3D?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6610bd59-392c-44d5-0d4a-08dbeaad193b X-MS-Exchange-CrossTenant-AuthSource: VI1P193MB0752.EURP193.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Nov 2023 16:15:37.9322 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3P193MB1117 X-Spam-Status: No, score=1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FORGED_MUA_MOZILLA,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 21 Nov 2023 08:16:03 -0800 (PST) On 2023/11/22 0:05, Andrey Konovalov wrote: > On Tue, Nov 21, 2023 at 5:03 PM Juntong Deng wrote: >> >> This bug is caused by the fact that after improving the free meta >> storage, kasan_metadata_size() continues to calculate the metadata >> size according to the previous storage method. >> >> I will fix this in a separate patch. > > Hi, > > Please send a v2 with the fix folded in instead. > > Thanks! OK, I will send patch V2.