All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Aneesh Kumar K.V" <aneesh.kumar-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
To: Michal Hocko <mhocko-AlSwsSmVLrQ@public.gmane.org>,
	KAMEZAWA Hiroyuki
	<kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
Cc: Tejun Heo <tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	"linux-mm@kvack.org"
	<linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org>,
	"cgroups@vger.kernel.org"
	<cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Johannes Weiner <hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org>,
	Glauber Costa <glommer-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>,
	Hugh Dickins <hughd-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>,
	Andrew Morton
	<akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
Subject: Re: [PATCH v1 0/7] memcg remove pre_destroy
Date: Sat, 14 Apr 2012 03:49:15 +0530	[thread overview]
Message-ID: <87vcl3gtr0.fsf@skywalker.in.ibm.com> (raw)
In-Reply-To: <20120413085014.GA9205-VqjxzfR4DlwKmadIfiO5sKVXKuFTiq87@public.gmane.org>

Michal Hocko <mhocko-AlSwsSmVLrQ@public.gmane.org> writes:

> On Fri 13-04-12 08:59:44, KAMEZAWA Hiroyuki wrote:
>> (2012/04/13 3:57), Aneesh Kumar K.V wrote:
>> 
>> > Tejun Heo <tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> writes:
>> > 
>> >> Hello, KAMEZAWA.
>> >>
>> >> Thanks a lot for doing this.
>> >>
>> >> On Thu, Apr 12, 2012 at 08:17:18PM +0900, KAMEZAWA Hiroyuki wrote:
>> >>> In recent discussion, Tejun Heo, cgroup maintainer, has a plan to remove
>> >>> ->pre_destroy(). And now, in cgroup tree, pre_destroy() failure cause WARNING.
>> >>
>> >> Just to clarify, I'm not intending to ->pre_destroy() per-se but the
>> >> retry behavior of it, so ->pre_destroy() will be converted to return
>> >> void and called once on rmdir and rmdir will proceed no matter what.
>> >> Also, with the deprecated behavior flag set, pre_destroy() doesn't
>> >> trigger the warning message.
>> >>
>> >> Other than that, if memcg people are fine with the change, I'll be
>> >> happy to route the changes through cgroup/for-3.5 and stack rmdir
>> >> simplification patches on top.
>> >>
>> > 
>> > Any suggestion on how to take HugeTLB memcg extension patches [1]
>> > upstream. Current patch series I have is on top of cgroup/for-3.5
>> > because I need cgroup_add_files equivalent and cgroup/for-3.5 have
>> > changes around that. So if these memcg patches can also go on top of
>> > cgroup/for-3.5 then I can continue to work on top of cgroup/for-3.5 ?
>
> I would suggest working on top of memcg-devel tree or on top linux-next.
> Just pull the required patch-es from cgroup/for-3.5 tree before your
> work (I can include that into memcg-devel tree for you if you want).

I am expecting to have no conflicts with pending memcg changes. But I do
have conflicts with cgroup/for-3.5. That is the reason I decided to
rebase on top of cgroup/for-3.5. 


>
> Do you think this is a 3.5 material? I would rather wait some more. I
> didn't have time to look over it yet and there are still some unresolved
> issues so it sounds like too early for merging.


I would really like to get it merged for 3.5. I am ready to post V6 that
address all review feedback from V5 post. 


>
>> > Can HugeTLB memcg extension patches also go via this tree ? It
>> > should actually got via -mm. But then how do we take care of these
>> > dependencies ?
>
> You are not changing anything generic from cgroup so definitely go via
> Andrew.
>

agreed.


>> I'm not in hurry. To be honest, I cannot update patches until the next Wednesday.
>> So, If changes of cgroup tree you required are included in linux-next. Please post
>> your updated ones. I thought your latest version was near to be merged....
>> 
>> How do you think, Michal ?
>> Please post (and ask Andrew to pull it.) I'll review when I can.
>
> I would wait with pulling the patch after the review.
>

agreed. So I will do a v6 post and if we all agree with the changes it
can be pulled via -mm ?


>> I know yours and mine has some conflicts. I think my this series will
>> be onto your series. To do that, I hope your series are merged to
>> linux-next, 1st.
>> 

-aneesh

WARNING: multiple messages have this Message-ID (diff)
From: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
To: Michal Hocko <mhocko@suse.cz>,
	KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Tejun Heo <tj@kernel.org>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>,
	"cgroups@vger.kernel.org" <cgroups@vger.kernel.org>,
	Johannes Weiner <hannes@cmpxchg.org>,
	Glauber Costa <glommer@parallels.com>,
	Hugh Dickins <hughd@google.com>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH v1 0/7] memcg remove pre_destroy
Date: Sat, 14 Apr 2012 03:49:15 +0530	[thread overview]
Message-ID: <87vcl3gtr0.fsf@skywalker.in.ibm.com> (raw)
In-Reply-To: <20120413085014.GA9205@tiehlicka.suse.cz>

Michal Hocko <mhocko@suse.cz> writes:

