Messages in this thread | | | Date | Thu, 24 Feb 2000 16:03:35 +0100 (MET) | From | Richard Guenther <> | Subject | Re: mmap/munmap semantics |
| |
On Thu, 24 Feb 2000 kernel@kvack.org wrote:
> On Thu, 24 Feb 2000, Richard Guenther wrote: > > > Cool, too. So for now we will stay with zeroing by reading from /dev/zero > > which does vm tricks in linux already. > > It does not do tricks when you are dealing with a shared mapping.
Oops, so I misread the code in drivers/char/mem.c ... well, so how can I get the same effect as for the private mapping? Not at the moment, I think? So memset should be faster than reading from /dev/zero?
Richard.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |