Andreas Kling
5e01ebfc56
Kernel: Clean up thread stacks when a thread dies
...
We were forgetting where we put the userspace thread stacks, so added a
member called Thread::m_userspace_thread_stack to keep track of it.
Then, in ~Thread(), we now deallocate the userspace, kernel and signal
stacks (if present.)
Out of curiosity, the "init_stage2" process doesn't have a kernel stack
which I found surprising. :^)
2019-08-01 20:17:12 +02:00
..
2019-07-09 15:04:45 +02:00
2019-06-02 09:53:42 +02:00
2019-07-28 15:44:01 +02:00
2019-08-01 16:34:02 +02:00
2019-07-20 12:15:24 +02:00
2019-07-03 21:20:13 +02:00
2019-07-24 06:29:47 +02:00
2019-06-30 10:41:26 +02:00
2019-06-07 20:02:01 +02:00
2019-06-04 07:15:44 -07:00
2019-07-03 16:57:37 +02:00
2019-07-16 21:41:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-06-04 07:14:40 -07:00
2019-07-30 09:16:47 +02:00
2019-05-17 21:59:48 +02:00
2019-07-13 08:00:24 +02:00
2019-07-09 15:04:43 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-24 10:25:43 +02:00
2019-06-07 11:43:58 +02:00
2019-07-21 21:43:37 +02:00
2019-06-14 06:24:02 +02:00
2019-07-21 21:43:37 +02:00
2019-07-28 20:02:22 +02:00
2019-07-03 21:20:13 +02:00
2019-07-29 12:00:14 +02:00
2019-07-29 11:19:04 +02:00
2019-07-21 18:48:44 +02:00
2019-07-29 11:58:44 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-07-03 21:20:13 +02:00
2019-08-01 11:15:48 +02:00
2019-07-29 07:26:01 +02:00
2019-07-03 21:20:13 +02:00
2019-07-09 15:04:45 +02:00
2019-07-03 21:20:13 +02:00
2019-05-28 17:31:20 +02:00
2019-07-13 08:00:24 +02:00
2019-08-01 20:00:56 +02:00
2019-07-22 09:42:39 +02:00
2019-07-29 07:26:01 +02:00
2019-07-29 07:26:01 +02:00
2019-07-29 11:58:44 +02:00
2019-07-03 21:20:13 +02:00
2019-06-04 07:15:44 -07:00
2019-07-29 07:26:01 +02:00
2019-07-29 07:26:01 +02:00
2019-08-01 20:17:12 +02:00
2019-08-01 20:17:12 +02:00
2019-07-14 11:35:49 +02:00