From patchwork Tue Feb 28 06:32:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Collingbourne X-Patchwork-Id: 13154443 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 F0A1EC64ED6 for ; Tue, 28 Feb 2023 06:33:45 +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=/gMW5WGwVlxk8JgM+WtxPS30r12xIQoDM7He0jQLpbs=; b=yk7 pQvtIzugrHbRm8C6l11ZsjRptOielhIKnv0+vT07xdLsSrqO8w/35s25juynSO50zk4CGZ+8r9QX0 RND9w3TKaI9uONOkOO57U+PbAoyE1tJKlLyuYldOWvhYp8YZ3nOJwWe4gAQvIQmidb5fRc/UVPnDo 4V9I03dgsYfNdnPrNN5aT8ZO3d93D4+toVA+yijwXKR7HO6fbLf/qZRzIMBeP89R9p4RwBdiahLUS +eind6Fgu6/WrDljRUEJT1FcQSHf8gumR00Jy/4rEEdQGjDz5QX2C1Bx86KSCkVF3M/LfIUEiy5vj pfrrJhJdNoXnDTfHjGWDnlMRJzyqmEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pWtXi-00C9Yc-0k; Tue, 28 Feb 2023 06:32:54 +0000 Received: from mail-yw1-x114a.google.com ([2607:f8b0:4864:20::114a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pWtXe-00C9Xr-QQ for linux-arm-kernel@lists.infradead.org; Tue, 28 Feb 2023 06:32:51 +0000 Received: by mail-yw1-x114a.google.com with SMTP id 00721157ae682-536bbaa701aso189801977b3.3 for ; Mon, 27 Feb 2023 22:32:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1677565968; h=cc:to:from:subject:mime-version:message-id:date:from:to:cc:subject :date:message-id:reply-to; bh=Gfch4ggdlRbaS+LPf7sPXWuMxYrtd7MRHAdgdZrCUsw=; b=DZWc15U/ouP5G9Sc6cwD6LFBn6gUEjOflRcOeHDcYbnETonbZeQL6r0e3geFOZvEVN hi689N3DmE2qfe2LrySNeBMV6yXwJkVwT0jlXZFun80Tq9gTSNJAZ8i1SURTqxanEC6g BNjJXYVLlQxBVcGP1WcckP7OB9SQm8QXSf60AWol94OtvdlqpNG/j9F/QB9Cr6/8+x7n Z3gAUsuX3IaJLRZhS7Q27ym1TlQ/Nz4uJOnl6bhcBlfZTSjdru8Q2qQVfaYoceC7JJx1 n5P97axgS+EagUX69SmRTPZgSyr+NV9PH0B4ikAiRySHNIVbWe5nG0gT4En3Sks1Lk2l IQYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677565968; h=cc:to:from:subject:mime-version:message-id:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Gfch4ggdlRbaS+LPf7sPXWuMxYrtd7MRHAdgdZrCUsw=; b=f4MR1H4AP6ulzqwOBNvACIkb/wVaj9uvhcQcuIYtQ8ELQG2PgvGeZ4h2HzanvzDrmP E9o8/lO+aFoquVTLW7HFbZYNuBJ2F6TKlnkrkClJEL0tMCBwRofb8s2eeZQ4/4UNSXFs n1piralCF+MHogvmjZGYAmntsHjgmWrNzhk2x7QOVlzhoYtbe+aOn5JcRVCIses3Uy0W OV6Oh0snrfBwswKodEJPIQHcoIVcppW1XEfkdHtusmIekLX5o4pKhhe2Mir6ugrPDTTH D8coIQYCZgMKZj8O79x5/BDT2kTLlzwfGwNRgLMMDQabcSNzmcV4D29gdm8lTkCFZoWK Ge0g== X-Gm-Message-State: AO0yUKU8/X1cQNlMZCZnwp0PlVJ8YzAA5Jfb2N6+8H8MOvMT443F9qfD 0dNy2lMdWg+ubXmKMjwWt1t+alo= X-Google-Smtp-Source: AK7set98l13QL8FxQsXVWh5WH9kIM4xsq/RTmHl1csvpr8hFk2QNDpJ6XvZrJySEee+am3lq5TdmlF4= X-Received: from pcc-desktop.svl.corp.google.com ([2620:15c:2d3:205:cb8e:e6d0:b612:8d4c]) (user=pcc job=sendgmr) by 2002:a05:6902:ca:b0:a3b:7dbc:a9f6 with SMTP id i10-20020a05690200ca00b00a3b7dbca9f6mr643522ybs.5.1677565968739; Mon, 27 Feb 2023 22:32:48 -0800 (PST) Date: Mon, 27 Feb 2023 22:32:38 -0800 Message-Id: <20230228063240.3613139-1-pcc@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.39.2.722.g9855ee24e9-goog Subject: [PATCH v2 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-20230227_223250_873006_F64AFD7E X-CRM114-Status: UNSURE ( 9.85 ) 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. 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 | 28 +++++------- include/linux/page-flags.h | 9 ---- include/trace/events/mmflags.h | 12 +---- mm/kasan/hw_tags.c | 2 +- mm/page_alloc.c | 82 +++++++++++++--------------------- mm/vmalloc.c | 2 +- 6 files changed, 46 insertions(+), 89 deletions(-)