Message ID | 20240226165612.GA20787@redhat.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-82000-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2212340dyb; Mon, 26 Feb 2024 09:10:03 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUtIIsnZm22dPg5xgzforH1wZV32HYOeveQ9tMUQXAI9Y12Z6VsPCdxbGuRBb84ThT+59Ktfc4S5Iqd9EQOOiL/zicl3w== X-Google-Smtp-Source: AGHT+IHfxzD9/FfNsQumSrGHBq/TWS14LQiJSyPn062S2OFWy4BvqbxsdOYblnx1xDOTn/1fjZsg X-Received: by 2002:aa7:d046:0:b0:566:ef8:a81a with SMTP id n6-20020aa7d046000000b005660ef8a81amr1659873edo.7.1708967403666; Mon, 26 Feb 2024 09:10:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708967403; cv=pass; d=google.com; s=arc-20160816; b=CL+5HFWYan7gX0Z6A3SK2vjnGqthVaoqAoEb99LJp8P/giqI2URzUyZMPyu/lJrfnp u74aPYCSwpQZaPRCBjwar6YAEMEI3hnVxU1dMn7WMMPIRCuagChohLRmBHxptVAPbQOZ ISTWFyRh2E6Eu1z9H6o080p1raMfS7mWfdUwJ7ZttLvy7qKB9p9u98ymCMz09oLb5Wie Fg/Yy3FhU95ps2lyFpGHavVPRBM0IwnWG7FrKkwrKxluM7cylzQsyTOrIEJXc2IfkJQ3 vudU+w8ODp8SynGEO8Kqr/LW175oaqdjZsTx7j4ZAFre4CrSAeqsfmFXJ8+moPRlwHg2 qBnQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:subject:cc:to:from :date:dkim-signature; bh=VmU8eK8zqJHms8skNLek8Ax0OMi+knLlvH0aeWRDWZs=; fh=XYYaR4W4e5P6Am9UNO2Ld8ZOhmhTidS777C2awg0gPA=; b=HP/R1wCc5lPNdHm4Lcbbvw491foe7UuBNr+G4mBYSck0COYaRXVf9arXoMutz//FIk eH+H+WND4T/ZvCA9o7cy3jWWmZ4hbiLNU2sCAxGOdmzR+iztmqc/zbPmS6OjE/HUn7ix CbxXCLS0Vo+KtdhaUhg2Txg7KUfcmCBbxhZ4dQpmSkmcYztoWc7uDu1g+AcblxytZ4M3 4AfIU9DCVz4twW8TmLAW+LdSfcY4YN37gfAGot5dmz92BdkVMeCs8uX0jhoNDaQyOGxz srIGaRyZ6bDaLBki0PZ3XXnoGhYU3OrcbwKtoWFk0mQs3VfkwWpS/XdJERnL3nMz8mCu NvHg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QoXc41Dx; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-82000-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82000-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id z7-20020a056402274700b005657f75380esi2343767edd.642.2024.02.26.09.10.03 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 09:10:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82000-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QoXc41Dx; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-82000-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82000-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 449E21F2A08C for <ouuuleilei@gmail.com>; Mon, 26 Feb 2024 17:10:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A2029131E3B; Mon, 26 Feb 2024 16:57:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="QoXc41Dx" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 8879B131748 for <linux-kernel@vger.kernel.org>; Mon, 26 Feb 2024 16:57:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708966661; cv=none; b=Oze7mIdTd9icTP8ErPBcfGExa1H7L8TSpb6vxKEU55LQrImGlcxMjPJodJLudQSE9JJwPYlQylnfLPQh3NpX4jOMb30xPYu0xetIgQqwhFjR7FaPuGC3Pm0bHqXo38hL522VvKyHeSx6SzsjHVN7mx0082rT9ULVlJnM7U+nUok= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708966661; c=relaxed/simple; bh=VmU8eK8zqJHms8skNLek8Ax0OMi+knLlvH0aeWRDWZs=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=Cl3lAiK3vOQEk8BREexe/h6z/BOpoFWHIrYqV3YaKh60ldO5z9TdaJvQL8glHppzXL4VFOAMxeRyzv2+s1h9ACR+OrguLJcL23m25rE0tBVH8EOAmAKMWjcIpBlk3Y4DpsdUth1RDa+71+S7jK64njR/ZPj+a53RwNqerux1FJg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=QoXc41Dx; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1708966658; 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; bh=VmU8eK8zqJHms8skNLek8Ax0OMi+knLlvH0aeWRDWZs=; b=QoXc41DxK20JcFOmw33R5cjZFs92YhFxUtfEbbVjzbX6CNIqdhJA3tSOHYJjwbUx/BhsgX sJbiIOWk1vQ2nhVJwel7IXrbiPY4df3C+ukHF7BbhxKz67K7hCiWGhqm3D5+/8fdB6HuzW I2xuMksuwNeavT11r4oh8OuH6L9hYLU= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-564-XA0tXVSlMfemLL_Xbe4GWA-1; Mon, 26 Feb 2024 11:57:35 -0500 X-MC-Unique: XA0tXVSlMfemLL_Xbe4GWA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C68EB185A780; Mon, 26 Feb 2024 16:57:34 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (unknown [10.45.226.85]) by smtp.corp.redhat.com (Postfix) with SMTP id 1406E1C14B04; Mon, 26 Feb 2024 16:57:32 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Mon, 26 Feb 2024 17:56:15 +0100 (CET) Date: Mon, 26 Feb 2024 17:56:12 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Andrew Morton <akpm@linux-foundation.org> Cc: "Eric W. Biederman" <ebiederm@xmission.com>, Christian Brauner <brauner@kernel.org>, Peter Collingbourne <pcc@google.com>, Wen Yang <wenyang.linux@foxmail.com>, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] get_signal: minor cleanups and fix Message-ID: <20240226165612.GA20787@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791982204394328278 X-GMAIL-MSGID: 1791982204394328278 |
Series | get_signal: minor cleanups and fix | |
Message
Oleg Nesterov
Feb. 26, 2024, 4:56 p.m. UTC
Wen, as you can see I have changed my mind again ;) Lets remove this clear_siginfo() right now. It is incomplete (and thus looks confusing) and unnecessary. See also 2/3, PF_USER_WORKER's already don't get a fully initialized ksig anyway. Do you see anything wrong? Oleg.