[LTP] [PATCH v2] madvise06: Allow for kmem and memsw counters being disabled
Li Wang
liwang@redhat.com
Wed Nov 18 02:51:01 CET 2020
On Tue, Nov 17, 2020 at 6:17 PM Richard Palethorpe <rpalethorpe@suse.com>
wrote:
> These may be missing in which case we can not read them for diagnostic
> info or set the swap limit to a value which is known to be large
> enough. However if there is no swap counter then there is no swap
> limit, so we just try to set the limit if the counter exists.
>
> Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com>
> Reviewed-by: Li Wang <liwang@redhat.com>
> ---
>
> V2: Check if the memsw limit exists before writing to it. This
> replaces another patch which removed it altogether.
>
Merged, thanks.
--
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20201118/786c43a7/attachment-0001.htm>
More information about the ltp
mailing list