mm/rmap: small cleanup for __folio_remove_rmap()
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 0 repliesNew
- v13 patches 14 repliesSuperseded
Changes in v2 from the cover letter
* remove patch 2
* adjust patch 1 changelog
* adjust cover letter description
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mm/rmap: not necessary to mask off FOLIO_PAGES_MAPPEDmm/ | +1 | 0 replies | |
| 2/2 | mm/rmap: use folio_large_nr_pages() when we are sure it is a large foliomm/ | +1 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Lorenzo Stoakes | David Hildenbrand |
|---|---|---|
| 1/2 | R-b | A-b |
| 2/2 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Patch v2 0/2] mm/rmap: small cleanup for __folio_remove_rmap()
During code reading, I found some small places where we can improve based on the knowledge we already have.
Patch 1 remove a mask of on nr, since we are in an if branch conditional which implies the upper bits are already clear.
Patch 2 use folio_large_nr_pages() to get the nr since we know this is a large folio.
v2:
* remove patch 2
* adjust patch 1 changelog
* adjust cover letter description
Wei Yang (2):
mm/rmap: not necessary to mask off FOLIO_PAGES_MAPPED mm/rmap: use folio_large_nr_pages() when we are sure it is a large
folio
mm/rmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.34.1