[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
adding mmap() and madvise() to fileutils-4.1/src/copy
From: |
Matt |
Subject: |
adding mmap() and madvise() to fileutils-4.1/src/copy |
Date: |
Wed, 16 May 2001 19:34:16 +1000 |
User-agent: |
Mutt/1.3.17i |
howdy,
i have a patch that enables mmap() and madvise() for copying
regular files. i have only tested it on linux. i havent added tests
for HAVE_MADVISE because "i dont know how" (tm). it should probably be
added. also using madvise() on the latest linux kernels (2.4.4-ac9)
seems to trigger a kernel bug and hang your system. hopefully it will
work on other platforms that implement it. currently it is "#if 0"'ed.
anyway the patch is attached.
matt
fileutils.mmap.diff
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- adding mmap() and madvise() to fileutils-4.1/src/copy,
Matt <=