From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yin Fengwei Subject: Re: [PATCH v1 00/10] variable-order, large folios for anonymous memory Date: Thu, 29 Jun 2023 08:31:00 +0800 Message-ID: References: <20230626171430.3167004-1-ryan.roberts@arm.com> <1fb0c4cb-a709-de20-d643-32ed43550059@arm.com> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687998680; x=1719534680; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=BICH5n8MxFZryEEiFlmvkNuBrIOFHh1powT/aC+78IA=; b=UaYsbVsgCtMKfTySWyBxTsTQsgZKHJ5V5WMwT0OxbwHlfWrO1BFelG8Y W+zF2gNtYX4VVvLF4oq3DkWmZVa8oSl1Uk0qSlafIlZcLnSO4beRD2VZm l1pNftV8KkWAZNV3q+aOJA71l/7irlgfDyjxPHNPc6WX4HtX09XjF/OXY taXrmJDV8+2nxcOMFaLTr4dZ5Zys9Y4VzEZQ+SsFH1AZpiRm4BQgrsskH gptJuPLumx3ktD4kaUeOlAikM2pengFquI68cYPNuqNFxklKLLUf9ZmRZ QSrVMK55M52pFBR+8b/+JD+G9zy4wufljJ+JiPbYF9BDisng2I9z+zY6i Q==; Content-Language: en-US In-Reply-To: List-ID: Content-Type: text/plain; charset="windows-1252" To: Yu Zhao Cc: Ryan Roberts , Andrew Morton , "Matthew Wilcox (Oracle)" , "Kirill A. Shutemov" , David Hildenbrand , Catalin Marinas , Will Deacon , Geert Uytterhoeven , Christian Borntraeger , Sven Schnelle , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, lin On 6/29/23 08:27, Yu Zhao wrote: > On Wed, Jun 28, 2023 at 5:59=E2=80=AFPM Yin Fengwei wrote: >> >> Hi Yu, >> >> On 6/29/23 02:22, Yu Zhao wrote: >>> And please make sure it's disabled by default, because we are still >>> missing many important functions, e.g., I don't think we can mlock() >>> when large() && !pmd_mappable(), see mlock_pte_range() and >>> mlock_vma_folio(). We can fix it along with many things later, but we >>> need to present a plan and a schedule now. Otherwise, there would be >>> pushback if we try to land the series without supporting mlock(). >>> >>> Do you or Fengwei plan to take on it? (I personally don't.) If not, >> Do you mean the mlock() with large folio? Yes. I can work on it. Thanks. >=20 > Great. Thanks! >=20 > Other places that have the similar problem but are probably easier to > fix than the mlock() case: > * madvise_cold_or_pageout_pte_range() This one was on my radar. :).=20 Regards Yin, Fengwei > * shrink_folio_list()