From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from devianza.investici.org (devianza.investici.org [198.167.222.108]) (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 51B88279DC9 for ; Sat, 4 Jul 2026 17:06:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.167.222.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783184800; cv=none; b=TsX+IEvHC6n1TU6zCEq2Pq9gYpr+JErniqwOxVflidViH2IZ170v3/dHMmrZh2OryFZoYIvdPR+a1aqP0zP0wP8swuf2cFM6TvA0gF1NllXXM5xph5AgALJfCiusHl7LZTALSPpqmG11dXmMULcuWhY89JXEfailiafLWLAi7fc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783184800; c=relaxed/simple; bh=YHKK207kEQgdtzFsD1fhA4ddMEMayzlmqc/qBzx5peg=; h=Date:From:To:CC:Subject:In-Reply-To:References:Message-ID: MIME-Version:Content-Type; b=O5PXJHUvCh7xiDGtx6EKuSXH9HgOZ6jXA2zQGI0DpPrcanWPIpB13VOZzSlGPxwjVKAYvcEvFCfw0/l3VUmmsQWzu3hy8yP1AR5jhYbPLxpZBVqfjrnJxUwe0kK97RcRthyyoZkBKqhdEQWdIBmlmO6/Deh+IP48RKih+obQiLw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=grrlz.net; spf=pass smtp.mailfrom=grrlz.net; dkim=pass (1024-bit key) header.d=grrlz.net header.i=@grrlz.net header.b=gaaw+8ZL; arc=none smtp.client-ip=198.167.222.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=grrlz.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=grrlz.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=grrlz.net header.i=@grrlz.net header.b="gaaw+8ZL" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=grrlz.net; s=stigmate; t=1783184795; bh=qeC9whhS7djyVdROua27g96hhRxFCxvbhVwBXjvcza0=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=gaaw+8ZLc0N/qnFkm0gmwRy3u0LhBHm9I6HCgWwJylW08IsA33oj8tFWd4BfUEoXv 6l6ly9plGbm9wf8VI92wSYpNdJb5mfMwCQU76ZsehyuoYcgK67Zm42oCFDVP/Ti5n9 4JVCN3fKBVIYxQlmFF4ii0UiIbcjHYIqqpUKXARM= Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4gsxqH25SVz6vKb; Sat, 04 Jul 2026 17:06:35 +0000 (UTC) Received: by mx2.investici.org (Postfix) id 4gsxqG6JYMz4y71; Sat, 04 Jul 2026 17:06:34 +0000 (UTC) Date: Sat, 04 Jul 2026 18:06:35 +0100 From: Bradley Morgan To: Oleg Nesterov CC: anna-maria@linutronix.de, frederic@kernel.org, jwlee2217@gmail.com, linux-kernel@vger.kernel.org, peterz@infradead.org, qw3rtyp0@gmail.com, tglx@linutronix.de Subject: =?US-ASCII?Q?Re=3A_=5BPATCH=5D_posix-cpu-timers=3A_don=27t_abuse_loc?= =?US-ASCII?Q?k=5Ftask=5Fsighand=28=29_in_ha?= =?US-ASCII?Q?ndle=5Fposix=5Fcpu=5Ftimers=28=29?= In-Reply-To: References: Message-ID: <8B235B4B-71A4-4085-8FB2-BD0F4AEBDCDA@grrlz.net> 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=utf-8 Content-Transfer-Encoding: 8bit On July 4, 2026 6:05:20 PM GMT+01:00, Oleg Nesterov wrote: >Hi Bradley, > >FYI, this is another private message. It's not. >On 07/04, Bradley Morgan wrote: >> >> hi oleg! I'm new to reviewing, so feel free to criticize. > >This is fine... > >But if you want to have a "real" practice, you can try to review V2 from >Eric: > > [PATCH v2 00/14] Short circuit delivery for coredump signals > https://lore.kernel.org/all/877bnb4uyw.fsf_-_@email.froward.int.ebiederm.org/ > >I won't be able to take a look until the middle of the next week. > >> Would a WARN_ON_ONCE(tsk != current) be worth adding? > >See my reply on lkml. But since this message is private... > >IOW. tsk->sighand must be stable here or we have more problems. Without >this >patch the "if (!lock_task_sighand(tsk, &flags))" check looks as if we can >handle >the case were ->sighand is not stable, but this is not true. > >And. This patch is trivial, but it connects to other (under discussion, >nontrivial) >changes related to the wrong usage of lock_task_sighand() in >posix-cpu-timers.c. > >> For this patch, >> >> Reviewed-by: Bradley Morgan > >Thanks again, > >Oleg. > > Thanks!