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

Re: [Xen-devel] [PATCH RFC 02/25] A collection of fixes to Xen common files



On Wed, 7 Dec 2011, Jan Beulich wrote:
> >>> On 06.12.11 at 19:19, <stefano.stabellini@xxxxxxxxxxxxx> wrote:
> > - call free_xenoprof_pages only ifdef xenoprof;
> 
> I can't find where this symbol would get defined, so effectively you're
> removing the call unconditionally.

The symbol is already defined in xen/arch/x86/Rules.mk and
xen/arch/ia64/Rules.mk.


> > +extern char _srodata[], _erodata[];
> 
> While I realize that this isn't currently the case on e.g. the respective
> .text symbols, if you introduce new once, please add const to the
> declarations *at least* when the section contents really are read only
> (in many cases doing so even for writable sections is likely appropriate
> too).

OK


> > +#define is_kernel_rodata(p) ({                  \
> > +    char *__p = (char *)(unsigned long)(p);     \
> > +    (__p >= _srodata) && (__p < _erodata);      \
> 
> Obviously the above calls for adjustments here, too.

sorry I am not sure what you mean

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