[LTP] [PATCH v3 1/2] libswap: Add {SAFE_, }MAKE_SMALL_SWAPFILE() macros
Petr Vorel
pvorel@suse.cz
Fri Apr 26 06:23:57 CEST 2024
Hi Li, all,
...
> Reviewed-by: Li Wang <liwang@redhat.com>
Merged, thank you for your review!
> ---
> > include/libswap.h | 18 ++++++++++++++++++
...
> > +/** 65536 bytes is minimum for 64kb page size, let's use 1 MB */
> > +#define MINIMAL_SWAP_SIZE_MB 1
> > +
> > +/**
> > + * Macro to create minimal swapfile.
This could have been done better, e.g.:
@swapfile: swap file name.
But I kept it the same, just to fix broken test. Ands I'm going to send patch
implement it.
Kind regards,
Petr
More information about the ltp
mailing list