From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) by kanga.kvack.org (Postfix) with ESMTP id 055196B0036 for ; Tue, 1 Oct 2013 20:46:27 -0400 (EDT) Received: by mail-pd0-f178.google.com with SMTP id w10so121630pde.37 for ; Tue, 01 Oct 2013 17:46:27 -0700 (PDT) Received: by mail-qc0-f176.google.com with SMTP id t7so70635qcv.7 for ; Tue, 01 Oct 2013 17:46:24 -0700 (PDT) Message-ID: <524B6D05.5030609@gmail.com> Date: Tue, 01 Oct 2013 20:47:01 -0400 From: KOSAKI Motohiro MIME-Version: 1.0 Subject: Re: [patch for-3.12] mm, memcg: protect mem_cgroup_read_events for cpu hotplug References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: David Rientjes Cc: Linus Torvalds , Andrew Morton , Johannes Weiner , Michal Hocko , KAMEZAWA Hiroyuki , cgroups@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, kosaki.motohiro@gmail.com (10/1/13 7:31 PM), David Rientjes wrote: > for_each_online_cpu() needs the protection of {get,put}_online_cpus() so > cpu_online_mask doesn't change during the iteration. > > Signed-off-by: David Rientjes Acked-by: KOSAKI Motohiro -- 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/ . Don't email: email@kvack.org