Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2021 09:32:32 -0400
From:      Mark Johnston <markj@freebsd.org>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        freebsd-stable List <stable@freebsd.org>, FreeBSD Current <current@freebsd.org>
Subject:   Re: stable/13, vm page counts do not add up
Message-ID:  <YHbu8ApV7KfXEU%2By@nuc>
In-Reply-To: <23d370fa-41db-a89b-03fd-e45deb874aed@FreeBSD.org>
References:  <0606571f-fec0-c7ad-98e8-a0b8554918e2@FreeBSD.org> <YG4OAVa0ohh4illU@nuc> <f509bf54-e283-eb29-2db2-1457dae7bc13@FreeBSD.org> <YG4ckaRbub6kEFO8@nuc> <dd0a979f-8a50-ab28-9701-0a8cddc9471b@FreeBSD.org> <YHYKsl/sNBNYZUDC@nuc> <23d370fa-41db-a89b-03fd-e45deb874aed@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 14, 2021 at 02:21:44PM +0300, Andriy Gapon wrote:
> On 14/04/2021 00:18, Mark Johnston wrote:
> > fbt::vm_page_unwire:entry
> > /args[0]->oflags & 0x4/
> > {
> > 	@unwire[stack()] = count();
> > }
> 
> Unrelated report, dtrace complains about this probe on my stable/13 system:
>      failed to resolve translated type for args[0]
> 
> And I do not have any idea why...

There was a regression, see PR 253440.  I think you have the fix
already, but perhaps not.  Could you show output from
"dtrace -lv -n fbt::vm_page_unwire:entry"?

> 
>  From ctfdump:
>    [27290] FUNC (vm_page_unwire) returns: 38 args: (1463, 3)
> 
>    <1463> TYPEDEF vm_page_t refers to 778
>    <778> POINTER (anon) refers to 3575
>    <3575> STRUCT vm_page (104 bytes)
>          plinks type=3563 off=0
>          listq type=3558 off=128
>          object type=3564 off=256
>          pindex type=3565 off=320
>          phys_addr type=42 off=384
>          md type=3571 off=448
>          ref_count type=31 off=640
>          busy_lock type=31 off=672
>          a type=3573 off=704
>          order type=3 off=736
>          pool type=3 off=744
>          flags type=3 off=752
>          oflags type=3 off=760
>          psind type=2167 off=768
>          segind type=2167 off=776
>          valid type=3574 off=784
>          dirty type=3574 off=792
> 
> -- 
> Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YHbu8ApV7KfXEU%2By>