Hello!
> Just one question: at some places you use
> #if LINUX_VERSION_CODE >= VERSION_CODE(2,3,25)
> and at others
> #if LINUX_VERSION_CODE >= VERSION_CODE(2,3,26)
>
> (e.g. compare adding the /proc entry and removing it).
>
> I'd assume that you'd want the same criterion for both,
> but I'm not sure myself exactly when the new /proc handling
> (or the new vm_pgoff, for that matter) was introduced ...
No. These assumptions is not very good.
proc_register/proc_unregister was "removed" in 2.3.29
vm_pgoff was introduced in 2.3.26
Bye,
Oleg