From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1824AC31E40 for ; Tue, 30 Jul 2019 13:09:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E7C4A206E0 for ; Tue, 30 Jul 2019 13:09:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729529AbfG3NJt (ORCPT ); Tue, 30 Jul 2019 09:09:49 -0400 Received: from verein.lst.de ([213.95.11.211]:51165 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726190AbfG3NJt (ORCPT ); Tue, 30 Jul 2019 09:09:49 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id B0B98227A8A; Tue, 30 Jul 2019 15:09:44 +0200 (CEST) Date: Tue, 30 Jul 2019 15:09:44 +0200 From: Christoph Hellwig To: Jason Gunthorpe Cc: Christoph Hellwig , =?iso-8859-1?B?Suly9G1l?= Glisse , Ben Skeggs , Ralph Campbell , Bharata B Rao , Andrew Morton , "linux-mm@kvack.org" , "nouveau@lists.freedesktop.org" , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" Subject: Re: turn the hmm migrate_vma upside down Message-ID: <20190730130944.GA4566@lst.de> References: <20190729142843.22320-1-hch@lst.de> <20190730123218.GA24038@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190730123218.GA24038@mellanox.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 30, 2019 at 12:32:24PM +0000, Jason Gunthorpe wrote: > Does this only impact hmm users, or does migrate.c have a broader > usage? migrate.c really contains two things: the traditional page migration code implementing aops ->migrate semantics, and migrate_vma and its callbacks. The first part is broader, the second part is hmm specific (and should probably have been in a file of its own, given that it is guarded off CONFIG_MIGRATE_VMA_HELPER). This series only touched the latter part.