Skip to contentSkip to conversation

MPC8xx INIT_TASK_SIZE

DISCUSSION Jakob Jepsen 3 participants 3 messages Dec 20, 2001

lore
Share & tools
lore
#0 lore raw

Hi

Why is it not possibly to increase INIT_TASK_SIZE in schred.c and there by increase the kernel stack size?

Im running a heavy loaded RTLinux subsystem and the hole system (2.4.4 from Denx) go's down when I start a big program in Linux user-space.

Regards
Jakob Sloth Jepsen

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw

Dear Jacob,

Quoted 2 lines · in message <[email protected]> you wrote:

Why is it not possibly to increase INIT_TASK_SIZE in schred.c and there by increase the kernel stack size?

In schred.c? Do you mean include/linux/sched.h instead by any chance? Because that's the only place where INIT_TASK_SIZE is actually used.

Why do you think you can't increase it?

Quoted 1 line

Im running a heavy loaded RTLinux subsystem and the hole system (2.4.4 from Denx) go's down when I start a big program in Linux user-space.

Um... you don;t want run RTL on a 8xx system; there are a couple of bugs which have never been fixed - and we (DENX) will not spend any further efforts on RTL.

Use RTAI instead, which will continue to be supported on 8xx and other PPC systems.

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] I paid too much for it, but its worth it.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw
Quoted 2 lines · Wolfgang Denk

In schred.c? Do you mean include/linux/sched.h instead by any chance? Because that's the only place where INIT_TASK_SIZE is actually used.

There are assumptions in the 8xx tlb miss handler that everything above 0x80000000 is kernel space.

	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/