From mboxrd@z Thu Jan 1 00:00:00 1970 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 D41382E613A for ; Mon, 27 Oct 2025 08:37:08 +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=1761554230; cv=none; b=Ee+BWhS8onMjET+rs2j9wp8NKLc7bQICbI5JvEpt1v8SodULSz6Z6qKvdydIJo7+yWKUHCvX51+5p5w2j8v2LjQvgjUw0jblkTPVn4wMQ78zBwmkpw51m2Oc4DQyYqV5XNav2fIp/wyAPt63rcldmWYhI2+0gPNPLgivabmRYPc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761554230; c=relaxed/simple; bh=23sooxuSf++o3+KFwXfnYu3rw2keOdZ8ITYkV4W9x2s=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=Vs2wd1ZNmxBDH/X/vWPt9bU+yuJ+UD6R0FIdQquHhHXgSa07pYcrUU/NKJMi2sswjuOQ/AxI+AZfyQUIhZxmtxVZIl7zMA6ZE+WfYQhce6lFX6SFVCq60G6G4QHq2z9dBNn/Fl1zHe7gSNG2NspRkvI+2y04WvenQSruavp5kJ8= 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=MWqrEI9R; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=mBpwR5Tf; 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="MWqrEI9R"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="mBpwR5Tf" From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1761554227; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=23sooxuSf++o3+KFwXfnYu3rw2keOdZ8ITYkV4W9x2s=; b=MWqrEI9RoS/MGP8UetEf1sBvb25tNcS/CfqZKnR4w4bCYJ2nE6Kn+iP13vYuCLn4uSFBqJ nSxL73t/aS5QI+w22zTJh1JzxsmNeGHQHIg6sKAivaPk3D1XPOcEOhAVsDKBPDdTf0c+rq VzPhc5Y/HjrXa+kIyiqDcvkWK3K4eFOvK1CSYd6UqszPIRNCYDmhx5RPsATNnMIF6/0ClM 2pYAcwOHBYRG0CR2t6oQHcynGQ94NpR0EJmYh369/1DkRJKpCHnHxAu2+rIl5nn7lCQlzu H8fF6VE5H3E8n5qJgeLRoZ8cIeZmXSZpn1FNnbdiies/D9yqqgtWpUrswuL/hQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1761554227; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=23sooxuSf++o3+KFwXfnYu3rw2keOdZ8ITYkV4W9x2s=; b=mBpwR5Tf/OWIQu4kzk5gdFWDEmDW4ou6xZhltlhnJH8bV5wjeNjTvCCa5WXLN6DtNcMKpc qeovwMOkX92DwOCA== To: Oleg Nesterov , Petr Mladek , Sebastian Andrzej Siewior Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] printk_legacy_map: use LD_WAIT_CONFIG instead of LD_WAIT_SLEEP In-Reply-To: <20251026150726.GA23223@redhat.com> References: <20251022154115.GA22400@redhat.com> <20251026150726.GA23223@redhat.com> Date: Mon, 27 Oct 2025 09:43:06 +0106 Message-ID: <874irkspu5.fsf@jogness.linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On 2025-10-26, Oleg Nesterov wrote: > printk_legacy_map is used to hide lock nesting violations caused by > legacy drivers and is using the wrong override type. LD_WAIT_SLEEP is > for always sleeping lock types such as mutex_t. LD_WAIT_CONFIG is for > lock type which are sleeping while spinning on PREEMPT_RT such as > spinlock_t. > > Signed-off-by: Oleg Nesterov Reviewed-by: John Ogness