Re: [PATCH v6 01/27] x86, mm: Fix page table early allocation offset checking

2012-12-19 Thread Borislav Petkov
On Tue, Dec 18, 2012 at 07:30:06PM -0800, Yinghai Lu wrote: > change that too: > --- > Subject: [PATCH] x86, mm: Fix page table early allocation offset checking > > During debug load kernel above 4G, found one page if is not used in BRK > and it should be with early page allocation. > >

Re: [PATCH v6 01/27] x86, mm: Fix page table early allocation offset checking

2012-12-19 Thread Borislav Petkov
On Tue, Dec 18, 2012 at 07:30:06PM -0800, Yinghai Lu wrote: change that too: --- Subject: [PATCH] x86, mm: Fix page table early allocation offset checking During debug load kernel above 4G, found one page if is not used in BRK and it should be with early page allocation. pgt_buf_top is

Re: [PATCH v6 01/27] x86, mm: Fix page table early allocation offset checking

2012-12-18 Thread Yinghai Lu
On Fri, Dec 14, 2012 at 2:53 AM, Borislav Petkov wrote: > On Thu, Dec 13, 2012 at 02:01:55PM -0800, Yinghai Lu wrote: >> During debug load kernel above 4G, found one page if is not used in BRK >> and it should be with early page allocation. > > What does that mean? > > I see that this patch adds

Re: [PATCH v6 01/27] x86, mm: Fix page table early allocation offset checking

2012-12-18 Thread Yinghai Lu
On Fri, Dec 14, 2012 at 2:53 AM, Borislav Petkov b...@alien8.de wrote: On Thu, Dec 13, 2012 at 02:01:55PM -0800, Yinghai Lu wrote: During debug load kernel above 4G, found one page if is not used in BRK and it should be with early page allocation. What does that mean? I see that this patch

Re: [PATCH v6 01/27] x86, mm: Fix page table early allocation offset checking

2012-12-14 Thread Borislav Petkov
On Thu, Dec 13, 2012 at 02:01:55PM -0800, Yinghai Lu wrote: > During debug load kernel above 4G, found one page if is not used in BRK > and it should be with early page allocation. What does that mean? I see that this patch adds a change to not use the page at pgt_buf_top anymore but why? Is

Re: [PATCH v6 01/27] x86, mm: Fix page table early allocation offset checking

2012-12-14 Thread Borislav Petkov
On Thu, Dec 13, 2012 at 02:01:55PM -0800, Yinghai Lu wrote: During debug load kernel above 4G, found one page if is not used in BRK and it should be with early page allocation. What does that mean? I see that this patch adds a change to not use the page at pgt_buf_top anymore but why? Is

[PATCH v6 01/27] x86, mm: Fix page table early allocation offset checking

2012-12-13 Thread Yinghai Lu
During debug load kernel above 4G, found one page if is not used in BRK and it should be with early page allocation. Fix that checking and also add print out for every allocation from BRK page table allocation. Signed-off-by: Yinghai Lu --- arch/x86/mm/init.c |4 +++- 1 file changed, 3

[PATCH v6 01/27] x86, mm: Fix page table early allocation offset checking

2012-12-13 Thread Yinghai Lu
During debug load kernel above 4G, found one page if is not used in BRK and it should be with early page allocation. Fix that checking and also add print out for every allocation from BRK page table allocation. Signed-off-by: Yinghai Lu ying...@kernel.org --- arch/x86/mm/init.c |4 +++- 1