Received: by 10.223.185.116 with SMTP id b49csp509241wrg; Fri, 16 Feb 2018 02:42:12 -0800 (PST) X-Google-Smtp-Source: AH8x225ReEg+ivWL1Ep3/vS1qVHjXe7MrnxWcHWyboYAtfzfmor8zeH38jLoBubz4LZ1NX4ET9Wm X-Received: by 10.98.93.193 with SMTP id n62mr194750pfj.83.1518777731894; Fri, 16 Feb 2018 02:42:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518777731; cv=none; d=google.com; s=arc-20160816; b=MMC26JIDTi2lC1t8TJ0WOOcMo1N5nnC5DBGWMwFLbOdzTRw4JSJvWEgCOhrgBBHEX+ EMlMzvGDrAHPSQbx6t+8vCUuEjC1yf2xDtnoRZ4LHZwF94czBX3SqbOteut5Xc4zwYeI iALW+AZ/dj2QMDdw6reHSnyrAw1RGYYHF+ZfPm4Go8/bb1P4TBZkkJFbsg1maZ0YqeFr SzsP7HxwfjdFmPJB5uZYXQUCipFxxHaR5Tqlzo6rVo8D+rOJEC/fvhF2r80vz0Ncxw48 FFE55bbUG/8ryVtXE9kMGFkOXnpVc44MplZbfOcIEt1lbf8IN7Rvakk6GvGGlyKbZ3W8 1YnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=8BnfREVJQZm0gLVwStvKjsA9/q4HERKxQWHX0VZVeVE=; b=VY607ZqawgNwAmQI5KbTCQ8LU3yzSXTnqhMw/vVlSBrOtstCODXqqeQaBQ2BaAjJ5O Z7gXpLq+F7LbXJHzLOg8DWT28EntrPVKb3SmtdJOtLw0z+YuUl71IJNNDJEjAMUQ4cXP 6GSWy8iQbI1+HngUHLgbsRRyDoGVIFkpwHfiXcYXr3lJHe9hLSoWVVAShcb7wLrG6RmX UkOfp6sToScSNZEYQ9DsfF9lbD/vMT7gGUwkzLvyKXDHJEBqoIJDLq/SJlWed+CvEKLH yF6Qj4tZBb0pRQvDUuxKT5tg7TVfcfc8psbeS+Bn44w9rT0CkijP7H4t+q+cXAp7HWO1 Zu+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e1si3904850pgq.413.2018.02.16.02.41.56; Fri, 16 Feb 2018 02:42:11 -0800 (PST) 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; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1426994AbeBORKo (ORCPT + 99 others); Thu, 15 Feb 2018 12:10:44 -0500 Received: from smtp.gentoo.org ([140.211.166.183]:55990 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422753AbeBORKl (ORCPT ); Thu, 15 Feb 2018 12:10:41 -0500 Received: from [192.168.1.4] (unknown [181.67.35.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: chrisadr) by smtp.gentoo.org (Postfix) with ESMTPSA id DA175335C2C; Thu, 15 Feb 2018 17:10:39 +0000 (UTC) Message-ID: <1518714636.2464.12.camel@gentoo.org> Subject: Re: [PATCH-next] sched/headers: Clean up From: Christopher =?ISO-8859-1?Q?D=EDaz?= Riveros To: Peter Zijlstra Cc: mingo@redhat.com, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Date: Thu, 15 Feb 2018 12:10:36 -0500 In-Reply-To: <20180215165212.GB25181@hirez.programming.kicks-ass.net> References: <20180215154318.15894-1-chrisadr@gentoo.org> <20180215165212.GB25181@hirez.programming.kicks-ass.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.24.6 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter, thanks for the reply. El jue, 15-02-2018 a las 17:52 +0100, Peter Zijlstra escribió: > On Thu, Feb 15, 2018 at 10:43:18AM -0500, Christopher Diaz Riveros > wrote: > > @@ -183,7 +183,7 @@ extern void io_schedule_finish(int token); > > extern long io_schedule_timeout(long timeout); > > extern void io_schedule(void); > > > > -/** > > +/* > > * struct prev_cputime - snapshot of system and user cputime > > * @utime: time spent in user mode > > * @stime: time spent in system mode > > @@ -200,7 +200,7 @@ struct prev_cputime { > > #endif > > }; > > > > -/** > > +/* > > * struct task_cputime - collected CPU time counts > > * @utime: time spent in user mode, in nanoseconds > > * @stime: time spent in kernel mode, in > > nanoseconds > > Why, are those not valid kerneldoc comments? Following the same structure from most of the multiline comments in the file, they tend to be /* * */ I thought it was a typo, and maybe this makes the whole file have a uniform multiline comment style. > > > @@ -437,20 +437,28 @@ struct sched_dl_entity { > > * during sched_setattr(), they will remain the same until > > * the next sched_setattr(). > > */ > > - u64 dl_runtime; /* > > Maximum runtime for each instance */ > > - u64 dl_deadline; /* > > Relative deadline of each instance */ > > - u64 dl_period; /* > > Separation of two instances (period) */ > > - u64 dl_bw; / > > * dl_runtime / dl_period */ > > - u64 dl_density; /* > > dl_runtime / dl_deadline */ > > + /* Maximum runtime for each instance */ > > + u64 dl_runtime; > > + /* Relative deadline of each instance */ > > + u64 dl_deadline; > > + /* Separation of two instances (period) */ > > + u64 dl_period; > > + /* dl_runtime / dl_period */ > > + u64 dl_bw; > > + /* dl_runtime / dl_deadline */ > > + u64 dl_density; > > That's a whole lot less readable :/ Well, while reading the file on a 80 columns width terminal, it breaks lines producing results like: /* Maximum runtime for e ach instance */ /* dl_runtime / dl_deadl ine */ among others. In fact, most of the comments in the file follow the structure: /* comment about var */ type identifier You can see this structure in lines: 631 689 740 781 820 among others. -- Christopher Díaz Riveros Gentoo Linux Developer GPG Fingerprint: E517 5ECB 8152 98E4 FEBC 2BAA 4DBB D10F 0FDD 2547