lkml.org 
[lkml]   [2012]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH 1/2] Refine mutex and rcu method in module.c, kernel<3.2.9>
Date
-----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,




\
 
 \ /
  Last update: 2012-03-07 16:55    [from the cache]
©2003-2011 Jasper Spaans