From patchwork Mon Apr 21 09:54:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 28688 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f200.google.com (mail-pd0-f200.google.com [209.85.192.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 873CD2032B for ; Mon, 21 Apr 2014 10:01:49 +0000 (UTC) Received: by mail-pd0-f200.google.com with SMTP id p10sf16528708pdj.7 for ; Mon, 21 Apr 2014 03:01:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:in-reply-to:references :sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=OEsC+VRNkAgvMlI7eNCpIZsvQA+U8SSthKRhMhc68Os=; b=jhS8/KJ4+OQbIW2/mRSh8txFxyzbPeKstJkfl+eqxMQOlhXnFH8ivUuuMkNbuVtdll bHp1KS/KV/i04QHOHtX3+F+yiJbrCEPgYe5+IwWVxveRRP+CAVK/g6x8uLXWjbHhPu9O rOxyOwsWF1TDJ+TSoCmopWo+bbJmnXL/GNf+VLual2/06bck3xFkENWQG+COqq16ig7G CUwkemGvL09TMKuqTFKA/9wnGDJLtAr0DM4zH35pCrAkpP/x42rEm5EK1oET/UzJ+V2E tkjGVKTzHASsFg9VEMWmJqJA+YfKJa06sBgiMcfI37JSxMUGc8UzUsiXtec2X8fU768A iztg== X-Gm-Message-State: ALoCoQmvFTlHdgnAUXb0I74C05CRMhV8kL/4FS1RBIzV0vNiZ41xYBGZKcRLuuYOmNz0tal6Mh2B X-Received: by 10.66.159.36 with SMTP id wz4mr18031483pab.14.1398074508628; Mon, 21 Apr 2014 03:01:48 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.24.42 with SMTP id 39ls772023qgq.26.gmail; Mon, 21 Apr 2014 03:01:48 -0700 (PDT) X-Received: by 10.52.90.37 with SMTP id bt5mr26074473vdb.7.1398074508514; Mon, 21 Apr 2014 03:01:48 -0700 (PDT) Received: from mail-ve0-f169.google.com (mail-ve0-f169.google.com [209.85.128.169]) by mx.google.com with ESMTPS id ys15si6188834vcb.70.2014.04.21.03.01.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 21 Apr 2014 03:01:48 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.169; Received: by mail-ve0-f169.google.com with SMTP id pa12so7852536veb.0 for ; Mon, 21 Apr 2014 03:01:48 -0700 (PDT) X-Received: by 10.58.171.229 with SMTP id ax5mr1348669vec.24.1398074508433; Mon, 21 Apr 2014 03:01:48 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp280481vcb; Mon, 21 Apr 2014 03:01:48 -0700 (PDT) X-Received: by 10.66.233.72 with SMTP id tu8mr2805633pac.112.1398074507741; Mon, 21 Apr 2014 03:01:47 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z10si20603247pbx.9.2014.04.21.03.01.47; Mon, 21 Apr 2014 03:01:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751752AbaDUJ4L (ORCPT + 26 others); Mon, 21 Apr 2014 05:56:11 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:44724 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751443AbaDUJzg (ORCPT ); Mon, 21 Apr 2014 05:55:36 -0400 Received: by mail-wi0-f171.google.com with SMTP id q5so1624864wiv.4 for ; Mon, 21 Apr 2014 02:55:34 -0700 (PDT) X-Received: by 10.180.184.167 with SMTP id ev7mr13420270wic.55.1398074134914; Mon, 21 Apr 2014 02:55:34 -0700 (PDT) Received: from localhost ([213.122.173.131]) by mx.google.com with ESMTPSA id uc3sm15232681wib.10.2014.04.21.02.55.31 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 21 Apr 2014 02:55:33 -0700 (PDT) From: Viresh Kumar To: tglx@linutronix.de Cc: linaro-kernel@lists.linaro.org, linaro-networking@linaro.org, linux-kernel@vger.kernel.org, fweisbec@gmail.com, Viresh Kumar Subject: [PATCH V2 02/19] tick: update doc style comments for 'struct tick_sched' Date: Mon, 21 Apr 2014 15:24:58 +0530 Message-Id: <77a497ec078788f772bbf696d456af9107c56a3b.1398072824.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Some fields of 'struct tick_sched' didn't have a description in the kernel doc style comment present above its declaration. Add them. Signed-off-by: Viresh Kumar --- include/linux/tick.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/include/linux/tick.h b/include/linux/tick.h index 8c865fb..8cc804c 100644 --- a/include/linux/tick.h +++ b/include/linux/tick.h @@ -35,14 +35,19 @@ enum tick_nohz_mode { * struct tick_sched - sched tick emulation and no idle tick control/stats * @sched_timer: hrtimer to schedule the periodic tick in high * resolution mode + * @check_clocks: tracks if clockevent device is recently changed + * @nohz_mode: Current NOHZ mode * @last_tick: Store the last tick expiry time when the tick * timer is modified for nohz sleeps. This is necessary * to resume the tick timer operation in the timeline * when the CPU returns from nohz sleep. + * @inidle: CPU is currently executing from within the idle loop * @tick_stopped: Indicator that the idle tick has been stopped * @idle_jiffies: jiffies at the entry to idle for idle time accounting * @idle_calls: Total number of idle calls * @idle_sleeps: Number of idle calls, where the sched tick was stopped + * @idle_active: similar to inidle, but is reset when we get an interrupt + * while being in idle * @idle_entrytime: Time when the idle call was entered * @idle_waketime: Time when the idle was interrupted * @idle_exittime: Time when the idle state was left @@ -50,7 +55,10 @@ enum tick_nohz_mode { * @iowait_sleeptime: Sum of the time slept in idle with sched tick stopped, * with IO outstanding * @sleep_length: Duration of the current idle sleep - * @do_timer_lst: CPU was the last one doing do_timer before going idle + * @last_jiffies: Last updated value of jiffies + * @next_jiffies: Next jiffie for which timer is requested + * @idle_expires: Time when we should come out of idle or next timer event + * @do_timer_last: CPU was the last one doing do_timer before going idle */ struct tick_sched { struct hrtimer sched_timer;