From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752473AbcEJPAt (ORCPT ); Tue, 10 May 2016 11:00:49 -0400 Received: from mx2.suse.de ([195.135.220.15]:51694 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751010AbcEJPAs (ORCPT ); Tue, 10 May 2016 11:00:48 -0400 Subject: Re: [PATCH 2/6] mm/page_owner: initialize page owner without holding the zone lock To: js1304@gmail.com, Andrew Morton References: <1462252984-8524-1-git-send-email-iamjoonsoo.kim@lge.com> <1462252984-8524-3-git-send-email-iamjoonsoo.kim@lge.com> Cc: mgorman@techsingularity.net, Minchan Kim , Alexander Potapenko , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Joonsoo Kim From: Vlastimil Babka Message-ID: <5731F79E.6040606@suse.cz> Date: Tue, 10 May 2016 17:00:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <1462252984-8524-3-git-send-email-iamjoonsoo.kim@lge.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/03/2016 07:23 AM, js1304@gmail.com wrote: > From: Joonsoo Kim > > It's not necessary to initialized page_owner with holding the zone lock. > It would cause more contention on the zone lock although it's not > a big problem since it is just debug feature. But, it is better > than before so do it. This is also preparation step to use stackdepot > in page owner feature. Stackdepot allocates new pages when there is no > reserved space and holding the zone lock in this case will cause deadlock. I have same concerns here as for Patch 1/6. Thanks.