lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1247851850-4298-1-git-send-email-ieidus@redhat.com>
Date:	Fri, 17 Jul 2009 20:30:40 +0300
From:	Izik Eidus <ieidus@...hat.com>
To:	akpm@...ux-foundation.org
Cc:	hugh.dickins@...cali.co.uk, aarcange@...hat.com, chrisw@...hat.com,
	avi@...hat.com, riel@...hat.com, linux-kernel@...r.kernel.org,
	linux-mm@...ck.org, nickpiggin@...oo.com.au, ieidus@...hat.com
Subject: [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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