On Sat, 10 Jan 2004, Lennert Buytenhek wrote: > On Sat, Jan 10, 2004 at 01:01:28AM +0100, Felix von Leitner wrote: > > > strace shows that the process is hanging > > inside sendfile64 (which should not happen since the socket is > > non-blocking). > > What if the data you're sending is not in the page cache? It will always block on the actual page cache, although we could try to change that. However, even if it blocks, it should only block at one page at a time (or "incidental" blockage due to memory allocations etc). Blocking for long times implies a bug. Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo _at_ vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Follow-Ups:
- Re: 2.6.1 sendfile regressionLennert Buytenhek
- 2.6.1 sendfile regressionFelix von Leitner
- Re: 2.6.1 sendfile regressionLennert Buytenhek
- Prev by Date: Re: 2.6.1-mm1: drivers/video/sis/sis_main.c link error
- Next by Date: Re: High Quality Random sources, was: Re: SecuriKey
- Previous by thread: Re: 2.6.1 sendfile regression
- Next by thread: Re: 2.6.1 sendfile regression
- Indexes:[Main][Thread]