All of lore.kernel.org
 help / color / mirror / Atom feed
From: Li Zefan <lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
To: David Rientjes <rientjes-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
Cc: Viresh Kumar
	<viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	mingo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	peterz-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org,
	linaro-kernel-cunTk1MwBs8s++Sfvej+rw@public.gmane.org,
	patches-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Cgroups <cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Tejun Heo <tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Subject: Re: [PATCH] cpusets: Allocate heap only when required
Date: Fri, 24 Jan 2014 09:58:21 +0800	[thread overview]
Message-ID: <52E1C8BD.2010500@huawei.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1401231330530.7313-X6Q0R45D7oAcqpCFd4KODRPsWskHk0ljAL8bYrjMMd8@public.gmane.org>

Cc: Tejun

On 2014/1/24 5:31, David Rientjes wrote:
> On Thu, 23 Jan 2014, Viresh Kumar wrote:
> 
>> update_flag() routine uses heap only when spread_flag_changed is true. Otherwise
>> heap isn't used, but is allocated and freed unnecessarily.
>>

but harmless

>> Fix this by allocating heap only when required.
>>
>> Signed-off-by: Viresh Kumar <viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> 
> Acked-by: David Rientjes <rientjes-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>

Acked-by: Li Zefan <lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>

I would like this patch be picked up by Tejun. I'll send out a patchset
for cpuset which may have confliction with this one.

WARNING: multiple messages have this Message-ID (diff)
From: Li Zefan <lizefan@huawei.com>
To: David Rientjes <rientjes@google.com>
Cc: Viresh Kumar <viresh.kumar@linaro.org>, <mingo@kernel.org>,
	<peterz@infradead.org>, <linaro-kernel@lists.linaro.org>,
	<patches@linaro.org>, <linux-kernel@vger.kernel.org>,
	Cgroups <cgroups@vger.kernel.org>, Tejun Heo <tj@kernel.org>
Subject: Re: [PATCH] cpusets: Allocate heap only when required
Date: Fri, 24 Jan 2014 09:58:21 +0800	[thread overview]
Message-ID: <52E1C8BD.2010500@huawei.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1401231330530.7313@chino.kir.corp.google.com>

Cc: Tejun

On 2014/1/24 5:31, David Rientjes wrote:
> On Thu, 23 Jan 2014, Viresh Kumar wrote:
> 
>> update_flag() routine uses heap only when spread_flag_changed is true. Otherwise
>> heap isn't used, but is allocated and freed unnecessarily.
>>

but harmless

>> Fix this by allocating heap only when required.
>>
>> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
> 
> Acked-by: David Rientjes <rientjes@google.com>

Acked-by: Li Zefan <lizefan@huawei.com>

I would like this patch be picked up by Tejun. I'll send out a patchset
for cpuset which may have confliction with this one.


  parent reply	other threads:[~2014-01-24  1:58 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-23 11:15 [PATCH] cpusets: Allocate heap only when required Viresh Kumar
2014-01-23 21:31 ` David Rientjes
     [not found]   ` <alpine.DEB.2.02.1401231330530.7313-X6Q0R45D7oAcqpCFd4KODRPsWskHk0ljAL8bYrjMMd8@public.gmane.org>
2014-01-24  1:58     ` Li Zefan [this message]
2014-01-24  1:58       ` Li Zefan
     [not found]       ` <52E1C8BD.2010500-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2014-01-24  4:57         ` Viresh Kumar
2014-01-24  4:57           ` Viresh Kumar
     [not found]           ` <CAKohpomn_wgQExfhJL6=MB9LrRhR4=+7t3ehy0d6vEq9duzr8Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-24 10:27             ` Tejun Heo
2014-01-24 10:27               ` Tejun Heo
     [not found]               ` <20140124102758.GA4101-Gd/HAXX7CRxy/B6EtB590w@public.gmane.org>
2014-01-24 10:33                 ` Viresh Kumar
2014-01-24 10:33                   ` Viresh Kumar
2014-01-24 10:40                   ` Tejun Heo
2014-01-24 10:33       ` David Rientjes
     [not found]         ` <alpine.DEB.2.02.1401240230190.9846-X6Q0R45D7oAcqpCFd4KODRPsWskHk0ljAL8bYrjMMd8@public.gmane.org>
2014-01-24 10:36           ` Tejun Heo
2014-01-24 10:36             ` Tejun Heo
     [not found]             ` <20140124103631.GB4101-Gd/HAXX7CRxy/B6EtB590w@public.gmane.org>
2014-01-24 10:51               ` David Rientjes
2014-01-24 10:51                 ` David Rientjes
     [not found]                 ` <alpine.DEB.2.02.1401240243260.24372-X6Q0R45D7oAcqpCFd4KODRPsWskHk0ljAL8bYrjMMd8@public.gmane.org>
2014-01-24 10:59                   ` Tejun Heo
2014-01-24 10:59                     ` Tejun Heo
2014-01-24 11:15                     ` David Rientjes

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=52E1C8BD.2010500@huawei.com \
    --to=lizefan-hv44wf8li93qt0dzr+alfa@public.gmane.org \
    --cc=cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linaro-kernel-cunTk1MwBs8s++Sfvej+rw@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mingo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=patches-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=peterz-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
    --cc=rientjes-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
    --cc=tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.