Re: [PATCH 0/6] Boot-time switching between 4- and 5-level paging for 4.15, Part 1

2017-10-31 Thread Kirill A. Shutemov
On Tue, Oct 31, 2017 at 10:47:27AM +0100, Ingo Molnar wrote: > > * Kirill A. Shutemov wrote: > > I don't think this design is reasonable. > > > > - It introduces memory references where we haven't had them before. > > > > At this point all variable would fit a cache line, which is not tha

Re: [PATCH 0/6] Boot-time switching between 4- and 5-level paging for 4.15, Part 1

2017-10-31 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > On Thu, Oct 26, 2017 at 09:37:52AM +0200, Ingo Molnar wrote: > > > > * Kirill A. Shutemov wrote: > > > > > On Tue, Oct 24, 2017 at 02:47:41PM +0200, Ingo Molnar wrote: > > > > > > > > > > Making a variable that 'looks' like a constant macro > > > > > > > > > > d

Re: [PATCH 0/6] Boot-time switching between 4- and 5-level paging for 4.15, Part 1

2017-10-26 Thread Kirill A. Shutemov
On Thu, Oct 26, 2017 at 09:37:52AM +0200, Ingo Molnar wrote: > > * Kirill A. Shutemov wrote: > > > On Tue, Oct 24, 2017 at 02:47:41PM +0200, Ingo Molnar wrote: > > > > > > > > > Making a variable that 'looks' like a constant macro dynamic > > > > > > > > > in a rare Kconfig > > > > > > > > > s

Re: [PATCH 0/6] Boot-time switching between 4- and 5-level paging for 4.15, Part 1

2017-10-26 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > On Tue, Oct 24, 2017 at 02:47:41PM +0200, Ingo Molnar wrote: > > > > > > > > Making a variable that 'looks' like a constant macro dynamic in > > > > > > > > a rare Kconfig > > > > > > > > scenario is asking for trouble. > > > > > > > > > > > > > > We expect boot-

Re: [PATCH 0/6] Boot-time switching between 4- and 5-level paging for 4.15, Part 1

2017-10-24 Thread Kirill A. Shutemov
On Tue, Oct 24, 2017 at 02:47:41PM +0200, Ingo Molnar wrote: > > > > > > > Making a variable that 'looks' like a constant macro dynamic in a > > > > > > > rare Kconfig > > > > > > > scenario is asking for trouble. > > > > > > > > > > > > We expect boot-time page mode switching to be enabled in k

Re: [PATCH 0/6] Boot-time switching between 4- and 5-level paging for 4.15, Part 1

2017-10-24 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > On Tue, Oct 24, 2017 at 11:40:40AM +0200, Ingo Molnar wrote: > > > > * Kirill A. Shutemov wrote: > > > > > On Mon, Oct 23, 2017 at 02:40:14PM +0200, Ingo Molnar wrote: > > > > > > > > * Kirill A. Shutemov wrote: > > > > > > > > > > Making a variable that 'look

Re: [PATCH 0/6] Boot-time switching between 4- and 5-level paging for 4.15, Part 1

2017-10-24 Thread Kirill A. Shutemov
On Tue, Oct 24, 2017 at 01:32:51PM +0200, h...@zytor.com wrote: > On October 17, 2017 5:42:41 PM GMT+02:00, "Kirill A. Shutemov" > wrote: > >On Tue, Oct 03, 2017 at 11:27:54AM +0300, Kirill A. Shutemov wrote: > >> On Fri, Sep 29, 2017 at 05:08:15PM +0300, Kirill A. Shutemov wrote: > >> > The firs

Re: [PATCH 0/6] Boot-time switching between 4- and 5-level paging for 4.15, Part 1

2017-10-24 Thread hpa
On October 17, 2017 5:42:41 PM GMT+02:00, "Kirill A. Shutemov" wrote: >On Tue, Oct 03, 2017 at 11:27:54AM +0300, Kirill A. Shutemov wrote: >> On Fri, Sep 29, 2017 at 05:08:15PM +0300, Kirill A. Shutemov wrote: >> > The first bunch of patches that prepare kernel to boot-time >switching >> > betwee

Re: [PATCH 0/6] Boot-time switching between 4- and 5-level paging for 4.15, Part 1

2017-10-24 Thread Kirill A. Shutemov
On Tue, Oct 24, 2017 at 11:40:40AM +0200, Ingo Molnar wrote: > > * Kirill A. Shutemov wrote: > > > On Mon, Oct 23, 2017 at 02:40:14PM +0200, Ingo Molnar wrote: > > > > > > * Kirill A. Shutemov wrote: > > > > > > > > Making a variable that 'looks' like a constant macro dynamic in a > > > > >

Re: [PATCH 0/6] Boot-time switching between 4- and 5-level paging for 4.15, Part 1

2017-10-24 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > On Mon, Oct 23, 2017 at 02:40:14PM +0200, Ingo Molnar wrote: > > > > * Kirill A. Shutemov wrote: > > > > > > Making a variable that 'looks' like a constant macro dynamic in a rare > > > > Kconfig > > > > scenario is asking for trouble. > > > > > > We expect bo

Re: [PATCH 0/6] Boot-time switching between 4- and 5-level paging for 4.15, Part 1

2017-10-23 Thread Kirill A. Shutemov
On Mon, Oct 23, 2017 at 02:40:14PM +0200, Ingo Molnar wrote: > > * Kirill A. Shutemov wrote: > > > > Making a variable that 'looks' like a constant macro dynamic in a rare > > > Kconfig > > > scenario is asking for trouble. > > > > We expect boot-time page mode switching to be enabled in kern

