login
Header Space

 
 

Re: [BUG] soft lockup detected with ipcs

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jiri Olsa <olsajiri@...>, Andrew Morton <akpm@...>
Cc: <linux-kernel@...>, Nadia Derbey <Nadia.Derbey@...>, <peifferp@...>
Date: Sunday, March 2, 2008 - 5:26 pm

On Sun, 2 Mar 2008, Jiri Kosina wrote:


Uhm, and hereby I attach the patch.

diff --git a/ipc/shm.c b/ipc/shm.c
index c47e872..2abfb70 100644
--- a/ipc/shm.c
+++ b/ipc/shm.c
@@ -615,6 +615,7 @@ static void shm_get_stat(struct ipc_namespace *ns, unsigned long *rss,
 			*rss += (HPAGE_SIZE/PAGE_SIZE)*mapping->nrpages;
 		} else {
 			struct shmem_inode_info *info = SHMEM_I(inode);
+			printk(KERN_DEBUG "info: %p\n", info);
 			spin_lock(&info->lock);
 			*rss += inode->i_mapping->nrpages;
 			*swp += info->swapped;
diff --git a/ipc/util.c b/ipc/util.c
index fd1b50d..5a0d4d2 100644
--- a/ipc/util.c
+++ b/ipc/util.c
@@ -662,6 +662,7 @@ struct kern_ipc_perm *ipc_lock(struct ipc_ids *ids, int id)
 
 	up_read(&ids->rw_mutex);
 
+	printk(KERN_DEBUG "out: %p\n", out);
 	spin_lock(&out->lock);
 	
 	/* ipc_rmid() may have already freed the ID while ipc_lock
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[BUG] soft lockup detected with ipcs, Jiri Olsa, (Fri Feb 29, 6:46 am)
Re: [BUG] soft lockup detected with ipcs, Jiri Kosina, (Fri Feb 29, 7:43 am)
Re: [BUG] soft lockup detected with ipcs, Jiri Olsa, (Sun Mar 2, 1:45 pm)
Re: [BUG] soft lockup detected with ipcs, Andrew Morton, (Sun Mar 2, 4:02 pm)
Re: [BUG] soft lockup detected with ipcs, Jiri Kosina, (Sun Mar 2, 5:23 pm)
Re: [BUG] soft lockup detected with ipcs, Jiri Kosina, (Sun Mar 2, 5:26 pm)
Re: [BUG] soft lockup detected with ipcs, Jiri Olsa, (Mon Mar 3, 8:00 am)
Re: [BUG] soft lockup detected with ipcs, Jiri Kosina, (Mon Mar 3, 8:06 am)
Re: [BUG] soft lockup detected with ipcs, Jiri Olsa, (Mon Mar 3, 8:19 am)
Re: [BUG] soft lockup detected with ipcs, Jiri Kosina, (Mon Mar 3, 8:28 am)
Re: [BUG] soft lockup detected with ipcs, Jiri Olsa, (Mon Mar 3, 8:38 am)
Re: [BUG] soft lockup detected with ipcs, Jiri Olsa, (Mon Mar 3, 10:04 am)
Re: [BUG] soft lockup detected with ipcs, Jiri Kosina, (Mon Mar 3, 10:45 am)
Re: [BUG] soft lockup detected with ipcs, Jiri Olsa, (Tue Mar 4, 5:56 am)
Re: [BUG] soft lockup detected with ipcs, Jiri Olsa, (Tue Mar 4, 8:57 am)
Re: [BUG] soft lockup detected with ipcs, Andrew Morton, (Fri Feb 29, 6:57 am)
Re: [BUG] soft lockup detected with ipcs, Jiri Olsa, (Fri Feb 29, 7:01 am)
Re: [BUG] soft lockup detected with ipcs, Andrew Morton, (Fri Feb 29, 7:29 am)
Re: [BUG] soft lockup detected with ipcs, Jiri Olsa, (Fri Feb 29, 7:35 am)
speck-geostationary