From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754051Ab3HEOqa (ORCPT ); Mon, 5 Aug 2013 10:46:30 -0400 Received: from merlin.infradead.org ([205.233.59.134]:33933 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753964Ab3HEOq1 (ORCPT ); Mon, 5 Aug 2013 10:46:27 -0400 Date: Mon, 5 Aug 2013 16:45:44 +0200 From: Peter Zijlstra To: Oleg Nesterov Cc: Alex Thorlton , linux-kernel@vger.kernel.org, Ingo Molnar , Andrew Morton , Mel Gorman , "Kirill A. Shutemov" , Rik van Riel , Johannes Weiner , "Eric W. Biederman" , Sedat Dilek , Frederic Weisbecker , Dave Jones , Michael Kerrisk , "Paul E. McKenney" , David Howells , Thomas Gleixner , Al Viro , Srikar Dronamraju , Kees Cook , Robin Holt Subject: Re: [PATCHv2] Add per-process flag to control thp Message-ID: <20130805144544.GX27162@twins.programming.kicks-ass.net> References: <20130802205735.GS26476@sgi.com> <20130803170102.GD32568@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130803170102.GD32568@redhat.com> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 03, 2013 at 07:01:02PM +0200, Oleg Nesterov wrote: > On 08/02, Alex Thorlton wrote: > > > > This patch implements functionality to allow processes to disable the use of > > transparent hugepages through the prctl syscall. > > > > We've determined that some jobs perform significantly better with thp disabled, > > and we needed a way to control thp on a per-process basis, without relying on > > madvise. > > Well, I think the changelog should explain why madvise() is bad. It would be good to describe which jobs and why thp cannot be fixed for these.