Project

General

Profile

Feature #2606

Updated by Alexey Khoroshilov over 12 years ago

> On Fri, Mar 16, 2012 at 10:02 PM, Oliver Neukum <oliver@neukum.org> 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 

Back