Re: [PATCH v9 10/44] kasan: define KASAN_GRANULE_PAGE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 11, 2020 at 3:13 PM Alexander Potapenko <glider@xxxxxxxxxx> wrote:
>
> On Tue, Nov 10, 2020 at 11:11 PM Andrey Konovalov <andreyknvl@xxxxxxxxxx> wrote:
> >
> > Define KASAN_GRANULE_PAGE as (KASAN_GRANULE_SIZE << PAGE_SHIFT), which is
> > the same as (KASAN_GRANULE_SIZE * PAGE_SIZE), and use it across KASAN code
> > to simplify it.
>
> What's the physical sense behind KASAN_GRANULE_PAGE? Is it something
> more than just a product of two constants?

No, just a product.

> The name suggests it might be something page-sized, but in reality it is not.

What name would you prefer?




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux