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

some dumb questions



Hi all,

Some dumb questions from a dumb person..

In vm_operations_struct there are pointers for (*advise), (*nopage),
(*wppage), et cetera. wppage is never used or called by any code
(copy-on-write is the default behaviour). Why is this? What if I want
my own wppage handler? Having the fn ptr member but not using it
doesn't make sense, IMHO. Also, I believe (*advise) isn't used
either.

Some other small things:
1. struct vm_area_struct -> struct vm_area ?
2. struct vm_operations_struct -> struct vm_area_operations ?
3. /dev/sysvipc/shm/1234 or /proc/sysvipc/shm/1234 ??

(This last suggestion just might start a holy war.... :-)

Thanks,

Lennert Buytenhek
<buytenh@dsv.nl>


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/