[LTP] [PATCH 1/2] syscalls/ioctl: ioctl_sg01.c: ioctl_sg01 invoked oom-killer

Li Wang liwang@redhat.com
Wed Jan 27 09:05:34 CET 2021


Li Wang <liwang@redhat.com> wrote:

Hi Xinpeng,
>
> I sent to you the case swapping01 solving this(via FILE_LINES_SCANF)
> already, feel free to take an reference:
>
> https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/mem/swapping/swapping01.c#L85
>

Or, maybe we can extract this process into a function and put it in
tst_memutils.h, to convinently reuse by other testcases too?

void tst_get_MemAvailable(void);

-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20210127/3b37c2f4/attachment.htm>


More information about the ltp mailing list