[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1393901289-5508-1-git-send-email-pradeep.sawlani@gmail.com>
Date: Mon, 3 Mar 2014 18:48:08 -0800
From: Pradeep Sawlani <pradeep.sawlani@...il.com>
To: Hugh Dickins <hughd@...gle.com>,
Izik Eidus <izik.eidus@...ellosystems.com>,
Andrea Arcangeli <aarcange@...hat.com>,
Chris Wright <chrisw@...s-sol.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
MEMORY MANAGEMENT <linux-mm@...ck.org>,
Dave Hansen <dave@...1.net>,
Arjan van de Ven <arjan@...ux.intel.com>,
Maddhula Suri <surim@...zon.com>, Matt Wilson <msw@...zon.com>,
Anthony Liguori <aliguori@...zon.com>,
Pradeep Sawlani <sawlani@...zon.com>
Subject: [PATCH RFC 0/1] ksm: check and skip page, if it is already scanned
From: Pradeep Sawlani <sawlani@...zon.com>
Patch uses two bits to detect if page is scanned, one bit for odd cycle
and other for even cycle. This adds one more bit in page flags and
overloads existing bit (PG_owner_priv_1).
Changes are based of 3.4.79 kernel, since I have used that for verification.
Detail discussion can be found at https://lkml.org/lkml/2014/2/13/624
Suggestion(s) are welcome for alternative solution in order to avoid one more
bit in page flags.
Pradeep Sawlani (1):
ksm: check and skip page, if it is already scanned
include/linux/page-flags.h | 11 +++++++++++
mm/Kconfig | 10 ++++++++++
mm/ksm.c | 33 +++++++++++++++++++++++++++++++--
3 files changed, 52 insertions(+), 2 deletions(-)
--
1.7.9.5
--
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