introduce kernel file mapped folios
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest3 patches 3 repliesIn review
- v34 patches 17 repliesSuperseded
- v23 patches 6 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 3 patches | 3 replies | Superseded |
Changes in v4 from the cover letter
- change the concept from "uncharged" to "kernel_file"
- no longer violates the invariant that each mapped folio has a memcg when CONFIG_MEMCG=y
- no longer really tied to memcg conceptually, so simplify build/helpers v3:
- use mod_node_page_state since we will never count cgroup stats
- include Shakeel's patch that removes a WARNING triggered by this series v2:
- switch from filemap_add_folio_nocharge() to AS_UNCHARGED on the address_space.
- fix an interrupt safety bug in the vmstat patch.
- fix some foolish build errors for CONFIG_MEMCG=n
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mm/filemap: add AS_KERNEL_FILEinclude/ mm/ | +8 | 2 replies | |
| 2/3 | mm: add vmstat for kernel_file pagesinclude/ mm/ mm/ | +9 | 0 replies | |
| 3/3 | btrfs: set AS_KERNEL_FILE on the btree_inodefs/ | +1 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | [email protected] | Shakeel Butt | David Sterba |
|---|---|---|---|
| Series | A-b | ||
| 1/3 | T-b | A-b | |
| 2/3 | T-b | A-b | |
| 3/3 | T-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v4 0/3] introduce kernel file mapped folios
I would like to revisit Qu's proposal to not charge btrfs extent_buffer allocations to the user's cgroup.
I believe it is detrimental to account these global pages to the cgroup using them, basically at random. A bit more justification and explanation in the patches themselves.
---
Changelog:
v4:
- change the concept from "uncharged" to "kernel_file"
- no longer violates the invariant that each mapped folio has a memcg when CONFIG_MEMCG=y
- no longer really tied to memcg conceptually, so simplify build/helpers v3:
- use mod_node_page_state since we will never count cgroup stats
- include Shakeel's patch that removes a WARNING triggered by this series v2:
- switch from filemap_add_folio_nocharge() to AS_UNCHARGED on the address_space.
- fix an interrupt safety bug in the vmstat patch.
- fix some foolish build errors for CONFIG_MEMCG=n
Boris Burkov (3):
mm/filemap: add AS_KERNEL_FILE
mm: add vmstat for kernel_file pages
btrfs: set AS_KERNEL_FILE on the btree_inode
fs/btrfs/disk-io.c | 1 + include/linux/mmzone.h | 1 + include/linux/pagemap.h | 2 ++ mm/filemap.c | 13 +++++++++++++ mm/vmstat.c | 1 + 5 files changed, 18 insertions(+)
Signature · 1 line
2.50.1