The frametable entries do not have an obvious bit indicating that the page is a 
target of a CP lock. I'll keep digging.
I'm going to as time permits hunt down through the virtual machine pgmbk's.
David

________________________________

From: The IBM z/VM Operating System on behalf of Rob van der Heij
Sent: Wed 12/10/2008 6:15 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: [IBMVM] query of CP locked guest pages



On Wed, Dec 10, 2008 at 4:47 PM, Dave Jones <[EMAIL PROTECTED]> wrote:
> I'm stumped here....I have a guest virtual machine (running Linux, but I
> think that's immaterial) that has locked some of its pages into host storage
> via the CP LOCK command....now I want to find out *which* guest pages were
> locked. I can find a count of the number of locked pages, but I want to know
> which ones as well.

No Dave, locked pages is "material" (i.e. hardware). Unlocked pages
are "immaterial" (virtual) :-)

In a former live, in the days that I cared about such things, I had a
tiny pipeline stage that could read the core table (using my dcp
stage). From there it was trivial to select the entries marked as
locked user pages. I used it to determine the reference patterns for
Linux pages to decide what portions would be candidates to share.

But if your "which" was only the prelude for the "why" question: if
the guest has a dedicated OSA adapter, then the locked pages are
probably the inbound buffers for that. In previous releases the locked
pages per guest (under the bar) was part of the motivation to promote
virtual network devices.

Rob



Reply via email to