From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 17A6E1DE8AA for ; Mon, 28 Oct 2024 16:41:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730133691; cv=none; b=D8Yz9xa5GdORv8BisEeEpKOd+oOtdWE48wzy88MjcMcJiJDNnmxRRM51wfXsBNzYcAGckJRu3LIJuBOooYoFI0jAknW49RVf65jOeYhQyyoevd1mMi13L0ly0nXlL9lS5PPIkt45uSvhOLaoYnRM5i5ZLu63/Vzug/+o+MGxroU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730133691; c=relaxed/simple; bh=B4oB+FNa7mrAonbfQzqwsVGJ6I/lQD0mexpFz6uiXTc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tOgHxZ5MCLeHAUBkD4Ad7QrTebAEwyvJxsno20gliy4SRE+8KDfxaol8jyuhBuTp4qKpwlJQwX7CIMps+llvffyapB1FW2nWEFWbuV9sh6RbDB2/ii1f57XAHXdDpKfLVA6oLMJoLKIMPT18EcmsXlaLLrFuthPl+AUqxAzOvjE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MVjNZgn2; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MVjNZgn2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 49217C4CEC3; Mon, 28 Oct 2024 16:41:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1730133690; bh=B4oB+FNa7mrAonbfQzqwsVGJ6I/lQD0mexpFz6uiXTc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MVjNZgn2G/PfOqfRF005VcRxpefUgBHwOykTsUj/dg5eXwQpU5MsLGCMdF3PVG82x KsxyT8Y/0LbX2rZ8lL2bXBINxEIrkfIfSivdLo9ClpJTD98np2gmQD9drzQ8DCro6G it3QXLzwfeLwKpBjsl/wZenfGDZhfOgJdQLuapgZl4qrMUZSvNxvpCMC5Thnt/NK6p DlGT1MMEk1t0owPJWT+gVxrv0M7uqTBxNRt43d09jitt+kF0E3nQMHYj9AFXkJEtS9 w7i4p6yOHbexQuvABOQRCjLVw3mrpDsiY43Riy53tPhFdqrqF8rM1eLnF6bnoUrzgw uGUIzcFJdIn3A== Date: Mon, 28 Oct 2024 17:41:27 +0100 From: Frederic Weisbecker To: Thomas Gleixner Cc: LKML , Anna-Maria Behnsen , John Stultz , Peter Zijlstra , Ingo Molnar , Stephen Boyd , Eric Biederman , Oleg Nesterov Subject: Re: [patch V5 12/26] signal: Split up __sigqueue_alloc() Message-ID: References: <20241001083138.922192481@linutronix.de> <20241001083835.971100589@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; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20241001083835.971100589@linutronix.de> Le Tue, Oct 01, 2024 at 10:42:16AM +0200, Thomas Gleixner a écrit : > From: Thomas Gleixner > > To cure the SIG_IGN handling for posix interval timers, the preallocated > sigqueue needs to be embedded into struct k_itimer to prevent life time > races of all sorts. > > Reorganize __sigqueue_alloc() so the ucounts retrieval and the > initialization can be used independently. > > No functional change. > > Signed-off-by: Thomas Gleixner > Acked-by: Peter Zijlstra (Intel) Reviewed-by: Frederic Weisbecker