From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f201.google.com (mail-pf1-f201.google.com [209.85.210.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DCBFC4C77BF for ; Thu, 4 Jun 2026 17:23:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780593833; cv=none; b=ffTieHQNlLhcqkDy4bVr1EKqfKJGqnfxH0IMFCKK4WE2utq06HL82tWQx8dbvPEEhATDKVxIBVbG0vCqglM5SkW/uRsVbOeQynftPP6KeSZkIrEVfvVLHK3EYCpXNIrephwonF83W+nUkP4w2rUNPA22C6d3hYuzWAHQznLQVo8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780593833; c=relaxed/simple; bh=LjLYVnR9m7bUQZQ3s8/GLfSPHl3AEWIEcB8mhwiUZi4=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=Kc7pioUfPuG7szdkSiJgRpd2miFyzHHUAbRz3IFSpEbNtlqGDmKudjRMSmW9yiYGzyMF4DjbZzKfso+/Fz3S3Ta5qhgZZuQEtGTHRiKDCLTHzoBIXFjcT+Tyes0PcRtxv0DaSrdeDJy9FoCKh46f4rm9tVZBr3FJe97+cV/5Oac= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=Xw29Ie2U; arc=none smtp.client-ip=209.85.210.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="Xw29Ie2U" Received: by mail-pf1-f201.google.com with SMTP id d2e1a72fcca58-8423efbfb61so629090b3a.0 for ; Thu, 04 Jun 2026 10:23:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1780593830; x=1781198630; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=X2GFo4mV5KPCKDAcv8VIIj/ikLydd1CezVJZsdaGFEo=; b=Xw29Ie2UYrptQgk+g7ianQeRzz0qDxhWR6upPUO/tiZWMNXB2B5lPa3qwHGQCpbmgf ZzqTu6CgG3KZRVr/RxLpylF+lsoZin5iOwRFxmFjd9E1wD31ql0ULAZTLao64CvjvMqQ YdIw1d7Mat8QZpHCaEEZd+4WMXnqdnRoN1mT6+U4l8EhtsER6VMNa6o/XfgEP3LEAW7T LGLz65nleTQrQZuq7/J7CNL93TduoFpeu4NVFRlohxGZ5JOK4GeKyGVhjWAyUCS5tJnx LpMGW49cOPiCKp+8u2YcHu4niC5dd+vlfYm11Ae8v/ILfv+zFxZ8O+DrbDbxBe0J33le f+Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780593830; x=1781198630; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=X2GFo4mV5KPCKDAcv8VIIj/ikLydd1CezVJZsdaGFEo=; b=NP2E+/6xAcT9/Um3kGMO9NbL6KfB6ktFQ84t7RNM+DcuSot0UprQhm/S21kdIQe549 4u+QED0vssD4H2jdqfqVTbdvVnO38gFHbk/a1o3GOKqAv1TDOx68lBkSVzzz8c/YApo0 3VbAEiTJloh7jXwf8mEUem3jGqrzgjxXmr1AcZZ+1OVsjgPlM6zUJcZ/MipXD9eFaTC0 k/2NajAYOytzZq5E5mIMshjwtU6MAGE8xz7pTcIzNrPogZt5X5dY3wl2+MApM6UM6lTq Zs3jbC10WVWbMVrOBJVpkb/W0/50jmHnez16qOf7tZDLWQ4YFmYdgcyD2UbOJ1AbDbwi l6Tw== X-Forwarded-Encrypted: i=1; AFNElJ/lpzUr+/YKy3ysouazCg/qx8ajjljkIlUhSrRO91A8u2XTt0huLtd5fg0zO+5ZOZ9GnU3LXbJ8hGeVlG4=@vger.kernel.org X-Gm-Message-State: AOJu0YzW/46M+XzI91dIVIGPxz/JHzNTCy9D6nxHJw9mexqGOVnopclM Jl0lYr3oe40UcfvHXnBWtmZAut/Pb99TFmMZV4XRGu0h0JsHuy2IOOHs5epeOKLQfH4ITCK0rEC Uqj8h5w== X-Received: from pfco2.prod.google.com ([2002:a05:6a00:b902:b0:842:492e:19cb]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a00:2e89:b0:842:3be7:4d55 with SMTP id d2e1a72fcca58-84284e21c0cmr8923708b3a.11.1780593829857; Thu, 04 Jun 2026 10:23:49 -0700 (PDT) Date: Thu, 4 Jun 2026 10:23:49 -0700 In-Reply-To: <20260604020143.748245-17-jrhilke@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260604020143.748245-1-jrhilke@google.com> <20260604020143.748245-17-jrhilke@google.com> Message-ID: Subject: Re: [PATCH v5 16/21] KVM: selftests: Add kvm_sched_getaffinity() wrapper and convert users From: Sean Christopherson To: Josh Hilke Cc: Paolo Bonzini , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, David Matlack , Alex Williamson Content-Type: text/plain; charset="us-ascii" On Thu, Jun 04, 2026, Josh Hilke wrote: > Add a KVM wrapper for the sched_getaffinity syscall named > kvm_sched_getaffinity(). Convert existing users of sched_getaffinity to > use the new wrapper. > > This helper will be used in a future change in the KVM IRQ test to > migrate vCPU threads. > > No functional changes intended. There are most definitely functional changes, because not all existing callers assert success. They obviously require success, but adding the assert *is* a functional change.