From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx155.postini.com [74.125.245.155]) by kanga.kvack.org (Postfix) with SMTP id 5B1CB6B0068 for ; Fri, 29 Jun 2012 14:32:34 -0400 (EDT) Message-ID: <4FEDF49A.9020907@redhat.com> Date: Fri, 29 Jun 2012 14:31:54 -0400 From: Rik van Riel MIME-Version: 1.0 Subject: Re: [PATCH 15/40] autonuma: knuma_migrated per NUMA node queues References: <1340888180-15355-1-git-send-email-aarcange@redhat.com> <1340888180-15355-16-git-send-email-aarcange@redhat.com> In-Reply-To: <1340888180-15355-16-git-send-email-aarcange@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Andrea Arcangeli Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Hillf Danton , Dan Smith , Peter Zijlstra , Linus Torvalds , Andrew Morton , Thomas Gleixner , Ingo Molnar , Paul Turner , Suresh Siddha , Mike Galbraith , "Paul E. McKenney" , Lai Jiangshan , Bharata B Rao , Lee Schermerhorn , Johannes Weiner , Srivatsa Vaddagiri , Christoph Lameter , Alex Shi , Mauricio Faria de Oliveira , Konrad Rzeszutek Wilk , Don Morris , Benjamin Herrenschmidt On 06/28/2012 08:55 AM, Andrea Arcangeli wrote: > diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h > index 2427706..d53b26a 100644 > --- a/include/linux/mmzone.h > +++ b/include/linux/mmzone.h > @@ -697,6 +697,12 @@ typedef struct pglist_data { > struct task_struct *kswapd; > int kswapd_max_order; > enum zone_type classzone_idx; > +#ifdef CONFIG_AUTONUMA > + spinlock_t autonuma_lock; > + struct list_head autonuma_migrate_head[MAX_NUMNODES]; > + unsigned long autonuma_nr_migrate_pages; > + wait_queue_head_t autonuma_knuma_migrated_wait; > +#endif > } pg_data_t; > > #define node_present_pages(nid) (NODE_DATA(nid)->node_present_pages) Once again, the data structure could use documentation. What are these things for? -- All rights reversed -- 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