Re: [HMM-v25 00/19] HMM (Heterogeneous Memory Management) v25

From: Andrew Morton
Date: Thu Aug 17 2017 - 17:39:25 EST


On Wed, 16 Aug 2017 20:05:29 -0400 J__r__me Glisse <jglisse@xxxxxxxxxx> 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)?