User Tools

Site Tools


realtime:documentation:howto:applications:memory:mlockall_stack_sample

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
realtime:documentation:howto:applications:memory:mlockall_stack_sample [2017/06/10 00:39]
jithu
realtime:documentation:howto:applications:memory:mlockall_stack_sample [2017/06/10 00:41]
jithu
Line 235: Line 235:
  (void)dump_page_faults();​ /* Set the baseline */  (void)dump_page_faults();​ /* Set the baseline */
  
- /* From this point onwards we no longer expect to have any+ /
 +         * From this point onwards we no longer expect to have any
  * page faults for currently allocated memory.  * page faults for currently allocated memory.
  */  */
Line 256: Line 257:
  "​of thread 1. This is unexpected!\n"​);​  "​of thread 1. This is unexpected!\n"​);​
  }  }
- /* Thread 1 has not yet terminated, meaning that thread 2 will not+ /
 +         * Thread 1 has not yet terminated, meaning that thread 2 will not
  * reuse the same (locked) stack region.  * reuse the same (locked) stack region.
  */  */
realtime/documentation/howto/applications/memory/mlockall_stack_sample.txt · Last modified: 2017/06/10 00:41 by jithu