summaryrefslogtreecommitdiff
path: root/backport/backport-include/linux/page_ref.h
AgeCommit message (Collapse)Author
2018-12-06backports: Add page_ref_count() and page_ref_sub_and_test()Hauke Mehrtens
This was introduced in kernel commit fe896d18789 ("mm: introduce page reference manipulation functions") and will be used by __page_frag_cache_drain() in the next commit. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2017-02-09backports: always use new version compare macrosJohannes Berg
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2016-07-10backports: add page_ref backportJohannes Berg
Currently, only page_ref_inc() is needed, so backport only that. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>