Re: [PATCH] mm: fix page_owner initializing issue for arm32

2020-10-26 Thread Zhenhua Huang
On Mon, Oct 26, 2020 at 05:39:34PM +0800, Mike Rapoport wrote: > On Mon, Oct 26, 2020 at 03:12:55PM +0800, Zhenhua Huang wrote: > > Hi Mike, > > > > On Sun, Oct 25, 2020 at 11:42:53PM +0800, Mike Rapoport wrote: > > > On Fri, Oct 16, 2020 at 05:14:00PM +0800, Zhenhua Huang wrote: > > > > Page owne

Re: [PATCH] mm: fix page_owner initializing issue for arm32

2020-10-26 Thread Mike Rapoport
On Mon, Oct 26, 2020 at 03:12:55PM +0800, Zhenhua Huang wrote: > Hi Mike, > > On Sun, Oct 25, 2020 at 11:42:53PM +0800, Mike Rapoport wrote: > > On Fri, Oct 16, 2020 at 05:14:00PM +0800, Zhenhua Huang wrote: > > > Page owner of pages used by page owner itself used is missing on arm32 > > targets.

Re: [PATCH] mm: fix page_owner initializing issue for arm32

2020-10-26 Thread Zhenhua Huang
Hi Mike, On Sun, Oct 25, 2020 at 11:42:53PM +0800, Mike Rapoport wrote: > On Fri, Oct 16, 2020 at 05:14:00PM +0800, Zhenhua Huang wrote: > > Page owner of pages used by page owner itself used is missing on arm32 > targets. > > The reason is dummy_handle and failure_handle is not initialized > corr

Re: [PATCH] mm: fix page_owner initializing issue for arm32

2020-10-26 Thread Zhenhua Huang
Hi Mike, On Sun, Oct 25, 2020 at 11:42:53PM +0800, Mike Rapoport wrote: > On Fri, Oct 16, 2020 at 05:14:00PM +0800, Zhenhua Huang wrote: > > Page owner of pages used by page owner itself used is missing on arm32 > targets. > > The reason is dummy_handle and failure_handle is not initialized > corr

Re: [PATCH] mm: fix page_owner initializing issue for arm32

2020-10-25 Thread Mike Rapoport
On Fri, Oct 16, 2020 at 05:14:00PM +0800, Zhenhua Huang wrote: > Page owner of pages used by page owner itself used is missing on arm32 > targets. > The reason is dummy_handle and failure_handle is not initialized correctly. > Buddy allocator is used to initialize these two handles. However, buddy

Re: [PATCH] mm: fix page_owner initializing issue for arm32

2020-10-19 Thread Zhenhua Huang
Fri, Oct 16, 2020 at 06:41:04PM +0800, Vlastimil Babka wrote: > On 10/16/20 11:14 AM, Zhenhua Huang wrote: > >Page owner of pages used by page owner itself used is missing on arm32 > >targets. > >The reason is dummy_handle and failure_handle is not initialized > >correctly. > >Buddy allocator is us

Re: [PATCH] mm: fix page_owner initializing issue for arm32

2020-10-16 Thread Vlastimil Babka
On 10/16/20 11:14 AM, Zhenhua Huang wrote: Page owner of pages used by page owner itself used is missing on arm32 targets. The reason is dummy_handle and failure_handle is not initialized correctly. Buddy allocator is used to initialize these two handles. However, buddy allocator is not ready whe

[PATCH] mm: fix page_owner initializing issue for arm32

2020-10-16 Thread Zhenhua Huang
Page owner of pages used by page owner itself used is missing on arm32 targets. The reason is dummy_handle and failure_handle is not initialized correctly. Buddy allocator is used to initialize these two handles. However, buddy allocator is not ready when page owner calls it. This change fixed that