Feature #2606
open119: probe functions should not return -EINTR
70%
Description
On Fri, Mar 16, 2012 at 10:02 PM, Oliver Neukum wrote:
Indeed there's a lot wrong here. The idea of having an interruptible
sleep in probe() is arcane. You need a very, very, very good reason for that.Can you please explain why interruptible sleep should not be in probe() ?
I am curious to know.
-EINTR is supposed to be returned to user space, so that it can repeat
an interrupted syscall.
- There is no user space for probe()
- probe() cannot be easily repeated from user space
- there is no syscall for probe
Updated by Vadim Mutilin almost 13 years ago
Interesting rule. Could you put a link to original discussion to follow it
Updated by Vladimir Gratinskiy over 12 years ago
- Subject changed from probe functions should not return -EINTR to 119: probe functions should not return -EINTR
- Assignee set to Vladimir Gratinskiy
Updated by Vladimir Gratinskiy over 12 years ago
- Status changed from New to Open
Updated by Evgeny Novikov almost 12 years ago
I will temporarily remove a regression test task for 119 model since it requires a lot of memory (see related #3291 issue) and sometimes breaks our QA server.