public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Elias Huhsovitz <e.huhsovitz@proxmox.com>
To: pve-devel@lists.proxmox.com
Cc: Elias Huhsovitz <e.huhsovitz@proxmox.com>
Subject: [PATCH common v5 3/4] syscall: add sched_setaffinity
Date: Tue, 24 Nov 2026 14:18:57 +0100	[thread overview]
Message-ID: <20261124131858.135785-4-e.huhsovitz@proxmox.com> (raw)
In-Reply-To: <20261124131858.135785-1-e.huhsovitz@proxmox.com>

This will be required for vCPU to CPU pinning.

Signed-off-by: Elias Huhsovitz <e.huhsovitz@proxmox.com>
---
 src/PVE/Syscall.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/PVE/Syscall.pm b/src/PVE/Syscall.pm
index f57e48f..4cc6cc3 100644
--- a/src/PVE/Syscall.pm
+++ b/src/PVE/Syscall.pm
@@ -44,6 +44,7 @@ BEGIN {
         exit => &SYS_exit,
         exit_group => &SYS_exit_group,
         brk => &SYS_brk,
+        sched_setaffinity => &SYS_sched_setaffinity,
 
         # Below aren't yet in perl's syscall.ph but use asm-generic, so the same across (sane) archs
         # -> none unknown currently, yay
-- 
2.47.3





  parent reply	other threads:[~2026-11-24 13:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 13:18 [PATCH common/qemu-server v5 0/4] vCPU binding for qemu guests Elias Huhsovitz
2026-11-24 13:18 ` [PATCH qemu-server v5 1/4] helpers: return integer values for parse_number_sets Elias Huhsovitz
2026-11-24 13:18 ` [PATCH qemu-server v5 2/4] cpu: add cpu-binding Elias Huhsovitz
2026-11-24 13:18 ` Elias Huhsovitz [this message]
2026-11-24 13:18 ` [PATCH common v5 4/4] cpuset: generalize to improve usability for sysfs cpusets Elias Huhsovitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261124131858.135785-4-e.huhsovitz@proxmox.com \
    --to=e.huhsovitz@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal