We do not have UPAGES following the tail end of the user VM space anymore.

This commit is contained in:
Peter Wemm 2001-08-08 04:02:22 +00:00
parent 8e4359286c
commit 44c76a36f8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81264

View File

@ -102,7 +102,7 @@ _MCOUNT_DECL(frompc, selfpc) /* _mcount; may be static, inline, etc */
*/
if (frompci >= p->textsize) {
if (frompci + p->lowpc
>= (uintfptr_t)(VM_MAXUSER_ADDRESS + UPAGES * PAGE_SIZE))
>= (uintfptr_t)(VM_MAXUSER_ADDRESS))
goto done;
frompci = (uintfptr_t)user - p->lowpc;
if (frompci >= p->textsize)