On 2023/6/29 23:17, Matthew Wilcox wrote:
On Thu, Jun 29, 2023 at 06:43:56PM +0800, Kefeng Wang wrote:Directly call __show_mem(0, NULL, MAX_NR_ZONES - 1) in show_mem() to remove the arguments of show_mem().Do you mean, "All callers of show_mem() pass 0 and NULL, so we can remove the two arguments"?
Yes, will update with above to make it clear, thanks Matthew.