linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* support for only 255 processes on a 405
@ 2001-08-27 11:38 Ralph Blach
  2001-08-27 18:14 ` Dan Malek
  0 siblings, 1 reply; 4+ messages in thread
From: Ralph Blach @ 2001-08-27 11:38 UTC (permalink / raw)
  To: Linix PPC Emmbedded


Is there any support for having a special case for the 405 that would
limit the number of processes to 255.  This means that the pid and
context could be the same.  This might be a performance gain.

Chip

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: support for only 255 processes on a 405
  2001-08-27 11:38 support for only 255 processes on a 405 Ralph Blach
@ 2001-08-27 18:14 ` Dan Malek
  2001-08-27 18:22   ` Ralph Blach
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Malek @ 2001-08-27 18:14 UTC (permalink / raw)
  To: Ralph Blach; +Cc: Linix PPC Emmbedded


Ralph Blach wrote:
>
> Is there any support for having a special case for the 405 that would
> limit the number of processes to 255.  This means that the pid and
> context could be the same.  This might be a performance gain.

The PID and context are already reused until there are more than 255
(or whatever the MMU can support) active processes.  There isn't a
special case needed, this is generic to all PowerPC with small context
space resources.


	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: support for only 255 processes on a 405
  2001-08-27 18:14 ` Dan Malek
@ 2001-08-27 18:22   ` Ralph Blach
  2001-08-27 18:52     ` Dan Malek
  0 siblings, 1 reply; 4+ messages in thread
From: Ralph Blach @ 2001-08-27 18:22 UTC (permalink / raw)
  To: Dan Malek, Linix PPC Emmbedded


Dan

Perhaps i dont understand.  It looks like from the code that process id
and pids dont match.  Could you explain how this code works.

Chip

Dan Malek wrote:
>
> Ralph Blach wrote:
> >
> > Is there any support for having a special case for the 405 that would
> > limit the number of processes to 255.  This means that the pid and
> > context could be the same.  This might be a performance gain.
>
> The PID and context are already reused until there are more than 255
> (or whatever the MMU can support) active processes.  There isn't a
> special case needed, this is generic to all PowerPC with small context
> space resources.
>
>         -- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: support for only 255 processes on a 405
  2001-08-27 18:22   ` Ralph Blach
@ 2001-08-27 18:52     ` Dan Malek
  0 siblings, 0 replies; 4+ messages in thread
From: Dan Malek @ 2001-08-27 18:52 UTC (permalink / raw)
  To: Ralph Blach; +Cc: Linix PPC Emmbedded


Ralph Blach wrote:

> Perhaps i dont understand.  It looks like from the code that process id
> and pids dont match.  Could you explain how this code works.

The "contexts" are associated with an MM context, not with a process ID.
Typically a process has one MM context, but there are cases (like
multithreaded address spaces) that will share an MM context and all
get the same TLB context.  A "process" is somewhat blurry in Linux,
but you can still think of it as an address space plus a processor
thread.  We are really concerned what happens to the address space
and how that affects the MMU, not what the thread actually does,
or how many share the address space.


	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-08-27 18:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-27 11:38 support for only 255 processes on a 405 Ralph Blach
2001-08-27 18:14 ` Dan Malek
2001-08-27 18:22   ` Ralph Blach
2001-08-27 18:52     ` Dan Malek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).