Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8329812ybi; Thu, 6 Jun 2019 10:22:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJGjZxCXB0Zn4R+R3GISO4IArdTsNPAcTBP+C0HCKZjw/bfyokALtZpzLkPQ3DlAY5JL/S X-Received: by 2002:a65:530d:: with SMTP id m13mr4399667pgq.68.1559841731614; Thu, 06 Jun 2019 10:22:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559841731; cv=none; d=google.com; s=arc-20160816; b=vVIkgInLDFVzVhMuBbX2dI2bLyWaGm0frBkNGvUtJXAFV/Bx8U31MAN4sPV9acb6IR WTsqv4fGdKeYpL0bIGi9JtrRDnCNpB5sMuFEuYNVeMGpRDRj/IE3xOzrvSXUYR7g/2rP LLr6pWJ8vXdqlkL4nSwxhWtSXNdCbY0Ssl0ooG2CwvBL7pm4xXQ5CC7qAEiTSVpzoOZb 0Yb55N45A++p9IHnYId6wTQVUvXyczZu0wpGtRQvRbBcVC/ipTiVObrztERA5sipjsml WSaIUtzD4K6MFAJnUPu+ZYKfbQqY63W0r25M4jQVAR3KEGgUi/bnDcEGEkgCroVjhPGT I9NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=1oSlYFtV7D7mLsCY6pjB9pMwkFjuzjy2WUNN9Rz60JU=; b=TOZqyB4Bc2Lj2HpHtO90PwYfV1ZfO2HsA7ubwY31lbsYo8ziHvQ6VQhSJAZkgRqBb0 ypmCghbI371R4boZjTWRq0RpsR7fOpY7JQQjsiSKj8T48MzHQgFhAheYyJmRUj3vPVa+ f2W3r2t7/0Nf887roeD68LRAMfW7DvGCVJTmp+f1XplIV6FsD/rlDujzddVYvgAFHO06 DB6KHSlwStPqByJ33l3GkqznDT5nkUIIRCVUrDJs18Zf5UXaMsI1PNshhA+RhoXKog9I FRER7WQp2EjPzjmvBlppGvvqVoaHO2mp7aLdYqbuW026oHwBSvemltB1525kge2YMTGP Od9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f187si2329021pfb.265.2019.06.06.10.21.54; Thu, 06 Jun 2019 10:22:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728616AbfFFOIb (ORCPT + 99 others); Thu, 6 Jun 2019 10:08:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:61089 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726924AbfFFOIb (ORCPT ); Thu, 6 Jun 2019 10:08:31 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 26D97550BB; Thu, 6 Jun 2019 14:08:21 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (unknown [10.43.17.159]) by smtp.corp.redhat.com (Postfix) with SMTP id 7720610843A5; Thu, 6 Jun 2019 14:08:15 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Thu, 6 Jun 2019 16:08:20 +0200 (CEST) Date: Thu, 6 Jun 2019 16:08:14 +0200 From: Oleg Nesterov To: Andrew Morton , Deepa Dinamani Cc: linux-kernel@vger.kernel.org, arnd@arndb.de, dbueso@suse.de, axboe@kernel.dk, dave@stgolabs.net, e@80x24.org, jbaron@akamai.com, linux-fsdevel@vger.kernel.org, linux-aio@kvack.org, omar.kilani@gmail.com, tglx@linutronix.de, stable@vger.kernel.org, Al Viro , "Eric W. Biederman" , Linus Torvalds , David Laight Subject: [PATCH 0/2] select: simplify the usage of restore_saved_sigmask_unless() Message-ID: <20190606140814.GA13440@redhat.com> References: <20190522032144.10995-1-deepa.kernel@gmail.com> <20190529161157.GA27659@redhat.com> <20190604134117.GA29963@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190604134117.GA29963@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Thu, 06 Jun 2019 14:08:31 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Lets start from fs/select.c I have no idead how to test these changes, please review. On top of "[PATCH -mm V2 1/1] signal: simplify set_user_sigmask/restore_user_sigmask" it seems that we can do more unrelated cleanups in this code, say, poll_select_prepare(enum poll_time_type pt_type). Oleg. fs/select.c | 68 +++++++++++++++---------------------------------------------- 1 file changed, 16 insertions(+), 52 deletions(-)