[PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs



Hi,
Intel documentation points out that having a 128-bytes aligned
syncronizing primitive (which fits in a cache line) will minimize the
traffic for cache bus, so this patch implements an alignment for i386
on turnstiles.

Any comments, feedbacks?

Attilio

PS: Using __aligned on MI code is usually a bad practice, but please
note that the case !__i386__ is not affected (as you can see in the
patch)


--
Peace can only be achieved by understanding - A. Einstein
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: raw_pci_read in quirk_intel_irqbalance
    ... reassure everyone that we really do intend to access device 8. ... Can you also add a comment which points at the Intel documentation? ... Page 34 documents 0xf4 register. ... in the quirk (obvious when you look at the code but not from the patch). ...
    (Linux-Kernel)
  • Re: [PATCH 0/3] ksm: write protect pages from inside ksm
    ... Yes, that fits with what I have here, thanks (or where it didn't ... or madvise a large anon area and memset it, ... Here's a patch I added a month or so ago, ... with KSM on all mms: shouldn't be necessary if your mm refcounting ...
    (Linux-Kernel)
  • Re: Slow DOWN, please!!!
    ... make a "Random pending patch of the day" google gadget. ... I know that's abit out there, and I'm not sure the google gadget thing is ... But at least it fits my notion of "let's not just wish ... code quality, I really think it needs to be about _practical_ things that ...
    (Linux-Kernel)
  • Re: [PATCH 2.6.25-rc6] sata_promise: fix hardreset hotplug events, take 2
    ... Tejun Heo wrote: ... Jeff, do you want to merge this first? ... this patch a bit so that it fits on top of those two patchsets. ...
    (Linux-Kernel)
  • Re: (Small) Tire Science? Contact Patch Wrinkles?
    ... wrinkling as it flattens into the contact patch. ... It seems like some of the loss caused by the bulge is because it's ... think getting a bike that fits and making sure you are FIT make more ... most aero bike isn't going to get you up that hill any faster! ...
    (rec.bicycles.tech)