Fix for the problem stated below by Tor Egge:
(from: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=832566+0+ \ current/freebsd-current) "Too many pages were prefaulted in pmap_object_init_pt, thus the wrong physical page was entered in the pmap for the virtual address where the .dynamic section was supposed to be." Submitted by: tegge Approved by: tegge's patches never fail
This commit is contained in:
parent
09122f6371
commit
c6d84b4d4b
@ -2493,7 +2493,7 @@ retry:
|
||||
((objpgs > 0) && (p != NULL));
|
||||
p = TAILQ_NEXT(p, listq)) {
|
||||
|
||||
if (p->pindex < pindex || p->pindex - pindex > psize) {
|
||||
if (p->pindex < pindex || p->pindex - pindex >= psize) {
|
||||
continue;
|
||||
}
|
||||
tmpidx = p->pindex - pindex;
|
||||
|
@ -2493,7 +2493,7 @@ retry:
|
||||
((objpgs > 0) && (p != NULL));
|
||||
p = TAILQ_NEXT(p, listq)) {
|
||||
|
||||
if (p->pindex < pindex || p->pindex - pindex > psize) {
|
||||
if (p->pindex < pindex || p->pindex - pindex >= psize) {
|
||||
continue;
|
||||
}
|
||||
tmpidx = p->pindex - pindex;
|
||||
|
Loading…
x
Reference in New Issue
Block a user