> It is highly unobvious what happens now in the case where startva is > modified after your calculation. You're correct. I broke MADV_SEQUENTIAL case. What I was really wrong is I made a const var (eoff) from !const var (startva)... Masao