On 07/27/2016 03:08 PM, Michael S. Tsirkin wrote:
>> > +unsigned long get_max_pfn(void)
>> > +{
>> > + return max_pfn;
>> > +}
>> > +EXPORT_SYMBOL(get_max_pfn);
>> > +
>
> This needs a coment that this can change at any time.
> So it's only good as a hint e.g. for sizing data structures.
Or, if
On Wed, Jul 27, 2016 at 09:23:32AM +0800, Liang Li wrote:
> Expose the function to get the max pfn, so it can be used in the
> virtio-balloon device driver.
>
> Signed-off-by: Liang Li
> Cc: Andrew Morton
> Cc: Vlastimil Babka
> Cc: Mel Gorman
> Cc: Michael S. Tsirkin
> Cc: Paolo Bonzini
> C
2 matches
Mail list logo