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 35958487BE for ; Wed, 20 Nov 2024 16:40:47 +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=1732120848; cv=none; b=getc0VlHG7mg972T/xWfyAXH9ZRagToQI6N1klnNUdDX/gGp9jP3ok1VAp5mJ+4b/GcAjDtqCAxSDYkoWnGi6VXMPfvf/vSUhcnz50RcKTH5SqJ/UjKE9EbK5YoR3jxjh0IgCJWKes2rzG03NJJ1mWjS0U2YGvDAOS2u8xpQbM8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732120848; c=relaxed/simple; bh=a9dNUhI2QgLPA72+LOzAsUcyH0YlbCoeEvSVL8YwBSs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=d9A7M3I0PZw0Nq2iTNeH20sP4qMsAHK2jV6qKP/LjloYVIVcKrahr+dIIYbuWCwXYQObOocmhVrGl5N2jbsXop3QhM4xg9uHjvAbL6kfEMqGQR7/TqU5HdxtxwI0VC72aw0nmx8zuaqxnlaQuOihdITCouCBiotPMmXH/usfXyQ= 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=XdbywSom; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=ohY0Ra6p; 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="XdbywSom"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ohY0Ra6p" Date: Wed, 20 Nov 2024 17:40:43 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1732120845; 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=a9dNUhI2QgLPA72+LOzAsUcyH0YlbCoeEvSVL8YwBSs=; b=XdbywSomNMelXmfdhFqclN5FpQ/NThcQYPxw1MYKI/DNUOQLY1431cZOPCjwYI+h02gk8K BeQGaMvQEn2BoPudDfvDwRncZjzvHRTFhP7ou7GFKmgl8ijzFabI52TAP3YXec1X4q+aws a7dpwp+wH8rGWdIVDZRmNhNsH41FNSbTaLo1M1uYCh8qQ9QPq5pYQfL/9OeN34r+Hzt6my GlavEsvJRpQy9UqWTpD+NCsOyW2BDF/uQ7J4b5jBJ9A0Bn06zOlWv6f8xS5jS9qQuvxZR/ qgQ9q3J5q3qX+IWOsgCR9ReirUmv/Uzdm1DZRnUk6dZyyX+rT4V/noO185t60Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1732120845; 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=a9dNUhI2QgLPA72+LOzAsUcyH0YlbCoeEvSVL8YwBSs=; b=ohY0Ra6peMKylhOY2pL8Kelfgc0LvJzcCh7au4yHQj7ccjcMecxMxmD5zfYMpEXDqu4OBt 6ZKeCWlKnpNObbCA== From: Sebastian Andrzej Siewior To: Steven Rostedt Cc: Catalin Marinas , Alessandro Carminati , Andrew Morton , Clark Williams , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-rt-devel@lists.linux.dev, Thomas Weissschuh , Alessandro Carminati , Juri Lelli , Gabriele Paoloni , Eric Chanudet Subject: Re: [PATCH] mm/kmemleak: Fix sleeping function called from invalid context in kmemleak_seq_show Message-ID: <20241120164043.T1JuBALe@linutronix.de> References: <20241120102325.3538-1-acarmina@redhat.com> <20241120102602.3e17f2d5@gandalf.local.home> Precedence: bulk X-Mailing-List: linux-rt-devel@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20241120102602.3e17f2d5@gandalf.local.home> On 2024-11-20 10:26:02 [-0500], Steven Rostedt wrote: > The "%pK" dereferences a pointer and there's some SELinux hooks attached to > that code. The problem is that the SELinux hooks take spinlocks. This would > not have been an issue if it wasn't for that "%pK" in the format. That is missing check and I think Thomas Weissschuh wanted to add it. So we don't call into selinux. Sebastian