| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XenPPC] [linux-ppc-2.6] [POWERPC] add HYPERVISOR_xen_version(XENVER_get_features)
 On Wed, 2006-08-09 at 23:02 +0000, Xen patchbot-linux-ppc-2.6 wrote:
> -       rc = xencomm_create(arg, argsize, &desc, GFP_KERNEL);
> +       if (!slab) {
> +               slab = slab_is_available();
> +       }
> +       if (slab)
> +               rc = xencomm_create(arg, argsize, &desc, GFP_KERNEL);
> +       else
> +               rc = xencomm_create_mini(xc_area, XENCOMM_MINI_AREA,
> +                                        arg, argsize, &desc);
Why bother? If you have to use _mini() once, why not just use it all the
time?
-- 
Hollis Blanchard
IBM Linux Technology Center
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |