From patchwork Wed Mar 1 00:35:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Collingbourne X-Patchwork-Id: 13155396 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 2B80CC64EC7 for ; Wed, 1 Mar 2023 00:37:12 +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=GoI0QcoSbrG723GWmFJvvXBv5x9T1Tg4Z1yTi7sBxmc=; b=EeL fQ6ywSSSJ/rYUIe3X8IMIuZ2eQem1u9uzmC4woMbiym7aS+CGolmUsWz27FvDxSP7IXpXxvvxliOa zL91K2Tduv3/y8Mgno3/EzLLlsFFu8Unxzq58UFnL/5XdI/uxx7R7nXCNslBX3Aj3CjF1aMWUWv8P NZYyX3EMnPUqMdPC6LntWOUWi5EB6MJovkxoHaPvmO7BwkvtscNhl9a/sESu0lL+hxnPDeXlYxKHb 0TS29dtoUSfUUyIr7QEcqYjMgaodP/waz69efgP1cd7PUpe6PnltI15VqaGdpuAAg6+iY/6ctFqVn 7cb1ZzrQJO93Zg1SPIIyC5yk/U+bJbw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pXAS0-00EezD-E5; Wed, 01 Mar 2023 00:36:08 +0000 Received: from mail-yw1-x1149.google.com ([2607:f8b0:4864:20::1149]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pXARw-00Eewx-VQ for linux-arm-kernel@lists.infradead.org; Wed, 01 Mar 2023 00:36:06 +0000 Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-53700262a47so243254467b3.4 for ; Tue, 28 Feb 2023 16:35:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1677630954; h=cc:to:from:subject:mime-version:message-id:date:from:to:cc:subject :date:message-id:reply-to; bh=341EiElQDDcMgbAyTPSBPMw9kz/Bxxf49gfw3+dBaX8=; b=pet2R1oTf3qweqQAoC6XPKB1kVnZriBUE3RQmFtKnhYhdn6FdyBz9cTUDOdDpVQzxA FL3y6j7Kj6FEWSliNmQcR+52ZsCZ/c0EEzuIPAtDD+w+hpm9v5RrxapbtFX4wZSb94qE Ej+1p6qF4IGEuV/uV8EqcG15Evtf28v9k/NSzER1R4O7rvT6ZaPvHrb080ldCOVh1VlY tFgToePANvx6Y2AxrgxwCz0WnfUBXC24ZtzrwT5P90/c1J2JCY/4Bwubm7Y6dwE9JTR0 lnQMeNdNnHKHVYgCFvN3vpWsqBwasc9mg0kJ3QYdIC6sGv7ok1K9ImtcrJEC1Mn7yq9y OIWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677630954; h=cc:to:from:subject:mime-version:message-id:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=341EiElQDDcMgbAyTPSBPMw9kz/Bxxf49gfw3+dBaX8=; b=mEbeB/XEwjC3NW9jhuj+v93n+ocsvtFEQCyv1Ep/Jodw5DHy1LWuTf9608wNelbb9h XNqybuIVf5+FtWuPCYqSvyBULt6Q2bBCX3xmTZ5Y5I0nc8rtA7NBy8azGYBi88oJs9GH 2n1DsebqVdF8FWT/dMln/9niMa9TgEanKkTGrYBbH6Ylb4SZLLSFzU5KQhx4nkH0pkmc HeWOtD3h7QDIbS9i7bL2GbvYDOfTDVG6Mb4OKojnf/Q/GhiQqsQjmrsBkPs4+aynnz0g mGf4KrPXpdIlYBaU2UdRLpm1gTLMo0F0Yc63DW7kCy0okpA52kGJcFVCqkF6c1Q4haOO oKkQ== X-Gm-Message-State: AO0yUKULfSbe9yiYaTjixOJ6AhonC1Sx8+VBtQ6GfCnw77REUa70vFip 79/ggpHzRrV5sOwk/SRMEOGA5/c= X-Google-Smtp-Source: AK7set95ADERq2igHjaX/gcTsCC8i6DtMzuKJZDhQVgI5BHnIlw75sHf3d5MTEDElBX0/G+Bd8Py7Ts= 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:140c:b0:88a:f2f:d004 with SMTP id z12-20020a056902140c00b0088a0f2fd004mr4373352ybu.5.1677630953849; Tue, 28 Feb 2023 16:35:53 -0800 (PST) Date: Tue, 28 Feb 2023 16:35:43 -0800 Message-Id: <20230301003545.282859-1-pcc@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.39.2.722.g9855ee24e9-goog Subject: [PATCH v3 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-20230228_163605_015559_069EE848 X-CRM114-Status: UNSURE ( 9.78 ) 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 | 30 ++++++------ include/linux/page-flags.h | 9 ---- include/trace/events/mmflags.h | 12 +---- mm/kasan/hw_tags.c | 2 +- mm/page_alloc.c | 84 +++++++++++++--------------------- mm/vmalloc.c | 2 +- 6 files changed, 49 insertions(+), 90 deletions(-)