Re: [PATCH 1/5] freepgt: free_pgtables use vma list

From: David S. Miller
Date: Tue Mar 22 2005 - 12:45:23 EST


On Tue, 22 Mar 2005 05:47:13 +0000 (GMT)
Hugh Dickins <hugh@xxxxxxxxxxx> wrote:

> > 1) start --> end straddles sparc64 address space hole
>
> That's an interesting remark. I hadn't noticed the signed long type.
> I believe the vma gathering in free_pgtables will have no problem with
> that, but what about the old code? What happens if an app does a huge
> munmap straddling the address space hole? Or is all the user address
> space below the hole?

It will BUG(), crap. :( Good catch, I'll fix this.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/