> The argument "offset" is shifted right by PAGE_SHIFT bits > in sys_mmap(mmap systemcall). > > ------------------------------------------------------------------------ > sys_mmap(unsigned long addr, unsigned long len, > unsigned long prot, unsigned long flags, > unsigned long fd, unsigned long off) > { > error = sys_mmap_pgoff(addr, len, prot, flags, fd, off>> PAGE_SHIFT); > } > ------------------------------------------------------------------------ Hm. Which version are you looking at? Current code seems to don't have sys_mmap(). -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>