Re: ioremap()/PCI sickness in 2.4.18-rc2 (FIXED ALMOST)

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 20 Feb 2002 23:06:17 +0000 (GMT)


> Sigh .... I am only using 2 GB on a 4GB capable processor (actually
> a 64 GB capable processor). Looks like a patch is needed. Who is
> maintaining vmalloc.c at present so I know who to submit a patch
> to?

Actually you are using a 64Gb capable processor that is only capable of
sanely addressing 4Gb at a time, total across both user and kernel space
and takes a hefty hit whenever you switch which 4Gb you are peering at.

If you want to make sensible use of even 4Gb user/4Gb kernel you need to
take a page table reload at syscall time and deal with quite messy handling
for copy to/from user.

[If someone from Intel disagrees please do so publically - I'd love to have
someone prove the limit can be dealt with 8)]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/