Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753568AbdHQVjV (ORCPT ); Thu, 17 Aug 2017 17:39:21 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:40154 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753238AbdHQVjT (ORCPT ); Thu, 17 Aug 2017 17:39:19 -0400 Date: Thu, 17 Aug 2017 14:39:16 -0700 From: Andrew Morton To: =?ISO-8859-1?Q?J=E9r=F4me?= Glisse Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, John Hubbard , Dan Williams , David Nellans , Balbir Singh Subject: Re: [HMM-v25 00/19] HMM (Heterogeneous Memory Management) v25 Message-Id: <20170817143916.63fca76e4c1fd841e0afd4cf@linux-foundation.org> In-Reply-To: <20170817000548.32038-1-jglisse@redhat.com> References: <20170817000548.32038-1-jglisse@redhat.com> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 528 Lines: 12 On Wed, 16 Aug 2017 20:05:29 -0400 J__r__me Glisse wrote: > Heterogeneous Memory Management (HMM) (description and justification) The patchset adds 55 kbytes to x86_64's mm/*.o and there doesn't appear to be any way of avoiding this overhead, or of avoiding whatever runtime overheads are added. It also adds 18k to arm's mm/*.o and arm doesn't support HMM at all. So that's all quite a lot of bloat for systems which get no benefit from the patchset. What can we do to improve this situation (a lot)?