Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752556Ab3FXR2t (ORCPT ); Mon, 24 Jun 2013 13:28:49 -0400 Received: from e28smtp05.in.ibm.com ([122.248.162.5]:36258 "EHLO e28smtp05.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751817Ab3FXR2p (ORCPT ); Mon, 24 Jun 2013 13:28:45 -0400 Message-ID: <51C88103.8090301@linux.vnet.ibm.com> Date: Mon, 24 Jun 2013 22:55:23 +0530 From: "Srivatsa S. Bhat" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0 MIME-Version: 1.0 To: Joe Perches CC: peterz@infradead.org, fweisbec@gmail.com, linux-kernel@vger.kernel.org, walken@google.com, mingo@kernel.org, linux-arch@vger.kernel.org, vincent.guittot@linaro.org, ddaney@caviumnetworks.com, xiaoguangrong@linux.vnet.ibm.com, wangyun@linux.vnet.ibm.com, paulmck@linux.vnet.ibm.com, devel@driverdev.osuosl.org, nikunj@linux.vnet.ibm.com, linux-pm@vger.kernel.org, rusty@rustcorp.com.au, rostedt@goodmis.org, namhyung@kernel.org, tglx@linutronix.de, laijs@cn.fujitsu.com, zhong@linux.vnet.ibm.com, Greg Kroah-Hartman , oleg@redhat.com, sbw@mit.edu, netdev@vger.kernel.org, tj@kernel.org, akpm@linux-foundation.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 25/45] staging/octeon: Use get/put_online_cpus_atomic() to prevent CPU offline References: <20130623133642.19094.16038.stgit@srivatsabhat.in.ibm.com> <20130623134331.19094.80396.stgit@srivatsabhat.in.ibm.com> <20130623181740.GB24256@kroah.com> <51C744A9.8000406@linux.vnet.ibm.com> <1372015045.3137.67.camel@joe-AO722> In-Reply-To: <1372015045.3137.67.camel@joe-AO722> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-TM-AS-MML: No X-Content-Scanned: Fidelis XPS MAILER x-cbid: 13062417-8256-0000-0000-0000080FA0AC Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2145 Lines: 52 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 (supporter:STAGING SUBSYSTEM,commits:4/16=25%) > David Daney (authored lines:711/725=98%,commits:13/16=81%) > Ralf Baechle (commits:11/16=69%) > Eric Dumazet (commits:2/16=12%) > Andrew Morton (commits:1/16=6%) > devel@driverdev.osuosl.org (open list:STAGING SUBSYSTEM) > linux-kernel@vger.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 linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/