mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Valdis.Kletnieks@vt.edu
To: Vladimir Davydov <vdavydov@parallels.com>
Cc: LKML <linux-kernel@vger.kernel.org>, Jan Kara <jack@suse.cz>,
	Wu Fengguang <fengguang.wu@intel.com>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: Unkillable R-state process stuck in sendfile
Date: Tue, 18 Feb 2014 14:13:47 -0500	[thread overview]
Message-ID: <59184.1392750827@turing-police.cc.vt.edu> (raw)
In-Reply-To: Your message of "Mon, 17 Feb 2014 16:51:37 +0400." <530205D9.1010908@parallels.com>

[-- Attachment #1: Type: text/plain, Size: 486 bytes --]

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*?

[-- Attachment #2: Type: application/pgp-signature, Size: 848 bytes --]

  reply	other threads:[~2014-02-18 19:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-17 12:51 Vladimir Davydov
2014-02-18 19:13 ` Valdis.Kletnieks [this message]
2014-02-19  6:38   ` Vladimir Davydov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=59184.1392750827@turing-police.cc.vt.edu \
    --to=valdis.kletnieks@vt.edu \
    --cc=akpm@linux-foundation.org \
    --cc=fengguang.wu@intel.com \
    --cc=jack@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vdavydov@parallels.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®