> Does anyone know where the mmap system call is implemented in the linux
> source tree ?
The main pieces of code are in mm/filemap.c and mm/mmap.c, with
some help from the filesystem bmap code. Only the NFS filesystem
doesn't (didn't?) have bmap and used it's own mmap code.
> I found generic_file_mmap in linux/mm/file_map.c. Who calls this
> function ?
I haven't got a clue. Grep(1) is your friend...
Rik.
+-------------------------------------------------------------------+
| Linux memory management tour guide. H.H.vanRiel@phys.uu.nl |
| Scouting Vries cubscout leader. http://www.phys.uu.nl/~riel/ |
+-------------------------------------------------------------------+
-
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/