ksm resend
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 31 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | ksm: add mmu_notifier set_pte_at_notify()include/ mm/ mm/ | +61 | 1 reply | |
| 2/10 | ksm: first tidy up madvise_vma()mm/ | +13 | 1 reply | |
| 3/10 | ksm: define MADV_MERGEABLE and MADV_UNMERGEABLEarch/ arch/ arch/ +2 more | +15 | 2 replies | |
| 4/10 | ksm: the mm interface to ksminclude/ include/ include/ +5 more | +147 | 1 reply | |
| 5/10 | ksm: no debug in page_dup_rmap()include/ mm/ mm/ | +2 | 2 replies | |
| 6/10 | ksm: identify PageKsm pagesfs/ include/ mm/ | +36 | 13 replies | |
| 7/10 | ksm: Kernel SamePage Mergingmm/ | +1491 | 1 reply | |
| 8/10 | ksm: prevent mremap move poisoningmm/ | +12 | 1 reply | |
| 9/10 | ksm: change copyright messagemm/ | +2 | 2 replies | |
| 10/10 | ksm: change ksm nice level to be 5mm/ | +1 | 5 replies |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Hugh Dickins | Rik van Riel | Ralf Baechle |
|---|---|---|---|
| 1/10 | A-b | ||
| 2/10 | A-b | ||
| 3/10 | A-b | A-b | |
| 4/10 | A-b | ||
| 5/10 | A-b | ||
| 6/10 | A-b | ||
| 7/10 | A-b | ||
| 8/10 | A-b | ||
| 9/10 | A-b | A-b | |
| 10/10 | A-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 00/10] ksm resend
Hey,
First for who that is not familier with what is ksm please take a look at:
http://lkml.org/lkml/2009/4/19/210
About this send:
After modifications by Hugh Dickins to make the ksm code fit more to the internal strctures / interfaces of the kernel, I am resending the whole seires again.
The biggest change from previous version that was sent is: the moving into madvise interface for registering the application memory to be scan. Now when application want its memory to be merged with another applications what it do is to call to madvise() with the MADV_MERGEABLE flag set.
In addition to changes to the interfaces of ksm,. there was a major code clean / optimizations made by Hugh.
There is more work to be taken in the area of documentions, as well as some questions regerding to how ksm should handle the way it break the SharedPages when it need to do so, but the code seems to be ready to be in the MM tree right now to get more testing and reviews from other developers.
The code still need to get Andrea Arcangeli acks.
(he was busy and will ack it later).
Thanks.
Izik Eidus (10):
ksm: add mmu_notifier set_pte_at_notify()
ksm: first tidy up madvise_vma()
ksm: define MADV_MERGEABLE and MADV_UNMERGEABLE
ksm: the mm interface to ksm
ksm: no debug in page_dup_rmap()
ksm: identify PageKsm pages
ksm: Kernel SamePage Merging
ksm: prevent mremap move poisoning
ksm: change copyright message
ksm: change ksm nice level to be 5
arch/alpha/include/asm/mman.h | 3 + arch/mips/include/asm/mman.h | 3 + arch/parisc/include/asm/mman.h | 3 + arch/xtensa/include/asm/mman.h | 3 + fs/proc/page.c | 5 + include/asm-generic/mman-common.h | 3 + include/linux/ksm.h | 79 ++ include/linux/mm.h | 1 + include/linux/mmu_notifier.h | 34 + include/linux/rmap.h | 6 +- include/linux/sched.h | 7 + kernel/fork.c | 8 +- mm/Kconfig | 11 + mm/Makefile | 1 + mm/ksm.c | 1543 +++++++++++++++++++++++++++++++++++++ mm/madvise.c | 53 +- mm/memory.c | 14 +- mm/mmu_notifier.c | 20 + mm/mremap.c | 12 + mm/rmap.c | 21 - 20 files changed, 1773 insertions(+), 57 deletions(-) create mode 100644 include/linux/ksm.h create mode 100644 mm/ksm.c
--
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>