Re: [PATCH v4] mm, thp: introduce generic transparent huge page allocation interfaces

2017-12-10 Thread Michal Hocko
On Sat 09-12-17 11:26:58, Du, Changbin wrote: > On Fri, Dec 08, 2017 at 09:27:37AM +0100, Michal Hocko wrote: > > On Fri 08-12-17 12:42:55, changbin...@intel.com wrote: > > > From: Changbin Du > > > > > > This patch introduced 4 new interfaces to allocate a prepared transparent > > > huge page. T

Re: [PATCH v4] mm, thp: introduce generic transparent huge page allocation interfaces

2017-12-08 Thread Du, Changbin
On Fri, Dec 08, 2017 at 09:27:37AM +0100, Michal Hocko wrote: > On Fri 08-12-17 12:42:55, changbin...@intel.com wrote: > > From: Changbin Du > > > > This patch introduced 4 new interfaces to allocate a prepared transparent > > huge page. These interfaces merge distributed two-step allocation as s

Re: [PATCH v4] mm, thp: introduce generic transparent huge page allocation interfaces

2017-12-08 Thread Michal Hocko
On Fri 08-12-17 12:42:55, changbin...@intel.com wrote: > From: Changbin Du > > This patch introduced 4 new interfaces to allocate a prepared transparent > huge page. These interfaces merge distributed two-step allocation as simple > single step. And they can avoid issue like forget to call > pre

[PATCH v4] mm, thp: introduce generic transparent huge page allocation interfaces

2017-12-07 Thread changbin . du
From: Changbin Du This patch introduced 4 new interfaces to allocate a prepared transparent huge page. These interfaces merge distributed two-step allocation as simple single step. And they can avoid issue like forget to call prep_transhuge_page() or call it on wrong page. A real fix: 40a899e ("m