Re: [PATCHv2 3/7] mm/memblock: introduce allocation boundary for tracing purpose

2019-01-14 Thread Pingfan Liu
On Mon, Jan 14, 2019 at 4:50 PM Mike Rapoport wrote: > > On Mon, Jan 14, 2019 at 04:33:50PM +0800, Pingfan Liu wrote: > > On Mon, Jan 14, 2019 at 3:51 PM Mike Rapoport wrote: > > > > > > Hi Pingfan, > > > > > > On Fri, Jan 11, 2019 at 01:12:53PM +0800, Pingfan Liu wrote: > > > > During boot

Re: [PATCHv2 3/7] mm/memblock: introduce allocation boundary for tracing purpose

2019-01-14 Thread Mike Rapoport
On Mon, Jan 14, 2019 at 04:33:50PM +0800, Pingfan Liu wrote: > On Mon, Jan 14, 2019 at 3:51 PM Mike Rapoport wrote: > > > > Hi Pingfan, > > > > On Fri, Jan 11, 2019 at 01:12:53PM +0800, Pingfan Liu wrote: > > > During boot time, there is requirement to tell whether a series of func > > > call

Re: [PATCHv2 3/7] mm/memblock: introduce allocation boundary for tracing purpose

2019-01-14 Thread Pingfan Liu
On Mon, Jan 14, 2019 at 3:51 PM Mike Rapoport wrote: > > Hi Pingfan, > > On Fri, Jan 11, 2019 at 01:12:53PM +0800, Pingfan Liu wrote: > > During boot time, there is requirement to tell whether a series of func > > call will consume memory or not. For some reason, a temporary memory > > resource

Re: [PATCHv2 3/7] mm/memblock: introduce allocation boundary for tracing purpose

2019-01-13 Thread Mike Rapoport
Hi Pingfan, On Fri, Jan 11, 2019 at 01:12:53PM +0800, Pingfan Liu wrote: > During boot time, there is requirement to tell whether a series of func > call will consume memory or not. For some reason, a temporary memory > resource can be loan to those func through memblock allocator, but at a >

[PATCHv2 3/7] mm/memblock: introduce allocation boundary for tracing purpose

2019-01-10 Thread Pingfan Liu
During boot time, there is requirement to tell whether a series of func call will consume memory or not. For some reason, a temporary memory resource can be loan to those func through memblock allocator, but at a check point, all of the loan memory should be turned back. A typical using style: