From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Frederic Weisbecker <fweisbec@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 0/5] Support negative number of CPUs
Date: Wed, 1 Apr 2015 00:35:37 -0700 [thread overview]
Message-ID: <20150401073537.GJ9023@linux.vnet.ibm.com> (raw)
In-Reply-To: <1427844036-1325-1-git-send-email-fweisbec@gmail.com>
On Wed, Apr 01, 2015 at 01:20:31AM +0200, Frederic Weisbecker wrote:
> Support for machines without any CPU at all was brought 3 years ago
> by Paul (https://lkml.org/lkml/2012/3/31/131). The goal was to reduce
> the complexity of programming on modern computing.
>
> Now meeting the simplicity beyond that of sequential programming had a
> cost: such hardware configuration found a user base but didn't meet much
> success among HPC users.
>
> So we have now a new challenge to solve: keep the beyond-sequential
> programming simplicity while providing a highly parallel processing that
> still scale.
>
> This patchset proposes a solution. The support for negative number of
> CPUs is able to help scale computing up to O(-NR_CPUS). The more you have
> CPUs the higher you scale, to the point that software execution should
> complete before you start writing that software (assuming you have around
> -1024 CPUs). And programming gets even more simple because you have lesser
> CPUs to handle.
>
> Now keep in mind this patchset is only a draft. Not build tested and
> I don't have the hardware yet.
For the series:
>moc.mbi.tenv.xunil@kcmluap< yenneKcM .E luaP :yb-deweiveR
> Frederic Weisbecker (5):
> cpu: Infrastructure for negative cpu handling
> smp: IPI handling for negative CPU
> cpumask: Basic negative number of CPUs handling
> init: Support negative CPUs boot and halt code
> x86: Support reverse execution
>
> arch/x86/kernel/cpu/negative.c | 28 ++
> arch/x86/kernel/head64.c | 4 +
> arch/x86/kernel/reboot.c | 8 +
> include/linux/cpumask.h | 48 +++
> init/main.c | 7 +
> kernel/cpu_neg.c | 791 +++++++++++++++++++++++++++++++++++++++++
> kernel/smp.c | 38 +-
> 7 files changed, 920 insertions(+), 4 deletions(-)
> create mode 100644 arch/x86/kernel/cpu/negative.c
> create mode 100644 kernel/cpu_neg.c
>
> --
> 2.1.4
>
next prev parent reply other threads:[~2015-04-01 7:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-31 23:20 [PATCH 0/5] Support negative number of CPUs Frederic Weisbecker
2015-03-31 23:20 ` [PATCH 1/5] cpu: Infrastructure for negative cpu handling Frederic Weisbecker
2015-03-31 23:20 ` [PATCH 2/5] smp: IPI handling for negative CPU Frederic Weisbecker
2015-03-31 23:20 ` [PATCH 3/5] cpumask: Basic negative number of CPUs handling Frederic Weisbecker
2015-03-31 23:20 ` [PATCH 4/5] init: Support negative CPUs boot and halt code Frederic Weisbecker
2015-03-31 23:20 ` [PATCH 5/5] x86: Support reverse execution Frederic Weisbecker
2015-04-01 7:35 ` Paul E. McKenney [this message]
2015-04-01 9:37 ` [PATCH 0/5] Support negative number of CPUs Borislav Petkov
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=20150401073537.GJ9023@linux.vnet.ibm.com \
--to=paulmck@linux.vnet.ibm.com \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/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).