Messages in this thread | | | Date | Thu, 18 Dec 2014 10:00:14 -0800 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH v2] X86-32: Allocate 256 bytes for pgd in PAE paging |
| |
>> 4*8 = 32 bytes, where did 256 bytes come from? > > You are right. It should be 32 bytes. I will change the wording in future patch. The real calculation in code is right though.
I don't know if it makes sense to round up to a cache line. My suspicion is that it won't matter, as these fields will be read-mostly, on the other hand, wasting 32 bytes isn't exactly a problem, either.
-hpa
| |