summaryrefslogtreecommitdiff
path: root/backport/backport-include/linux/gfp.h
AgeCommit message (Collapse)Author
2018-12-06backports: Add page_frag_alloc() and __page_frag_cache_drain()Hauke Mehrtens
This was introduced in kernel commit 8c2dd3e4a4b ("mm: rename __alloc_page_frag to page_frag_alloc and __free_page_frag to page_frag_free") and commit 44fdffd7050 ("mm: add support for releasing multiple instances of a page") and is used by the mt76 driver. Backporting it to kernel older than 4.2 is harder so just do it till that version. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2018-02-23backports: fix typo "TIMKEEPING" and fix gfp.hLuca Coelho
There is a typo in the timekeeping.h backport, fix that. Additionally, fix the gfp.h file tha has a copy/paste issue where __BACKPORT_TIMKEEPING_H is used instead of __BACKPORT_LINUX_GFP_H. Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2015-11-07header: add __GFP_KSWAPD_RECLAIMHauke Mehrtens
This was added to the mainline kernel in commit ac4f832eb2 "mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep and avoiding waking kswapd". Instead of __GFP_KSWAPD_RECLAIM the old mm code did not got any flag. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>