This shows you the differences between two versions of the page.
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] (current) 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. | ||
*/ | */ |