Re: [PATCH v2 1/1] mm/ksm: improve deduplication of zero pages with colouring
From: Andrea Arcangeli
Date: Thu Jan 19 2017 - 17:18:06 EST
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.