> On Fri 13-04-12 08:59:44, KAMEZAWA Hiroyuki wrote:
>> (2012/04/13 3:57), Aneesh Kumar K.V wrote:
>> 
>> > Tejun Heo <tj@kernel.org> writes:
>> > 
>> >> Hello, KAMEZAWA.
>> >>
>> >> Thanks a lot for doing this.
>> >>
>> >> On Thu, Apr 12, 2012 at 08:17:18PM +0900, KAMEZAWA Hiroyuki wrote:
>> >>> In recent discussion, Tejun Heo, cgroup maintainer, has a plan to remove
>> >>> ->pre_destroy(). And now, in cgroup tree, pre_destroy() failure cause WARNING.
>> >>
>> >> Just to clarify, I'm not intending to ->pre_destroy() per-se but the
>> >> retry behavior of it, so ->pre_destroy() will be converted to return
>> >> void and called once on rmdir and rmdir will proceed no matter what.
>> >> Also, with the deprecated behavior flag set, pre_destroy() doesn't
>> >> trigger the warning message.
>> >>
>> >> Other than that, if memcg people are fine with the change, I'll be
>> >> happy to route the changes through cgroup/for-3.5 and stack rmdir
>> >> simplification patches on top.
>> >>
>> > 
>> > Any suggestion on how to take HugeTLB memcg extension patches [1]
>> > upstream. Current patch series I have is on top of cgroup/for-3.5
>> > because I need cgroup_add_files equivalent and cgroup/for-3.5 have
>> > changes around that. So if these memcg patches can also go on top of
>> > cgroup/for-3.5 then I can continue to work on top of cgroup/for-3.5 ?
>
> I would suggest working on top of memcg-devel tree or on top linux-next.
> Just pull the required patch-es from cgroup/for-3.5 tree before your
> work (I can include that into memcg-devel tree for you if you want).

I am expecting to have no conflicts with pending memcg changes. But I do
have conflicts with cgroup/for-3.5. That is the reason I decided to
rebase on top of cgroup/for-3.5. 


>
> Do you think this is a 3.5 material? I would rather wait some more. I
> didn't have time to look over it yet and there are still some unresolved
> issues so it sounds like too early for merging.


I would really like to get it merged for 3.5. I am ready to post V6 that
address all review feedback from V5 post. 


>
>> > Can HugeTLB memcg extension patches also go via this tree ? It
>> > should actually got via -mm. But then how do we take care of these
>> > dependencies ?
>
> You are not changing anything generic from cgroup so definitely go via
> Andrew.
>

agreed.


>> I'm not in hurry. To be honest, I cannot update patches until the next Wednesday.
>> So, If changes of cgroup tree you required are included in linux-next. Please post
>> your updated ones. I thought your latest version was near to be merged....
>> 
>> How do you think, Michal ?
>> Please post (and ask Andrew to pull it.) I'll review when I can.
>
> I would wait with pulling the patch after the review.
>

agreed. So I will do a v6 post and if we all agree with the changes it
can be pulled via -mm ?


>> I know yours and mine has some conflicts. I think my this series will
>> be onto your series. To do that, I hope your series are merged to
>> linux-next, 1st.
>> 

