Re: [PATCH] mm: sparse: Skip no-map regions in memblocks_present

2019-07-23 Thread Michal Hocko
On Fri 12-07-19 10:51:31, KarimAllah Ahmed wrote: > Do not mark regions that are marked with nomap to be present, otherwise > these memblock cause unnecessarily allocation of metadata. This begs for much more information. How come nomap regions are in usable memblocks? What if memblock allocator

Re: [PATCH] mm: sparse: Skip no-map regions in memblocks_present

2019-07-13 Thread Wei Yang
On Sat, Jul 13, 2019 at 01:53:25PM +, Raslan, KarimAllah wrote: >On Fri, 2019-07-12 at 23:09 +, Wei Yang wrote: >> On Fri, Jul 12, 2019 at 10:51:31AM +0200, KarimAllah Ahmed wrote: >> > >> > Do not mark regions that are marked with nomap to be present, otherwise >> > these memblock cause

Re: [PATCH] mm: sparse: Skip no-map regions in memblocks_present

2019-07-13 Thread Raslan, KarimAllah
On Fri, 2019-07-12 at 23:09 +, Wei Yang wrote: > On Fri, Jul 12, 2019 at 10:51:31AM +0200, KarimAllah Ahmed wrote: > > > > Do not mark regions that are marked with nomap to be present, otherwise > > these memblock cause unnecessarily allocation of metadata. > > > > Cc: Andrew Morton > > Cc:

Re: [PATCH] mm: sparse: Skip no-map regions in memblocks_present

2019-07-12 Thread Wei Yang
On Fri, Jul 12, 2019 at 10:51:31AM +0200, KarimAllah Ahmed wrote: >Do not mark regions that are marked with nomap to be present, otherwise >these memblock cause unnecessarily allocation of metadata. > >Cc: Andrew Morton >Cc: Pavel Tatashin >Cc: Oscar Salvador >Cc: Michal Hocko >Cc: Mike

[PATCH] mm: sparse: Skip no-map regions in memblocks_present

2019-07-12 Thread KarimAllah Ahmed
Do not mark regions that are marked with nomap to be present, otherwise these memblock cause unnecessarily allocation of metadata. Cc: Andrew Morton Cc: Pavel Tatashin Cc: Oscar Salvador Cc: Michal Hocko Cc: Mike Rapoport Cc: Baoquan He Cc: Qian Cai Cc: Wei Yang Cc: Logan Gunthorpe Cc: