Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105498802
D34960.id105169.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
579 B
Referenced Files
None
Subscribers
None
D34960.id105169.diff
View Options
Index: tests/sys/posixshm/posixshm_test.c
===================================================================
--- tests/sys/posixshm/posixshm_test.c
+++ tests/sys/posixshm/posixshm_test.c
@@ -1251,7 +1251,11 @@
struct shm_largepage_conf lpc;
char *addr, *buf;
size_t ps[MAXPAGESIZES + 1]; /* silence warnings if MAXPAGESIZES == 1 */
- int error, fd;
+ int error, fd, pscnt;
+
+ pscnt = pagesizes(ps);
+ if (pscnt < 2)
+ atf_tc_skip("no large page support");
fd = shm_open(SHM_ANON, O_CREAT | O_RDWR, 0);
ATF_REQUIRE_MSG(fd >= 0, "shm_open failed; error=%d", errno);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 17, 11:16 PM (5 m, 17 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15472357
Default Alt Text
D34960.id105169.diff (579 B)
Attached To
Mode
D34960: Fill the page size array in one posix shm test
Attached
Detach File
Event Timeline
Log In to Comment