Useless knowledge
Feb. 3rd, 2016 01:37 pmI got 256GB RAM in my workstation. So I booted with 100 1GB hugepages for guests.
Then I found out that flock(2)(fd of "/dev/hugepages") blocks forever. However when I allocate only 32 1GB hugepages it works.
If I investigate it further, I might discover and report a bug in kernel, but probably I won't: now I just know how to deal with it..
Then I found out that flock(2)(fd of "/dev/hugepages") blocks forever. However when I allocate only 32 1GB hugepages it works.
If I investigate it further, I might discover and report a bug in kernel, but probably I won't: now I just know how to deal with it..