Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1649055

Re: [HMM 00/15] HMM (Heterogeneous Memory Management) v22

From Balbir Singh <bsingharora@gmail.com>
Newsgroups linux.kernel
Subject Re: [HMM 00/15] HMM (Heterogeneous Memory Management) v22
Date 2017-05-24 04:00 +0200
Message-ID <tKtKF-3yx-3@gated-at.bofh.it> (permalink)
References <tJYQx-8az-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, May 23, 2017 at 2:51 AM, Jérôme Glisse <jglisse@redhat.com> wrote:
> Patchset is on top of mmotm mmotm-2017-05-18, git branch:
>
> https://cgit.freedesktop.org/~glisse/linux/log/?h=hmm-v22
>
> Change since v21 is adding back special refcounting in put_page() to
> catch when a ZONE_DEVICE page is free (refcount going from 2 to 1
> unlike regular page where a refcount of 0 means the page is free).
> See patch 8 of this serie for this refcounting. I did not use static
> keys because it kind of scares me to do that for an inline function.
> If people strongly feel about this i can try to make static key works
> here. Kirill will most likely want to review this.
>
>
> Everything else is the same. Below is the long description of what HMM
> is about and why. At the end of this email i describe briefly each patch
> and suggest reviewers for each of them.
>
>
> Heterogeneous Memory Management (HMM) (description and justification)
>

Thanks for the patches! These patches are very helpful. There are a
few additional things we would need on top of this (once HMM the base
is merged)

1. Support for other architectures, we'd like to make sure we can get
this working for powerpc for example. As a first step we have
ZONE_DEVICE enablement patches, but I think we need some additional
patches for iomem space searching and memory hotplug, IIRC
2. HMM-CDM and physical address based migration bits. In a recent RFC
we decided to try and use the HMM CDM route as a route to implementing
coherent device memory as a starting point. It would be nice to have
those patches on top of these once these make it to mm -
https://lwn.net/Articles/720380/

Balbir Singh.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[HMM 00/15] HMM (Heterogeneous Memory Management) v22 Jérôme Glisse <jglisse@redhat.com> - 2017-05-22 19:00 +0200
  [HMM 03/15] mm/hmm/mirror: mirror process address space on device with HMM helpers v3 Jérôme Glisse <jglisse@redhat.com> - 2017-05-22 19:00 +0200
  [HMM 15/15] mm/migrate: allow migrate_vma() to alloc new page on empty entry v2 Jérôme Glisse <jglisse@redhat.com> - 2017-05-22 19:00 +0200
  [HMM 12/15] mm/migrate: new memory migration helper for use with device memory v4 Jérôme Glisse <jglisse@redhat.com> - 2017-05-22 19:00 +0200
    Re: [HMM 12/15] mm/migrate: new memory migration helper for use with  device memory v4 Reza Arbab <arbab@linux.vnet.ibm.com> - 2017-05-23 20:10 +0200
  [HMM 05/15] mm/hmm/mirror: device page fault handler Jérôme Glisse <jglisse@redhat.com> - 2017-05-22 19:00 +0200
  [HMM 13/15] mm/migrate: migrate_vma() unmap page from vma while collecting pages Jérôme Glisse <jglisse@redhat.com> - 2017-05-22 19:00 +0200
  Re: [HMM 00/15] HMM (Heterogeneous Memory Management) v22 Jerome Glisse <jglisse@redhat.com> - 2017-05-24 00:10 +0200
    Re: [HMM 00/15] HMM (Heterogeneous Memory Management) v22 Andrew Morton <akpm@linux-foundation.org> - 2017-05-24 00:10 +0200
  Re: [HMM 00/15] HMM (Heterogeneous Memory Management) v22 Balbir Singh <bsingharora@gmail.com> - 2017-05-24 04:00 +0200
    Re: [HMM 00/15] HMM (Heterogeneous Memory Management) v22 Jerome Glisse <jglisse@redhat.com> - 2017-05-24 20:00 +0200

csiph-web