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: 13155386 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 76D9FC64EC4 for ; Wed, 1 Mar 2023 00:35:57 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D05986B0073; Tue, 28 Feb 2023 19:35:56 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id CB5B56B0074; Tue, 28 Feb 2023 19:35:56 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BA37A6B0075; Tue, 28 Feb 2023 19:35:56 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id AD2676B0073 for ; Tue, 28 Feb 2023 19:35:56 -0500 (EST) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 7DB16AB2D7 for ; Wed, 1 Mar 2023 00:35:56 +0000 (UTC) X-FDA: 80518461912.06.9057E96 Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) by imf17.hostedemail.com (Postfix) with ESMTP id C9DB540005 for ; Wed, 1 Mar 2023 00:35:54 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=pet2R1oT; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf17.hostedemail.com: domain of 36Z3-YwMKCEYxkkowwotm.kwutqv25-uus3iks.wzo@flex--pcc.bounces.google.com designates 209.85.128.201 as permitted sender) smtp.mailfrom=36Z3-YwMKCEYxkkowwotm.kwutqv25-uus3iks.wzo@flex--pcc.bounces.google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1677630954; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=341EiElQDDcMgbAyTPSBPMw9kz/Bxxf49gfw3+dBaX8=; b=SCMW3NG50Vnc8G4ePWMTXWuxOuAlPKqh73cayu4038pdlrRfCNO3aRXqwT7oxA3NQllTrk geiv020sI9ZRNvZvTV46WQgsztXldJoPmyQUMC7EYKLvJJ9eabD4Xvz1BMDKpj2xgafJr6 d+Wvj04LkioJqS1Ai3TWvAQe/gYSP+s= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=pet2R1oT; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf17.hostedemail.com: domain of 36Z3-YwMKCEYxkkowwotm.kwutqv25-uus3iks.wzo@flex--pcc.bounces.google.com designates 209.85.128.201 as permitted sender) smtp.mailfrom=36Z3-YwMKCEYxkkowwotm.kwutqv25-uus3iks.wzo@flex--pcc.bounces.google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1677630954; a=rsa-sha256; cv=none; b=sCDVfhgoIxy/ibcUrpsKP0Nx13j/UX9N8HZpksQWeTxgoN6/umFW6jTkN2L0iP0CPDNaGV nXqphyyNbrFSQiLZFLUV2HOIAw9+mmkXHzAgqqMrkBhpWb2JXL6wT4dyZhI/fZRzUbFJZH LteopigAL0IMj8XOuJN1ROK0nJrcxAg= Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-536bbaeceeaso246294057b3.11 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=ElUCQ8hWJMxc2VvBkR4Xc4r9SWe6ZWbo8rfQck6tshDXNSjz8LXC6WG2ncOMlLNeDK 99lh3TVohQvHgCqg+bntBMZwo07qzVmnY/EGSmTSGniealuDIRzt7f60rJk1606qtVxX WVT+ZdKjUGKvcJ92txNiGfVVHY7EW/XpwRf791SYlDzSwP13GLiVcZlzn07Be8aaMvTJ W97kEC7/DAT6PZZ3nlTumed14s1+wywQFBknrCYy7M/lCA05GnNJmGZmBSar+3e4TX8l 4wi1kR7y0sUXJGSliy/3VLBTjLGW2jg6nqBj9THa4AcwsasEGjSURrJBeEGo8k0uAlol DJtw== X-Gm-Message-State: AO0yUKW/E22CGkBQDr+Xx8RDH2u/vqWWggLvk9ieHb/Am+Bym0+VoLrk +CMrxhXAHuDz+x+buKCGkgNf7JU= 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-Rspamd-Queue-Id: C9DB540005 X-Rspamd-Server: rspam09 X-Rspam-User: X-Stat-Signature: zo9dxw55pgprn8ka7kei6zbgu67otwoj X-HE-Tag: 1677630954-30904 X-HE-Meta: U2FsdGVkX1/gWdutoisDq7CcC0bu6Mn+hXUE4AHWDMbl+oqsag1KRX1/04UKa4qpCKn6v0vjDmxFLOKGwgsMmyEb4yrNKEGUj58Is32dU85hh7jRDFE6sQXmLRZ+6tz4kT4E8qaLyd+jltLyd33DhXmI97CMlPTUnBevDB+6b9Fpsno9cCgTB8Eltpv8o4VpA/AZ5J5xOuJm4Jdb2zgWnrRxB3cVuzfSQVpQ6MHREjng2+5vFvDanXx05uMtPlm2poPQqInmN/1Q6pXi17hw1VOM8lIRMXrVu2JbYtbf1rmzaCGzZPs0FZajZAglmsen5QG4QRFJpaV7FkvGi9yvEKBvXXRNZ+rwTaSkdsu4IGQkxyWXTEtUXM/k0DrPgRf9AFRIC7a+5+vE1vQX9C9EnmAbz7PX9a2vNq4KuyzkqDwAagsKfvBqsMv0V3xdgoRZgXZ7ysU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lPcrjtLz/WGC+SDjrH1tTDCbzwp5nTe+vTVLziZrNj78GWB0Vu3B99OfJqk3PtRFazzBcKJItUn7Qj7+pYCQCbD6Y0SKbr0BHHiMxfi3+HeIM= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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(-)