mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jeff Moyer <jmoyer@redhat.com>
To: Chao Yu <chao2.yu@samsung.com>
Cc: axboe@kernel.dk, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] elevator: fix memory leak in ->elevator_init_fn
Date: Fri, 24 Apr 2015 09:03:00 -0400	[thread overview]
Message-ID: <x49a8xx1xx7.fsf@segfault.boston.devel.redhat.com> (raw)
In-Reply-To: <00c701d07e33$acbca360$0635ea20$@samsung.com> (Chao Yu's message of "Fri, 24 Apr 2015 10:08:43 +0800")

Chao Yu <chao2.yu@samsung.com> writes:

> In ->elevator_init_fn, if we fail to call kzalloc_node, we should release
> elevator queue space which is allocated previously, otherwise it will cause
> memory leak.
>
> Signed-off-by: Chao Yu <chao2.yu@samsung.com>

Acked-by: Jeff Moyer <jmoyer@redhat.com>

  reply	other threads:[~2015-04-24 13:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-24  2:08 Chao Yu
2015-04-24 13:03 ` Jeff Moyer [this message]
2015-04-27  5:30 Chao Yu

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=x49a8xx1xx7.fsf@segfault.boston.devel.redhat.com \
    --to=jmoyer@redhat.com \
    --cc=axboe@kernel.dk \
    --cc=chao2.yu@samsung.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

all inboxes | Powered by JetHome®