HomeFreeBSD

Migrate the thread stack management functions from the machine-dependent
rS116355Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Migrate the thread stack management functions from the machine-dependent
to the machine-independent parts of the VM. At the same time, this
introduces vm object locking for the non-i386 platforms.

Two details:

  1. KSTACK_GUARD has been removed in favor of KSTACK_GUARD_PAGES. The

different machine-dependent implementations used various combinations
of KSTACK_GUARD and KSTACK_GUARD_PAGES. To disable guard page, set
KSTACK_GUARD_PAGES to 0.

  1. Remove the (unnecessary) clearing of PG_ZERO in vm_thread_new. In

5.x, (but not 4.x,) PG_ZERO can only be set if VM_ALLOC_ZERO is passed
to vm_page_alloc() or vm_page_grab().

Details

Provenance
alcAuthored on
Parents
rS116354: Catch up man page with reality in rc.d/named.
Branches
Unknown
Tags
Unknown

Event Timeline