From: Peter Zijlstra <peterz@infradead.org>
To: Mohammed Naser <mnaser@vexxhost.com>
Cc: linux-kernel@vger.kernel.org, mingo@redhat.com
Subject: Re: [PATCH] sched/fair: Fix null pointer dereference of empty queues
Date: Mon, 25 May 2015 22:38:54 +0200 [thread overview]
Message-ID: <1432586334.11346.2.camel@twins> (raw)
In-Reply-To: <1432576851-24831-1-git-send-email-mnaser@vexxhost.com>
On Mon, 2015-05-25 at 14:00 -0400, Mohammed Naser wrote:
> Calling put_prev_task() can result in nr_running being updated
> to zero, which would then crash the system when the kernel
> attempts to pick_next_entity() with an empty queue.
Getting to pick_next_entity() with an empty queue is a bug.
next prev parent reply other threads:[~2015-05-25 20:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-25 18:00 Mohammed Naser
2015-05-25 20:38 ` Peter Zijlstra [this message]
[not found] ` <CAEs876hF0rcSdqoKf-JASnKP0SFs70EREzpxFs9M9qC51Ea6zA@mail.gmail.com>
2015-05-25 20:49 ` Mohammed Naser
2015-05-25 21:51 ` Kirill Tkhai
2015-05-26 17:38 ` bsegall
2015-05-26 17:56 ` Mohammed Naser
2015-05-26 18:05 ` Mohammed Naser
2015-05-27 12:33 ` Kirill Tkhai
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=1432586334.11346.2.camel@twins \
--to=peterz@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=mnaser@vexxhost.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®