[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZPsdmYIIqxqpowv+@casper.infradead.org>
Date: Fri, 8 Sep 2023 14:11:53 +0100
From: Matthew Wilcox <willy@...radead.org>
To: Ankur Arora <ankur.a.arora@...cle.com>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org, x86@...nel.org,
akpm@...ux-foundation.org, luto@...nel.org, bp@...en8.de,
dave.hansen@...ux.intel.com, hpa@...or.com, mingo@...hat.com,
juri.lelli@...hat.com, vincent.guittot@...aro.org, mgorman@...e.de,
peterz@...radead.org, rostedt@...dmis.org, tglx@...utronix.de,
jon.grimm@....com, bharata@....com, raghavendra.kt@....com,
boris.ostrovsky@...cle.com, konrad.wilk@...cle.com
Subject: Re: [PATCH v2 4/9] x86/clear_page: extend clear_page*() for
multi-page clearing
On Wed, Aug 30, 2023 at 11:49:53AM -0700, Ankur Arora wrote:
> -void clear_page_orig(void *page);
> -void clear_page_rep(void *page);
> -void clear_page_erms(void *page);
> +void clear_pages_orig(void *page, unsigned int length);
> +void clear_pages_rep(void *page, unsigned int length);
> +void clear_pages_erms(void *page, unsigned int length);
Maybe make this size_t so we know it's a byte count rather than being
some other unit of length?
Powered by blists - more mailing lists