Project

General

Profile

Actions

Feature #2606

open

119: probe functions should not return -EINTR

Added by Alexey Khoroshilov over 12 years ago. Updated almost 12 years ago.

Status:
Open
Priority:
Normal
Start date:
03/17/2012
Due date:
% Done:

70%

Estimated time:
Published in build:

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


Related issues 1 (0 open1 closed)

Blocked by C Instrumentation Framework - Feature #3291: Speed up CIF essentiallyClosedIlya Shchepetkov07/26/2012

Actions
Actions

Also available in: Atom PDF