Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754853Ab3HBUKN (ORCPT ); Fri, 2 Aug 2013 16:10:13 -0400 Received: from mga01.intel.com ([192.55.52.88]:32712 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753031Ab3HBUKL (ORCPT ); Fri, 2 Aug 2013 16:10:11 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.89,803,1367996400"; d="scan'208";a="380367677" From: "Kirill A. Shutemov" To: Alex Thorlton Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Peter Zijlstra , 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 , Oleg Nesterov , Srikar Dronamraju , Kees Cook , Robin Holt , linux-kernel@vger.kernel.org In-Reply-To: <20130802194659.GP26476@sgi.com> References: <20130802194659.GP26476@sgi.com> Subject: RE: [PATCH] Add per-process flag to control thp Content-Transfer-Encoding: 7bit Message-Id: <20130802201301.A872BE0090@blue.fi.intel.com> Date: Fri, 2 Aug 2013 23:13:01 +0300 (EEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 747 Lines: 21 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 need a way to control thp on a per-process basis, without relying on > madvise. What kind of workloads are you talking about? What's wrong with madvise? Could you elaborate? And I think thp_disabled should be reset to 0 on exec. -- Kirill A. Shutemov -- 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/