From: Juri Lelli <juri.lelli@gmail.com>
To: Li Zefan <lizefan@huawei.com>
Cc: Ingo Molnar <mingo@redhat.com>,
Steven Rostedt <rostedt@goodmis.org>,
Peter Zijlstra <peterz@infradead.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] sched/deadline: Fix memory leak
Date: Thu, 17 Apr 2014 09:22:03 +0200 [thread overview]
Message-ID: <20140417092203.8f4303e41af14832dc37eed6@gmail.com> (raw)
In-Reply-To: <534F36CE.2000409@huawei.com>
On Thu, 17 Apr 2014 10:05:02 +0800
Li Zefan <lizefan@huawei.com> wrote:
> Free cpudl->free_cpus allocated in cpudl_init().
>
> Signed-off-by: Li Zefan <lizefan@huawei.com>
> Cc: <stable@vger.kernel.org> # 3.14
> ---
> kernel/sched/cpudeadline.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/kernel/sched/cpudeadline.c b/kernel/sched/cpudeadline.c
> index 5b9bb42..ab001b5 100644
> --- a/kernel/sched/cpudeadline.c
> +++ b/kernel/sched/cpudeadline.c
> @@ -210,7 +210,5 @@ int cpudl_init(struct cpudl *cp)
> */
> void cpudl_cleanup(struct cpudl *cp)
> {
> - /*
> - * nothing to do for the moment
> - */
> + free_cpumask_var(cp->free_cpus);
> }
Thanks!
- Juri
next prev parent reply other threads:[~2014-04-17 7:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-17 2:05 Li Zefan
2014-04-17 7:22 ` Juri Lelli [this message]
2014-05-08 10:41 ` [tip:sched/core] " tip-bot for Li Zefan
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=20140417092203.8f4303e41af14832dc37eed6@gmail.com \
--to=juri.lelli@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lizefan@huawei.com \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.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
Powered by JetHome