Files
blog_os/blog/content/second-edition/posts
Philipp Oppermann 9980989f7f Update Double Faults post to prevent tail recursion in test
Adds a dummy volatile read in the stack_overflow test to ensure that it is not tail recursive. Thus, the compiler can't apply the tail call elimination optimization, which turns the recursive function into a loop and thus prevents the stack overflow from happening.

Code update in https://github.com/phil-opp/blog_os/pull/818.
2020-06-08 12:29:02 +02:00
..
2020-03-31 15:41:08 +02:00
2020-05-21 09:45:32 +02:00
2019-03-14 12:58:10 +01:00