RE: [PATCH 1/2] Refine mutex and rcu method in module.c,kernel<3.2.9>
From: Chen, Dennis (SRDC SW)
Date: Wed Mar 07 2012 - 10:53:09 EST
-----Original Message-----
From: Cong Wang [mailto:xiyou.wangcong@xxxxxxxxx]
Sent: Wednesday, March 07, 2012 11:37 PM
To: Chen, Dennis (SRDC SW)
Cc: linux-kernel@xxxxxxxxxxxxxxx
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,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/