mmap and nopage...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





	Hi all!

	I´ve done a my_mmap syscall, and a nopage function for that.
	So, when the user call my_mmap and alloc i<8 pages the function 
nopage is called once. kernel 2.4.5
	The user program only call mmap but don´t use this area!!

	I´ve done this test on 2.4.14, and the result is.
	if i alloc i<50 pages, the function nopage is called once. 
	If I alloc +50 pages, It works OK.

	why?
	Does anyone have any idea?

	Thanks a lot!!

Thobias.

-- 
Memory fault -- core...uh...um...core... Oh dammit, I forget!

----
Thobias Salazar Trevisan <thobias@cos.ufrj.br>
Home Page - http://www.cos.ufrj.br/~thobias
Parallel Computing Laboratory / COPPE
Federal University of Rio de Janeiro
Brazil
__________________________
|	                 |
| Against - HTML Mail    |
|                        |
--------------------------




--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux