Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp496268rdf; Tue, 21 Nov 2023 08:10:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IFMoor6qR1m1NtdpnQKapVdjHQ04cx4RpoKDzjv+YZFC2JguD/dEEh14BfZ0Y+Ai0DFxTxO X-Received: by 2002:a17:902:eb53:b0:1cc:7af4:d12c with SMTP id i19-20020a170902eb5300b001cc7af4d12cmr12899940pli.62.1700583008320; Tue, 21 Nov 2023 08:10:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700583008; cv=none; d=google.com; s=arc-20160816; b=ZgQvDZEumJH4HhxvxjOLFQk1QwhUF8GW7ZrZoJl8z/PYyIclTVZBo4yn7KH/NvFyWJ isSIuP661LLzLlTx7YyGnK09t2CO2dlDmxc88VO32tlMxSyHGR/JHuofVF5fkc86/m7g PQeblUIrvFJL3UsDTekmfMMcREEkG+dqW/6Wk3tGflVsmt5Pl0zUxzxZVzZuEcd8XqOi V8Dw1w2vwkZ3tP49VmZ3B844y5FVuYNh+XQcVmToCjVCpQsVUujjGT2fGblt+HlB6fxO ZvD6Oti/0AcwDg8Qd6GdrKLAUOJNOlu0n9qU+vRS+70WrKOJmvaXipeGbDrigqQSvvkq QT5A== 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=PmJ5foKdCDZg8tIi4TPGeihCrXCC5qbN8sSmRpGmvoM=; fh=7HvVTlPu/758q9pyDnsoZecNvn2PrfH9jHqN5+uHZcU=; b=cmYY/f685jCuhY9S0rcUPYpmtFlTMuQKuECPLdLAU0GQnWaQZQ/MLjR1ix6DjM0Q9M ATwmS+O7LJT7ejI3kjJqdXNa+Z+xPwkA5D18cTPMCIbLs5FNmzrE0ieZR7NEXMphMYBg xvfEtHBV2qjMfwiWKcbcp95Y+NtwePwIS3u7N254NxDGzVGO9cWHpP6rG+QWnaqmMqLa KQxQnS72x7s0jPVBLJVAFIxr/RpS3gU8UVz1XbSx2Bieaw09X9gANtjJla8oKrpr3+sN 8ANu+ZoYItNq7tBWwN4jCksUBZRw1aM360cH0fzuEUkcQiwl+Drurtb6LTsvNHqmb4Fc aa0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=b7S1gYGM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id h13-20020a170902680d00b001cf58865d09si5926702plk.328.2023.11.21.08.10.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 08:10:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=b7S1gYGM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 4DF9E806A115; Tue, 21 Nov 2023 08:05:53 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230374AbjKUQFj (ORCPT + 99 others); Tue, 21 Nov 2023 11:05:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230458AbjKUQFh (ORCPT ); Tue, 21 Nov 2023 11:05:37 -0500 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8401126 for ; Tue, 21 Nov 2023 08:05:33 -0800 (PST) Received: by mail-pj1-x1029.google.com with SMTP id 98e67ed59e1d1-285196556fcso2000468a91.0 for ; Tue, 21 Nov 2023 08:05:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700582733; x=1701187533; darn=vger.kernel.org; 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=PmJ5foKdCDZg8tIi4TPGeihCrXCC5qbN8sSmRpGmvoM=; b=b7S1gYGMZK/LETnoWv5ePvpD/zh0ypVnv8k3QLTiCCcV14ogz622x/1GQ5Xu5Fe69K HzfNm/s1VC4efzlVXXUw/N3SQsj5AVWr0fFmkfOvBdKzL0oUay9WtDKmSPcGIY9kcbZU 30viN3TTgYrVYmz/rvrScU9oYzqEmCajkUilUgZ2YCxFXYpZxtwXPLqMa9tmWWwPq66z goENR6SrIlkbBnHJ2LQ8bPMKFJqJ2UfMWQo89eELdamx73Oo082oemVU7cRqtSJZyJ6W 6iCiR32dD3W+5xFk3WVQcV26chquEuBcuJc+r7xUhpTclnUqUsyiPtuIpa+ZZzi7DKI+ jG7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700582733; x=1701187533; 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=PmJ5foKdCDZg8tIi4TPGeihCrXCC5qbN8sSmRpGmvoM=; b=rNK+bfS6JBAHxBDWqui8X+wmCMXnpX9kPW7ri4tZdfdIez45PI48beUaBw7nRNxUDL XhFBCCeSJBw40ol71ZfQymDS7VXYhwRGSGuYMc+SjkxPL6AlCKfH4DsWCuETWBzKemEY 8gXAhgR9WWSWWt3rlNJOt8bwGqDOfkHbuPqmp9ELmPdm3Le/zCe+eanGHKsVF4gbURHZ lwkD3h/2+oCJBqo8jMnL2hvq7DOQxRYCu96l+rI3YJL6bBHq+Lqy3ettQs4lYzApqVV7 NfzljGQhYRUgIloLvewd111AI1il14655ZunEGf4QbiUbNMlA7UgkEp/ygc3pfgZUi4M sg2A== X-Gm-Message-State: AOJu0YxndSb9Q+GUl2woz+M4ZuhXcXvkJxX9QAiBVZsOGkaaY8pfz28E LR+b8kSz4iDlIPTVaO7W9tht1+hLSnOl5Wv/LvY= X-Received: by 2002:a17:90b:38c1:b0:27d:d9c2:6ee5 with SMTP id nn1-20020a17090b38c100b0027dd9c26ee5mr12266549pjb.9.1700582733189; Tue, 21 Nov 2023 08:05:33 -0800 (PST) MIME-Version: 1.0 References: <202311212204.c9c64d29-oliver.sang@intel.com> In-Reply-To: From: Andrey Konovalov Date: Tue, 21 Nov 2023 17:05:22 +0100 Message-ID: Subject: Re: [PATCH] kasan: Improve free meta storage in Generic KASAN To: Juntong Deng 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 21 Nov 2023 08:05:53 -0800 (PST) On Tue, Nov 21, 2023 at 5:03=E2=80=AFPM 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!