MAX_USERLDT_SIZE
#ifndef MAX_USERLDT_SIZE
#define MAX_USERLDT_SLOTS (int)(MAX_USERLDT_SIZE / sizeof(union descriptor))
uint8_t ldt[MAX_USERLDT_SIZE];
MAX_USERLDT_SIZE, UVM_KMF_WIRED);
MAX_USERLDT_SIZE, 0, UVM_KMF_WIRED);
sel = ldt_alloc(new_ldt, MAX_USERLDT_SIZE);
MAX_USERLDT_SIZE, UVM_KMF_WIRED);
memcpy(new_ldt, pmap1->pm_ldt, MAX_USERLDT_SIZE);
MAX_USERLDT_SIZE, UVM_KMF_WIRED);
uvm_km_free(kernel_map, (vaddr_t)ldt, MAX_USERLDT_SIZE,
MAX_USERLDT_SIZE);
MAX_USERLDT_SIZE);
nldt = MAX_USERLDT_SIZE / sizeof(*lp);
MAX_USERLDT_SIZE, 0, UVM_KMF_WIRED | UVM_KMF_ZERO | UVM_KMF_WAITVA);
memcpy(new_ldt, old_ldt, MAX_USERLDT_SIZE);
new_sel = ldt_alloc(new_ldt, MAX_USERLDT_SIZE);
uvm_km_free(kernel_map, (vaddr_t)new_ldt, MAX_USERLDT_SIZE,
uvm_km_free(kernel_map, (vaddr_t)old_ldt, MAX_USERLDT_SIZE,