Re: is there a limit on bss size?

2000-11-09 Thread Tigran Aivazian
On Fri, 6 Oct 2000, Philipp Rumpf wrote: > On Fri, Oct 06, 2000 at 12:32:35PM +0300, Petko Manolov wrote: > > It is not so difficult as it looks. > > I don't see it being difficult at all ... > > > The master pgd looking as: > > > > .org 0x1000 > > ENTRY(swapper_pg_dir) > > .long

Re: is there a limit on bss size?

2000-11-09 Thread Tigran Aivazian
On Fri, 6 Oct 2000, Philipp Rumpf wrote: On Fri, Oct 06, 2000 at 12:32:35PM +0300, Petko Manolov wrote: It is not so difficult as it looks. I don't see it being difficult at all ... The master pgd looking as: .org 0x1000 ENTRY(swapper_pg_dir) .long 0x00102007

Re: is there a limit on bss size?

2000-10-06 Thread Philipp Rumpf
On Fri, Oct 06, 2000 at 12:32:35PM +0300, Petko Manolov wrote: > It is not so difficult as it looks. I don't see it being difficult at all ... > The master pgd looking as: > > .org 0x1000 > ENTRY(swapper_pg_dir) > .long 0x00102007 > .long 0x00103007 > .fill

Re: is there a limit on bss size?

2000-10-06 Thread Petko Manolov
It is not so difficult as it looks. The master pgd looking as: .org 0x1000 ENTRY(swapper_pg_dir) .long 0x00102007 .long 0x00103007 .fill BOOT_USER_PGD_PTRS-2,4,0 /* default: 766 entries */ .long 0x00102007 .long 0x00103007 /* default: 254

Re: is there a limit on bss size?

2000-10-06 Thread Tigran Aivazian
On Fri, 6 Oct 2000, Petko Manolov wrote: > Philipp Rumpf wrote: > > > > On Thu, Oct 05, 2000 at 04:30:35PM +0100, Tigran Aivazian wrote: > > > Hi, > > > > > > I put a simple construct in kernel/sched.c like this: > > > > > > struct runq_log_s { > > > char comm[16]; > > > int

Re: is there a limit on bss size?

2000-10-06 Thread Petko Manolov
Philipp Rumpf wrote: > > On Thu, Oct 05, 2000 at 04:30:35PM +0100, Tigran Aivazian wrote: > > Hi, > > > > I put a simple construct in kernel/sched.c like this: > > > > struct runq_log_s { > > char comm[16]; > > int pid; > > } runq_log[1024*1024]; > > > > and the kernel didn't

Re: is there a limit on bss size?

2000-10-06 Thread Petko Manolov
Philipp Rumpf wrote: On Thu, Oct 05, 2000 at 04:30:35PM +0100, Tigran Aivazian wrote: Hi, I put a simple construct in kernel/sched.c like this: struct runq_log_s { char comm[16]; int pid; } runq_log[1024*1024]; and the kernel didn't boot. Yes, I understand

Re: is there a limit on bss size?

2000-10-06 Thread Tigran Aivazian
On Fri, 6 Oct 2000, Petko Manolov wrote: Philipp Rumpf wrote: On Thu, Oct 05, 2000 at 04:30:35PM +0100, Tigran Aivazian wrote: Hi, I put a simple construct in kernel/sched.c like this: struct runq_log_s { char comm[16]; int pid; }

Re: is there a limit on bss size?

2000-10-06 Thread Petko Manolov
It is not so difficult as it looks. The master pgd looking as: .org 0x1000 ENTRY(swapper_pg_dir) .long 0x00102007 .long 0x00103007 .fill BOOT_USER_PGD_PTRS-2,4,0 /* default: 766 entries */ .long 0x00102007 .long 0x00103007 /* default: 254

Re: is there a limit on bss size?

2000-10-05 Thread Philipp Rumpf
On Thu, Oct 05, 2000 at 04:30:35PM +0100, Tigran Aivazian wrote: > Hi, > > I put a simple construct in kernel/sched.c like this: > > struct runq_log_s { > char comm[16]; > int pid; > } runq_log[1024*1024]; > > and the kernel didn't boot. Yes, I understand it is 20M of bss - so

Re: is there a limit on bss size?

2000-10-05 Thread Philipp Rumpf
On Thu, Oct 05, 2000 at 04:30:35PM +0100, Tigran Aivazian wrote: Hi, I put a simple construct in kernel/sched.c like this: struct runq_log_s { char comm[16]; int pid; } runq_log[1024*1024]; and the kernel didn't boot. Yes, I understand it is 20M of bss - so what?