From nobody Tue Nov 26 22:19:04 2024 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 82A3022737B; Tue, 15 Oct 2024 15:36:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729006591; cv=none; b=SGrV6aj0nSxe7s+C/Nk0Fia8pbKml+9jSuLOkAyH5l1eS9Mua8yq7czoeZ+3L4Hdz/bw3PTjTPfda+vmGvJMY9PgymlF37wyLnYKmCaJXZKS5V3P66jn2jGlwURirumLNu9T50yqmLB3R5T0k7pQhyDnEdWnhlaqHxfbHyMNYPc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729006591; c=relaxed/simple; bh=cwHIkrYVdw+uDCIGk3wT/mPQ0ws+m/Qf8HNJKJz/Tz0=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=s/nc/5derh7iLySGGqBteW+0wjSTQzsJW6t4zmHFqZdxwOFf8jj76zA+VE6qEF0mSsLw2sTO6bFoPeVote6cXuRNraMrT5anVwxsvyk50KHotBi19Y6C2p9Fg//gbpCObAkX/tn/S+8niVO2gYRhYgeacEQb3L70tERYMqVtOfU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=VvInRvX0; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=LpxmBfWL; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="VvInRvX0"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="LpxmBfWL" Date: Tue, 15 Oct 2024 15:36:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1729006588; h=from:from:sender:sender:reply-to: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:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Rf/Wt3a052PXgvJwgPkH11WqJSJfFQVmmTHGk+bi+SQ=; b=VvInRvX0TrG+VN/daxy9SIIdWuG9htCAv7S15AaE/kEwUw75GGOx69/U1ykJNcU1Zoy2cR 03+ESxOkYaV2FyGFXlJ56nNoc8TeC7H0F68wLPkBWBIBNvxrDKZSY5iHqHL9i92Co5Ybxo k4IFlru3Lwi6zI6BgxTbTF7ptjZNMNV1+dEWK00CxMcNYel3scRK9B2tKzfenhpNG3U43W VZhwWYOZ1UQ/lpX8NlKDHgnlJ0hP3HbX8QpK6mNc5kMOlDlhTSEiUDveYRNXfamaIGiosq jwiqRTaxxJER0FYsRBPTL/JJe1s+m8BAxYynnAR1K2Pd5rY+zC7yLfR/CCq+HQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1729006588; h=from:from:sender:sender:reply-to: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:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Rf/Wt3a052PXgvJwgPkH11WqJSJfFQVmmTHGk+bi+SQ=; b=LpxmBfWL1DplN0KJJ13N55lfIySgNTGKND2K9EuAtHUAMYu+jguTRUBL9oOE8QCnR/C41I 0WomED/5+lUAAODQ== From: "tip-bot2 for Thomas Gleixner" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: core/debugobjects] debugobjects: Remove pointless hlist initialization Cc: Thomas Gleixner , Zhen Lei , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20241007164913.200379308@linutronix.de> References: <20241007164913.200379308@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <172900658748.1442.15791697053421793341.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the core/debugobjects branch of t= ip: Commit-ID: 3f397bf9553d9f142fbfaa19713e0350803fcc31 Gitweb: https://git.kernel.org/tip/3f397bf9553d9f142fbfaa19713e03508= 03fcc31 Author: Thomas Gleixner AuthorDate: Mon, 07 Oct 2024 18:49:56 +02:00 Committer: Thomas Gleixner CommitterDate: Tue, 15 Oct 2024 17:30:30 +02:00 debugobjects: Remove pointless hlist initialization It's BSS zero initialized. Signed-off-by: Thomas Gleixner Reviewed-by: Zhen Lei Link: https://lore.kernel.org/all/20241007164913.200379308@linutronix.de --- lib/debugobjects.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/debugobjects.c b/lib/debugobjects.c index 1f6bf0f..9867412 100644 --- a/lib/debugobjects.c +++ b/lib/debugobjects.c @@ -1364,20 +1364,11 @@ free: void __init debug_objects_mem_init(void) { struct kmem_cache *cache; - int cpu, extras; + int extras; =20 if (!debug_objects_enabled) return; =20 - /* - * Initialize the percpu object pools - * - * Initialization is not strictly necessary, but was done for - * completeness. - */ - for_each_possible_cpu(cpu) - INIT_HLIST_HEAD(&per_cpu(percpu_obj_pool.free_objs, cpu)); - if (!debug_objects_selftest()) return;