commit | 73abe7219e1e170d061a9f87e2ea777a0e44647e | [log] [tgz] |
---|---|---|
author | Kalesh Singh <[email protected]> | Fri Jan 31 16:07:05 2025 -0800 |
committer | Kalesh Singh <[email protected]> | Fri Jan 31 17:24:17 2025 -0800 |
tree | 8e444bd3f06dfaa1648af12a9159bddc96e483bd | |
parent | 42e2c813ecccc8b68e4742ca274bfc9c426fcd59 [diff] |
libmemifo: x86_64: 16K: No-op PFN APIs When emulating the page size on a x86_64 device, pagemap PFN bits are zeroed (not supported) [1] and kernel APIs that consume PFNs from pagemap are also not available [2]. However we still want to be able to account memory from libmeminfo (although missing some categorization). Instead of erroring out, for PFN APIs in libmeminfo return the the default values (success). [1] https://r.android.com/3460337 [2] https://r.android.com/3471048 Test: atest libmeminfo_test Bug: 385167611 Signed-off-by: Kalesh Singh <[email protected]> (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:10c7af7b9f269a1e160eada788bfefc8d0a28f5f) Merged-In: I44b301a67bda19f363c2e59e1bc01255169215de Change-Id: I44b301a67bda19f363c2e59e1bc01255169215de