Skip to content

minor clean-up and optimize highmem related code

Joonsoo Kim linux-mm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 10 repliesIn review
  2. 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 filesSizeRepliesApplied
1/5mm, highmem: use PKMAP_NR() to calculate an index of pkmapmm/highmem.c+1 -10 replies
2/5mm, highmem: remove useless pool_lockmm/highmem.c+0 -60 replies
3/5mm, highmem: remove page_address_pool listmm/highmem.c+2 -160 replies
4/5mm, highmem: makes flush_all_zero_pkmaps() return index of first flushed entryinclude/linux/highmem.h mm/highmem.c+47 -3310 replies
5/5mm, highmem: get virtual address of the page using PKMAP_ADDR()mm/highmem.c+1 -20 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchMinchan Kim
1/5R-b
2/5R-b
3/5R-b
4/5
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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>