From: Andrew Morton <akpm@osdl.org>
To: Paul Jackson <pj@sgi.com>
Cc: Simon.Derr@bull.net, pj@sgi.com, linux-kernel@vger.kernel.org,
clameter@sgi.com
Subject: Re: [PATCH] Cpuset: oops in exit on null cpuset fix
Date: Tue, 14 Feb 2006 22:47:10 -0800 [thread overview]
Message-ID: <20060214224710.35887069.akpm@osdl.org> (raw)
In-Reply-To: <20060215063058.22043.61848.sendpatchset@jackhammer.engr.sgi.com>
Paul Jackson <pj@sgi.com> wrote:
>
> Fix a latent bug in cpuset_exit() handling. If a task tried
> to allocate memory after calling cpuset_exit(), it oops'd in
> cpuset_update_task_memory_state() on a NULL cpuset pointer.
>
> So set the exiting tasks cpuset to the root cpuset instead of
> to NULL.
>
> A distro kernel hit this with an added kernel package that had
> just such a hook (allocating memory) in the exit code path.
Seems strange to patch the kernel for this. Can't the add-on patch do it?
Or can we just move the cpuset_exit()s to later in the exit() paths?
next prev parent reply other threads:[~2006-02-15 6:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-15 6:30 Paul Jackson
2006-02-15 6:47 ` Andrew Morton [this message]
2006-02-15 8:13 ` Paul Jackson
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=20060214224710.35887069.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=Simon.Derr@bull.net \
--cc=clameter@sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pj@sgi.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
all inboxes | Powered by JetHome®