public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Possible memory leak in kernel/delayacct.c
@ 2006-08-19 10:58 Catalin Marinas
  2006-08-22 19:14 ` Shailabh Nagar
  0 siblings, 1 reply; 3+ messages in thread
From: Catalin Marinas @ 2006-08-19 10:58 UTC (permalink / raw)
  To: Shailabh Nagar; +Cc: Michal Piotrowski, linux-kernel

Hi Shailabh,

Michal was running some kmemleak tests and there are about 20 orphan
pointers reported in delayacct.c. The allocation backtrace is:

orphan pointer 0xf548fde0 (size 76):
  c0174674: <kmem_cache_zalloc>
  c01591ee: <__delayacct_tsk_init>
  c0127e06: <copy_process>
  c0128cd2: <do_fork>
  c0104d39: <sys_clone>

I'm not sure whether the leak occurs but there might be a path where
task_struct is freed and the task->delays pointer is lost. Could you
please have a look at this? Thanks.

-- 
Catalin

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-08-23 14:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-19 10:58 Possible memory leak in kernel/delayacct.c Catalin Marinas
2006-08-22 19:14 ` Shailabh Nagar
2006-08-23 14:58   ` Michal Piotrowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox