The per-process data was divided between non-swappable data in the proc structure, and swappable data in the user structure. The kernel stack of the process, which is also swappable, was allocated with the user structure in the user area, usually one or two pages long.
SUN OS 5.0 1992
The proc structure also contains the vestigial user structure, which is now much smaller than a page,and is no longer practical to swap.
阅读(1391) | 评论(0) | 转发(0) |