lkml.org 
[lkml]   [2014]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Unkillable R-state process stuck in sendfile
From
Date
On Mon, 17 Feb 2014 16:51:37 +0400, Vladimir Davydov said:

> out_fd = eventfd(0, 0);
> if (out_fd < 0)
> err(1, "eventfd");
> ret = sendfile64(out_fd, in_fd, NULL, SIZE);

> I'm not sure if this is actually bad and should be fixed, but perhaps
> it's worth making do_generic_file_read() check for fatal signals pending
> and break the read loop if so?

Why do we even allow an eventfd to be fed to sendfile64 at all? What
does that even *mean*?
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2014-02-18 20:41    [W:0.052 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site