[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190530161348.GJ22536@redhat.com>
Date: Thu, 30 May 2019 18:13:48 +0200
From: Oleg Nesterov <oleg@...hat.com>
To: David Laight <David.Laight@...LAB.COM>
Cc: "'Eric W. Biederman'" <ebiederm@...ssion.com>,
Deepa Dinamani <deepa.kernel@...il.com>,
Al Viro <viro@...IV.linux.org.uk>,
Linus Torvalds <torvalds@...ux-foundation.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
"arnd@...db.de" <arnd@...db.de>, "dbueso@...e.de" <dbueso@...e.de>,
"axboe@...nel.dk" <axboe@...nel.dk>,
"dave@...olabs.net" <dave@...olabs.net>,
"e@...24.org" <e@...24.org>,
"jbaron@...mai.com" <jbaron@...mai.com>,
"linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>,
"linux-aio@...ck.org" <linux-aio@...ck.org>,
"omar.kilani@...il.com" <omar.kilani@...il.com>,
"tglx@...utronix.de" <tglx@...utronix.de>,
"stable@...r.kernel.org" <stable@...r.kernel.org>
Subject: Re: pselect/etc semantics
On 05/30, David Laight wrote:
>
> 4) As an optimisation a signal that arrives after the timer
> expires, but before the mask is restored can be 'deemed'
> to have happened before the timeout expired and EINTR
> returned.
This is what pselect/ppoll already does.
Oleg.
Powered by blists - more mailing lists