Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752213AbaAKQLo (ORCPT ); Sat, 11 Jan 2014 11:11:44 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37252 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751241AbaAKQLk (ORCPT ); Sat, 11 Jan 2014 11:11:40 -0500 Date: Sat, 11 Jan 2014 17:11:25 +0100 From: Oleg Nesterov To: "Kirill A. Shutemov" Cc: Alex Thorlton , linux-mm@kvack.org, Ingo Molnar , Peter Zijlstra , Andrew Morton , "Kirill A. Shutemov" , Benjamin Herrenschmidt , Rik van Riel , Naoya Horiguchi , "Eric W. Biederman" , Andy Lutomirski , Al Viro , Kees Cook , Andrea Arcangeli , linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] mm: thp: Add per-mm_struct flag to control THP Message-ID: <20140111161125.GA17160@redhat.com> References: <1389383718-46031-1-git-send-email-athorlton@sgi.com> <20140110202310.GB1421@node.dhcp.inet.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140110202310.GB1421@node.dhcp.inet.fi> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/10, Kirill A. Shutemov wrote: > > I prefer to fix THP instead of > adding new knob to disable it. I agree. But if we have the per-vma MADV/VM_ flags, it looks natural to also have the per-mm know which affects all vmas. Besides this allows to control the thp behaviour after exec. Oleg. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/