# Re: \[PATCH 2/2\] mm/page\_ref: add tracepoint to track down page reference manipulation

- From: Joonsoo Kim \<hidden\>
- Date: 2016-02-18 07:46:12 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2016/02/4688268
- Thread: https://ratatoskr.run/linux-mm/2016/02/4685299/t.md

```text
2016-02-16 10:16 GMT+09:00 Steven Rostedt [ref]:
> On Tue, 16 Feb 2016 09:47:20 +0900
> Joonsoo Kim [ref] wrote:
>
>> > They return true when CONFIG_TRACEPOINTS is configured in and the
>> > tracepoint is enabled, and false otherwise.
>>
>> This implementation is what you proposed before. Please refer below
>> link and source.
>>
>> https://lkml.org/lkml/2015/12/9/699
>> arch/x86/include/asm/msr.h
>
> That was a year ago, how am I suppose to remember ;-)

I think you are smart enough to remember. :)
I will add it on commit description on next spin.

>>
>> There is header file dependency problem between mm.h and tracepoint.h.
>> page_ref.h should be included in mm.h and tracepoint.h cannot
>> be included in this case.
>
> Ah, OK, I forgot about that. I'll take another look at it again.
>
> A lot happened since then, that's all a fog to me.

Okay. Please let me know result of another look.

Thanks.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
```
