Re: 回复:[PATCH] mm: vmpressure: simplify pressure ratio calculation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michal wrote: 
> Make sure you describe all that in the changelog because your original
> patch description wasn't all that clear about your intention.

The patch's description is updated as following:

The patch does not change the function, the existing percent
calculation using scale should be about rounding to intege, it
seems to be redundant, we can calculate it directly just like
"pressure = not_relaimed * 100 / scanned", no rounding issue. And
it's also better because of saving several arithmetic operations.

Thanks.��.n������g����a����&ޖ)���)��h���&������梷�����Ǟ�m������)������^�����������v���O��zf������




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux