few mm helpers for bcachefs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mm: introduce memalloc_flags_{save,restore}include/ | +26 | 1 reply | |
| 2/3 | mm: introduce PF_MEMALLOC_NORECLAIM, PF_MEMALLOC_NOWARNinclude/ include/ | +15 | 3 replies | |
| 3/3 | mempool: kvmalloc poolinclude/ mm/ | +26 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Vlastimil Babka |
|---|---|
| 1/3 | A-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] few mm helpers for bcachefs
memalloc_flags_{save,restore} - cleanup of the existing duplication in our memalloc_*_{save,restore} functions
PF_MEMALLOC_NORECLAIM, PF_MEMALLOC_NOWARN: we've been talking about getting away from gfp flags for years, but we've been lacking some PF_MEMALLOC_* equivalents that we need to make that happen - this adds some of the missing ones.
they're needed for calling alloc_inode() in bcachefs with btree locks held (so that we can make lookup() properly transactional), since it doesn't take a gfp flags param and adding it would require changing methods in every fs.
Kent Overstreet (3):
mm: introduce memalloc_flags_{save,restore}
mm: introduce PF_MEMALLOC_NORECLAIM, PF_MEMALLOC_NOWARN
mempool: kvmalloc pool
include/linux/mempool.h | 13 +++++++++ include/linux/sched.h | 4 +-- include/linux/sched/mm.h | 60 ++++++++++++++++++++++++++-------------- mm/mempool.c | 13 +++++++++ 4 files changed, 67 insertions(+), 23 deletions(-)
Signature · 1 line
2.43.0