Date: Sat, 3 Sep 2005 19:43:15 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ia64/ia64 pmap.c Message-ID: <200509031943.j83JhGYK079303@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2005-09-03 19:43:15 UTC FreeBSD src repository Modified files: sys/ia64/ia64 pmap.c Log: Fix collision chain termination checks. The result of IA64_PHYS_TO_RR7 is never 0, so one cannot test for a NULL pointer after a physical address is translated into a virtual pointer with said macro. Instead, keep the physical address around and test it against 0. Note that this obviously implies that a PTE can never be allocated at physical address 0. This isn't exactly guaranteed, but hasn't been a problem so far. We test the physical address against 0 for as long as the ia64 port exists... Revision Changes Path 1.164 +17 -15 src/sys/ia64/ia64/pmap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509031943.j83JhGYK079303>