mbox series

[V2,0/4] mm/damon: Do some small changes

Message ID cover.1636610337.git.xhao@linux.alibaba.com (mailing list archive)
Headers show
Series mm/damon: Do some small changes | expand

Message

haoxin Nov. 11, 2021, 6:07 a.m. UTC
These four patches are mainly to do some small changes.

V1 -> V2
	Add reviewed by SeongJae Park
	Add two new patches
V1:
https://lore.kernel.org/linux-mm/cover.1636546262.git.xhao@linux.alibaba.com/


Xin Hao (4):
  mm/damon: Unified access_check function naming rules
  mm/damon: Add 'age' of region tracepoint support
  mm/damon/core: Using function abs() instead of diff_of()
  mm/damon: Remove some no need func definitions in damon.h file

 include/linux/damon.h        | 25 ++-----------------------
 include/trace/events/damon.h |  7 +++++--
 mm/damon/core.c              |  6 ++----
 mm/damon/vaddr.c             |  8 ++++----
 4 files changed, 13 insertions(+), 33 deletions(-)

--
2.31.0

Comments

SeongJae Park Nov. 11, 2021, 9:24 a.m. UTC | #1
Hello Xin,

On Thu, 11 Nov 2021 14:07:00 +0800 Xin Hao <xhao@linux.alibaba.com> wrote:

> These four patches are mainly to do some small changes.
> 
> V1 -> V2
> 	Add reviewed by SeongJae Park
> 	Add two new patches
> V1:
> https://lore.kernel.org/linux-mm/cover.1636546262.git.xhao@linux.alibaba.com/
> 
> 
> Xin Hao (4):
>   mm/damon: Unified access_check function naming rules
>   mm/damon: Add 'age' of region tracepoint support
>   mm/damon/core: Using function abs() instead of diff_of()
>   mm/damon: Remove some no need func definitions in damon.h file

Overall, all patches looks good to me, though I asked[1] a trivial change in
the commit message of the second patch.

Also, I found one interesting thing.  It seems you are wrapping body of the
commit messages at <75 columns[2]?  That's obviously neither a problem, nor
even trivial nit.  But... I'd prefer the messages look more consistent with
others.

[1] https://lore.kernel.org/linux-mm/20211111082034.13323-1-sj@kernel.org/
[2] https://docs.kernel.org/process/submitting-patches.html?highlight=75#the-canonical-patch-format


Thanks,
SJ

> 
>  include/linux/damon.h        | 25 ++-----------------------
>  include/trace/events/damon.h |  7 +++++--
>  mm/damon/core.c              |  6 ++----
>  mm/damon/vaddr.c             |  8 ++++----
>  4 files changed, 13 insertions(+), 33 deletions(-)
> 
> --
> 2.31.0
haoxin Nov. 11, 2021, 3:44 p.m. UTC | #2
Hi, Park:

On 2021/11/11 下午5:24, SeongJae Park wrote:
> Hello Xin,
>
> On Thu, 11 Nov 2021 14:07:00 +0800 Xin Hao <xhao@linux.alibaba.com> wrote:
>
>> These four patches are mainly to do some small changes.
>>
>> V1 -> V2
>> 	Add reviewed by SeongJae Park
>> 	Add two new patches
>> V1:
>> https://lore.kernel.org/linux-mm/cover.1636546262.git.xhao@linux.alibaba.com/
>>
>>
>> Xin Hao (4):
>>    mm/damon: Unified access_check function naming rules
>>    mm/damon: Add 'age' of region tracepoint support
>>    mm/damon/core: Using function abs() instead of diff_of()
>>    mm/damon: Remove some no need func definitions in damon.h file
> Overall, all patches looks good to me, though I asked[1] a trivial change in
> the commit message of the second patch.
Ok,  I will add a detail message to explain it in commit in my next 
patch, thanks.
>
> Also, I found one interesting thing.  It seems you are wrapping body of the
> commit messages at <75 columns[2]?  That's obviously neither a problem, nor
> even trivial nit.  But... I'd prefer the messages look more consistent with
> others.
Thank you very much for your careful correction,  I will fix it in my 
next patch too.
>
> [1] https://lore.kernel.org/linux-mm/20211111082034.13323-1-sj@kernel.org/
> [2] https://docs.kernel.org/process/submitting-patches.html?highlight=75#the-canonical-patch-format
>
>
> Thanks,
> SJ
>
>>   include/linux/damon.h        | 25 ++-----------------------
>>   include/trace/events/damon.h |  7 +++++--
>>   mm/damon/core.c              |  6 ++----
>>   mm/damon/vaddr.c             |  8 ++++----
>>   4 files changed, 13 insertions(+), 33 deletions(-)
>>
>> --
>> 2.31.0