Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752132AbcDXFqu (ORCPT ); Sun, 24 Apr 2016 01:46:50 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:36746 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751425AbcDXFqs (ORCPT ); Sun, 24 Apr 2016 01:46:48 -0400 MIME-Version: 1.0 In-Reply-To: References: <1460766240-84565-1-git-send-email-kirill.shutemov@linux.intel.com> <571565F0.9070203@linaro.org> <20160419165024.GB24312@redhat.com> From: Wincy Van Date: Sun, 24 Apr 2016 13:46:27 +0800 Message-ID: Subject: Re: [PATCHv7 00/29] THP-enabled tmpfs/shmem using compound pages To: Andres Lagar-Cavilla Cc: Andrea Arcangeli , "Shi, Yang" , "Kirill A. Shutemov" , Hugh Dickins , Andrew Morton , Dave Hansen , Vlastimil Babka , Christoph Lameter , Naoya Horiguchi , Jerome Marchand , Sasha Levin , Ning Qu , "linux-kernel@vger.kernel.org" , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 783 Lines: 24 On Wed, Apr 20, 2016 at 1:07 AM, Andres Lagar-Cavilla wrote: > Andrea, we provide the, ahem, adjustments to > transparent_hugepage_adjust. Rest assured we aggressively use mmu > notifiers with no further changes required. > > As in: zero changes have been required in the lifetime (years) of > kvm+huge tmpfs at Google, other than mod'ing > transparent_hugepage_adjust. We are using kvm + tmpfs to do qemu live upgrading, how does google use this memory model ? I think our pupose to use tmpfs may be the same. And huge tmpfs is a really good improvement for that. > > As noted by Paolo, the additions to transparent_hugepage_adjust could > be lifted outside of kvm (into shmem.c? maybe) for any consumer of > huge tmpfs with mmu notifiers. > Thanks, Wincy