Re: [PATCH v2 8/9] bfs: remove multiple assignments

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dmitri Vorobiev <dmitri.vorobiev@...>
Cc: Tigran Aivazian <tigran@...>, <trivial@...>, <linux-fsdevel@...>, <apw@...>, <rdunlap@...>, Linux-kernel <linux-kernel@...>
Date: Monday, January 28, 2008 - 3:02 am

>>> -    inode->i_mtime = inode->i_atime = inode->i_ctime = CURRENT_TIME_SEC;

There are plenty of things that are valid to do in C that don't make for 
maintainable code.  These scripts are designed to make your code easier for 
real people to review and maintain.

As for if this can be faster we don't deal in the realm of "can".  Please 
show a concrete example of gcc making Linux kernel code faster with 
multiple assignments per line.  If you can do that I'm willing to change my 
mind and I'll lead the charge for mutliple assignments per line.


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH v2 8/9] bfs: remove multiple assignments, Dmitri Vorobiev, (Sat Jan 26, 7:48 pm)
Re: [PATCH v2 8/9] bfs: remove multiple assignments, Joel Schopp, (Mon Jan 28, 3:02 am)
Re: [PATCH v2 8/9] bfs: remove multiple assignments, Dmitri Vorobiev, (Wed Jan 30, 9:36 am)