[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v6 6/8] xen/arm: introduce GNTTABOP_cache_flush
>>> On 16.10.14 at 18:30, <stefano.stabellini@xxxxxxxxxxxxx> wrote: > On Thu, 16 Oct 2014, Jan Beulich wrote: >> >>> On 16.10.14 at 16:45, <stefano.stabellini@xxxxxxxxxxxxx> wrote: >> > @@ -2953,6 +3086,10 @@ static int __init gnttab_usage_init(void) >> > if ( !max_maptrack_frames ) >> > max_maptrack_frames = MAX_MAPTRACK_TO_GRANTS_RATIO * > max_grant_frames; >> > >> > + if ( max_grant_frames > DEFAULT_MAX_NR_GRANT_FRAMES ) >> > + printk(XENLOG_WARNING "An high gnttab_max_frames can seriously > slow down the hypervisor.\n" >> > + "It is recommended to set gnttab_max_frames to %d >> > max.\n", > DEFAULT_MAX_NR_GRANT_FRAMES); >> >> It is certainly odd for the default being the maximum, but okay - if >> others consider this fine, I'm not going to object. > > I think it is OK for a variable that defines the maximum. I don't think I understand what you're stating here. >> Also, again - long lines. > > I thought that long lines were acceptable for messages and warnings? Yes, the textual parts of them. XENLOG_* prefixes as well as arguments to fill the %<format> fields should play by the no- long-lines rule though. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |