[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170119221126.GP10177@redhat.com>
Date: Thu, 19 Jan 2017 23:11:26 +0100
From: Andrea Arcangeli <aarcange@...hat.com>
To: Claudio Imbrenda <imbrenda@...ux.vnet.ibm.com>
Cc: linux-mm@...ck.org, borntraeger@...ibm.com, hughd@...gle.com,
chrisw@...s-sol.org, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/1] mm/ksm: improve deduplication of zero pages with
colouring
Hello,
On Thu, Jan 19, 2017 at 07:35:53PM +0100, Claudio Imbrenda wrote:
> +/* Checksum of an empty (zeroed) page */
> +static unsigned int zero_checksum;
> +
> +/* Whether to merge empty (zeroed) pages with actual zero pages */
> +static bool ksm_use_zero_pages;
Both could be defined as __read_mostly.
Powered by blists - more mailing lists