Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148819071
D33763.id101035.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
655 B
Referenced Files
None
Subscribers
None
D33763.id101035.diff
View Options
diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c
--- a/sys/vm/vm_glue.c
+++ b/sys/vm/vm_glue.c
@@ -298,19 +298,7 @@
/*
* Get a kernel virtual address for this thread's kstack.
*/
-#if defined(__mips__)
- /*
- * We need to align the kstack's mapped address to fit within
- * a single TLB entry.
- */
- if (vmem_xalloc(kernel_arena, (pages + KSTACK_GUARD_PAGES) * PAGE_SIZE,
- PAGE_SIZE * 2, 0, 0, VMEM_ADDR_MIN, VMEM_ADDR_MAX,
- M_BESTFIT | M_NOWAIT, &ks)) {
- ks = 0;
- }
-#else
ks = kva_alloc((pages + KSTACK_GUARD_PAGES) * PAGE_SIZE);
-#endif
if (ks == 0) {
printf("%s: kstack allocation failed\n", __func__);
return (0);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 21, 9:21 AM (17 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29975202
Default Alt Text
D33763.id101035.diff (655 B)
Attached To
Mode
D33763: sys/vm and libexec/rtld-elf mips cleanups
Attached
Detach File
Event Timeline
Log In to Comment