[Bug 18745] 64-bit Mortal Kombat X crashes on unimplemented function KERNEL32.dll.GetLargePageMinimum
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Jul 5 18:14:05 CDT 2015
https://bugs.winehq.org/show_bug.cgi?id=18745
--- Comment #17 from Austin English <austinenglish at gmail.com> ---
(In reply to Indrek from comment #15)
> After a bit of digging I found that Win LargePage seems to the equivalent of
> HugePage in linux and I also found special function gethugepagesizes
> http://linux.die.net/man/3/gethugepagesizes that could be used to get the
> available values (and thus find the minimum one), but I was unable to get it
> to compile correctly (needs changes to configure.ac ?) :(
I wasn't able to get that working on Fedora, using the sample code from
https://stackoverflow.com/questions/17225200/how-to-get-the-value-of-huge-page-size
(even after installing libhugetlbfs-devel).
Getting it from /proc/meminfo seems to work though:
[austin at localhost ~]$ cat /proc/meminfo | grep Huge
AnonHugePages: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
I've put together a patch that does that, instead.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list