From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: Harish <harish@linux.ibm.com>, mpe@ellerman.id.au
Cc: srikar@linux.vnet.ibm.com, kamalesh@linux.vnet.ibm.com,
shiganta@in.ibm.com, sathnaga@linux.vnet.ibm.com,
sandipan@linux.ibm.com, linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH v3] selftests: powerpc: Fix CPU affinity for child process
Date: Sun, 2 Aug 2020 23:39:08 +1000 (AEST) [thread overview]
Message-ID: <159637552967.48736.853088921052517044.b4-ty@ellerman.id.au> (raw)
In-Reply-To: <20200609081423.529664-1-harish@linux.ibm.com>
On Tue, 9 Jun 2020 13:44:23 +0530, Harish wrote:
> On systems with large number of cpus, test fails trying to set
> affinity by calling sched_setaffinity() with smaller size for
> affinity mask. This patch fixes it by making sure that the size of
> allocated affinity mask is dependent on the number of CPUs as
> reported by get_nprocs().
Applied to powerpc/next.
[1/1] selftests/powerpc: Fix CPU affinity for child process
https://git.kernel.org/powerpc/c/854eb5022be04f81e318765f089f41a57c8e5d83
cheers
prev parent reply other threads:[~2020-08-02 14:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-09 8:14 [PATCH v3] selftests: powerpc: Fix CPU affinity for child process Harish
2020-06-09 9:03 ` Kamalesh Babulal
2020-06-09 10:29 ` Satheesh Rajendran
2020-08-02 13:39 ` Michael Ellerman [this message]
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=159637552967.48736.853088921052517044.b4-ty@ellerman.id.au \
--to=patch-notifications@ellerman.id.au \
--cc=harish@linux.ibm.com \
--cc=kamalesh@linux.vnet.ibm.com \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=sandipan@linux.ibm.com \
--cc=sathnaga@linux.vnet.ibm.com \
--cc=shiganta@in.ibm.com \
--cc=srikar@linux.vnet.ibm.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;
as well as URLs for NNTP newsgroup(s).