Re: Question on the five-level page table support patches

2017-04-25 Thread Jon Masters
On 04/24/2017 06:09 PM, David Miller wrote: > From: John Paul Adrian Glaubitz > Date: Mon, 24 Apr 2017 22:37:40 +0200 > >> Would be really nice to able to have a canonical solution for this issue, >> it's been biting us on SPARC for quite a while now due to the fact that >> virtual address space

Re: Question on the five-level page table support patches

2017-04-24 Thread David Miller
From: John Paul Adrian Glaubitz Date: Mon, 24 Apr 2017 22:37:40 +0200 > Would be really nice to able to have a canonical solution for this issue, > it's been biting us on SPARC for quite a while now due to the fact that > virtual address space has been 52 bits on SPARC for a while now. It's goin

Re: Question on the five-level page table support patches

2017-04-24 Thread Kirill A. Shutemov
On Mon, Apr 24, 2017 at 10:37:40PM +0200, John Paul Adrian Glaubitz wrote: > On 04/24/2017 06:19 PM, Kirill A. Shutemov wrote: > > In proposed implementation, we also use hint address, but in different > > way: by default, if hint address is NULL, kernel would not create mappings > > above 47-bits,

Re: Question on the five-level page table support patches

2017-04-24 Thread John Paul Adrian Glaubitz
On 04/24/2017 06:19 PM, Kirill A. Shutemov wrote: > In proposed implementation, we also use hint address, but in different > way: by default, if hint address is NULL, kernel would not create mappings > above 47-bits, preserving compatibility. Ooooh, that would solve a lot of problems actually if i

Re: Question on the five-level page table support patches

2017-04-24 Thread John Paul Adrian Glaubitz
On 04/24/2017 03:03 PM, Andi Kleen wrote: > In old Linux hint was a search hint, so if there isn't a hole > at the hinted area it will search starting from there for a hole > instead of giving up immediately. Yep, that's what I meant. It used to work like that and it still works like that on NetBS

Re: Question on the five-level page table support patches

2017-04-24 Thread Kirill A. Shutemov
On Sun, Apr 23, 2017 at 12:53:46PM +0200, John Paul Adrian Glaubitz wrote: > Hi Kirill! > > I recently read the LWN article on your and your colleagues work to > add five-level page table support for x86 to the Linux kernel [1] > and I got your email address from the last patch of the series. > >

Re: Question on the five-level page table support patches

2017-04-24 Thread Andi Kleen
> Can you explain what the issue is? What used to work on Linux and > doesn't any more? The man page is quite clear: In old Linux hint was a search hint, so if there isn't a hole at the hinted area it will search starting from there for a hole instead of giving up immediately. Now it just gives

Re: Question on the five-level page table support patches

2017-04-23 Thread Andy Lutomirski
On Sun, Apr 23, 2017 at 3:53 AM, John Paul Adrian Glaubitz wrote: > Hi Kirill! > > I recently read the LWN article on your and your colleagues work to > add five-level page table support for x86 to the Linux kernel [1] > and I got your email address from the last patch of the series. > > Since thi

Question on the five-level page table support patches

2017-04-23 Thread John Paul Adrian Glaubitz
Hi Kirill! I recently read the LWN article on your and your colleagues work to add five-level page table support for x86 to the Linux kernel [1] and I got your email address from the last patch of the series. Since this extends the address space beyond 48-bits, as you may know, it will cause pote