Re: About 4k kernel stack size....

From: Nikita Danilov
Date: Wed Dec 21 2005 - 09:18:50 EST


linux-os (Dick Johnson) writes:
>
> On Tue, 20 Dec 2005, Nikita Danilov wrote:
>
> > linux-os \(Dick Johnson\) writes:
> > >
> >
> > [...]
> >
> > > See, isn't rule-making fun? This whole 4k stack-
> > > thing is really dumb. Other operating systems
> > > use paged virtual memory for stacks, except
> > > for the interrupt stack. If Linux used paged
> > > virtual memory for stacks,
> >
> > ... then spin-locks couldn't be held across function calls.
> >
>
> Sure they can! In ix86 machines the local 'cli' within the

Sure they cannot: one cannot schedule with spin-lock held, and major
page fault will block for IO.

[...]

>
> NT is a poor copy of VAX/VMS. The DIGITAL Project Engineer for
> VAX/VMS was hired as a consultant by Microsoft to develop it.

Thank you, I know who D. Cutler is, and I have used RSX11/RT11/VMS, and
I am choosing Linux because of its technical superiority.

[...]

>

Nikita.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/