From: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
To: Sandipan Das <sandipan@linux.ibm.com>
Cc: shiganta@in.ibm.com, linuxppc-dev@lists.ozlabs.org,
srikar@linux.vnet.ibm.com, nasastry@in.ibm.com
Subject: Re: [PATCH] selftests: powerpc: Fix online CPU selection
Date: Mon, 8 Jun 2020 20:35:43 +0530 [thread overview]
Message-ID: <7ab2d769-8257-d7d7-6fd8-38a9a41a8ecc@linux.vnet.ibm.com> (raw)
In-Reply-To: <20200608144212.985144-1-sandipan@linux.ibm.com>
On 6/8/20 8:12 PM, Sandipan Das wrote:
> The size of the cpu set must be large enough for systems
> with a very large number of CPUs. Otherwise, tests which
> try to determine the first online CPU by calling
> sched_getaffinity() will fail. This makes sure that the
> size of the allocated cpu set is dependent on the number
> of CPUs as reported by get_nprocs().
>
> Fixes: 3752e453f6ba ("selftests/powerpc: Add tests of PMU EBBs")
> Reported-by: Shirisha Ganta <shiganta@in.ibm.com>
> Signed-off-by: Sandipan Das <sandipan@linux.ibm.com>
LGTM,
Reviewed-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
--
Kamalesh
next prev parent reply other threads:[~2020-06-08 15:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-08 14:42 [PATCH] selftests: powerpc: Fix online CPU selection Sandipan Das
2020-06-08 15:05 ` Kamalesh Babulal [this message]
2020-06-09 6:12 ` Sandipan Das
2020-06-09 6:20 ` Sandipan Das
-- strict thread matches above, loose matches on Subject: below --
2020-06-08 16:52 Harish
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=7ab2d769-8257-d7d7-6fd8-38a9a41a8ecc@linux.vnet.ibm.com \
--to=kamalesh@linux.vnet.ibm.com \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=nasastry@in.ibm.com \
--cc=sandipan@linux.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).