get_phys_pages(), get_avphys_pages() no longer read /proc/meminfo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The get_phys_pages.3 man page reads:

These functions obtain the required information by scanning the MemTotal and MemFree fields of /proc/meminfo.

This is no longer the case. Since glibc 2.23, they use sysinfo(2) instead:

https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=0ce657c576bf1b24

--
Jakub Wilk



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux