minor clean-up and optimize highmem related code
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 10 repliesIn review
- v15 patches 12 repliesSuperseded
Changes in v2 from the cover letter
Rebase on v3.7-rc3
[4] Instead of returning index of last flushed entry, return first index. And update last_pkmap_nr to this index to optimize more.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | mm, highmem: use PKMAP_NR() to calculate an index of pkmapmm/ | +1 | 0 replies | |
| 2/5 | mm, highmem: remove useless pool_lockmm/ | +0 | 0 replies | |
| 3/5 | mm, highmem: remove page_address_pool listmm/ | +2 | 0 replies | |
| 4/5 | mm, highmem: makes flush_all_zero_pkmaps() return index of first flushed entryinclude/ mm/ | +47 | 10 replies | |
| 5/5 | mm, highmem: get virtual address of the page using PKMAP_ADDR()mm/ | +1 | 0 replies |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Minchan Kim |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/5] minor clean-up and optimize highmem related code
This patchset clean-up and optimize highmem related code.
Change from v1
Rebase on v3.7-rc3
[4] Instead of returning index of last flushed entry, return first index. And update last_pkmap_nr to this index to optimize more.
Summary for v1
[1] is just clean-up and doesn't introduce any functional change. [2-3] are for clean-up and optimization.
These eliminate an useless lock opearation and list management. [4-5] is for optimization related to flush_all_zero_pkmaps().
Joonsoo Kim (5):
mm, highmem: use PKMAP_NR() to calculate an index of pkmap mm, highmem: remove useless pool_lock
mm, highmem: remove page_address_pool list
mm, highmem: makes flush_all_zero_pkmaps() return index of first
flushed entry
mm, highmem: get virtual address of the page using PKMAP_ADDR()
include/linux/highmem.h | 1 + mm/highmem.c | 108 ++++++++++++++++++++++------------------------- 2 files changed, 51 insertions(+), 58 deletions(-)
Signature · 7 lines
1.7.9.5 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>