xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* xc_domain_maximum_gpfn
@ 2016-06-26 12:49 sepanta s
  2016-06-27 13:31 ` xc_domain_maximum_gpfn sepanta s
  0 siblings, 1 reply; 3+ messages in thread
From: sepanta s @ 2016-06-26 12:49 UTC (permalink / raw)
  To: xen-devel@lists.xen.org


[-- Attachment #1.1: Type: text/plain, Size: 344 bytes --]

Hi,
what exactly does this module do?
I have got about 1 million after calling this function for a domain with 1
Gigabyte ram  and page size 4K.  If the output of the function is the whole
gfns in a domain, shouldn't it be equal with (ram-size)/(page-size) ?
Is there any API to get the memory range of the domain to search through
its pages ?

[-- Attachment #1.2: Type: text/html, Size: 420 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: xc_domain_maximum_gpfn
  2016-06-26 12:49 xc_domain_maximum_gpfn sepanta s
@ 2016-06-27 13:31 ` sepanta s
  2016-06-28 11:11   ` xc_domain_maximum_gpfn Julien Grall
  0 siblings, 1 reply; 3+ messages in thread
From: sepanta s @ 2016-06-27 13:31 UTC (permalink / raw)
  To: xen-devel@lists.xen.org


[-- Attachment #1.1: Type: text/plain, Size: 473 bytes --]

On Sun, Jun 26, 2016 at 5:19 PM, sepanta s <sapanta992@gmail.com> wrote:

> Hi,
> what exactly does this module do?
>
sorry, not module but the function.

> I have got about 1 million after calling this function for a domain with 1
> Gigabyte ram  and page size 4K.  If the output of the function is the whole
> gfns in a domain, shouldn't it be equal with (ram-size)/(page-size) ?
> Is there any API to get the memory range of the domain to search through
> its pages ?
>

[-- Attachment #1.2: Type: text/html, Size: 1004 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: xc_domain_maximum_gpfn
  2016-06-27 13:31 ` xc_domain_maximum_gpfn sepanta s
@ 2016-06-28 11:11   ` Julien Grall
  0 siblings, 0 replies; 3+ messages in thread
From: Julien Grall @ 2016-06-28 11:11 UTC (permalink / raw)
  To: sepanta s, xen-devel@lists.xen.org

Hello,

On 27/06/16 14:31, sepanta s wrote:
>
>
> On Sun, Jun 26, 2016 at 5:19 PM, sepanta s <sapanta992@gmail.com
> <mailto:sapanta992@gmail.com>> wrote:
>
>     Hi,
>     what exactly does this module do?
>
> sorry, not module but the function.

The function xc_domain_maximum_gpfn returns the highest frame that has 
ever been mapped in the p2m.

Regards,

-- 
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-28 11:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-26 12:49 xc_domain_maximum_gpfn sepanta s
2016-06-27 13:31 ` xc_domain_maximum_gpfn sepanta s
2016-06-28 11:11   ` xc_domain_maximum_gpfn Julien Grall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).