Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Dec 2004 00:38:09 +0530
From:      "Kamal R. Prasad" <kamalp@acm.org>
To:        freebsd-hackers@freebsd.org
Subject:   mmap()
Message-ID:  <41B20B19.3090204@acm.org>

next in thread | raw e-mail | index | archive | help
Hello,

 I wrote an mmap() interface for a USB device. But when I made a call to 
it using mmap(), I saw that mmap interface is called 3-4 times. The 
calls are being made from within mmap() i.e. sys/vm/vm_mmap.c. Can 
someone tell me if there is something like a re-try going on for some 
reason?
 From userspace, I called it as 
addr = mmap(NULL, 1024, PROT_READ, MAP_SHARED, fd, 0);
The version of OS is Freebsd 5.3(stable).

thanks
-kamal



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41B20B19.3090204>