From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx185.postini.com [74.125.245.185]) by kanga.kvack.org (Postfix) with SMTP id 09A316B0044 for ; Fri, 3 Aug 2012 10:16:53 -0400 (EDT) Received: by vcbfl10 with SMTP id fl10so847051vcb.14 for ; Fri, 03 Aug 2012 07:16:53 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20120802141656.GB18084@dhcp22.suse.cz> References: <20120802141656.GB18084@dhcp22.suse.cz> Date: Fri, 3 Aug 2012 22:16:52 +0800 Message-ID: Subject: Re: [PATCH -mm] mm: hugetlbfs: Correctly populate shared pmd From: Hillf Danton Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: Andrew Morton , Mel Gorman , Rik van Riel , Hugh Dickins , Linux-MM , David Gibson , Ken Chen , Cong Wang On Thu, Aug 2, 2012 at 10:16 PM, Michal Hocko wrote: > This patch addresses the issue by moving pmd_alloc into huge_pmd_share > which guarantees that the shared pud is populated in the same > critical section as pmd. Is i_mmap_mutex for guarding new pmd allocation? Is regression introduced if sharing is unavailable? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org