News for hackers. Stuff that matters.
Re:Memory and C++ Debugging at Electronic Arts [video] by danjayh on Thursday October 08, 2015 @11:18PM (#10357957)
OK. So the issue is the GPU then. That same scenario with data that could use virtual memory would be a non-issue, since you could mash the available fragmented phsyical ram together into whatever size blocks were needed using the MMU.
Re:Memory and C++ Debugging at Electronic Arts [video] by MaulingMonkey on Friday October 09, 2015 @08:33PM (#10363978)
> That same scenario with data that could use virtual memory would be a non-issue

Untrue I'm afraid - the case I'm basing this example off of could (and did) happen in virtual address space as well.

> since you could mash the available fragmented phsyical ram together into whatever size blocks were needed using the MMU.

Okay, so your physical memory is no longer fragmented. Unfortunately, your virtual address space still is. If I need to allocate a 3MB contiguous chunk of virtual address space (I do), I'm still SOL.

All the MMU gains you in this respect is a "free" memcpy - twiddle some MMU bits instead of copying data around from one buffer to another. It won't fix up any of your pointers.