Messages in this thread |  | | | From | "Chen, Dennis (SRDC SW)" <> | | Subject | RE: [PATCH 1/2] Refine mutex and rcu method in module.c, kernel<3.2.9> | | Date | Wed, 7 Mar 2012 15:52:53 +0000 |
| |
-----Original Message----- From: Cong Wang [mailto:xiyou.wangcong@gmail.com] Sent: Wednesday, March 07, 2012 11:37 PM To: Chen, Dennis (SRDC SW) Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] Refine mutex and rcu method in module.c, kernel<3.2.9> Hi,
On 03/07/2012 10:51 PM, Chen, Dennis (SRDC SW) wrote:
Before we are going into tech details...
> 1. Narrow down the granularity of mutex_lock/ mutex_unlock > 2. Replace some unnecessary mutex_lock/mutex_unlock pairs with RCU > 3. Refine the consistent calling style of RCU functioan
Please split the patch into three patches.
> > --- module.ori.c 2012-03-07 19:59:07.890900147 +0800 > +++ module.c 2012-03-07 22:12:44.982738729 +0800
The patch is not correctly generated, check Documentation/SubmittingPatches for more info.
==================================================== diff -u module.ori.c module.c > module.patch give more details please?
Thanks,
|  |