Garbage Collection thread questions
Thomas Gleixner
tglx at linutronix.de
Thu Jul 24 10:16:12 EDT 2003
On Wednesday 23 July 2003 02:02, Vikram Mehta wrote:
> Hi Folks,
>
> I am trying to solve the problem of mount-crashing-the-system problem.
>
> 1.) The GC thread written in background.c is primarily a optimization.
> So can I avoid using it for the time being.
> I am almost certain that GC is the problem for my mount crashing the
> system
You can by rewriting the code.
I'm almost sure, that GC is not the problem.
> 2.) Kernel_thread used in background.c makes a new thread .. right?
> But I have read that in uClinux, parent and child thread have the same
> stack. ( Correct me if I am wrong anywhere)
> So if the stack space is the same, will not one thread curropt the return
> addresses etc of hte other thread.
> So iun uClinux , how do I make sure this does not happen. I am getting
> little confused here
It runs on uClinux wihtout any problem.
--
Thomas
________________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx at linutronix.de
More information about the linux-mtd
mailing list