git: kernel - Increase UPAGES, add kernel stack guard page

看板DFBSD_commit作者時間15年前 (2010/11/20 09:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit e40cfbd72cead0ed2b339ac62063ce89031fc5e3 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Fri Oct 29 11:58:06 2010 -0700 kernel - Increase UPAGES, add kernel stack guard page * Increase UPAGES from 3 to 4. This is the kernel thread stack size. * Add infrastructure to make it possible to allocate a guard page along with a kmem allocation and use it when allocating kernel thread stacks. The first page of stacks allocated this way will be non-accessible (hence the increase in UPAGES). Summary of changes: sys/cpu/i386/include/param.h | 2 +- sys/cpu/x86_64/include/param.h | 2 +- sys/ddb/db_sysctl.c | 41 ++++++++++++++++++++++++++++++++++++--- sys/kern/lwkt_thread.c | 2 +- sys/vm/vm_extern.h | 10 +++++++++ sys/vm/vm_fault.c | 19 ++++++++++++++--- sys/vm/vm_kern.c | 17 +++++++++++++-- sys/vm/vm_kern.h | 1 + sys/vm/vm_map.c | 2 + sys/vm/vm_map.h | 2 + 10 files changed, 84 insertions(+), 14 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e40cfbd72cead0ed2b339ac62063ce89031fc5e3 -- DragonFly BSD source repository
文章代碼(AID): #1CvoL22U (DFBSD_commit)