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=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 71BF6C4743E for ; Tue, 8 Jun 2021 15:16:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 58EF261246 for ; Tue, 8 Jun 2021 15:16:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232611AbhFHPSv (ORCPT ); Tue, 8 Jun 2021 11:18:51 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:23654 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232583AbhFHPSu (ORCPT ); Tue, 8 Jun 2021 11:18:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623165416; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=o58aRI1nAkDOuKYCfrK2Zy/zY+ckaGTYEPwd2qo+nAA=; b=WjFyDXW5TzU4f4aG2eTBImx+7uJLrTLZ1TvMRGmw+IPRJjjlBIpvOTqYlqIFiocVD0157/ DQ6uHmTCDldm7Yh18EON/MLLDeNDe5fuEB7hSxLq5JTRdnQJbSkzg8JNila1Pzi6bX7a26 4W8qbKK2z5hsqQxCiMw0PdjmOhDVpdo= Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-473-bmdB9lGsOoumukZ6lBJCLQ-1; Tue, 08 Jun 2021 11:16:55 -0400 X-MC-Unique: bmdB9lGsOoumukZ6lBJCLQ-1 Received: by mail-qv1-f71.google.com with SMTP id f18-20020a0cbed20000b029021ef79a8921so13480814qvj.17 for ; Tue, 08 Jun 2021 08:16:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=o58aRI1nAkDOuKYCfrK2Zy/zY+ckaGTYEPwd2qo+nAA=; b=S+jEwk5rBCkPrpwZToAWcIY1Rqoax8xA0vxxbCG0cw9YIUXS4Uyc9QlKs+q0pyVGI2 cAUxFda/0aJWhcZ5bMZnCM4CEnxpYB85hCQhUNPuu8a8PrIuxUQiO/yWgLsGLCV83SkW aqOCIHx3BfihvgDgItdx2UZg675dpOb8KIaICV957pX9LPtDx9pe63kVK79QlVz4oJo7 RBrzNAiRdpxmbtUkhiJkG/gnNq1ktcgGqmXLQ/mdzmWGgdgC3h5LDy/ZJEg9cutjCzfH vUGnQAmnDHEwUYt33bFXTsMIRgRbBI8feflPdsxtl2FxtPhNqrw0FuG2xx4CPdwl79FE J2pg== X-Gm-Message-State: AOAM533ghy47PN/vH6ahN9SbGdGl4B81jXpsp7lBEX4kAlTyFk7VGQ8S ARHKn9OfnOTECNC+D8RbJpCxLug75lHIQ77d7tNF2qHcupsILPp6AA5+DQHlWwZ1oSlt69/djXU PsE/JjiNB1yKIaxmtM9rgCY0l X-Received: by 2002:a05:620a:408f:: with SMTP id f15mr21924729qko.398.1623165414858; Tue, 08 Jun 2021 08:16:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBLlJH23DxgLDX/p84+mzCKOsdataYBzhyEZq9wfQJJoaRz9EMetGKzWGtOqIiIcaJr3BbOg== X-Received: by 2002:a05:620a:408f:: with SMTP id f15mr21924712qko.398.1623165414615; Tue, 08 Jun 2021 08:16:54 -0700 (PDT) Received: from t490s (bras-base-toroon474qw-grc-88-174-93-75-200.dsl.bell.ca. [174.93.75.200]) by smtp.gmail.com with ESMTPSA id e20sm121010qtr.55.2021.06.08.08.16.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jun 2021 08:16:53 -0700 (PDT) Date: Tue, 8 Jun 2021 11:16:52 -0400 From: Peter Xu To: Alistair Popple Cc: linux-mm@kvack.org, akpm@linux-foundation.org, rcampbell@nvidia.com, linux-doc@vger.kernel.org, nouveau@lists.freedesktop.org, hughd@google.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, hch@infradead.org, bskeggs@redhat.com, jgg@nvidia.com, shakeelb@google.com, jhubbard@nvidia.com, willy@infradead.org Subject: Re: [PATCH v10 05/10] mm: Rename migrate_pgmap_owner Message-ID: References: <20210607075855.5084-1-apopple@nvidia.com> <20210607075855.5084-6-apopple@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210607075855.5084-6-apopple@nvidia.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 07, 2021 at 05:58:50PM +1000, Alistair Popple wrote: > MMU notifier ranges have a migrate_pgmap_owner field which is used by > drivers to store a pointer. This is subsequently used by the driver > callback to filter MMU_NOTIFY_MIGRATE events. Other notifier event types > can also benefit from this filtering, so rename the > 'migrate_pgmap_owner' field to 'owner' and create a new notifier > initialisation function to initialise this field. > > Signed-off-by: Alistair Popple > Suggested-by: Peter Xu Reviewed-by: Peter Xu -- Peter Xu 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=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 20036C4743D for ; Wed, 9 Jun 2021 01:24:52 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D9F8F6108D for ; Wed, 9 Jun 2021 01:24:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D9F8F6108D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=nouveau-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7ECE16EC72; Wed, 9 Jun 2021 01:24:48 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id E5D836EC18 for ; Tue, 8 Jun 2021 15:16:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623165416; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=o58aRI1nAkDOuKYCfrK2Zy/zY+ckaGTYEPwd2qo+nAA=; b=WjFyDXW5TzU4f4aG2eTBImx+7uJLrTLZ1TvMRGmw+IPRJjjlBIpvOTqYlqIFiocVD0157/ DQ6uHmTCDldm7Yh18EON/MLLDeNDe5fuEB7hSxLq5JTRdnQJbSkzg8JNila1Pzi6bX7a26 4W8qbKK2z5hsqQxCiMw0PdjmOhDVpdo= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-502-wiAnCGo9ObaOLuYL9bJ4cg-1; Tue, 08 Jun 2021 11:16:55 -0400 X-MC-Unique: wiAnCGo9ObaOLuYL9bJ4cg-1 Received: by mail-qk1-f197.google.com with SMTP id v16-20020ae9e3100000b02903aafadba721so876488qkf.6 for ; Tue, 08 Jun 2021 08:16:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=o58aRI1nAkDOuKYCfrK2Zy/zY+ckaGTYEPwd2qo+nAA=; b=F3mtzAm6moMIHNctXjFF57FphpCjvAuQHf7fewtXeCwQIdWd05LzZwOWtWn7IVjC55 xeBxVzCW6MzSHRcbqwF00zV4HZ0xFTr2jAGlB81u+jo7ajaB8A9XnjbrPiHVXpdl98NI HV66Vn9wWHFIpieCPVHoKFZONRgkz6kfcfceFNwWTtaJpYSaJhhDnUqZN6Cx4TuCX82c xY+LsGZBhTkdht3IzEtPERtHZ8A4ykVzOHPwLVABN81vpaLPQb1zBROWJSp1aeHvjZ14 bFI1MuddsRrMyTXx4IgEKo8dAh2SNMezkFCBr0E0ZkFAb8PuJfnrdpm8eBqou5oQUVwG 2bLA== X-Gm-Message-State: AOAM531jQ9HnUqSeqkuZEUGvVNhbkDtsxD3pZs2aj4hR++2+m6Sje8Nc yyRHSsmKNmnEUUHJywO/Vd2EiidiVMmJ4WDDTRbIqS2b7EfAtOdaT4u2oq4CjraLVjXNFRR2d6R W1+WjCQKdOV7GY5IXXIqaF8TIOQ== X-Received: by 2002:a05:620a:408f:: with SMTP id f15mr21924732qko.398.1623165414858; Tue, 08 Jun 2021 08:16:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBLlJH23DxgLDX/p84+mzCKOsdataYBzhyEZq9wfQJJoaRz9EMetGKzWGtOqIiIcaJr3BbOg== X-Received: by 2002:a05:620a:408f:: with SMTP id f15mr21924712qko.398.1623165414615; Tue, 08 Jun 2021 08:16:54 -0700 (PDT) Received: from t490s (bras-base-toroon474qw-grc-88-174-93-75-200.dsl.bell.ca. [174.93.75.200]) by smtp.gmail.com with ESMTPSA id e20sm121010qtr.55.2021.06.08.08.16.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jun 2021 08:16:53 -0700 (PDT) Date: Tue, 8 Jun 2021 11:16:52 -0400 From: Peter Xu To: Alistair Popple Message-ID: References: <20210607075855.5084-1-apopple@nvidia.com> <20210607075855.5084-6-apopple@nvidia.com> MIME-Version: 1.0 In-Reply-To: <20210607075855.5084-6-apopple@nvidia.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=peterx@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Mailman-Approved-At: Wed, 09 Jun 2021 01:24:46 +0000 Subject: Re: [Nouveau] [PATCH v10 05/10] mm: Rename migrate_pgmap_owner X-BeenThere: nouveau@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Nouveau development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: rcampbell@nvidia.com, willy@infradead.org, linux-doc@vger.kernel.org, nouveau@lists.freedesktop.org, hughd@google.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, hch@infradead.org, linux-mm@kvack.org, shakeelb@google.com, bskeggs@redhat.com, jgg@nvidia.com, akpm@linux-foundation.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: nouveau-bounces@lists.freedesktop.org Sender: "Nouveau" On Mon, Jun 07, 2021 at 05:58:50PM +1000, Alistair Popple wrote: > MMU notifier ranges have a migrate_pgmap_owner field which is used by > drivers to store a pointer. This is subsequently used by the driver > callback to filter MMU_NOTIFY_MIGRATE events. Other notifier event types > can also benefit from this filtering, so rename the > 'migrate_pgmap_owner' field to 'owner' and create a new notifier > initialisation function to initialise this field. > > Signed-off-by: Alistair Popple > Suggested-by: Peter Xu Reviewed-by: Peter Xu -- Peter Xu _______________________________________________ Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau 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=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 CB8A2C47082 for ; Tue, 8 Jun 2021 15:17:00 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9A4FC61285 for ; Tue, 8 Jun 2021 15:17:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9A4FC61285 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 224856EC1A; Tue, 8 Jun 2021 15:17:00 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8B3EF6EC18 for ; Tue, 8 Jun 2021 15:16:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623165418; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=o58aRI1nAkDOuKYCfrK2Zy/zY+ckaGTYEPwd2qo+nAA=; b=Qc9SmbxYomsq8bP8kf4krIyE+T+1AIrndT9DBXrR5Ot/KzZBIVLSeBlqUzPDRkIo8A7WI+ pZj+ij/p5SL64dFmHTEcnJtR5VC8D/+PGXO4Ni7uwQrARyLboYfjpjwXiU8fmKnRssmugP Spa5vJYSrPXdlJvutoCG/yH90Sec96M= Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-46-V0J5N6DxPgm-Cn--57SljA-1; Tue, 08 Jun 2021 11:16:55 -0400 X-MC-Unique: V0J5N6DxPgm-Cn--57SljA-1 Received: by mail-qv1-f72.google.com with SMTP id v7-20020a0ccd870000b0290219d3e21c4eso15769649qvm.2 for ; Tue, 08 Jun 2021 08:16:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=o58aRI1nAkDOuKYCfrK2Zy/zY+ckaGTYEPwd2qo+nAA=; b=sOo/g8hHCIibO0qNWfhRYfUfYO6OMb0jB7EBf+QS4Ge0D79rb60zSYA59LZaTBaTdv 53Zff1B9XZgIhzV+fz44oZNxyfERG+9UgrcgmOODsrOR9etzwvMeHdNBFcuwdlilH0vB QZwAlUwbmJfdTzlj5gDfaq153D1lgpoqsIKb9fUkgQvgbQV8XoCLAWKuK9qhE5u37uSV 7Hef+/aQRqOsEw1WL5Pawamj785h3q3B6rpn9tl2hvPhfyEfIDfPnVvMPUv6vgP52KFL msACav56n0uv2ZrpXDAvOe3mJR0TziHXF7/7kpITsCGldTljiMxKfx4W1uN4N/cTcq1a Gdcg== X-Gm-Message-State: AOAM533IwBte8N0A1LA64dOd0PDnRvrEtLsP0eul3+6tUSmjyQzc5GPB 5LIRD+U5q+LLoJbcMU+JBHQm1Mpu7hppRD8Jv0aOMbAX8/SZaChRFVdO9bFuHaKi+032cwp7IGE 0ip16e08GJCCz35aL0v/1D9Yzwz/c X-Received: by 2002:a05:620a:408f:: with SMTP id f15mr21924738qko.398.1623165414858; Tue, 08 Jun 2021 08:16:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBLlJH23DxgLDX/p84+mzCKOsdataYBzhyEZq9wfQJJoaRz9EMetGKzWGtOqIiIcaJr3BbOg== X-Received: by 2002:a05:620a:408f:: with SMTP id f15mr21924712qko.398.1623165414615; Tue, 08 Jun 2021 08:16:54 -0700 (PDT) Received: from t490s (bras-base-toroon474qw-grc-88-174-93-75-200.dsl.bell.ca. [174.93.75.200]) by smtp.gmail.com with ESMTPSA id e20sm121010qtr.55.2021.06.08.08.16.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jun 2021 08:16:53 -0700 (PDT) Date: Tue, 8 Jun 2021 11:16:52 -0400 From: Peter Xu To: Alistair Popple Subject: Re: [PATCH v10 05/10] mm: Rename migrate_pgmap_owner Message-ID: References: <20210607075855.5084-1-apopple@nvidia.com> <20210607075855.5084-6-apopple@nvidia.com> MIME-Version: 1.0 In-Reply-To: <20210607075855.5084-6-apopple@nvidia.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=peterx@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: rcampbell@nvidia.com, willy@infradead.org, linux-doc@vger.kernel.org, nouveau@lists.freedesktop.org, hughd@google.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, hch@infradead.org, linux-mm@kvack.org, shakeelb@google.com, bskeggs@redhat.com, jgg@nvidia.com, jhubbard@nvidia.com, akpm@linux-foundation.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Mon, Jun 07, 2021 at 05:58:50PM +1000, Alistair Popple wrote: > MMU notifier ranges have a migrate_pgmap_owner field which is used by > drivers to store a pointer. This is subsequently used by the driver > callback to filter MMU_NOTIFY_MIGRATE events. Other notifier event types > can also benefit from this filtering, so rename the > 'migrate_pgmap_owner' field to 'owner' and create a new notifier > initialisation function to initialise this field. > > Signed-off-by: Alistair Popple > Suggested-by: Peter Xu Reviewed-by: Peter Xu -- Peter Xu