mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 01:59:38 -04:00
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
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue