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 v6 1/5] syscall: add sched_setaffinity
Date: Thu,  3 Dec 2026 11:52:56 +0100	[thread overview]
Message-ID: <20261203105300.70656-2-e.huhsovitz@proxmox.com> (raw)
In-Reply-To: <20261203105300.70656-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





  reply	other threads:[~2026-12-03 10:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 10:52 [PATCH common/qemu-server v6 0/5] vCPU binding for qemu guests Elias Huhsovitz
2026-12-03 10:52 ` Elias Huhsovitz [this message]
2026-12-03 10:52 ` [PATCH common v6 2/5] cpuset: generalize to improve usability for sysfs cpusets Elias Huhsovitz
2026-12-03 10:52 ` [PATCH qemu-server v6 3/5] helpers: return integer values for parse_number_sets Elias Huhsovitz
2026-12-03 10:52 ` [PATCH qemu-server v6 4/5] memory: unify NUMA config parsing and resolution Elias Huhsovitz
2026-12-03 11:34   ` Elias Huhsovitz
2026-12-03 10:53 ` [PATCH qemu-server v6 5/5] cpu: add affinity module 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=20261203105300.70656-2-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