From patchwork Fri Mar 10 04:29:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Collingbourne X-Patchwork-Id: 13168730 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 087FCC6FA99 for ; Fri, 10 Mar 2023 04:31:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:From:Subject:Mime-Version: Message-Id:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=UNamxBrjNqeLuHz9nXerGO3T+RLtwJ5CE9uGVAS0IJY=; b=DYM ORe2eHH/x7/eU2QVuexM44FFvhMexNSFfzZw6GTqZymGUGnncIVOgYqYBs0rFYbJBE6TAONvOHq8C kqjdVGvoER9DZF7aUY8MgCElmkc5Ua3KQWXeDk7Zewtaw1SV00DlhZq92AnDyYNTZSSQLAgM5koAy X/FYaZvbu7pre+rHSIKQXQbjtbTrhfAMGzcBg7JTSYxNFIDCs7KXR8PIn/jyvU2eXj99UhDXbvH5S NxEO7kYviz2Bx8JJeJfDACJWwgKjuFObX1R0sRVDLqh+ktJ+jG1Rbd8uSVUhe+Uxieu1VWjpHEGeO 9MAo1HrDd9T+nHtl+Bye4mkXmoA1Igw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paUOI-00Czh2-9K; Fri, 10 Mar 2023 04:30:02 +0000 Received: from mail-yb1-xb49.google.com ([2607:f8b0:4864:20::b49]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paUOF-00CzgM-DW for linux-arm-kernel@lists.infradead.org; Fri, 10 Mar 2023 04:30:00 +0000 Received: by mail-yb1-xb49.google.com with SMTP id i11-20020a256d0b000000b0086349255277so4649673ybc.8 for ; Thu, 09 Mar 2023 20:29:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1678422597; h=cc:to:from:subject:mime-version:message-id:date:from:to:cc:subject :date:message-id:reply-to; bh=GUKa2uusB8tSAYQ+u1ZVbFlgu88tHbm/uy+GaZqUXqw=; b=XjtPEiODoMx5nRrDoelkLDqE3ehOJkeTzalpXvnw/LXz7zSnKozuDBsD7rCJEbF2Jh uBGevJkDbxEy5thXa78/3K3osfwFXsNDTtWg82DJNMvgh4EEyfrJJUiQ5ABEONRvUqkK hISk6TqiP6SV1F/zkDdg3Y5VyBnloFsly9hTW126WD9Et5r0AIQ3Iverhn5fH4l8gMGF xEIrI8foPVtfbOgofO5WiKrdeJ34okOUbUDm+qpRCCbR3FsTeCznbr3ApiFPTKu67uNW +a437hE3CIQpPdN429Me6ahb1NjrmqUy0jmEnsFWcOfLXMgfC1gkjIRdfYOg9mPBts1e Od+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678422597; h=cc:to:from:subject:mime-version:message-id:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=GUKa2uusB8tSAYQ+u1ZVbFlgu88tHbm/uy+GaZqUXqw=; b=OZ2jRgOZlqADC8EI5Pvdh+tf3kcBwhOem5RxF4t/CDFrGaYmUggnFyQ5Cyr+TXXh4V n3LmfzMweuZXPLRzmeWf47EppZLzOB404Z4VJLXeM9MErF2RXZVjo8OlqzkOPzX/xadl YQdR9VFjLRotZSf6iWUjwqXqtXKCOsPmpGbSaeWvwBJJVqmiq2bzo9c6vel9uNzL75iU +TcNdpyDfBqDAuyhqgdTqeTDgc7XfqFgnn7JM/Fe6JA8ZimCJ2c/2cVaBLgvTYyfTNFI Ri2xDfnoRLHIwxrhrKtUBbxiPIWZ21ahEbpNZcEib4/gUu4OemmYC2mqApZq7AcT7/+Y F3ew== X-Gm-Message-State: AO0yUKVj7OCSvboIgK2cuvQP7Houw1FYIxKd6J+uGr4nSRsHIIs0YlWT A+vmqP++U8DBE8PtU1o0n3kYghA= X-Google-Smtp-Source: AK7set9GbgqLOBHPHmzp/2iiCOZH/Uqhj6EMdH5Lkfwk3oDtwj6tH7O9pIU42pZs1B7Q2HSHM3EzySM= X-Received: from pcc-desktop.svl.corp.google.com ([2620:15c:2d3:205:4760:7b08:a3d0:bc10]) (user=pcc job=sendgmr) by 2002:a81:b243:0:b0:52e:d380:ab14 with SMTP id q64-20020a81b243000000b0052ed380ab14mr14371711ywh.3.1678422597344; Thu, 09 Mar 2023 20:29:57 -0800 (PST) Date: Thu, 9 Mar 2023 20:29:12 -0800 Message-Id: <20230310042914.3805818-1-pcc@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.40.0.rc1.284.g88254d51c5-goog Subject: [PATCH v4 0/2] kasan: bugfix and cleanup From: Peter Collingbourne To: catalin.marinas@arm.com, andreyknvl@gmail.com Cc: Peter Collingbourne , linux-mm@kvack.org, kasan-dev@googlegroups.com, ryabinin.a.a@gmail.com, linux-arm-kernel@lists.infradead.org, vincenzo.frascino@arm.com, will@kernel.org, eugenis@google.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_202959_494531_23217923 X-CRM114-Status: UNSURE ( 9.56 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, This patch series reverts a cleanup patch that turned out to introduce a bug, and does some cleanup of its own by removing some flags that I realized were redundant while investigating the bug. Rebased onto linux-next at akpm's request. Peter Peter Collingbourne (2): Revert "kasan: drop skip_kasan_poison variable in free_pages_prepare" kasan: remove PG_skip_kasan_poison flag include/linux/gfp_types.h | 30 ++++++------ include/linux/page-flags.h | 9 ---- include/trace/events/mmflags.h | 13 +----- mm/kasan/hw_tags.c | 2 +- mm/page_alloc.c | 84 +++++++++++++--------------------- mm/vmalloc.c | 2 +- 6 files changed, 49 insertions(+), 91 deletions(-)