--655616-1918233271-985532017=:6469
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Mon, 19 Mar 2001, Linus Torvalds wrote:
> The complete changelog is appended, but the biggest recent change is
> the mmap_sem change, which I updated with new locking rules for
> pte/pmd_alloc to avoid the race on the actual page table build.
>
> This has only been tested on i386 without PAE, and is known to break
> other architectures. Ingo, mind checking what PAE needs? [...]
one nontrivial issue was that on PAE the pgd has to be installed with
'present' pgd entries, due to a CPU erratum. This means that the
pgd_present() code in mm/memory.c, while correct theoretically, doesnt
work with PAE. An equivalent solution is to use !pgd_none(), which also
works with the PAE workaround.
PAE mode could re-define pgd_present() to filter out the workaround - do
you prefer this to the !pgd_none() solution?
the rest was pretty straightforward.
in any case, with the attached pae-2.4.3-A4 patch (against 2.4.3-pre7,
applies to 2.4.2-ac24 cleanly as well) applied, 2.4.3-pre7 boots & works
just fine on PAE 64GB-HIGHMEM and non-PAE kernels.
- the patch also does another cleanup: removes various bad_pagetable code
snippets all around the x86 tree, it's not needed anymore. This saves 8
KB RAM on x86 systems.
- removed the last remaining *_kernel() macro.
- fixed a minor clear_page() bug in pgalloc.h, gfp() could fail in the
future.
Ingo
--655616-1918233271-985532017=:6469
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="pae-2.4.3-A4"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.30.0103251653370.6469@elte.hu>
Content-Description:
Content-Disposition: attachment; filename="pae-2.4.3-A4"
LS0tIGxpbnV4L21tL21lbW9yeS5jLm9yaWcJU3VuIE1hciAyNSAxODo1NTow
NSAyMDAxDQorKysgbGludXgvbW0vbWVtb3J5LmMJU3VuIE1hciAyNSAxODo1
NTowNyAyMDAxDQpAQCAtMTI5NSw3ICsxMjk1LDcgQEANCiAJCSAqIEJlY2F1
c2Ugd2UgZHJvcHBlZCB0aGUgbG9jaywgd2Ugc2hvdWxkIHJlLWNoZWNrIHRo
ZQ0KIAkJICogZW50cnksIGFzIHNvbWVib2R5IGVsc2UgY291bGQgaGF2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2VybmVsLm9yZw0KIFM6CU1haW50YWluZWQN
CiANCitYODYgMy1MRVZFTCBQQUdJTkcgKFBBRSkgU1VQUE9SVA0KK1A6CUlu
Z28gTW9sbmFyDQorTToJbWluZ29AcmVkaGF0LmNvbQ0KK1M6CU1haW50YWlu
ZWQNCisNCiBaODUyMzAgU1lOQ0hST05PVVMgRFJJVkVSDQogUDoJQWxhbiBD
b3gNCiBNOglhbGFuQHJlZGhhdC5jb20NCg==
--655616-1918233271-985532017=:6469--
-
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/