[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: Mismatch of GDT ( Global descriptor table) Entries.
On Thu, Mar 29, 2001 at 05:57:14PM +0530, ankur arora wrote:
> However there is one thing that I haven't understood for a long time about
> all these statically defined entries. And that is why does Linux use just
> one entry each for User code and data when it could have allocated each
> process its own entry.
You get limited by hardware on how many processes you can run simultaneously.
> And personally I've been unable to track down the data structure where
> this info is kept to be restored when a process is rescheduled.
> Any thoughts ?
Haven't looked at linux kernel sources in a while, but it's going to be
either on the kernel stack or the machine specific part of the task_struct.