Date: Mon, 29 Nov 2010 06:50:30 +0000 (UTC) From: Colin Percival <cperciva@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/i386/i386 machdep.c Message-ID: <201011290650.oAT6ohSN085776@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
cperciva 2010-11-29 06:50:30 UTC FreeBSD src repository Modified files: sys/i386/i386 machdep.c Log: SVN rev 216041 on 2010-11-29 06:50:30Z by cperciva Fix bug introduced by r194784: Under XEN, the page(s) allocated to dpcpu for CPU #0 weren't being properly reserved. Under VM pressure this would cause problems when the dpcpu structures were overwritten by arbitrary data; the most common symptom was a panic when netisr attempted to lock a mutex. For some reason the XEN code keeps track of the start of available memory in the variables 'first', 'physfree', and 'init_first'; as far as I can tell, we always have first == physfree == init_first * PAGE_SIZE. The earlier commit adjusted 'first' (which, on !XEN, is the only variable which tracks this value) but not the other two variables. Exercise for reader: Eliminate two of these three variables. Revision Changes Path 1.715 +2 -0 src/sys/i386/i386/machdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011290650.oAT6ohSN085776>