Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149844236
D34983.id105642.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
483 B
Referenced Files
None
Subscribers
None
D34983.id105642.diff
View Options
diff --git a/lib/libthr/thread/thr_kern.c b/lib/libthr/thread/thr_kern.c
--- a/lib/libthr/thread/thr_kern.c
+++ b/lib/libthr/thread/thr_kern.c
@@ -158,7 +158,7 @@
unsigned i;
unsigned pagesize = getpagesize();
struct wake_addr *pp = (struct wake_addr *)
- mmap(NULL, getpagesize(), PROT_READ|PROT_WRITE,
+ mmap(NULL, pagesize, PROT_READ|PROT_WRITE,
MAP_ANON|MAP_PRIVATE, -1, 0);
for (i = 1; i < pagesize/sizeof(struct wake_addr); ++i)
pp[i].link = &pp[i+1];
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 28, 1:08 PM (11 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30473705
Default Alt Text
D34983.id105642.diff (483 B)
Attached To
Mode
D34983: Use the existing page size in libthr
Attached
Detach File
Event Timeline
Log In to Comment