From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Lalancette Subject: Re: Re: [Xen-users] xen-3.0.3 occur kernel panic Date: Tue, 26 Feb 2008 23:30:14 -0500 Message-ID: <47C4E756.9000009@redhat.com> References: <47BB88CD.4040907@SierraAtlantic.com> <47BC6412.9010506@redhat.com> <47C2673B.2080108@SierraAtlantic.com> <47C2E673.3050905@redhat.com> <47C4E536.4080302@SierraAtlantic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <47C4E536.4080302@SierraAtlantic.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Wei Jiang Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Wei Jiang wrote: > Hi > > About such a issue, are there any code changes? > Yes. In 5.1 we "fixed" it by removing the nopage handler from privcmd; having VM_PFNMAP with a nopage handler just makes no sense. However, the problem with it is that if userland did something it wasn't supposed to, it would actually get a page full of zeros instead of a SIGBUS. In 5.2 I believe we have added a nopfn handler which returns SIGBUS if the userland program does the wrong thing. Chris Lalancette