[LAD] RT-Safe UI/Engine Decoupling using Functional Programming and Reference Counted SmartPointers
Paul Davis
paul at linuxaudiosystems.com
Wed Aug 17 16:43:16 UTC 2011
On Wed, Aug 17, 2011 at 12:39 PM, Stephen Sinclair <radarsat1 at gmail.com> wrote:
> The only thing that struck me is that I'm under the impression that
> memory allocation and deallocation, even by the GUI thread, can cause
> pauses to the whole process. Hence, a threading model is not enough
> for decoupling memory allocation pauses. Can anyone comment on
> whether this is true? My impression is that at least a new or malloc
> can stimulate a brk()/sbrk(), which will generate a page fault. Not
> sure about deallocations.
page faults affect kernel tasks (threads), not processes. the affected
task will block but other tasks in the same process will be able to
execute without delay.
i believe.
More information about the Linux-audio-dev
mailing list