ring-buffer: remove obsolete comment for free_buffer_page()
authorVlastimil Babka <vbabka@suse.cz>
Wed, 15 Mar 2023 14:24:46 +0000 (15:24 +0100)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Sun, 19 Mar 2023 17:23:22 +0000 (13:23 -0400)
commita98151ad53b53f010ee364ec2fd06445b328578b
tree1c7c8458e6954dabfc13e4cef21cb0bb33468a29
parente400be674a1a40e9dcb2e95f84d6c1fd2d88f31d
ring-buffer: remove obsolete comment for free_buffer_page()

The comment refers to mm/slob.c which is being removed. It comes from
commit ed56829cb319 ("ring_buffer: reset buffer page when freeing") and
according to Steven the borrowed code was a page mapcount and mapping
reset, which was later removed by commit e4c2ce82ca27 ("ring_buffer:
allocate buffer page pointer"). Thus the comment is not accurate anyway,
remove it.

Link: https://lore.kernel.org/linux-trace-kernel/20230315142446.27040-1-vbabka@suse.cz
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>
Reported-by: Mike Rapoport <mike.rapoport@gmail.com>
Suggested-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Fixes: e4c2ce82ca27 ("ring_buffer: allocate buffer page pointer")
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/ring_buffer.c