[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] fix ia64 breakage with PHYSDEVOP_pirq_eoi_mfn (was Re:[Xen-devel] [PATCH 2/2] linux/x86: use shared page indicatingthe need for an EOI notification)


  • To: Jan Beulich <jbeulich@xxxxxxxxxx>, Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
  • From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • Date: Wed, 10 Dec 2008 10:07:54 +0000
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 10 Dec 2008 02:08:12 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AclaryrDr1dvy4PGHU2t+SKmEL3V5g==
  • Thread-topic: [PATCH] fix ia64 breakage with PHYSDEVOP_pirq_eoi_mfn (was Re:[Xen-devel] [PATCH 2/2] linux/x86: use shared page indicatingthe need for an EOI notification)

On 10/12/2008 09:21, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:

>>>> Isaku Yamahata <yamahata@xxxxxxxxxxxxx> 10.12.08 05:16 >>>
>> Sorry I sent out the old one. Here is the corrected one.
>> NULL check must be before its use.
> 
> Not really - alloc_bootmem() etc panic for themselves unless you use the
> _nopanic variants.
> Also, alloc_bootmem() etc zero the allocated memory, so no need for
> memset(), and the subsequent BUG_ON() can obviously go away.
> And finally, PAGE_SIZE isn't correct, you should use the size originally
> used, just slightly modified:
> 
> BITS_TO_LONGS(ALIGN(NR_PIRQS, PAGE_SIZE * 8))
> 
> I was about to put together a patch for this myself...

Can you just fix up Isaku's patch and then we'll collect a fresh sign-off
from him too?

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.