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: 13168726 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 E498AC64EC4 for ; Fri, 10 Mar 2023 04:30:00 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4D29A6B0072; Thu, 9 Mar 2023 23:30:00 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 481CB6B0074; Thu, 9 Mar 2023 23:30:00 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 370E0280001; Thu, 9 Mar 2023 23:30:00 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 288F56B0072 for ; Thu, 9 Mar 2023 23:30:00 -0500 (EST) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id E66FE1608FC for ; Fri, 10 Mar 2023 04:29:59 +0000 (UTC) X-FDA: 80551710918.22.2854DD1 Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) by imf15.hostedemail.com (Postfix) with ESMTP id 3C5C9A0008 for ; Fri, 10 Mar 2023 04:29:58 +0000 (UTC) Authentication-Results: imf15.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=XjtPEiOD; spf=pass (imf15.hostedemail.com: domain of 3RbIKZAMKCPoreeiqqing.eqonkpwz-oomxcem.qti@flex--pcc.bounces.google.com designates 209.85.128.201 as permitted sender) smtp.mailfrom=3RbIKZAMKCPoreeiqqing.eqonkpwz-oomxcem.qti@flex--pcc.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1678422598; 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=GUKa2uusB8tSAYQ+u1ZVbFlgu88tHbm/uy+GaZqUXqw=; b=cMHjcNHuffHmZ70SV1QVK2UWHOk0UYhFYSU1uDjwnHWVZ9RZluhTGRn/1hnCPlGAI3gMK2 BFtSZTY1KOaiphZn8VTzPEZFR+3938441j0ib+FX1DDSQrsqr0vzuj0i1QFJt3fJM0NeDj 4FnsgPId7wlucqeQV7/YphwjTF4Ei7U= ARC-Authentication-Results: i=1; imf15.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b=XjtPEiOD; spf=pass (imf15.hostedemail.com: domain of 3RbIKZAMKCPoreeiqqing.eqonkpwz-oomxcem.qti@flex--pcc.bounces.google.com designates 209.85.128.201 as permitted sender) smtp.mailfrom=3RbIKZAMKCPoreeiqqing.eqonkpwz-oomxcem.qti@flex--pcc.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1678422598; a=rsa-sha256; cv=none; b=yNzOnqX5dN1h7ay0tKoS115sk09D0sROHOsKO3AUpx6qSf5aEuJQG8Rnwbl7oKPDg7FHaQ rYFUCigJ/gvO/aBhbR3wmX18qo0m1rdUj5kKo1mYcj1jK5vKoy36DNkA7rJ0igsYMmu2B+ fwJ8LR0yqSYEOVrPOA+eGVS9su2F16Y= Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-536bf635080so42158267b3.23 for ; Thu, 09 Mar 2023 20:29:57 -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=zBSDX+NdwCs2UVWHBW3jG0Tu/bTQ+ia+OGvPy43JoeSrHQ/coJrDzfvWzFeAG/Hghb PvkBVl1sG8M0Lhx+X5ij1KygH8rNO1b3500srQ0HKqnluhtEslVJ3NFCjYm7C2I1ZG9o JAVORWvfERmx1YfPmg4+jlj85S0HUOwHm2CFH0g0iRhcYF82pIfe30JP4VykJV9SZnc4 ODxBCTvALQJkgG0yZ13lnBG9PCiEWhA5x2acWguhTeld+7Uzrh+1z6UtOQp3QkROvqs8 Zf8RrUN79EKuwL/174cWPPLypqbhC8ES6oof8YroitxAMWeq7zv15xAc+bJu9kGzlr7e N+6Q== X-Gm-Message-State: AO0yUKXBORNZ+NGZw+26iRK+4fDjunarL0/sEoiZumwGKjdCO22A0/bJ WQOEfgAK1qwf6mbK4ESkcrzpqCI= 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-Stat-Signature: yxp7zb98znexko43crey48hdq9hgjqas X-Rspam-User: X-Rspamd-Queue-Id: 3C5C9A0008 X-Rspamd-Server: rspam06 X-HE-Tag: 1678422598-411204 X-HE-Meta: U2FsdGVkX18Vad29yWtCaQpd/ysP1510V/zfmA6j2PNS3qkvS5UexXBRF4VJoUHePjw1zjjRi6/B3CApexCDBQfxDaLocIZEJ6uOA5LLrs/9/uSMs+A/dby9vX1BWbMUfWBs6jjnjNIG9DOCxaOPIPvA2KJB1iaINUWvXLAyCIzVrhxZ4AYWwYzPimiFkxTj5FDJYaGfMzGJPARdXVfTpqSGB7Ii1n+z/2w5hekSRpCzKT91g4+W1vfEzkuTOFmMzCArpZ5NIpfpevqAYou0XYGoYCuui6KVjXQtyuuX885GEaABXaEaRrk6TSB5gl0jrY+n7w4tMcOhNUPuIomHraONbcibI9laiyi0iZXiET6XErQSVy4sHaOksqDUjJnvNWBCi90PCobUbyXWZAWgdkn9tJGi/01Fs44wR6aXn5JZKAp+b7y/9dzkUblnNLIGWc02lCXTIBH57Doc5DTLM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NCMf2ZFAF/AGFtoifSHXklTsvHQwcLchhkoZm7dYWdUMrqxuS58PRr1p4XXsS9OwUqsuTc1mI2k4WYuTjb7WxUo= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000018, 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. 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(-)