Re: kernel page table mapping for >1GB <3 GB for x86 arch withoutPAE

From: Alan Cox
Date: Fri Aug 28 2009 - 18:10:07 EST


On Fri, 28 Aug 2009 14:07:01 -0700 (PDT)
joe Shmoe <jsmoe3@xxxxxxxxx> wrote:

> doesn't CR3 gets reloaded for process switch? If so , how does it matter if you setup page table mapping for all the available RAM instead of limiting to just 1GB

Because

- You don't switch process every syscall
- You don't switch process every interrupt

The latter is the real killer.
--
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/