[bittorrent] Introductory/endgame algorithms

Justin Cormack justin at street-vision.com
Fri Sep 30 06:17:46 EDT 2005


On 30 Sep 2005, at 08:27, Olaf van der Spek wrote:
>
>> Wrong. If your buffer is page-aligned and you're doing I/O to
>> page-aligned portions of a file, Linux will do a copy but by  
>> modifying
>> the page table.
>>
>
> Doesn't that also require not using the buffer for anything else  
> (afterwards)?
> Because if you write to it, Linux will have to do the copy after all.

Linux doesnt do this. I think FreeBSD does, but the page table  
mangling was considered
not worthwhile.

Justin




More information about the BitTorrent mailing list