Re: Race between vmtruncate and mapped areas?

Andrew Morton
2003-05-15T08:42:07Z

Andrew Morton <akpm@digeo.com> wrote:
>
> So the mm/memory.c part would look something like:

er, right patch, wrong concept. That's the "check i_size after taking
page_table_lock" patch.

It's actually not too bad. Yes, there's 64-bit arith involved, but it is
only a shift.