Re: [PATCH v1] mm: Add configuration to control whether vmpressure notifier is enabled

From: yong w
Date: Sat Aug 14 2021 - 04:01:19 EST


Chris Down <chris@xxxxxxxxxxxxxx> 于2021年8月13日周五 下午8:36写道:
>
> yongw.pur@xxxxxxxxx writes:
> >From: wangyong <wang.yong12@xxxxxxxxxx>
> >Inspired by PSI features, vmpressure inotifier function should also be
> >configured to decide whether it is used, because it is an independent
> >feature which notifies the user of memory pressure.
> >
> >Since the vmpressure interface is used in kernel common code, for
> >users who do not use the vmpressure function, there will be
> >additional overhead.
>
> Could you please demonstrate this additional overhead with profiles or
> demonstrations of other real world effects? Thanks.

Thanks for your reply. In terms of code, it will reduce the operation
of some code.

To demonstrate this additional overhead, It is planned to use lmbench and
Christoph Lamenter’s pagefault tool (https://lkml.org/lkml/2006/8/29/294)
for comparative testing.

Thanks.