Skip to contentSkip to conversation

some dumb questions

DISCUSSION Lennert Buytenhek 1 participant 1 message Jul 20, 1999 Memory management

lore
Share & tools
lore
#0 lore raw

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
<[email protected]>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/