Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp388556rdb; Thu, 21 Dec 2023 12:05:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IEVHN2nqUW/w+uFpw+o2VeFESv1MGNNFqLRpDwjiCBbHt7C/lcwIg+5JGPHPsARgcwNJJgc X-Received: by 2002:a17:903:2344:b0:1d4:8a6:831f with SMTP id c4-20020a170903234400b001d408a6831fmr1744615plh.6.1703189115891; Thu, 21 Dec 2023 12:05:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703189115; cv=none; d=google.com; s=arc-20160816; b=To6mPx+9Zs0zOfBIjIjjl1MUn4qkOMUcKh4PMvjn4/PW34jaux1k9/Xopua/KC6L1b +CEu/emAESCKwWTezL+zGxR8Ji485BBVzs4CQOvxIToKzWTSG1VeyG2KszK9CkeSzi0d lMZ6tTMi9NIv792eOfJ0FXId+2XK3V1/l6RKyWJ6h0jMjW90F2ytKkxoIVG/cIeR/SVk 9UaU5GrpHa4TQ7y5imsMUhlc5hYi8WMvH/6Kv3T8oeo9ZcrrgYlwozPLAwhhZW+m0JWV py/doazx3Kj+s8nuU6Nmr43cqC57fTxczz3mMJt3au/HBJeS5KejVsiVqrj/ZD9o4bRf Xstw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=sNjSVQSFVUV8ISkHCvyHjupyoa/1urB/LVlJZWSj/S8=; fh=GyTEpUCUNPwsl1pqA0jDPXgvja+iZTM9USlQd9sQtQg=; b=OZ5jFOM4rGbTDoF+U4qLHqSV56KGwkLy88CAtTdSwuw38r333s0mSRQ2nexEqw0euM VD6N7FlkAOtBhoLkLGb3ZlWyY3AVLEaKI8ZOoluh4Afix3w+NaoU7qkSGOp3Ban5KhBU Llr54FNM7nImV33GfOZE5iF+n1v9DBweeFeXgTR4xTdtP8MKdYL6EribKWlTBqtZDqz5 9CFxKZQvLy3GdYIixrpF7IDH0gjQsfvOgoRYPExFREza8xFnGSmACs6NnwJeXXrWr2eP giI9TgbF9pHp5ujq2uPV+yZGHnfrMxwMhD2MRDGccEqLYLLGoW/9p4guMxjvK/W6jfUC SFwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=skZG0MAM; spf=pass (google.com: domain of linux-kernel+bounces-9018-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9018-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q1-20020a655241000000b005cdec41efddsi831001pgp.150.2023.12.21.12.05.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 12:05:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9018-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=skZG0MAM; spf=pass (google.com: domain of linux-kernel+bounces-9018-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9018-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 97B4A2879EF for ; Thu, 21 Dec 2023 20:05:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 35293745E1; Thu, 21 Dec 2023 20:05:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="skZG0MAM" X-Original-To: linux-kernel@vger.kernel.org Received: from out-180.mta1.migadu.com (out-180.mta1.migadu.com [95.215.58.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 995777318F for ; Thu, 21 Dec 2023 20:05:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1703189098; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=sNjSVQSFVUV8ISkHCvyHjupyoa/1urB/LVlJZWSj/S8=; b=skZG0MAMyl6rsB9CCsmBPP7NznukYYsecWppGCwYHrmvvYnQyMvlOF6jBnMft0q/3vtPVN /GAZWrPBGeieQcJ4RhLnGqH2ikIUM3Ej5bau/5zQL2rkFZcQPeWhNOJhaGTDjqnJOhtaZ0 ONn/64VbboXzqOkOPots7VsHnkIicy4= From: andrey.konovalov@linux.dev To: Marco Elver Cc: Andrey Konovalov , Alexander Potapenko , Dmitry Vyukov , Andrey Ryabinin , kasan-dev@googlegroups.com, Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Konovalov Subject: [PATCH mm 00/11] kasan: assorted clean-ups Date: Thu, 21 Dec 2023 21:04:42 +0100 Message-Id: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT From: Andrey Konovalov Code clean-ups, nothing worthy of being backported to stable. This series goes on top of the "kasan: save mempool stack traces" one. Andrey Konovalov (11): kasan/arm64: improve comments for KASAN_SHADOW_START/END mm, kasan: use KASAN_TAG_KERNEL instead of 0xff kasan: improve kasan_non_canonical_hook kasan: clean up kasan_requires_meta kasan: update kasan_poison documentation comment kasan: clean up is_kfence_address checks kasan: respect CONFIG_KASAN_VMALLOC for kasan_flag_vmalloc kasan: check kasan_vmalloc_enabled in vmalloc tests kasan: export kasan_poison as GPL kasan: remove SLUB checks for page_alloc fallbacks in tests kasan: speed up match_all_mem_tag test for SW_TAGS arch/arm64/include/asm/kasan.h | 22 +-------------- arch/arm64/include/asm/memory.h | 38 +++++++++++++++++++++----- arch/arm64/mm/kasan_init.c | 5 ++++ include/linux/kasan.h | 1 + include/linux/mm.h | 4 +-- mm/kasan/common.c | 26 +++++++++++------- mm/kasan/hw_tags.c | 8 ++++++ mm/kasan/kasan.h | 48 ++++++++++++++++----------------- mm/kasan/kasan_test.c | 45 ++++++++++++++----------------- mm/kasan/report.c | 34 +++++++++++++---------- mm/kasan/shadow.c | 14 +--------- mm/page_alloc.c | 2 +- 12 files changed, 131 insertions(+), 116 deletions(-) -- 2.25.1