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

David S. Miller
2005-03-22T17:42:49Z

On Tue, 22 Mar 2005 05:47:13 +0000 (GMT)
Hugh Dickins <hugh@veritas.com> 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.