The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Paul Jackson <pj@sgi.com>
To: Simon Derr <Simon.Derr@bull.net>
Cc: akpm@osdl.org, dino@in.ibm.com, torvalds@osdl.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2.6.12-rc4] cpuset exit NULL dereference fix
Date: Fri, 27 May 2005 01:44:30 -0700	[thread overview]
Message-ID: <20050527014430.0e228f21.pj@sgi.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0505271000410.11050@openx3.frec.bull.fr>

Simon wrote:
> > Would it make sense, Simon, to recommend to Andrew that
> > he take the simple patch I submitted yesterday ...
> > 
> > Then, when we understand ... offer up a second patch?
> 
> Of course !

Ok - I'll resubmit that patch.  Hopefully you can reply to that
resubmitted patch with an "Acked-by: ..."

Andrew withdrew the original patch, when it became a matter needing
further discussion.

> My point is only that if you think there is a scaling problem in 
> taking cpuset_sem for each call to cpuset_exit(), that scaling problem 
> won't disappear by taking cpuset_sem only for 'notify_on_remove' cpusets, 

Yes - that is a good and valid point.

I also lack any real evidence of a scaling problem.  It's just a
theoretical concern.  My unreliable weather forecast is that it will be
a while before it's a serious concern.

This means I am willing to take simple measures to minimize the concern,
but I'd prefer to await hard evidence of the problem before trying more
ambitious measures.

==

My impression is that cpusets has two classes of users:
 1) Extreme HPC apps, scaling to hundreds or thousands of CPUs, and
 2) More mixed or service oriented apps, with less extreme scaling.

I also suspect that it is the second class that most requires
notify_on_release.  The extreme HPC guys have less need for
notify_on_release.

So I find a solution that lets one trade off extreme scaling versus
heavier use of notify_on_release to be appealing, if it can be done
trivially, as this patch does.

-- 
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <pj@engr.sgi.com> 1.650.933.1373, 1.925.600.0401

      reply	other threads:[~2005-05-27  8:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-26  8:25 [PATCH 2.6.12-rc4] cpuset exit NULL dereference fix Paul Jackson
2005-05-26  9:00 ` Simon Derr
2005-05-26 12:08   ` Robin Holt
2005-05-26 15:44     ` Linus Torvalds
2005-05-26 18:46       ` Paul Jackson
2005-05-26 20:46     ` Paul Jackson
2005-05-26 13:54   ` Dinakar Guniguntala
2005-05-26 20:07   ` Paul Jackson
2005-05-27  0:24     ` Paul Jackson
2005-05-26 23:40   ` Paul Jackson
2005-05-27  8:07     ` Simon Derr
2005-05-27  8:44       ` Paul Jackson [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=20050527014430.0e228f21.pj@sgi.com \
    --to=pj@sgi.com \
    --cc=Simon.Derr@bull.net \
    --cc=akpm@osdl.org \
    --cc=dino@in.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.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