From patchwork Mon Apr 14 16:23:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 28331 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f197.google.com (mail-ob0-f197.google.com [209.85.214.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D239120534 for ; Mon, 14 Apr 2014 16:24:40 +0000 (UTC) Received: by mail-ob0-f197.google.com with SMTP id wp18sf45341574obc.8 for ; Mon, 14 Apr 2014 09:24:40 -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=2g6YeLCUj/JPPqiiGOXTmbkZa9jJOHS6zEDF30h9fJk=; b=CdViB+rna4uEVbWkEiaiQf22Fc7dO//douumOyqx19ZAjWvsmTakW9x9nWupPM+lx3 RCniRlLKTh2FdDqGAvpjkPzck5tWSniyRVNvnIo4ls6bGK7KeJr1wMCFmEOCGani03d9 9nJ3MiTk2UaafFuZyPgefZXxjOWG8S0TUzdR45PQlMuIIGz0N4ID7Co7i5PN+6iVSEbS PB5oQiUA/G1VM80un8Wl+/v/NOaw+oDSRXFVSdJJKbYRUzC3xBTmvVBEIx0r/Bp/NfBL BcHkgkJBUDDsAqMlEPlC2GHk7CXnh3nu2Oaz6gEJyb3QLDIoXvOj5zfguD9iYm48vOCO t7Ww== X-Gm-Message-State: ALoCoQkjcYRxe5ecl1ecAfbssQq0P/+uvVPpgLsv8kuU/MYdaLKGo18sRYwHac/pBvcb4qKU0Zwc X-Received: by 10.182.81.7 with SMTP id v7mr21117546obx.28.1397492680452; Mon, 14 Apr 2014 09:24:40 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.109.34 with SMTP id k31ls1645598qgf.87.gmail; Mon, 14 Apr 2014 09:24:40 -0700 (PDT) X-Received: by 10.58.88.8 with SMTP id bc8mr472881veb.39.1397492680152; Mon, 14 Apr 2014 09:24:40 -0700 (PDT) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id sn5si2826753vdc.65.2014.04.14.09.24.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Apr 2014 09:24:40 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.176; Received: by mail-vc0-f176.google.com with SMTP id lc6so7601150vcb.7 for ; Mon, 14 Apr 2014 09:24:40 -0700 (PDT) X-Received: by 10.52.255.196 with SMTP id as4mr202355vdd.53.1397492680029; Mon, 14 Apr 2014 09:24:40 -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 ib8csp162692vcb; Mon, 14 Apr 2014 09:24:39 -0700 (PDT) X-Received: by 10.69.15.2 with SMTP id fk2mr4605492pbd.123.1397492678313; Mon, 14 Apr 2014 09:24:38 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s8si9161860pas.16.2014.04.14.09.24.37; Mon, 14 Apr 2014 09:24:37 -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 S1755283AbaDNQY1 (ORCPT + 26 others); Mon, 14 Apr 2014 12:24:27 -0400 Received: from mail-pb0-f43.google.com ([209.85.160.43]:44295 "EHLO mail-pb0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755259AbaDNQYW (ORCPT ); Mon, 14 Apr 2014 12:24:22 -0400 Received: by mail-pb0-f43.google.com with SMTP id um1so8447099pbc.2 for ; Mon, 14 Apr 2014 09:24:22 -0700 (PDT) X-Received: by 10.68.129.34 with SMTP id nt2mr45126123pbb.18.1397492662383; Mon, 14 Apr 2014 09:24:22 -0700 (PDT) Received: from localhost ([122.167.126.16]) by mx.google.com with ESMTPSA id x5sm34735705pbw.26.2014.04.14.09.24.19 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 14 Apr 2014 09:24:21 -0700 (PDT) From: Viresh Kumar To: tglx@linutronix.de Cc: linaro-kernel@lists.linaro.org, linux-kernel@vger.kernel.org, fweisbec@gmail.com, Arvind.Chauhan@arm.com, linaro-networking@linaro.org, Viresh Kumar Subject: [PATCH 02/38] tick: update doc comments for struct tick_sched Date: Mon, 14 Apr 2014 21:53:24 +0530 Message-Id: <749a5fa3fc84205c51b7bd2ff1502837e6bf66f2.1397492345.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.220.176 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 had a description in the kernel doc 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;