Update gfp flags in alloc_workspace
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 | btrfs: add memalloc_nofs protections around alloc_workspace callbackfs/ | +10 | 1 reply | |
| 2/3 | btrfs: switch kmallocs to GFP_KERNEL in lzo/zlib alloc_workspacefs/ fs/ | +3 | 1 reply | |
| 3/3 | btrfs: switch to kvmalloc and GFP_KERNEL in lzo/zlib alloc_workspacefs/ fs/ | +10 | 2 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Anand Jain |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 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] Update gfp flags in alloc_workspace
We can cheaply get rid of a few GFP_NOFS, as there are only two contexts, initializaton (GFP_KERNEL is ok), and potentially a "NOFS", but with memalloc_nofs it's made safe.
David Sterba (3):
btrfs: add memalloc_nofs protections around alloc_workspace callback
btrfs: switch kmallocs to GFP_KERNEL in lzo/zlib alloc_workspace
btrfs: switch to kvmalloc and GFP_KERNEL in lzo/zlib alloc_workspace
fs/btrfs/compression.c | 10 ++++++++++ fs/btrfs/lzo.c | 16 ++++++++-------- fs/btrfs/zlib.c | 10 +++++----- 3 files changed, 23 insertions(+), 13 deletions(-)
Signature · 1 line
2.12.0