From: "Lily Huang" Subject: Got a strange IRQ Date: Thu, 4 May 2006 11:58:09 -0400 Message-ID: <4d616cca0605040858t2afaa2e1u72d8d3a623b4f0d9@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0442154699==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org --===============0442154699== Content-Type: multipart/alternative; boundary="----=_Part_4916_11488942.1146758289419" ------=_Part_4916_11488942.1146758289419 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I ran into a strange problem: After I used "bind_evtchn_to_irqhandler" to bind an evtchn to a irq handler= , I noticed that the interrupt handler was triggered although actually no IRQ was injected. This problem happened exactly once for each run. Why? Also, I had problem in release shared pages. At the backend, I initially allocate certain pages with alloc_pages(), then map several pages from frontend to the address of the allocated pages. After my work is done, I first unmap the shared pages, then I tried to free the allocated pages with free_pages. But I got a kernel error " page flag bit is not right", an= d error message also shows that refcount of these pages are 0, which seems to be normal. Did I do something wrong with the page sharing? Thanks a lot! -lily ------=_Part_4916_11488942.1146758289419 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi,

I ran into a strange problem:

After I used "bind_e= vtchn_to_irqhandler" to bind an evtchn to a irq handler, I noticed tha= t the interrupt handler was triggered although actually no IRQ was injected= . This problem happened exactly once for each run.
Why?


Also, I  had problem in release shared pages. At t= he backend, I initially allocate certain pages with alloc_pages(), then map= several pages from frontend to the address of the allocated pages. After m= y work is done,
I first unmap the shared pages, then I tried to free the allocated page= s with free_pages. But I got a kernel error " page flag bit is not rig= ht", and error message also shows that refcount of these pages are 0, = which seems
to be normal. Did I do something wrong with the page sharing?

Th= anks a lot!

-lily
------=_Part_4916_11488942.1146758289419-- --===============0442154699== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0442154699==--