On Sun, Sep 19, 2021 at 03:12:46PM +0200, Oleksandr Natalenko wrote: > +#define PG2KB(x) ((x) << (PAGE_SHIFT - 10)) > +#define KB2PG(x) ((x) >> (PAGE_SHIFT - 10)) This is not an improvement.
On Sun, Sep 19, 2021 at 03:12:46PM +0200, Oleksandr Natalenko wrote: > +#define PG2KB(x) ((x) << (PAGE_SHIFT - 10)) > +#define KB2PG(x) ((x) >> (PAGE_SHIFT - 10)) This is not an improvement.