-aneesh

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  parent reply	other threads:[~2012-04-13 22:19 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-12 11:17 [PATCH v1 0/7] memcg remove pre_destroy KAMEZAWA Hiroyuki
     [not found] ` <4F86B9BE.8000105-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2012-04-12 11:20   ` [PATCH 1/7] res_counter: add a function res_counter_move_parent() KAMEZAWA Hiroyuki
2012-04-12 11:20     ` KAMEZAWA Hiroyuki
2012-04-12 13:22     ` Glauber Costa
2012-04-12 14:30       ` Frederic Weisbecker
     [not found]         ` <CAFTL4hyKOkoTv=717MkYx4QB0j3B6xA0ZPp1jg6HkrtTkAu7nQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-13  0:57           ` KAMEZAWA Hiroyuki
2012-04-13  0:57             ` KAMEZAWA Hiroyuki
     [not found]             ` <4F8779DF.3080307-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2012-04-13  1:04               ` Frederic Weisbecker
2012-04-13  1:04                 ` Frederic Weisbecker
2012-04-13  1:05                 ` KAMEZAWA Hiroyuki
     [not found]     ` <4F86BA66.2010503-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2012-04-16 22:19       ` Tejun Heo
2012-04-16 22:19         ` Tejun Heo
     [not found]         ` <20120416221924.GB12421-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-04-18  6:59           ` KAMEZAWA Hiroyuki
2012-04-18  6:59             ` KAMEZAWA Hiroyuki
2012-04-16 22:31     ` Tejun Heo
     [not found]       ` <20120416223157.GE12421-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-04-18  7:04         ` KAMEZAWA Hiroyuki
2012-04-18  7:04           ` KAMEZAWA Hiroyuki
     [not found]           ` <4F8E678A.8000805-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2012-04-18 17:03             ` Tejun Heo
2012-04-18 17:03               ` Tejun Heo
2012-04-12 11:21   ` [PATCH 2/7] memcg: move charge to parent only when necessary KAMEZAWA Hiroyuki
2012-04-12 11:21     ` KAMEZAWA Hiroyuki
     [not found]     ` <4F86BAB0.5030809-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2012-04-16 22:21       ` Tejun Heo
2012-04-16 22:21         ` Tejun Heo
     [not found]         ` <20120416222119.GC12421-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-04-18  7:01           ` KAMEZAWA Hiroyuki
2012-04-18  7:01             ` KAMEZAWA Hiroyuki
2012-04-12 11:22   ` [PATCH 3/7] memcg: move charges to root at rmdir() KAMEZAWA Hiroyuki
2012-04-12 11:22     ` KAMEZAWA Hiroyuki
     [not found]     ` <4F86BB02.2060607-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2012-04-16 22:30       ` Tejun Heo
2012-04-16 22:30         ` Tejun Heo
2012-04-18  7:02         ` KAMEZAWA Hiroyuki
2012-04-12 11:24   ` [PATCH 4/7] memcg: remove 'uncharge' argument from mem_cgroup_move_account() KAMEZAWA Hiroyuki
2012-04-12 11:24     ` KAMEZAWA Hiroyuki
2012-04-12 13:27     ` Glauber Costa
2012-04-13  1:01       ` KAMEZAWA Hiroyuki
2012-04-12 11:28   ` [PATCH 5/7] memcg: divide force_empty into 2 functions, avoid memory reclaim at rmdir KAMEZAWA Hiroyuki
2012-04-12 11:28     ` KAMEZAWA Hiroyuki
2012-04-12 13:33     ` Glauber Costa
2012-04-17 17:29     ` Ying Han
     [not found]       ` <CALWz4iwYX4r5dJmcKFuc+zj_rjMB76dtpbvArdzySF+dyxMohg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-18  7:14         ` KAMEZAWA Hiroyuki
2012-04-18  7:14           ` KAMEZAWA Hiroyuki
2012-04-12 11:30   ` [PATCH 6/7] memcg: remove pre_destroy() KAMEZAWA Hiroyuki
2012-04-12 11:30     ` KAMEZAWA Hiroyuki
2012-04-16 22:38     ` Tejun Heo
     [not found]       ` <20120416223800.GF12421-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-04-18  7:12         ` KAMEZAWA Hiroyuki
2012-04-18  7:12           ` KAMEZAWA Hiroyuki
     [not found]     ` <4F86BCCE.5050802-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2012-04-17 17:47       ` Ying Han
2012-04-17 17:47         ` Ying Han
2012-04-12 11:31   ` [PATCH 7/7] memcg: remove drain_all_stock_sync KAMEZAWA Hiroyuki
2012-04-12 11:31     ` KAMEZAWA Hiroyuki
     [not found]     ` <4F86BD18.4010505-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2012-04-12 13:35       ` Glauber Costa
2012-04-12 13:35         ` Glauber Costa
2012-04-12 13:20   ` [PATCH v1 0/7] memcg remove pre_destroy Glauber Costa
2012-04-12 13:20     ` Glauber Costa
2012-04-12 16:06   ` Tejun Heo
2012-04-12 16:06     ` Tejun Heo
     [not found]     ` <20120412160642.GA13069-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-04-12 18:57       ` Aneesh Kumar K.V
2012-04-12 18:57         ` Aneesh Kumar K.V
2012-04-12 23:59         ` KAMEZAWA Hiroyuki
     [not found]           ` <4F876C70.7060600-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2012-04-13  8:50             ` Michal Hocko
2012-04-13  8:50               ` Michal Hocko
     [not found]               ` <20120413085014.GA9205-VqjxzfR4DlwKmadIfiO5sKVXKuFTiq87@public.gmane.org>
2012-04-13 22:19                 ` Aneesh Kumar K.V [this message]
2012-04-13 22:19                   ` Aneesh Kumar K.V
2012-04-16 22:41   ` Tejun Heo
2012-04-16 22:41     ` Tejun Heo
2012-04-17 17:35 ` Ying Han
     [not found]   ` <CALWz4izGo4aCyC7xbWyL+yfNiaUmZXPwD8bLgJVpqtcAGfyJ9w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-18  7:15     ` KAMEZAWA Hiroyuki
2012-04-18  7:15       ` KAMEZAWA Hiroyuki

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=87vcl3gtr0.fsf@skywalker.in.ibm.com \
    --to=aneesh.kumar-23vcf4htsmix0ybbhkvfkdbpr1lh4cv8@public.gmane.org \
    --cc=akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org \
    --cc=cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=glommer-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org \
    --cc=hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org \
    --cc=hughd-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
    --cc=kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org \
    --cc=linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org \
    --cc=mhocko-AlSwsSmVLrQ@public.gmane.org \
    --cc=tj-DgEjT+Ai2ygdnm+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.