Date: Sun, 28 Jun 2009 22:42:51 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/sparc64/include pmap.h src/sys/sparc64/sparc64 machdep.c pmap.c Message-ID: <200906282243.n5SMhDa9001917@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2009-06-28 22:42:51 UTC FreeBSD src repository Modified files: sys/sparc64/include pmap.h sys/sparc64/sparc64 machdep.c pmap.c Log: SVN rev 195149 on 2009-06-28 22:42:51Z by marius - Work around the broken loader behavior of not demapping no longer used kernel TLB slots when unloading the kernel or modules, which results in havoc when loading a kernel and modules which take up less TLB slots afterwards as the unused but locked ones aren't accounted for in virtual_avail. Eventually this should be fixed in the loader which isn't straight forward though and the kernel should be robust against this anyway. [1] - Ensure that the addresses allocated directly from phys_avail[] by pmap_bootstrap_alloc() are always colored properly. This implicit assumption was broken in r194784 as unlike the other consumers the DPCPU area allocated for the BSP isn't a multiple of PAGE_SIZE * DCACHE_COLORS. [2] - Remove the no longer used global msgbuf_phys. - Remove the redundant ekva parameter of pmap_bootstrap_alloc(). - Correct some outdated function names in ktr(9) invocations. Requested by: jhb [1] Reported by: gavin [2] Approved by: re (kib) MFC after: 2 weeks Revision Changes Path 1.48 +1 -3 src/sys/sparc64/include/pmap.h 1.155 +20 -9 src/sys/sparc64/sparc64/machdep.c 1.181 +17 -17 src/sys/sparc64/sparc64/pmap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906282243.n5SMhDa9001917>