Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3925533ybi; Mon, 27 May 2019 08:07:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqzCW9kOFSX/OFhW8Yk/nm6qrtvMgS4ovt6HTqOHfhR6ZCvQnUoHdadvTr+w/AU9A0P+Qtls X-Received: by 2002:a17:902:b58f:: with SMTP id a15mr84921689pls.201.1558969651005; Mon, 27 May 2019 08:07:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558969650; cv=none; d=google.com; s=arc-20160816; b=F/l5IgWldnYU526BfIxx5l0SSJ7zSTZ3E/kQeHPWnXsRV5uFtHikgRT50cCPYW8wTO pt+2Rjuakd2pa18UT3/vAEtCeYy7fPYU/vfEMpxDICmx9/RrwU3jJixFQxwmdqtWX+5j wkSa3IYU40dGZFedlP32oTdxhym1AltdHQuYVNyI3Q9Qs1ytk3SY3CLuSz2aHaVDZbET B7pW6p4cIk/9DtxLyeqT3ML9yxOF5NzSZi0MzWhRnBOlRjddTFbsEKEF5BhV2XlYss0c G/3fg9Ud2Ue3YVDNTOdax3A4Fp+MX93i1U/iznT4MGD74IcoUJDUcW9bFsZ23aba54lE SQDg== 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=iXzrUuGhUsAY9p3QVoAt3QU6dOVz2u7vGjx70Ytvyb4=; b=E/Gi8c9NP8Pz2b9uvK5hhgl8VUCxtPz0XtTozIi8ezQbPSB/LSpiVi0LOxZOrv7ycQ Ct4WkrgOm3O+Y0zOqi+oWsue2w6uUFhseYC+LVPViK9ZhCSvH78oAHiBn3OIfAKp6hqu wPUdkECOEwy2fRFc5TeGsKMxKnoXtI570k2bJAz02mBxUby/nKVAbPm4KadqgIuWjh8n 6Kd5E05SoVcwZHkBztLzbk6y7RzJm60y4bdbpVGJyr6RWnHeDUJxzATmdJ+IYQLsxxzp mvKwhgfK8cXnE2ZV4hv87VqEVoTd4yBmXWaJS5Dq419emVzNBW9mtfWjckO0VQPXdhvI VGbQ== 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 e5si403292pgh.295.2019.05.27.08.07.13; Mon, 27 May 2019 08:07:30 -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 S1726483AbfE0PEi (ORCPT + 99 others); Mon, 27 May 2019 11:04:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52454 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726094AbfE0PEi (ORCPT ); Mon, 27 May 2019 11:04:38 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A4CAA5946A; Mon, 27 May 2019 15:04:17 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (unknown [10.43.17.159]) by smtp.corp.redhat.com (Postfix) with SMTP id 6D33260BE5; Mon, 27 May 2019 15:04:10 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Mon, 27 May 2019 17:04:17 +0200 (CEST) Date: Mon, 27 May 2019 17:04:09 +0200 From: Oleg Nesterov To: Deepa Dinamani Cc: David Laight , Linux Kernel Mailing List , Andrew Morton , Alexander Viro , Arnd Bergmann , "dbueso@suse.de" , "axboe@kernel.dk" , Davidlohr Bueso , Eric Wong , Jason Baron , Linux FS-devel Mailing List , linux-aio , Omar Kilani , Thomas Gleixner , "stable@vger.kernel.org" Subject: Re: [PATCH v2] signal: Adjust error codes according to restore_user_sigmask() Message-ID: <20190527150409.GA8961@redhat.com> References: <4f7b6dbeab1d424baaebd7a5df116349@AcuMS.aculab.com> <20190523145944.GB23070@redhat.com> <345cfba5edde470f9a68d913f44fa342@AcuMS.aculab.com> <20190523163604.GE23070@redhat.com> <20190524141054.GB2655@redhat.com> <20190524163310.GG2655@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Mon, 27 May 2019 15:04:38 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Deepa, it seems that we both are saying the same things again and again, and we simply can't understand each other. I'll try to write another email to restart this discussion. Tomorrow, somehow I can't wake up today. And let me repeat, of course I can be wrong. IOW, it is not that I am trying to blame you for all this confusion. On 05/24, Deepa Dinamani wrote: > > > > Ok, then can you point out what specifically was wrong with > > > 854a6ed56839a? > > > > Cough. If nothing else the lost -EINTR? > > This was my theory. My basis behind the theory was [1](the issue with > return value not being updated) above. And, you are saying this is ok. I agree that "the lost -EINTR" above was not clear. I'll try to clarify what I think is not OK. Oleg.