linux-mips
[Top] [All Lists]

Re: MIPS: Avoid clobbering struct pt_regs in kthreads

To: Ralf Rösch <ralf.roesch@rw-gmbh.de>
Subject: Re: MIPS: Avoid clobbering struct pt_regs in kthreads
From: David Daney <ddaney@caviumnetworks.com>
Date: Wed, 12 Aug 2009 14:22:51 -0700
Cc: linux-mips <linux-mips@linux-mips.org>
In-reply-to: <4A832E6E.8020300@rw-gmbh.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <4A832E6E.8020300@rw-gmbh.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.21 (X11/20090320)
Ralf Rösch wrote:
Hi David,

Sorry to say, but your commit d406c9ae84d6ef12c55a41c97c34266b2eb7ed31 makes my TX49xx (Toshiba RISC mipsel) based system unusable.

The kernel boots fine until the stage:
   Freeing unused kernel memory: 140k freed
and then stops.
Some of our LEDS are updated as supposed, so a part of the kernel should be running.

Reverting your commit makes the latest 2.4.37.4 kernel usable again.
Do you have an idea what might go wrong?


I'm sorry, I can't think of anything.

I would look in copy_thread and the kthread spawning code. Does TX49xx have custom versions of these?

David Daney

<Prev in Thread] Current Thread [Next in Thread>
  • Re: MIPS: Avoid clobbering struct pt_regs in kthreads, David Daney <=