Re: [PATCH v2 3/4] powerpc/mm: fix a warning when a cache is common to PGD and hugepages

From: Christophe LEROY
Date: Thu Aug 23 2018 - 06:39:06 EST




Le 23/08/2018 Ã 12:36, Segher Boessenkool a ÃcritÂ:
On Thu, Aug 23, 2018 at 11:40:22AM +0200, Christophe LEROY wrote:
The only small problÃme I have is that some version of GCC seems to
complain about big memset() (132k and 256k ones). Is there a way to tell
GCC we really want to do it ?

I'm not sure what you mean. Complain, is that a warning, is that an error?
What does it say? Do you have some example code to reproduce it? Etc.

I saw the warnings in the checks at https://patchwork.ozlabs.org/patch/957566/
Unfortunatly the link is now broken.

Christophe


Very many things use tiny memsets like that, so you must mean something
more specialised.


Segher