Message ID | 20240411160051.2093261-2-rppt@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 7E70CC41513 for <linux-mm@archiver.kernel.org>; Thu, 11 Apr 2024 16:02:03 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id DAEC66B009A; Thu, 11 Apr 2024 12:02:02 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D5ED96B009B; Thu, 11 Apr 2024 12:02:02 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BD7D86B009C; Thu, 11 Apr 2024 12:02:02 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 9E0506B009A for <linux-mm@kvack.org>; Thu, 11 Apr 2024 12:02:02 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 6F64FA0F99 for <linux-mm@kvack.org>; Thu, 11 Apr 2024 16:02:02 +0000 (UTC) X-FDA: 81997717284.18.FB886A6 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by imf27.hostedemail.com (Postfix) with ESMTP id CFB2F40028 for <linux-mm@kvack.org>; Thu, 11 Apr 2024 16:01:59 +0000 (UTC) Authentication-Results: imf27.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=e959rFf0; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf27.hostedemail.com: domain of rppt@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=rppt@kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1712851320; 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-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=xy/onuXdQ30KVEaYuNUZWEt3SxlLWflAgQY6tAjVj70=; b=F/aNaFFtSzXQX+2uv472Q4RBx3IozyJwEFuzpxj/5N33lCU1ODsDdO88gt/H2QtGOfssat FngJ3pJNo36hvI6HwDuk22zs1E+bBuS9ODjBxEuIsrHvYzqLo6m8NiJVLzEJjTR/yDwr4J SiH4JVh0wxf0X8O4WVHVF99B8wNNEqE= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=e959rFf0; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf27.hostedemail.com: domain of rppt@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=rppt@kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1712851320; a=rsa-sha256; cv=none; b=KOd1cHORukf48W1CX8hXMYc643niNcTeLFeZSW+TanAsOtUl+q0940fSH/jJFy2SfSHOfm ENM6pDsy9KiT6Prqsb2OwNUt2dzhx+YHFXqfDfWkOXlKnW5dbZ5fVzA6TbBr/jIYOLx98R /sGux6LrZU8qQxfPkRqC9DxBUMv5efA= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id F1231CE065F; Thu, 11 Apr 2024 16:01:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65599C113CE; Thu, 11 Apr 2024 16:01:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712851316; bh=M6QQiy27Yx7cZTOC0617KB9Ln6pKKwikPWIcgenY/bM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e959rFf0FGI0PoEgIv3+2nGDkq9xVmqePeW9IUKhRR9fm/xePvfpioqz61uckMSmr bsKvhh8aiqb+1hbru4aZPJCKo3jfLBuXlFCvNMYWcCgxYX5gHAOiQiyrO2GFAU6bPm rDiEfTEbCXzSyUx6JjDJlgEPJsiVKld/UdGf8sfF1V548AL4O0qlf9lAbIDbEw/+nt b/UibzbyDfbVVY6IbEz1hMUj1Jp7rSovkVB467ogMQygsPwGkBwQLq2O4ziU/K02Hw iRGfOdEyV997OCcDBNKC0/iXYnnLp7WhCIWOyAIy3ufNrgtCZhStQZZ10xIfbu+t2p EOYI7IX8ofV0w== From: Mike Rapoport <rppt@kernel.org> To: linux-kernel@vger.kernel.org Cc: Alexandre Ghiti <alexghiti@rivosinc.com>, Andrew Morton <akpm@linux-foundation.org>, =?utf-8?b?QmrDtnJuIFTDtnBlbA==?= <bjorn@kernel.org>, Catalin Marinas <catalin.marinas@arm.com>, Christophe Leroy <christophe.leroy@csgroup.eu>, "David S. Miller" <davem@davemloft.net>, Dinh Nguyen <dinguyen@kernel.org>, Donald Dutile <ddutile@redhat.com>, Eric Chanudet <echanude@redhat.com>, Heiko Carstens <hca@linux.ibm.com>, Helge Deller <deller@gmx.de>, Huacai Chen <chenhuacai@kernel.org>, Kent Overstreet <kent.overstreet@linux.dev>, Luis Chamberlain <mcgrof@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Michael Ellerman <mpe@ellerman.id.au>, Mike Rapoport <rppt@kernel.org>, Nadav Amit <nadav.amit@gmail.com>, Palmer Dabbelt <palmer@dabbelt.com>, Puranjay Mohan <puranjay12@gmail.com>, Rick Edgecombe <rick.p.edgecombe@intel.com>, Russell King <linux@armlinux.org.uk>, Song Liu <song@kernel.org>, Steven Rostedt <rostedt@goodmis.org>, Thomas Bogendoerfer <tsbogend@alpha.franken.de>, Thomas Gleixner <tglx@linutronix.de>, Will Deacon <will@kernel.org>, bpf@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linux-mm@kvack.org, linux-modules@vger.kernel.org, linux-parisc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, netdev@vger.kernel.org, sparclinux@vger.kernel.org, x86@kernel.org Subject: [PATCH v4 01/15] arm64: module: remove uneeded call to kasan_alloc_module_shadow() Date: Thu, 11 Apr 2024 19:00:37 +0300 Message-ID: <20240411160051.2093261-2-rppt@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240411160051.2093261-1-rppt@kernel.org> References: <20240411160051.2093261-1-rppt@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: CFB2F40028 X-Rspam-User: X-Rspamd-Server: rspam04 X-Stat-Signature: cemxas9mtp8s79pxuobag3yz7x85wmgm X-HE-Tag: 1712851319-477193 X-HE-Meta: U2FsdGVkX190pZeGjaOtt7AaRbE0y/A3xpR5odhO4spMDHIc2trAjZPn89BK96cLdMZ0C8oYDN+0y+yTAL0MKp7FS0J/WfKM0ADyf3Q1SScwc8wcibCdMm9GWCp5z9wC22k0RDL86ekmT7q51Qa66FH1ld+p7ieFDm9p3TEatbQmVzxBIyLZ5sh7dg1k0cubttrnRPC6IsHFLXTX1Z2wDXoNjtnW8y0A0+g/JdShzcQGisTmx/bEJM60nfguyyZAdUY+aujJrUwxmocoBaYhV0/ThX5SuU7lnQLpbrpX4Dtq5gx6EMFFfU6ETnTLDuIEEg0oNRyI/afvVReAb1jP1V2I1HasBrNtdKIk/TxuRiZn5Fq7hY78OX+BBJRtFRKGAq1NmqR6ArsJUj9SWZSfK+T/rzWHJ/phTJMr44vP58/mlSKPKCZyESQEjmVdaO6/TLeW+kHSGxj47TqRRrDv+3tD+nQaApGuwuOxD+1+xKfbhjZdpYNunBZsf7nKBlOUNJWje5bDdmZ9ADTXCMgCQ/DYSccVvluzg0cLUuiNLDlZMvvp70J+uwS9SkPuA3vPPz2y1xDhlaX/MzHpSvx2phga+z+/5IjUCUA5+kHt+4GUSn7kgf6r04gIUfklakybeI4z6IB4qJ2ZKyHLpE3ph0t3hcqSaCl+L2v+29cLH0S/oUuGNSqfgB3pmAHNi99J7g3NpYJKYaN1ENXQwRbVgy7OqwsRjQo7jvmghD2YkDuNBamseWwYy3Rdq4mujdufQiMvpHy5aaLQ0OE6Z6qGp+0Ywe7PmpfyqDEvZWQAKHt0in2sPx/w9o80gYmtmpQEZJh2pSrI0cr17izUNlBKqJBv64eVDuwp7gqPeaztnUbQJBu5xFEU49FbFTNa8c8D5zwzYPBpxycr0ryv48JYY1gIHzg87P2B8VkfcncNhoCbnZAj6njlELqxKJt77BdqYDVMY30GrnaGm6yNz2X o0IgXSl3 2nQkzEByOjwEUwl55oP+vuH39ScnElNm07mxdhRkuZR0EkSZgjGWxs615CZszEB3yYEKlsSMChZfDl9s= 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: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
mm: jit/text allocator
|
expand
|
diff --git a/arch/arm64/kernel/module.c b/arch/arm64/kernel/module.c index 47e0be610bb6..e92da4da1b2a 100644 --- a/arch/arm64/kernel/module.c +++ b/arch/arm64/kernel/module.c @@ -141,11 +141,6 @@ void *module_alloc(unsigned long size) __func__); } - if (p && (kasan_alloc_module_shadow(p, size, GFP_KERNEL) < 0)) { - vfree(p); - return NULL; - } - /* Memory is intended to be executable, reset the pointer tag. */ return kasan_reset_tag(p); }