All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: Wei Gao <wegao@suse.com>
Cc: "Michal Koutný" <mkoutny@suse.com>, ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v2 1/2] memcontrol: Add bind_to_current_cpu() helper
Date: Tue, 10 Nov 2026 12:51:01 +0100	[thread overview]
Message-ID: <avMFJRfnpw3hbArp@yuki.lan> (raw)
In-Reply-To: <avEngNz6aHO73w7W@autotest-wegao.qe.prg2.suse.org>

Hi!
> > We have this piece of code in getrusage03.c as well, so I suppose that
> > we should add this to the include/tst_cpu.h in order to make the
> > function available for all tests.
> getrusage03.c does not have any CPU binding operation, i guess you mean 
> perf_event_open02.c which contains the exact identical bind_to_current_cpu() 
> function?

It's called pin_to_current_cpu() in getrusage03.c

-- 
Cyril Hrubis
chrubis@suse.cz

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2026-11-10 11:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-29  2:23 [LTP] [PATCH v1] memcontrol03: Bind to single CPU on systems with 64KB pagesize Wei Gao via ltp
2026-09-29  4:35 ` [LTP] " linuxtestproject.agent
2026-09-29 17:01 ` [LTP] [PATCH v1] " Michal Koutný via ltp
2026-09-30  3:53 ` [LTP] [PATCH v2 0/2] memcontrol03, memcontrol04: Bind test process to a single CPU Wei Gao via ltp
2026-09-30  3:53   ` [LTP] [PATCH v2 1/2] memcontrol: Add bind_to_current_cpu() helper Wei Gao via ltp
2026-09-30  8:11     ` [LTP] " linuxtestproject.agent
2026-09-30 11:25       ` Wei Gao via ltp
2026-10-22  6:20     ` [LTP] [PATCH v2 1/2] " Wei Gao via ltp
2026-11-10 15:26       ` Michal Koutný via ltp
2026-11-04 15:42     ` Cyril Hrubis
2026-11-09  1:53       ` Wei Gao via ltp
2026-11-10 11:51         ` Cyril Hrubis [this message]
2026-11-10 13:58           ` Wei Gao via ltp
2026-09-30  3:53   ` [LTP] [PATCH v2 2/2] memcontrol03, memcontrol04: Bind test process to a single CPU Wei Gao via ltp
     [not found] ` <20260929-second-foyer-87225078267f@there>
2026-09-30  3:55   ` [LTP] [PATCH v1] memcontrol03: Bind to single CPU on systems with 64KB pagesize Wei Gao via ltp

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=avMFJRfnpw3hbArp@yuki.lan \
    --to=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    --cc=mkoutny@suse.com \
    --cc=wegao@suse.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.