Re: Race between vmtruncate and mapped areas?

Andrew Morton (akpm@digeo.com)
Thu, 15 May 2003 02:20:00 -0700


Andrea Arcangeli <andrea@suse.de> wrote:
>
> and it's still racy

damn, and it just booted ;)

I'm just a little bit concerned over the ever-expanding inode. Do you
think the dual sequence numbers can be replaced by a single generation
counter?

I do think that we should push the revalidate operation over into the vm_ops.
That'll require an extra arg to ->nopage, but it has a spare one anyway (!).

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/