Re: [PATCH] mm,hugetlb,migration: don't migrate kernelcore hugepages

2017-10-03 Thread Michal Hocko
On Tue 03-10-17 07:42:25, Alexandru Moise wrote: > On Mon, Oct 02, 2017 at 06:15:00PM +0200, Michal Hocko wrote: [...] > > I really fail to see why kernel vs. movable zones play any role here. > > Zones should be mostly an implementation detail which userspace > > shouldn't really care about. > >

Re: [PATCH] mm,hugetlb,migration: don't migrate kernelcore hugepages

2017-10-02 Thread Alexandru Moise
On Mon, Oct 02, 2017 at 06:15:00PM +0200, Michal Hocko wrote: > On Mon 02-10-17 17:06:38, Alexandru Moise wrote: > > On Mon, Oct 02, 2017 at 04:27:17PM +0200, Michal Hocko wrote: > > > On Mon 02-10-17 16:06:33, Alexandru Moise wrote: > > > > On Mon, Oct 02, 2017 at 02:54:32PM +0200, Michal Hocko

Re: [PATCH] mm,hugetlb,migration: don't migrate kernelcore hugepages

2017-10-02 Thread Michal Hocko
On Mon 02-10-17 17:06:38, Alexandru Moise wrote: > On Mon, Oct 02, 2017 at 04:27:17PM +0200, Michal Hocko wrote: > > On Mon 02-10-17 16:06:33, Alexandru Moise wrote: > > > On Mon, Oct 02, 2017 at 02:54:32PM +0200, Michal Hocko wrote: > > > > On Mon 02-10-17 00:51:11, Alexandru Moise wrote: > > > >

Re: [PATCH] mm,hugetlb,migration: don't migrate kernelcore hugepages

2017-10-02 Thread Alexandru Moise
On Mon, Oct 02, 2017 at 04:27:17PM +0200, Michal Hocko wrote: > On Mon 02-10-17 16:06:33, Alexandru Moise wrote: > > On Mon, Oct 02, 2017 at 02:54:32PM +0200, Michal Hocko wrote: > > > On Mon 02-10-17 00:51:11, Alexandru Moise wrote: > > > > This attempts to bring more flexibility to how hugepages

Re: [PATCH] mm,hugetlb,migration: don't migrate kernelcore hugepages

2017-10-02 Thread Michal Hocko
On Mon 02-10-17 16:06:33, Alexandru Moise wrote: > On Mon, Oct 02, 2017 at 02:54:32PM +0200, Michal Hocko wrote: > > On Mon 02-10-17 00:51:11, Alexandru Moise wrote: > > > This attempts to bring more flexibility to how hugepages are allocated > > > by making it possible to decide whether we want

Re: [PATCH] mm,hugetlb,migration: don't migrate kernelcore hugepages

2017-10-02 Thread Alexandru Moise
On Mon, Oct 02, 2017 at 02:54:32PM +0200, Michal Hocko wrote: > On Mon 02-10-17 00:51:11, Alexandru Moise wrote: > > This attempts to bring more flexibility to how hugepages are allocated > > by making it possible to decide whether we want the hugepages to be > > allocated from ZONE_MOVABLE or to

Re: [PATCH] mm,hugetlb,migration: don't migrate kernelcore hugepages

2017-10-02 Thread Michal Hocko
On Mon 02-10-17 00:51:11, Alexandru Moise wrote: > This attempts to bring more flexibility to how hugepages are allocated > by making it possible to decide whether we want the hugepages to be > allocated from ZONE_MOVABLE or to the zone allocated by the "kernelcore=" > boot parameter for

[PATCH] mm,hugetlb,migration: don't migrate kernelcore hugepages

2017-10-01 Thread Alexandru Moise
This attempts to bring more flexibility to how hugepages are allocated by making it possible to decide whether we want the hugepages to be allocated from ZONE_MOVABLE or to the zone allocated by the "kernelcore=" boot parameter for non-movable allocations. A new boot parameter is introduced,