No, the real answer is to just do "start" and "end" page frame numbers,
and compare the two. Even a page of memory is not actually enough, if it
isn't aligned - so you can never look at size alone.
I have that in my tree already, I'll make a pre-patch soonish (integrating
the USB updates first)
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/