From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx106.postini.com [74.125.245.106]) by kanga.kvack.org (Postfix) with SMTP id 5B8326B00F9 for ; Mon, 19 Mar 2012 15:13:37 -0400 (EDT) Message-ID: <1332184396.18960.387.camel@twins> Subject: Re: [RFC][PATCH 00/26] sched/numa From: Peter Zijlstra Date: Mon, 19 Mar 2012 20:13:16 +0100 In-Reply-To: <20120319135745.GL24602@redhat.com> References: <20120316144028.036474157@chello.nl> <4F670325.7080700@redhat.com> <1332155527.18960.292.camel@twins> <20120319130401.GI24602@redhat.com> <1332163591.18960.334.camel@twins> <20120319135745.GL24602@redhat.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 Sender: owner-linux-mm@kvack.org List-ID: To: Andrea Arcangeli Cc: Avi Kivity , Linus Torvalds , Andrew Morton , Thomas Gleixner , Ingo Molnar , Paul Turner , Suresh Siddha , Mike Galbraith , "Paul E. McKenney" , Lai Jiangshan , Dan Smith , Bharata B Rao , Lee Schermerhorn , Rik van Riel , Johannes Weiner , linux-kernel@vger.kernel.org, linux-mm@kvack.org On Mon, 2012-03-19 at 14:57 +0100, Andrea Arcangeli wrote: > With your code they will get -ENOMEM from split_vma and a slowdown in > all regular page faults and vma mangling operations, before they run > out of memory...=20 But why would you want to create that many vmas? If you're going to call sys_numa_mbind() at object level you're doing it wrong.=20 Typical usage would be to call it on the chunks your allocator asks from the system. Depending on how your application decomposes this is per thread or per thread-pool. But again, who is writing such large threaded apps. The shared address space thing is cute, but the shared address space thing is also the bottleneck. Sharing mmap_sem et al across the entire machine has been enough reason not to use threads for plenty people. -- 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: email@kvack.org