larger kernel stack (8k->16k) per task (fwd)
Hi Tigran,
Quoted 39 lines
From: Tigran Aivazian <[email protected]>
To: Balbir Singh <[email protected]>
CC: <[email protected]>
Subject: Re: [patch] larger kernel stack (8k->16k) per task (fwd)
Date: Fri, 8 Feb 2002 19:01:06 +0000 (GMT)Hi Balbir,
Quoted 2 lines · Balbir Singh
2. I think you missed
getuser.Sinarch/i386/kernel/lib. All the__get_user_xshould change tono, I didn't miss them. If you read the patch again you will see them.
Quoted 3 lines
3. I verified that the instance of
GET_CURRENTinhw-irq.his not being used by anybody and can safely be removed.yes, I also verified and came to the same conclusion but left the change in the patch on purpose (so if anyone does start using it, it is already correct)
Quoted 17 lines
__get_user_1:movl %esp,%edx andl $~(THREAD_SIZE - 1),%edx cmpl addr_limit(%edx),%eaxI have a patch that lets the user select any stack size from 8K to 64K, it can be configured. And yes, it works on my system.
I do not have the /proc entry that u have though in my patch.
Would you like to merge both the patches or would you like me to do it and send out a new version.
Quoted 9 lines
Quoted 2 lines
The patch is attached along with this email. It
is againt 2.4.17The serious problem with your patch is that you missed quite a few places (e.g.
smpboot.candtraps.c). Most importantly, you missed the alignment invmlinux.ldsso I guess your machine boots by pure luck :) In the early stages (first hours of writing it) I missed that one too and was puzzled by random panics on boot...
I can explain the vmlinux.lds with the fact that I think we should not change the size of init_task in sched.h. It would affect all the architectures. As I mentioned, I followed the PARISC model.
Yes, I did miss out changes in traps.c and smpboot.c Thanks for pointing them out.
Quoted 8 lines
Actually, the patch I sent is only part of the "complete piece", the other part being changes to kdb to work correctly with large stack. I can separate those from kdb patch that I use and send out if there was enough interest.
Regards,
Tigran
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx