]> git.proxmox.com Git - mirror_zfs.git/commit
Linux 5.0 compat: Use totalram_pages()
authorTony Hutter <hutter2@llnl.gov>
Thu, 10 Jan 2019 22:28:10 +0000 (14:28 -0800)
committerTony Hutter <hutter2@llnl.gov>
Fri, 22 Feb 2019 17:47:34 +0000 (09:47 -0800)
commitba8024a2849d347886328a1148d1ed820869a4e2
treecc98ef5bfc60d898c77558b8a14471bb71929495
parentedc2675aed7d05f7ec230874e33c8a20d7402b02
Linux 5.0 compat: Use totalram_pages()

totalram_pages() was converted to an atomic variable in 5.0:

https://patchwork.kernel.org/patch/10652795/

Its value should now be read though the totalram_pages() helper
function.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #8263
module/zfs/arc.c