From nobody Thu Dec 18 09:45:15 2025 Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (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 379F71F943F; Tue, 17 Dec 2024 20:30:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734467406; cv=none; b=UCYePpQ/RbnkGOolBRzU5oZI9oZ9qJ58YgLOYYOSp3e1Q3Xzvxx56IAZkA2M5WD3rIeN6IQueMHpNnb8gOUcQtEv8+R2hBurtOZUgfMo8XxwFAaf2tTEvMS5UAp5IdQMP1SfZTi2gaB2V0jSlgOvJxeRUUAMjb2efG4es6cC5Ec= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734467406; c=relaxed/simple; bh=Z80w1HgxIV3UI8galudFVxy177YA6OE8rE6J+pDqEOg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hnRmVMlq5ek/56xCL0q3Vq577Iog9mi1F+1TRezcYF05JlzXkBjAA6or3oJUT/QooWUVygWwLC/V7zpv5nG6VKolDWMDYZMkzuUnprCasmfkaLtyMJGNedpRhhWai5LK8ZQibeKlnUXujuj9mBTJTraStSQFZ3Hr1YbSleUAoi4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net; spf=pass smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=remxbLmQ; arc=none smtp.client-ip=168.119.38.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="remxbLmQ" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Content-Type:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=V7D68RzS3aDMea5rHMJVmyfJ9DYfvHvk9VNugqZY76I=; t=1734467405; x=1735677005; b=remxbLmQOOPXhoOQXNEnIKkIogH5ZUImZecEy6V4R9NyNKL UGWey/DE8fq7O5/X3nkt/xHoRPKleY98SW77skHZozrUcDjq5Qc4uMZdFjkyUbSGP/sDtj85D+cte n3HGfbM9/G0GLLy8OhMRz9BH9pl4NY7NuHixjafoLSBcaWxWj2zDPAjBK2wMwqABdioWpJEef9aU1 QK+T0k4TwsENU8Y05gp+oKg36ebn3Vr8eou2K2L6fl8Zjf/BRxt+Zu6xn35N53GAiVjHbIO2dJX4a jfAL86MSeOPq/qVq0185bsU0G7qFZciFjElUv6V+aJXY2grt0QXKso2eAGwVa7Pw==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.98) (envelope-from ) id 1tNeCf-00000002NwX-1yDZ; Tue, 17 Dec 2024 21:30:01 +0100 From: Benjamin Berg To: linux-arch@vger.kernel.org, linux-um@lists.infradead.org, x86@kernel.org, briannorris@chromium.org Cc: linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com, Benjamin Berg Subject: [PATCH 1/3] vmlinux.lds.h: remove entry to place init_task onto init_stack Date: Tue, 17 Dec 2024 21:27:43 +0100 Message-ID: <20241217202745.1402932-2-benjamin@sipsolutions.net> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241217202745.1402932-1-benjamin@sipsolutions.net> References: <20241217202745.1402932-1-benjamin@sipsolutions.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Benjamin Berg Since commit 0eb5085c3874 ("arch: remove ARCH_TASK_STRUCT_ON_STACK") there is no option that would allow placing task_struct on the stack. Remove the unused linker script entry. Signed-off-by: Benjamin Berg --- include/asm-generic/vmlinux.lds.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinu= x.lds.h index 54504013c749..8cd631a95084 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h @@ -404,7 +404,6 @@ defined(CONFIG_AUTOFDO_CLANG) || defined(CONFIG_PROPELL= ER_CLANG) __start_init_stack =3D .; \ init_thread_union =3D .; \ init_stack =3D .; \ - KEEP(*(.data..init_task)) \ KEEP(*(.data..init_thread_info)) \ . =3D __start_init_stack + THREAD_SIZE; \ __end_init_stack =3D .; --=20 2.47.1