Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp469130imm; Fri, 29 Jun 2018 00:37:15 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJsIcDie85s6tq8T9s/w1wQmCoKRRPV3GVCB7V1xJfuJAtV5xNTN9SoozANOaMNcPx3yo2v X-Received: by 2002:a17:902:89:: with SMTP id a9-v6mr13428338pla.326.1530257835258; Fri, 29 Jun 2018 00:37:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530257835; cv=none; d=google.com; s=arc-20160816; b=Kqqr/XgBTWaHSrjp3rcg/jDCW4+qjMBM/PGGmF6IYfIp1Em52LKMnP/ZpfG3KnIKL3 DA/emF8FYkd3hEKKmXUpdaf8wJpxOW9qGzuU0r8uJn5IgBHyfUu6buVsrnmcBBP9itKs 8gMxsj0wuyAOai5XHVJ8QU0BfpmqtzGd9kHXGQCCfgCfHE3s5EPxZQPZIGWByBsOtqC5 WI84v6F4S5G9Pg1CL3LXlea5/cy2QKXNquOREULEl7F5ytaCHrxY66G/ji3VPgmeQG+4 Na5t7V3zfxWuStimEzZ2r0khM99uTu98zIuRsneA891c2feODBDlrvcog4F4EXaCsDIs icwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=dW3p9iFgttFFw96neOnFMhdjP61PqmZQYpaJ7P921os=; b=FjLf+v8PCXdbVbF+d6sGHyTQ0C3+di84P/AKDZ4zrLFGmteKV5WXfm61m6Fu6OrotQ EpIx5rZeVpZo8Bgj0oa3S5Q8YZGnk555VNbVT3ak00CRzGFcJd9Nj5nTVk17caxzVg6M DeS9/lEwhT47yq0j0KbBZw0AmkVo6MbODPG/rKXqkDzg+cDQqrBGmvOKqgrq/nFZq8s1 iis7idiGAk59k8FHNgKMp9eTK5djs5e3RHYIgzEtaAw4+rRJ2ISP44OcUk1uxsr7LmCl HdGYKaxAi2fEWtA3yBewQ0YlG6nXLd+hXyUlXaMXpbKrOPIFPLOslX5CIFLpmcwuwLhw 0/9g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 85-v6si8919114pfm.264.2018.06.29.00.37.00; Fri, 29 Jun 2018 00:37:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753956AbeF2Hbw (ORCPT + 99 others); Fri, 29 Jun 2018 03:31:52 -0400 Received: from mx2.suse.de ([195.135.220.15]:47464 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751594AbeF2Hbv (ORCPT ); Fri, 29 Jun 2018 03:31:51 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id D409CAE61; Fri, 29 Jun 2018 07:31:49 +0000 (UTC) Date: Fri, 29 Jun 2018 09:31:46 +0200 From: Michal Hocko To: Cannon Matthews Cc: mike.kravetz@oracle.com, akpm@linux-foundation.org, nyc@holomorphy.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andres Lagar-Cavilla , Peter Feiner , Greg Thelen Subject: Re: [PATCH] mm: hugetlb: yield when prepping struct pages Message-ID: <20180629073146.GB13860@dhcp22.suse.cz> References: <20180627214447.260804-1-cannonmatthews@google.com> <20180628112139.GC32348@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 28-06-18 15:16:46, Cannon Matthews wrote: > Thanks for the quick turnaround. > > Good to know about the how the 2M code path differs, I have been > trying to trace through some of this and it's easy to get lost between > which applies to which size. Yeah, GB hugetlb pages implementation has been hacked into the existing hugetlb code in a quite ugly way. We have done some cleanups since then but there is still a lot of room for improvements. -- Michal Hocko SUSE Labs