Re: [PATCH 5/8] x86/clear_page: add clear_page_uncached()
From: Borislav Petkov
Date: Thu Oct 15 2020 - 06:35:43 EST
On Wed, Oct 14, 2020 at 08:37:44PM -0700, Ankur Arora wrote:
> I don't disagree but I think the selection of cached/uncached route should
> be made where we have enough context available to be able to choose to do
> this.
>
> This could be for example, done in mm_populate() or gup where if say the
> extent is larger than LLC-size, it takes the uncached path.
Are there examples where we don't know the size?
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette