lkml.org 
[lkml]   [2004]   [May]   [22]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH 2.6.6-mm4] ring_info spinlock initialization
FromFabF <>
DateSat, 22 May 2004 11:21:25 +0200
On Fri, 2004-05-21 at 22:12, Zwane Mwaikambo wrote:
> On Fri, 21 May 2004, FabF wrote:
> 
> > Hi,
> > 	ring_info spinlock was not initialized in INIT_KIOCTX.
> 
> Shouldn't something have caught that?

Zwane,
	Did you find something about that thread ? I don't see anything
relevant in mm5 :(

Regards,
FabF

> 
> 	Zwane
> 
> 
diff -Naur orig/include/linux/init_task.h edited/include/linux/init_task.h
--- orig/include/linux/init_task.h	2004-05-10 04:32:00.000000000 +0200
+++ edited/include/linux/init_task.h	2004-05-21 14:26:56.000000000 +0200
@@ -29,6 +29,7 @@
 	.ctx_lock	= SPIN_LOCK_UNLOCKED,		\
 	.reqs_active	= 0U,				\
 	.max_reqs	= ~0U,				\
+	.ring_info.ring_lock = SPIN_LOCK_UNLOCKED	\
 }
 
 #define INIT_MM(name) \
\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.569 / U:0.880 seconds]
©2003-2008 Jasper Spaans