Re: [PATCH 1/2] arm64/mm: Change THP helpers to comply with generic MM semantics

2020-09-08 Thread Catalin Marinas
On Tue, Sep 08, 2020 at 03:48:08PM +0530, Anshuman Khandual wrote: > On 09/03/2020 10:26 PM, Catalin Marinas wrote: > > On Mon, Aug 17, 2020 at 02:49:43PM +0530, Anshuman Khandual wrote: > >> pmd_present() and pmd_trans_huge() are expected to behave in the following > >> manner during various

Re: [PATCH 1/2] arm64/mm: Change THP helpers to comply with generic MM semantics

2020-09-08 Thread Anshuman Khandual
On 09/03/2020 11:01 PM, Ralph Campbell wrote: > > On 9/3/20 9:56 AM, Catalin Marinas wrote: >> On Mon, Aug 17, 2020 at 02:49:43PM +0530, Anshuman Khandual wrote: >>> pmd_present() and pmd_trans_huge() are expected to behave in the following >>> manner during various phases of a given PMD. It

Re: [PATCH 1/2] arm64/mm: Change THP helpers to comply with generic MM semantics

2020-09-08 Thread Anshuman Khandual
On 09/03/2020 10:26 PM, Catalin Marinas wrote: > On Mon, Aug 17, 2020 at 02:49:43PM +0530, Anshuman Khandual wrote: >> pmd_present() and pmd_trans_huge() are expected to behave in the following >> manner during various phases of a given PMD. It is derived from a previous >> detailed discussion

Re: [PATCH 1/2] arm64/mm: Change THP helpers to comply with generic MM semantics

2020-09-03 Thread Ralph Campbell
On 9/3/20 9:56 AM, Catalin Marinas wrote: On Mon, Aug 17, 2020 at 02:49:43PM +0530, Anshuman Khandual wrote: pmd_present() and pmd_trans_huge() are expected to behave in the following manner during various phases of a given PMD. It is derived from a previous detailed discussion on this topic

Re: [PATCH 1/2] arm64/mm: Change THP helpers to comply with generic MM semantics

2020-09-03 Thread Catalin Marinas
On Mon, Aug 17, 2020 at 02:49:43PM +0530, Anshuman Khandual wrote: > pmd_present() and pmd_trans_huge() are expected to behave in the following > manner during various phases of a given PMD. It is derived from a previous > detailed discussion on this topic [1] and present THP documentation [2]. >

Re: [PATCH 1/2] arm64/mm: Change THP helpers to comply with generic MM semantics

2020-08-19 Thread Anshuman Khandual
On 08/18/2020 05:56 PM, Jonathan Cameron wrote: > On Tue, 18 Aug 2020 15:11:58 +0530 > Anshuman Khandual wrote: > >> On 08/18/2020 02:43 PM, Jonathan Cameron wrote: >>> On Mon, 17 Aug 2020 14:49:43 +0530 >>> Anshuman Khandual wrote: >>> pmd_present() and pmd_trans_huge() are expected

Re: [PATCH 1/2] arm64/mm: Change THP helpers to comply with generic MM semantics

2020-08-18 Thread Jonathan Cameron
On Tue, 18 Aug 2020 15:11:58 +0530 Anshuman Khandual wrote: > On 08/18/2020 02:43 PM, Jonathan Cameron wrote: > > On Mon, 17 Aug 2020 14:49:43 +0530 > > Anshuman Khandual wrote: > > > >> pmd_present() and pmd_trans_huge() are expected to behave in the following > >> manner during various

Re: [PATCH 1/2] arm64/mm: Change THP helpers to comply with generic MM semantics

2020-08-18 Thread Anshuman Khandual
On 08/18/2020 02:43 PM, Jonathan Cameron wrote: > On Mon, 17 Aug 2020 14:49:43 +0530 > Anshuman Khandual wrote: > >> pmd_present() and pmd_trans_huge() are expected to behave in the following >> manner during various phases of a given PMD. It is derived from a previous >> detailed discussion

Re: [PATCH 1/2] arm64/mm: Change THP helpers to comply with generic MM semantics

2020-08-18 Thread Jonathan Cameron
On Mon, 17 Aug 2020 14:49:43 +0530 Anshuman Khandual wrote: > pmd_present() and pmd_trans_huge() are expected to behave in the following > manner during various phases of a given PMD. It is derived from a previous > detailed discussion on this topic [1] and present THP documentation [2]. > >

[PATCH 1/2] arm64/mm: Change THP helpers to comply with generic MM semantics

2020-08-17 Thread Anshuman Khandual
pmd_present() and pmd_trans_huge() are expected to behave in the following manner during various phases of a given PMD. It is derived from a previous detailed discussion on this topic [1] and present THP documentation [2]. pmd_present(pmd): - Returns true if pmd refers to system RAM with a valid