From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hiroyuki Kamezawa Subject: Re: [PATCH] memcg: do not expose uninitialized mem_cgroup_per_node to world Date: Thu, 2 Jun 2011 08:10:04 +0900 Message-ID: References: <1306925044-2828-1-git-send-email-imammedo@redhat.com> <20110601123913.GC4266@tiehlicka.suse.cz> <4DE6399C.8070802@redhat.com> <20110601134149.GD4266@tiehlicka.suse.cz> <4DE64F0C.3050203@redhat.com> <20110601152039.GG4266@tiehlicka.suse.cz> <4DE66BEB.7040502@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4DE66BEB.7040502-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Igor Mammedov Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Michal Hocko , linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org, Paul Menage , balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org List-Id: containers.vger.kernel.org >pc = list_entry(list->prev, struct page_cgroup, lru); Hmm, I disagree your patch is a fix for mainline. At least, a cgroup before completion of create() is not populated to userland and you never be able to rmdir() it because you can't find it. >26: e8 7d 12 30 00 call 0x3012a8 >2b:* 8b 73 08 mov 0x8(%ebx),%esi <-- trapping instruction >2e: 8b 7c 24 24 mov 0x24(%esp),%edi >32: 8b 07 mov (%edi),%eax Hm, what is the call 0x3012a8 ? Thanks, -Kame