lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190806212415.012a105d@oasis.local.home>
Date:   Tue, 6 Aug 2019 21:24:15 -0400
From:   Steven Rostedt <rostedt@...dmis.org>
To:     "Paul E. McKenney" <paulmck@...ux.ibm.com>
Cc:     Joel Fernandes <joel@...lfernandes.org>, rcu@...r.kernel.org,
        linux-kernel@...r.kernel.org, mingo@...nel.org,
        jiangshanlai@...il.com, dipankar@...ibm.com,
        akpm@...ux-foundation.org, mathieu.desnoyers@...icios.com,
        josh@...htriplett.org, tglx@...utronix.de, peterz@...radead.org,
        dhowells@...hat.com, edumazet@...gle.com, fweisbec@...il.com,
        oleg@...hat.com
Subject: Re: [PATCH RFC tip/core/rcu 02/14] rcu/nocb: Add bypass callback
 queueing

On Tue, 6 Aug 2019 18:17:07 -0700
"Paul E. McKenney" <paulmck@...ux.ibm.com> wrote:

> On Tue, Aug 06, 2019 at 08:40:55PM -0400, Steven Rostedt wrote:
> > On Tue, 6 Aug 2019 17:35:01 -0700
> > "Paul E. McKenney" <paulmck@...ux.ibm.com> wrote:
> >   
> > > > > +	// Don't use ->nocb_bypass during early boot.    
> > > > 
> > > > Very minor nit: comment style should be /* */    
> > > 
> > > I thought that Linus said that "//" was now OK.  Am I confused?  
> > 
> > Have a link?  
> 
> https://lkml.org/lkml/2016/7/8/625
> 


  The (c) form is particularly good for things like enum or structure
  member comments at the end of code, where you might want to align
  things up, but the ending comment marker ends up being visually pretty
  distracting (and lining _that_ up is too much make-believe work).


I think it's still for special occasions, and the above example doesn't
look like one of them ;-)

I basically avoid the '//' comment, as it just adds inconstancy.

-- Steve

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