Re: [PATCH 0/6] Boot-time switching between 4- and 5-level paging for 4.15, Part 1

2017-10-23 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > > Making a variable that 'looks' like a constant macro dynamic in a rare > > Kconfig > > scenario is asking for trouble. > > We expect boot-time page mode switching to be enabled in kernel of next > generation enterprise distros. It shoudn't be that rare. My poi

Re: [PATCH 0/6] Boot-time switching between 4- and 5-level paging for 4.15, Part 1

2017-10-23 Thread Kirill A. Shutemov
On Mon, Oct 23, 2017 at 01:56:58PM +0200, Ingo Molnar wrote: > > * Kirill A. Shutemov wrote: > > > > Or, could we keep MAX_PHYSMEM_BITS constant, and introduce a _different_ > > > constant > > > that is dynamic, and which could be used in the cases where the 5-level > > > paging > > > config

Re: [PATCH 0/6] Boot-time switching between 4- and 5-level paging for 4.15, Part 1

2017-10-23 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > > Or, could we keep MAX_PHYSMEM_BITS constant, and introduce a _different_ > > constant > > that is dynamic, and which could be used in the cases where the 5-level > > paging > > config causes too much memory footprint in the common 4-level paging case? > > Thi

Re: [PATCH 0/6] Boot-time switching between 4- and 5-level paging for 4.15, Part 1

2017-10-20 Thread Kirill A. Shutemov
On Fri, Oct 20, 2017 at 05:23:46PM +0200, Ingo Molnar wrote: > > * Kirill A. Shutemov wrote: > > > On Fri, Oct 20, 2017 at 08:18:53AM +, Ingo Molnar wrote: > > > > > > * Kirill A. Shutemov wrote: > > > > > > > On Tue, Oct 03, 2017 at 11:27:54AM +0300, Kirill A. Shutemov wrote: > > > > > O

Re: [PATCH 0/6] Boot-time switching between 4- and 5-level paging for 4.15, Part 1

2017-10-20 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > On Fri, Oct 20, 2017 at 08:18:53AM +, Ingo Molnar wrote: > > > > * Kirill A. Shutemov wrote: > > > > > On Tue, Oct 03, 2017 at 11:27:54AM +0300, Kirill A. Shutemov wrote: > > > > On Fri, Sep 29, 2017 at 05:08:15PM +0300, Kirill A. Shutemov wrote: > > > > > Th

Re: [PATCH 0/6] Boot-time switching between 4- and 5-level paging for 4.15, Part 1

2017-10-20 Thread Kirill A. Shutemov
On Fri, Oct 20, 2017 at 02:49:13AM -0700, Minchan Kim wrote: > Hi Ingo, > > On Fri, Oct 20, 2017 at 10:18:53AM +0200, Ingo Molnar wrote: > > > > * Kirill A. Shutemov wrote: > > > > > On Tue, Oct 03, 2017 at 11:27:54AM +0300, Kirill A. Shutemov wrote: > > > > On Fri, Sep 29, 2017 at 05:08:15PM +

Re: [PATCH 0/6] Boot-time switching between 4- and 5-level paging for 4.15, Part 1

2017-10-20 Thread Minchan Kim
Hi Ingo, On Fri, Oct 20, 2017 at 10:18:53AM +0200, Ingo Molnar wrote: > > * Kirill A. Shutemov wrote: > > > On Tue, Oct 03, 2017 at 11:27:54AM +0300, Kirill A. Shutemov wrote: > > > On Fri, Sep 29, 2017 at 05:08:15PM +0300, Kirill A. Shutemov wrote: > > > > The first bunch of patches that prepa

Re: [PATCH 0/6] Boot-time switching between 4- and 5-level paging for 4.15, Part 1

2017-10-20 Thread Kirill A. Shutemov
On Fri, Oct 20, 2017 at 08:18:53AM +, Ingo Molnar wrote: > > * Kirill A. Shutemov wrote: > > > On Tue, Oct 03, 2017 at 11:27:54AM +0300, Kirill A. Shutemov wrote: > > > On Fri, Sep 29, 2017 at 05:08:15PM +0300, Kirill A. Shutemov wrote: > > > > The first bunch of patches that prepare kernel

Re: [PATCH 0/6] Boot-time switching between 4- and 5-level paging for 4.15, Part 1

2017-10-20 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > On Tue, Oct 03, 2017 at 11:27:54AM +0300, Kirill A. Shutemov wrote: > > On Fri, Sep 29, 2017 at 05:08:15PM +0300, Kirill A. Shutemov wrote: > > > The first bunch of patches that prepare kernel to boot-time switching > > > between paging modes. > > > > > > Please re

Re: [PATCH 0/6] Boot-time switching between 4- and 5-level paging for 4.15, Part 1

2017-10-17 Thread Kirill A. Shutemov
On Tue, Oct 03, 2017 at 11:27:54AM +0300, Kirill A. Shutemov wrote: > On Fri, Sep 29, 2017 at 05:08:15PM +0300, Kirill A. Shutemov wrote: > > The first bunch of patches that prepare kernel to boot-time switching > > between paging modes. > > > > Please review and consider applying. > > Ping? Ing

Re: [PATCH 0/6] Boot-time switching between 4- and 5-level paging for 4.15, Part 1

2017-10-03 Thread Kirill A. Shutemov
On Fri, Sep 29, 2017 at 05:08:15PM +0300, Kirill A. Shutemov wrote: > The first bunch of patches that prepare kernel to boot-time switching > between paging modes. > > Please review and consider applying. Ping? -- Kirill A. Shutemov