Re: [PATCH] mm: define pte_add_end for consistency

2020-07-03 Thread Wei Yang
On Fri, Jul 03, 2020 at 09:23:30AM +0200, David Hildenbrand wrote: >On 03.07.20 03:34, Wei Yang wrote: >> On Thu, Jul 02, 2020 at 06:28:19PM +0200, David Hildenbrand wrote: >>> On 01.07.20 13:54, Wei Yang wrote: On Wed, Jul 01, 2020 at 10:29:08AM +0200, David Hildenbrand wrote: > On 01.07.

Re: [PATCH] mm: define pte_add_end for consistency

2020-07-03 Thread David Hildenbrand
On 03.07.20 03:34, Wei Yang wrote: > On Thu, Jul 02, 2020 at 06:28:19PM +0200, David Hildenbrand wrote: >> On 01.07.20 13:54, Wei Yang wrote: >>> On Wed, Jul 01, 2020 at 10:29:08AM +0200, David Hildenbrand wrote: On 01.07.20 04:11, Wei Yang wrote: > On Tue, Jun 30, 2020 at 02:44:00PM +0200

Re: [PATCH] mm: define pte_add_end for consistency

2020-07-02 Thread Wei Yang
On Thu, Jul 02, 2020 at 06:28:19PM +0200, David Hildenbrand wrote: >On 01.07.20 13:54, Wei Yang wrote: >> On Wed, Jul 01, 2020 at 10:29:08AM +0200, David Hildenbrand wrote: >>> On 01.07.20 04:11, Wei Yang wrote: On Tue, Jun 30, 2020 at 02:44:00PM +0200, David Hildenbrand wrote: > On 30.06.

Re: [PATCH] mm: define pte_add_end for consistency

2020-07-02 Thread David Hildenbrand
On 01.07.20 13:54, Wei Yang wrote: > On Wed, Jul 01, 2020 at 10:29:08AM +0200, David Hildenbrand wrote: >> On 01.07.20 04:11, Wei Yang wrote: >>> On Tue, Jun 30, 2020 at 02:44:00PM +0200, David Hildenbrand wrote: On 30.06.20 05:18, Wei Yang wrote: > When walking page tables, we define seve

Re: [PATCH] mm: define pte_add_end for consistency

2020-07-01 Thread Wei Yang
On Wed, Jul 01, 2020 at 10:29:08AM +0200, David Hildenbrand wrote: >On 01.07.20 04:11, Wei Yang wrote: >> On Tue, Jun 30, 2020 at 02:44:00PM +0200, David Hildenbrand wrote: >>> On 30.06.20 05:18, Wei Yang wrote: When walking page tables, we define several helpers to get the address of the

Re: [PATCH] mm: define pte_add_end for consistency

2020-07-01 Thread David Hildenbrand
On 01.07.20 04:11, Wei Yang wrote: > On Tue, Jun 30, 2020 at 02:44:00PM +0200, David Hildenbrand wrote: >> On 30.06.20 05:18, Wei Yang wrote: >>> When walking page tables, we define several helpers to get the address of >>> the next boundary. But we don't have one for pte level. >>> >>> Let's defin

Re: [PATCH] mm: define pte_add_end for consistency

2020-06-30 Thread Wei Yang
On Tue, Jun 30, 2020 at 02:44:00PM +0200, David Hildenbrand wrote: >On 30.06.20 05:18, Wei Yang wrote: >> When walking page tables, we define several helpers to get the address of >> the next boundary. But we don't have one for pte level. >> >> Let's define it and consolidate the code in several p

Re: [PATCH] mm: define pte_add_end for consistency

2020-06-30 Thread David Hildenbrand
On 30.06.20 05:18, Wei Yang wrote: > When walking page tables, we define several helpers to get the address of > the next boundary. But we don't have one for pte level. > > Let's define it and consolidate the code in several places. > > Signed-off-by: Wei Yang > --- > arch/x86/mm/init_64.c |