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

Re: [Xen-devel] [PATCH] xenoprof for SMP domains: patch for linux-sparse tree




On 19 Oct 2005, at 19:45, Santos, Jose Renato G wrote:

  Attached is another patch for xenoprof

  3) xenoprof-2.0-linux-2.6-sparse.patch:
     Contains oprofile architecture specific driver for Xen (to be used
against linux sparse tree)

A few comments on this one:
1. No need to define virq_to_phys(). bind_virq_to_irq() returns the irq number, so just store it somewhere convenient rather than defining a query function. 2. I just checked in a more flexible alternative to vm_map_xen_pages which may be useful in other situations in future. Please switch to using direct_kernel_remap_pfn_range(). 3. Please use Linux indentation style throughout. I see in some places someone used 2-space soft tabs for example. 4. Make profiling config options (oprofile/Kconfig) 'default n', and do not add to default -xen0/-xenU configurations. You can add as a module to the -xen configurations if you like.

I only pick on this patch because it's the first one I looked at. :-)

 -- 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®.