[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0467947a-4306-bc36-2c5e-04e578990d36@oracle.com>
Date: Thu, 16 Jul 2020 16:15:01 -0700
From: Mike Kravetz <mike.kravetz@...cle.com>
To: Oscar Salvador <osalvador@...e.de>, akpm@...ux-foundation.org
Cc: mhocko@...e.com, linux-mm@...ck.org, david@...hat.com,
aneesh.kumar@...ux.vnet.ibm.com, naoya.horiguchi@....com,
linux-kernel@...r.kernel.org,
Naoya Horiguchi <n-horiguchi@...jp.nec.com>,
Oscar Salvador <osalvador@...e.com>
Subject: Re: [PATCH v4 03/15] mm,madvise: call soft_offline_page() without
MF_COUNT_INCREASED
On 7/16/20 5:37 AM, Oscar Salvador wrote:
> From: Naoya Horiguchi <n-horiguchi@...jp.nec.com>
>
> The call to get_user_pages_fast is only to get the pointer to a struct
> page of a given address, pinning it is memory-poisoning handler's job,
> so drop the refcount grabbed by get_user_pages_fast
>
> Signed-off-by: Naoya Horiguchi <n-horiguchi@...jp.nec.com>
> Signed-off-by: Oscar Salvador <osalvador@...e.com>
Reviewed-by: Mike Kravetz <mike.kravetz@...cle.com>
--
Mike Kravetz
Powered by blists - more mailing lists