Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932745Ab3CEAMM (ORCPT ); Mon, 4 Mar 2013 19:12:12 -0500 Received: from mail-we0-f174.google.com ([74.125.82.174]:43028 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758329Ab3CEAML (ORCPT ); Mon, 4 Mar 2013 19:12:11 -0500 MIME-Version: 1.0 In-Reply-To: <20130304102859.GA23311@dcvr.yhbt.net> References: <1361820175.6781.13.camel@edumazet-glaptop> <20130304102859.GA23311@dcvr.yhbt.net> From: Ulrich Drepper Date: Mon, 4 Mar 2013 19:11:49 -0500 Message-ID: Subject: Re: sendfile and EAGAIN To: Eric Wong Cc: Eric Dumazet , Linux Kernel Mailing List , Al Viro Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 695 Lines: 17 On Mon, Mar 4, 2013 at 5:28 AM, Eric Wong wrote: > If you manage to reproduce it, can you pass an offset to sendfile() and > see if the offset changed when you get EAGAIN? I did that and didn't see the offset to change. > Also, which kernel version are you using? Perhaps it's triggered > by memory pressure. That was with the RHEL6.2 kernel. I don't have the details as to what patches are included on top of 2.6.32... -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/