Re: pcpu allocator on large NUMA machines

2017-07-25 Thread Tejun Heo
Hello, Michael. On Tue, Jul 25, 2017 at 11:26:03AM +1000, Michael Ellerman wrote: > I don't think we want to stop using embed first chunk unless we have to. > > We have code that accesses percpu variables in real mode (with the MMU > off), and that wouldn't work easily if the first chunk wasn't i

Re: pcpu allocator on large NUMA machines

2017-07-24 Thread Michael Ellerman
Michal Hocko writes: > On Mon 24-07-17 09:57:14, Tejun Heo wrote: >> On Mon, Jul 24, 2017 at 03:42:40PM +0200, Michal Hocko wrote: > [...] >> > My understanding of the pcpu allocator is basically close to zero but it >> > seems weird to me that we would need many TB of vmalloc address space >> >

Re: pcpu allocator on large NUMA machines

2017-07-24 Thread Michal Hocko
On Mon 24-07-17 09:57:14, Tejun Heo wrote: > Hello, Hi, and thanks for ths swift answer > On Mon, Jul 24, 2017 at 03:42:40PM +0200, Michal Hocko wrote: [...] > > My understanding of the pcpu allocator is basically close to zero but it > > seems weird to me that we would need many TB of vmalloc ad

Re: pcpu allocator on large NUMA machines

2017-07-24 Thread Tejun Heo
Hello, On Mon, Jul 24, 2017 at 03:42:40PM +0200, Michal Hocko wrote: > we are seeing a strange pcpu allocation failures on a large ppc machine > on our older distribution kernel. Please note that I am not yet sure > this is the case with the current up-to-date kernel and I do not have > direct acc

pcpu allocator on large NUMA machines

2017-07-24 Thread Michal Hocko
Hi Tejun, we are seeing a strange pcpu allocation failures on a large ppc machine on our older distribution kernel. Please note that I am not yet sure this is the case with the current up-to-date kernel and I do not have direct access to the machine but it seems there were not many changes in the p