Skip to contentSkip to conversation

sgi linux version 2.4.18 cvs

DISCUSSION ?? 2 participants 5 messages Dec 5, 2002 – Dec 20, 2002 MIPS

lore
Share & tools
lore

??

author
#0 lore raw

dear all,

how to check out sgi linux source version 2.4.18 from cvs?

best regards,

#1 lore raw

On Thu, Dec 05, 2002 at 07:50:16PM +0800, ?? wrote:

Hello doublequestionmark,

Quoted 1 line

how to check out sgi linux source version 2.4.18 from cvs?

Use -rlinux_2_4_18 for checkout.

Ralf

author
#2 lore raw

enlarge KERNEL_STACK_SIZE

dear all,

how to enlarge KERNEL_STACK_SIZE?

is it enough if i only change
the definition of KERNEL_STACK_SIZE in include/asm-mips/processor.h ?

best regards,

#3 lore raw

Re: enlarge KERNEL_STACK_SIZE

Quoted 4 lines · ??

how to enlarge KERNEL_STACK_SIZE?

is it enough if i only change
the definition of KERNEL_STACK_SIZE in include/asm-mips/processor.h ?

No, other changes would be needed also. HOWEVER: It's a very bad idea. Stacks larger than 8kB require allocation of order 2 or even bigger pages which will make the kernel unreliable. I really recommend to stick with the current 8kB stacks.

Ralf

author
#4 lore raw

[help] exec_usermodehelper() then content of CURRENT is destroyed

In reply to Ralf Baechle

dear all,

1)in our 2.4.18 mips kernel , when we call exec_usermodehelper() (in kernel/kmod.c)
the content of CURRENT is destroyed during [page_fault handler loading pages from storage-device to ram]

which kind of error may cause this problem?
any hint/idea?

2)btw, in some mips linux port,
[syscall] is done by [scall_o32.S]
when [handle_sys] is done,
it will return by [o32_ret_from_sys_call], [o32_ret_from_sys_call] will do [reschedule] and [signal],
but the question is here it doesn't check whether [syscall] is from User-space or Kernel-space
if we use [syscall] in kernel-space, and do [signal] after [syscall] return, won't it cause problem? is this bug of linux code?

thanks alot in advanced!