anybody interested in kernel

dragonLinux

知名会员
注册
2005-02-06
消息
1,030
荣誉分数
7
声望点数
198
just want to find someone who has same interesting in kernel developing. qqh!
 
simple question 1: how linux kernel manages physical memory and virtual memory
2: what is the difference of per cpu stack and per thread stack. Which OS is using per thread stack and per cpu stack?
 
"per CPU stack"? Or, "per process stack"?
 
Is that possible "per process stack"?
cpu1: pid 100 tid 1
cpu2: pid 100 tid 2
cpu3: pid 100 tid 3
how does it run?
 
I guess "per thread stack" is the most popular model.
 
Right, I didn't see the "per process stack" model either. Mostly, stack is allocated per thread basis; heap is normally allocated per process basis.

But, never thought the possibility to base stack on a processor...
 
still same case:
cpu1: pid 100 tid 1
cpu2: pid 100 tid 2
cpu3: pid 100 tid 3
Is per cpu stack possible? I am talking about thread kernel state stack, not the userspace stack.
 
Now I am studying a commercial kernel and its source is opened. Plan is to comment it and if possible to publish a book.
forget the second question probably it is too hard, I still have some problems to understand how it works totally and that is why I need friends to work together.
 
后退
顶部