Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F168810380
D26876.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
717 B
Referenced Files
None
Subscribers
None
D26876.diff
View Options
Index: head/sys/arm64/arm64/uma_machdep.c
===================================================================
--- head/sys/arm64/arm64/uma_machdep.c
+++ head/sys/arm64/arm64/uma_machdep.c
@@ -36,11 +36,10 @@
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/vm_page.h>
-#include <vm/vm_pageout.h>
#include <vm/vm_dumpset.h>
#include <vm/uma.h>
#include <vm/uma_int.h>
-#include <machine/md_var.h>
+#include <machine/machdep.h>
void *
uma_small_alloc(uma_zone_t zone, vm_size_t bytes, int domain, u_int8_t *flags,
@@ -60,7 +59,7 @@
dump_add_page(pa);
va = (void *)PHYS_TO_DMAP(pa);
if ((wait & M_ZERO) && (m->flags & PG_ZERO) == 0)
- bzero(va, PAGE_SIZE);
+ pagezero(va);
return (va);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Aug 31, 6:36 AM (7 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37660570
Default Alt Text
D26876.diff (717 B)
Attached To
Mode
D26876: Micro-optimize arm64's uma_small_alloc()
Attached
Detach File
Event Timeline
Log In to Comment