Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×

Comment Re:uh - by design? (Score 1) 163

All drivers on OS X are already required to tell the operating system ahead of time that a device is about to DMA to memory. That's how that VT-d is able to configure the IOMMU hardware to allow those devices to access RAM without worrying about 64-bit address spaces. So the OS already knows precisely which pages of physical RAM should be accessible by PCIe devices using DMA. If other pages of RAM are accessible, that's a bug.

Similarly, making the Thunderbolt controller's IOMMU mappings be driven by that part of the kernel should not break any drivers at all, by definition, because PCIe devices shouldn't be issuing DMA requests except at driver-preapproved locations. So AFAIK, the only way such a fix could break any device would be if that device was trying to do something really dangerous, like reprogramming one of the PCI bus bridges, or reflashing the computer's EFI firmware....

I mean, I suppose that some drivers might be inadvertently configuring a mapping for a page of memory that also contains executable code or class instances (with function pointers), in which case fully fixing this would also require Apple to modify the IOMemoryDescriptor class to ensure that the DMA-enabled pages are whole pages owned by the descriptor, but that should still be pretty minor, and should result in only a modest amount of wired kernel memory bloat.

In the worst case, such a change might require a CPU-driven copy-on-prepare and/or copy-on-complete to work around drivers that provide their own virtual addresses for a memory descriptor that aren't page-aligned, which would cause a big performance hit for those few drivers, but I'd expect most driver developers to quickly fix those design mistakes to eliminate the performance hit. (And that's assuming this isn't done already—for some reason, I thought those buffers had to be page aligned or you'd get a panic, but I'm not seeing anything about it in the docs, so I might be remembering wrong.)

Comment Re:I'll play the Grinch (Score 1) 59

So to translate, "other than a perfectly valid and rational reason that I'd rather not consider, can you tell me a rational and logical reason?"

But as to the question, every culture has a mythos that (hopefully) reminds it's members of their values and provides for a commonality and a sense of belonging. Naturally, children tend to take it all literally. Why spoil their fun Mr. Grinch?

Comment Re:Violence against police ... (Score 1) 368

Look on the right hand side. There's an awful lot of those 'exceptions'. Way too many. And way too many are later found blameless and put right back out there to do it again.

That needs to stop. It's not all cops, but it's enough of them that it's eroding the public trust. That, in turn will cause more violence against cops as regular citizens begin to fear for their own safety when they encounter police. With all those 'exceptions', is it REALLY unbelievable if a citizen attacks a cop and says he did it because he was in fear of his life? If the cops really want to be safer out there, they need to make certain that the idea of a cop attacking a citizen unprovoked or way out of proportion to provocation is laughable.

Comment Re:Alternatives (Score 1) 88

On the technical side, they have the ability to control what load a single customer can put on the shared bandwidth. They tell the cable modem and router behind it where the gateway is. They can share the last mile by each provider renting a slice of the (virtual) connection between CO and customer and can recognize their customers by MAC address to give them the correct GW.

The rest is a matter of business. The local government could buy them out. They could be legally split like AT&T. They could simply be informed that they are now in the wholesale last mile bandwidth business if they want to stay in town at all. Note that at that point if they decide they'd rather leave they would end up abandoning the cables amps, etc anyway since it would cost more than it's worth to save it. The town would just need to re-construct the head ends.

Comment Re:In other news... (Score 0) 163

Just leave a mouse out of the package laying around in a targeted office. Eventually, someone will need or want the mouse and plug it in for you.

It's less sure and could take a while compared to plugging it in yourself, but it makes the person who gets infected want to keep quiet and even if they figure out where the mouse came from (unlikely), you have plausible deniability.

Comment Re:uh - by design? (Score 1) 163

I am, of course, assuming that Thunderbolt controllers contain an IOMMU, but given that it has to function as a nontransparent PCI bridge when attached between two computers, that should be a safe assumption.

Slashdot Top Deals

Say "twenty-three-skiddoo" to logout.

Working...