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

Changes in vm_operations_struct 2.2.x => 2.4.x



Hi,

Playing around with kernel memory allocated by a module and mmap()ed by a user space process, I noticed that in the 2.4.x kernel many of the 2.2.x vm_operation_struct
fields have gone. In particular there is no unmap operation any more. Is there any way for a driver to get notified when the user space process mapping memory exported by
the driver unmaps parts of that memory (as far as I know, the close operation is invoked when the entire memory is unmapped)? Does anyone know the reason why the number of
operations in vm_operation_struct has been reduced?

regards
Martin

--
Supercomputing System AG          email: maletinsky@scs.ch
Martin Maletinsky                 phone: +41 (0)1 445 16 05
Technoparkstrasse 1               fax:   +41 (0)1 445 16 10
CH-8005 Zurich


-
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/