Re: [LAD] RT-Safe UI/Engine Decoupling using Functional Programming and Reference Counted SmartPointers

From: Paul Davis <paul@email-addr-hidden>
Date: Wed Aug 17 2011 - 19:43:16 EEST

On Wed, Aug 17, 2011 at 12:39 PM, Stephen Sinclair <radarsat1@email-addr-hidden> 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.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Wed Aug 17 20:15:01 2011

This archive was generated by hypermail 2.1.8 : Wed Aug 17 2011 - 20:15:01 EEST