linux syscall madvise

Pierre Abbat phma at phma.optus.nu
Mon Jan 4 10:42:52 PST 2010


I haven't managed to get ltp running, but I have run some Linux programs. I 
get this message in dmesg:

linux: syscall madvise is obsoleted or not implemented

This call is used to tell the kernel what the program plans to do with a 
region of memory. Values used in Linux but not BSD, according to the man 
pages, are:
MADV_REMOVE: seems to mean the same as MADV_FREE
MADV_DONTFORK: when fork() is next called, the child will not inherit the 
memory
MADV_DOFORK: opposite of MADV_DONTFORK

Pierre
-- 
li ze te'a ci vu'u ci bi'e te'a mu du
li ci su'i ze te'a mu bi'e vu'u ci





More information about the Users mailing list