Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932412Ab2F2QMy (ORCPT ); Fri, 29 Jun 2012 12:12:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52291 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932140Ab2F2QMa (ORCPT ); Fri, 29 Jun 2012 12:12:30 -0400 Message-ID: <4FEDD38F.4000601@redhat.com> Date: Fri, 29 Jun 2012 12:10:55 -0400 From: Rik van Riel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Andrea Arcangeli CC: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Hillf Danton , Dan Smith , Peter Zijlstra , Linus Torvalds , Andrew Morton , Thomas Gleixner , Ingo Molnar , Paul Turner , Suresh Siddha , Mike Galbraith , "Paul E. McKenney" , Lai Jiangshan , Bharata B Rao , Lee Schermerhorn , Johannes Weiner , Srivatsa Vaddagiri , Christoph Lameter , Alex Shi , Mauricio Faria de Oliveira , Konrad Rzeszutek Wilk , Don Morris , Benjamin Herrenschmidt Subject: Re: [PATCH 11/40] autonuma: define the autonuma flags References: <1340888180-15355-1-git-send-email-aarcange@redhat.com> <1340888180-15355-12-git-send-email-aarcange@redhat.com> In-Reply-To: <1340888180-15355-12-git-send-email-aarcange@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1018 Lines: 33 On 06/28/2012 08:55 AM, Andrea Arcangeli wrote: > These flags are the ones tweaked through sysfs, they control the > behavior of autonuma, from enabling disabling it, to selecting various > runtime options. That's all fine and dandy, but what do these flags mean? How do you expect people to be able to maintain this code, or control autonuma behaviour, when these flags are not documented at all? Please document them. > +enum autonuma_flag { > + AUTONUMA_FLAG, > + AUTONUMA_IMPOSSIBLE_FLAG, > + AUTONUMA_DEBUG_FLAG, > + AUTONUMA_SCHED_LOAD_BALANCE_STRICT_FLAG, > + AUTONUMA_SCHED_CLONE_RESET_FLAG, > + AUTONUMA_SCHED_FORK_RESET_FLAG, > + AUTONUMA_SCAN_PMD_FLAG, > + AUTONUMA_SCAN_USE_WORKING_SET_FLAG, > + AUTONUMA_MIGRATE_DEFER_FLAG, > +}; -- All rights reversed -- 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/