Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 60A7A331202 for ; Fri, 20 Feb 2026 12:05:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.97.179.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771589130; cv=none; b=Jaxn2OfkLnKj5FvZNNBS0jqMYy9w1dHlyDVspz9rqMkCKXpZnyXqM78wAQdlrm5gRDdiJze6wHfkWCCyx191O34uqEkPFudmTpbzXEsAJtLNUz/dEahsU9JsyTLaV5M5Ym1b3qhH0FilztmyZPZmftFMqsGNdHOGuMl+5QoRjRE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771589130; c=relaxed/simple; bh=+Rx3AlQgX/xQb8GF+Q7XJLfZny0L+oAnCo8K5mhxF2U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=P6Btis/aaXbYUMOTnmivHKp7Z1u9MFFOsn2ghCOTkefEDbYczcsC35LeTci2jLSKNoTfSbwgB8G07zw/PsDDyYco3d+mIND/bcpS5nyINRI3MhYJwwXhAQzw3OjhCsCE3U0Ai7zgt6DtbmEpov9wug/KJ1tl6KKK0GRaxvX4ggE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=igalia.com; spf=pass smtp.mailfrom=igalia.com; dkim=pass (2048-bit key) header.d=igalia.com header.i=@igalia.com header.b=MaDFoKZW; arc=none smtp.client-ip=213.97.179.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=igalia.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=igalia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=igalia.com header.i=@igalia.com header.b="MaDFoKZW" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=CUObr45fZcgOgmrB0c51hq6lZ4ZZHzjwWNukgxjwtP4=; b=MaDFoKZWJbMNnRKYbNGeupXqRu I+cCiyy90k01Atg19fpvJsCLIHkqtnp0WIXasc3gOQhb7AqQAgsKoyDIATLVnJlCYVzcLcXifH3zq 3w5H/Ju+SQF3SSRwPw5g3FmBaWJLQdwbD5Nd5YOvq+Twy6LJrJQS8eItc0FL87ugE7Cfd7wmtAP0U iYkdnPqdiqMTn4I0mSuThuOIBOr4QiuJoQ4sSwo395rnVGbFQ0o2vHfxz8ku5g2RnC3OzxPcmgHkv mbIKSf2JibH/4Q3r8KdORjDr52jgd+enDc6TQ/QzE5NCjIDETRBwQ/lbtg7xBLZHWRPzSGBLN92w0 MR7RWKYA==; Received: from [90.240.106.137] (helo=localhost) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1vtPGB-002uyX-AY; Fri, 20 Feb 2026 13:05:27 +0100 From: Tvrtko Ursulin To: criu@lists.linux.dev Cc: David Francis , Tvrtko Ursulin Subject: [RFC 03/26] plugins/amdgpu: Remove unused new_minor from struct vma_metadata Date: Fri, 20 Feb 2026 12:04:51 +0000 Message-ID: <20260220120514.4540-4-tvrtko.ursulin@igalia.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260220120514.4540-1-tvrtko.ursulin@igalia.com> References: <20260220120514.4540-1-tvrtko.ursulin@igalia.com> Precedence: bulk X-Mailing-List: criu@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The new_minor field in struct vma_metadata is effectively unused. Remove it. Signed-off-by: Tvrtko Ursulin --- plugins/amdgpu/amdgpu_plugin.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/amdgpu/amdgpu_plugin.c b/plugins/amdgpu/amdgpu_plugin.c index 505f1f98abb9..5bcfbe13b1d7 100644 --- a/plugins/amdgpu/amdgpu_plugin.c +++ b/plugins/amdgpu/amdgpu_plugin.c @@ -54,7 +54,6 @@ struct vma_metadata { uint64_t old_pgoff; uint64_t new_pgoff; uint64_t vma_entry; - uint32_t new_minor; int fd; }; @@ -1690,13 +1689,12 @@ static int restore_bo_data(int id, struct kfd_criu_bo_bucket *bo_buckets, CriuKf goto exit; } - vma_md->new_minor = tp_node->drm_render_minor; vma_md->new_pgoff = bo_bucket->restored_offset; vma_md->fd = node_get_drm_render_device(tp_node); plugin_log_msg("adding vma_entry:addr:0x%lx old-off:0x%lx " "new_off:0x%lx new_minor:%d\n", - vma_md->vma_entry, vma_md->old_pgoff, vma_md->new_pgoff, vma_md->new_minor); + vma_md->vma_entry, vma_md->old_pgoff, vma_md->new_pgoff, tp_node->drm_render_minor); list_add_tail(&vma_md->list, &update_vma_info_list); } -- 2.52.0