Man...  I've been struggling with Linux's memory mapping mechanism for some weeks now, because of a #GDB patch.  What a pain!  The code is utterly confusing (just like the concept), it takes some time to grasp a bit of understanding of what's going on, and it is not very easy to deal with memory mappings from userspace.  IOW, I'm tired :-).  !fs !gnu