Re: Update: Debox sendfile modifications
From: John-Mark Gurney (gurney_j_at_efn.org)
Date: 11/09/03
- Previous message: Chris Bond: "ptrace reparenting with PT_ATTACH"
- In reply to: Igor Sysoev: "Re: Update: Debox sendfile modifications"
- Next in thread: Igor Sysoev: "Re: Update: Debox sendfile modifications"
- Reply: Igor Sysoev: "Re: Update: Debox sendfile modifications"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 8 Nov 2003 19:30:26 -0800 To: Igor Sysoev <is@rambler-co.ru>
Igor Sysoev wrote this message on Wed, Nov 05, 2003 at 12:31 +0300:
> I think it can done in the following way - a socket should have flag
> that says that sendfile() had started the reading a page.
layer violation... how do you know that the fd is a socket?
> select()/poll()/kevent() should check this flag before the checking
> a socket buffer space. When the page had been read this flag is reset.
So, what about using sendfile on a pipe? are you going to teach sendfile
how to interact with pipe's too? What about other fd types?
If you made this a fd transparent operation then I would agree with
it.
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Chris Bond: "ptrace reparenting with PT_ATTACH"
- In reply to: Igor Sysoev: "Re: Update: Debox sendfile modifications"
- Next in thread: Igor Sysoev: "Re: Update: Debox sendfile modifications"
- Reply: Igor Sysoev: "Re: Update: Debox sendfile modifications"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|