All of lore.kernel.org
 help / color / mirror / Atom feed
* REAL_PTRS_PER_PMD and TIF_32BIT
@ 2004-03-16 20:51 Ed L Cashin
  2004-03-16 20:58 ` David S. Miller
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ed L Cashin @ 2004-03-16 20:51 UTC (permalink / raw)
  To: sparclinux

Hi.  As  far as I can tell,  PTRS_PER_PMD will evaluate to  512 when a
32-bit binary in userland makes a system call or has a page fault,
since TIF_32BIT will be set in the thread flags.

I suppose that means that for every second-level page table associated
with a 32-bit binary's process, there are (2048 - 512) unused
pmd entries.  Is that correct?

-- 
--Ed L Cashin            |   PGP public key:
  ecashin@uga.edu        |   http://noserose.net/e/pgp/


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

end of thread, other threads:[~2004-03-16 21:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-16 20:51 REAL_PTRS_PER_PMD and TIF_32BIT Ed L Cashin
2004-03-16 20:58 ` David S. Miller
2004-03-16 21:03 ` Ed L Cashin
2004-03-16 21:08 ` David S. Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.