[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51C88103.8090301@linux.vnet.ibm.com>
Date: Mon, 24 Jun 2013 22:55:23 +0530
From: "Srivatsa S. Bhat" <srivatsa.bhat@...ux.vnet.ibm.com>
To: Joe Perches <joe@...ches.com>
CC: peterz@...radead.org, fweisbec@...il.com,
linux-kernel@...r.kernel.org, walken@...gle.com, mingo@...nel.org,
linux-arch@...r.kernel.org, vincent.guittot@...aro.org,
ddaney@...iumnetworks.com, xiaoguangrong@...ux.vnet.ibm.com,
wangyun@...ux.vnet.ibm.com, paulmck@...ux.vnet.ibm.com,
devel@...verdev.osuosl.org, nikunj@...ux.vnet.ibm.com,
linux-pm@...r.kernel.org, rusty@...tcorp.com.au,
rostedt@...dmis.org, namhyung@...nel.org, tglx@...utronix.de,
laijs@...fujitsu.com, zhong@...ux.vnet.ibm.com,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
oleg@...hat.com, sbw@....edu, netdev@...r.kernel.org,
tj@...nel.org, akpm@...ux-foundation.org,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH 25/45] staging/octeon: Use get/put_online_cpus_atomic()
to prevent CPU offline
On 06/24/2013 12:47 AM, Joe Perches wrote:
> On Mon, 2013-06-24 at 00:25 +0530, Srivatsa S. Bhat wrote:
>> On 06/23/2013 11:47 PM, Greg Kroah-Hartman wrote:
>>> On Sun, Jun 23, 2013 at 07:13:33PM +0530, Srivatsa S. Bhat wrote:
> []
>>>> diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon/ethernet-rx.c
> []
>> Honestly, I don't know. Let's CC the author of that code (David Daney).
>> I wonder why get_maintainer.pl didn't generate his name for this file,
>> even though the entire file is almost made up of his commits alone!
>
> Because by default, get_maintainer looks for a matching
> file entry in MAINTAINERS. Failing that, it looks at
> one year of git history. In this case, no work has been
> done on the file for quite awhile.
>
> --git-blame can be added to the get_maintainer.pl command
> line to look for % of authorship by line and commit count.
>
> Adding --git-blame can take a long time to run, that's why
> it's not on by default. Also, very old history can give
> invalid email addresses as people move around and email
> addresses decay.
>
> If you always want to find original authors, you could
> use a .get_maintainer.conf file with --git-blame in it.
>
> $ time ./scripts/get_maintainer.pl --git-blame -f drivers/staging/octeon/ethernet-tx.c
> Greg Kroah-Hartman <gregkh@...uxfoundation.org> (supporter:STAGING SUBSYSTEM,commits:4/16=25%)
> David Daney <ddaney@...iumnetworks.com> (authored lines:711/725=98%,commits:13/16=81%)
> Ralf Baechle <ralf@...ux-mips.org> (commits:11/16=69%)
> Eric Dumazet <eric.dumazet@...il.com> (commits:2/16=12%)
> Andrew Morton <akpm@...ux-foundation.org> (commits:1/16=6%)
> devel@...verdev.osuosl.org (open list:STAGING SUBSYSTEM)
> linux-kernel@...r.kernel.org (open list)
>
> real 0m16.853s
> user 0m16.088s
> sys 0m0.444s
>
>
Oh, ok.. Thanks for the explanation and the tip!
Regards,
Srivatsa S. Bhat
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists