[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 06/11] x86/shadow: drop a few uses of mfn_valid()
- To: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Mon, 9 Jan 2023 09:42:18 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=p8TokGGxB94VKlVbvpTwqndAo8B/W2RsotoDsKDJ7KA=; b=JrOFo/Npa4d0+m6UE5XuSVKNCF5sIyCm0DZbFDPLruH02Ug8k3d0AFtasFL09Qe9rZomjy87x+T/PGRjW5QgJkZTbeGlpJvNmtGSTAiQZS6Dic0YiRVPQ6lU0Na54LzrWecRDlJbN7416HpArKurIDe5pHDKdEE4WsfvY+FC9SC1qZDLDjOWOc2jvF2AW9vNb4l3N4EbhstHx9ZrDUkafD0EDcjKHhsADdCMFbM90iFkby+ur6pqi6W9X2Ma4dubSKS8DFIQS2OEpKnTeZdFtUMCE/Zo9k3RkT47LxZz4gq0CHUUUD/2zZg4W95K4TIdeEQOiZSxkgzcDouEcRhLJg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZrLxFM09aKt2gSNNsVBKYFe+OAbIls/JYGUFCX5ASOwc8DTaEBrqyYdSaNKI2uu74PsubJmrr1nkjZijYFIYgmm35kKwRUIfQ83yRBTvvBLBM2m0wvVYdHlbwu5V8QymUBj+TX3ZHyjPuMoNCnXpmk8bd240Czf0LaJC2vuBtW0VoH38g5yb697eqklbEfMqpI5ujXy5OakIqKi0gcyjdoIKpIVgYuI8pzfZl5wAyT7g5OjG73NcqzFXaVxGM3X+LSDDyqcu0C9Vo/yejllRiaF8Luz/rJTVJIx+OiegQysiOmJ6PuUotZ3oGi0WSSsEL9p0Ekg4WMusQFsEaQE7JQ==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Wei Liu <wl@xxxxxxx>, Roger Pau Monne <roger.pau@xxxxxxxxxx>, "Tim (Xen.org)" <tim@xxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Mon, 09 Jan 2023 08:42:32 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 06.01.2023 02:02, Andrew Cooper wrote:
> On 05/01/2023 4:04 pm, Jan Beulich wrote:
>> v->arch.paging.shadow.shadow_table[], v->arch.paging.shadow.oos[],
>> v->arch.paging.shadow.oos_{snapshot[],fixup[].smfn[]} as well as the
>
> fixup[],smfn[] ?
No. See e.g. shadow_vcpu_init():
for ( i = 0; i < SHADOW_OOS_PAGES; i++ )
{
v->arch.paging.shadow.oos[i] = INVALID_MFN;
v->arch.paging.shadow.oos_snapshot[i] = INVALID_MFN;
for ( j = 0; j < SHADOW_OOS_FIXUPS; j++ )
v->arch.paging.shadow.oos_fixup[i].smfn[j] = INVALID_MFN;
}
Jan
|