* [Linux-ia64] Re: Memory leak in 2.5.64
@ 2003-03-12 6:53 David Mosberger
0 siblings, 0 replies; only message in thread
From: David Mosberger @ 2003-03-12 6:53 UTC (permalink / raw)
To: linux-ia64
>>>>> On Tue, 11 Mar 2003 14:44:14 +1100, Peter Chubb <peter@chubb.wattle.id.au> said:
Peter> Hi David, The way that tasks need to be freed has changed
Peter> since 2.5.61 --- I think we need to do something like the
Peter> attached patch (keep __put_task_struct() in kernel/fork.c;
Peter> have ia64-specific free_task_struct() in
Peter> arch/ia64/kernel/process.c) otherwise the user_struct will
Peter> never have its reference count deleted and so will not be
Peter> freed.
Yes, indeed. The patch basically looks good to me, except it
shouldn't say CONFIG_IA64. The choice of whether or not thread_info
and task_struct should be allocated in one chunk should be a general
platform-choice. There really isn't anything ia64-specific about it.
--david
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-03-12 6:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-12 6:53 [Linux-ia64] Re: Memory leak in 2.5.64 David Mosberger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox