Messages in this thread | | | Date | Tue, 11 Nov 2003 21:57:12 +0100 | From | Jakob Oestergaard <> | Subject | Re: OT: why no file copy() libc/syscall ?? |
| |
On Mon, Nov 10, 2003 at 09:22:22AM -0500, Daniel Jacobowitz wrote: > On Mon, Nov 10, 2003 at 07:29:15AM -0600, Jesse Pollard wrote: > > Now back to the copy.. You don't have to use a read/write loop- mmap > > is faster. And this is the other reason for not doing it in Kernel mode. > > Actually, last I checked, read/write was actually faster. Linus > explained why a month or two ago.
It would also not break on large files...
-- ................................................................ : jakob@unthought.net : And I see the elder races, : :.........................: putrid forms of man : : Jakob Østergaard : See him rise and claim the earth, : : OZ9ABN : his downfall is at hand. : :.........................:............{Konkhra}...............: - 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/
| |