<[EMAIL PROTECTED]> wrote:
> I was working on the same thing at the same time as you, I suppose.
> I also made patch for 2.3.x
> This patch still enables the code to compile on 2.2.x kernels
Well, the problem is that vm_pgoff is not just a new name for the
same thing (what would have been the point of changing the name, then?).
While vm_offset specified the offset into the file as a number of *bytes*,
the new vm_pgoff is measured in number of *pages*. This means that the
various computations have to be done differently, of course.
As to the /proc entry: I can see that the interface for announcing
that entry has changed, but I'd suggest to use the existing fmw_read_procmem
routine to generate the actual output; this contains at least some useful
information (FMW cannot be compiled into the kernel anyway at the moment,
for memory layout reasons ...).
Bye,
Ulrich