From: "Chen, Yu C" <yu.c.chen@intel.com>
To: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
Cc: <mkoutny@suse.com>, Ingo Molnar <mingo@redhat.com>,
Tejun Heo <tj@kernel.org>, Johannes Weiner <hannes@cmpxchg.org>,
Jonathan Corbet <corbet@lwn.net>, Mel Gorman <mgorman@suse.de>,
Michal Hocko <mhocko@kernel.org>,
Muchun Song <muchun.song@linux.dev>,
Roman Gushchin <roman.gushchin@linux.dev>,
Shakeel Butt <shakeel.butt@linux.dev>,
"Chen, Tim C" <tim.c.chen@intel.com>,
Aubrey Li <aubrey.li@intel.com>, Libo Chen <libo.chen@oracle.com>,
K Prateek Nayak <kprateek.nayak@amd.com>,
"Madadi Vineeth Reddy" <vineethr@linux.ibm.com>,
"Jain, Ayush" <ayushjai@amd.com>, <cgroups@vger.kernel.org>,
<linux-doc@vger.kernel.org>, <linux-mm@kvack.org>,
<linux-kernel@vger.kernel.org>,
Chen Yu <yu.chen.surf@foxmail.com>,
"Peter Zijlstra" <peterz@infradead.org>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH v4 0/2] sched/numa: add statistics of numa balance task migration
Date: Wed, 7 May 2025 22:52:18 +0800 [thread overview]
Message-ID: <c4757667-6d6a-4010-80c5-f5203630557a@intel.com> (raw)
In-Reply-To: <363632bc-ce31-4a6d-8271-ecae6f6c2d0a@linux.ibm.com>
Hi Venkat,
On 5/7/2025 10:32 PM, Venkat Rao Bagalkote wrote:
> Hello Chenyu,
>
>
> On 07/05/25 4:44 pm, Chen Yu wrote:
>> Introducing the task migration and swap statistics in the following
>> places:
>> /sys/fs/cgroup/{GROUP}/memory.stat
>> /proc/{PID}/sched
>> /proc/vmstat
>>
>> These statistics facilitate a rapid evaluation of the performance and
>> resource
>> utilization of the target workload.
>>
>> Patch 1 is a fix from Libo to avoid task swapping for kernel threads,
>> because Numa balance only cares about the user pages via VMA.
>>
>> Patch 2 is the major change to expose the statistics of task migration
>> and
>> swapping in corresponding files.
>>
>> The reason to fold patch 1 and patch 2 into 1 patch set is that patch
>> 1 is
>> necessary for patch 2 to avoid accessing a NULL mm_struct from a kernel
>> thread, which causes NULL pointer exception.
>>
>> The Tested-by and Acked-by tags are preserved, because these tags are
>> provided
>> in version 1 which has the p->mm check.
>
> I see below tags from version 1 are missing. I think, its contridicting
> to the above line. Please correct me, If I am wrong.
>
>
> Tested-by: Madadi Vineeth Reddy <vineethr@linux.ibm.com>
> Tested-by: K Prateek Nayak <kprateek.nayak@amd.com>
>
These tags are in the patch 2/2, because Madadi and Prateek mainly
tested patch 2/2.
>
> For some reason, I am not able to apply this patch on top of
> next-20250506. I see patch002 fails to apply. Please find the errors below.
>
next-20250507 should be OK(I just checked on top of commit 08710e696081).
next-20250506 might still have the old patch 2/2, and next-20250507 has
reverted it.
thanks,
Chenyu
next prev parent reply other threads:[~2025-05-07 14:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-07 11:14 Chen Yu
2025-05-07 11:17 ` [PATCH v4 1/2] sched/numa: fix task swap by skipping kernel threads Chen Yu
2025-05-07 11:17 ` [PATCH v4 2/2] sched/numa: add statistics of numa balance task migration Chen Yu
2025-05-07 14:32 ` [PATCH v4 0/2] " Venkat Rao Bagalkote
2025-05-07 14:52 ` Chen, Yu C [this message]
2025-05-07 15:28 ` Venkat Rao Bagalkote
2025-05-08 10:23 ` Venkat Rao Bagalkote
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c4757667-6d6a-4010-80c5-f5203630557a@intel.com \
--to=yu.c.chen@intel.com \
--cc=akpm@linux-foundation.org \
--cc=aubrey.li@intel.com \
--cc=ayushjai@amd.com \
--cc=cgroups@vger.kernel.org \
--cc=corbet@lwn.net \
--cc=hannes@cmpxchg.org \
--cc=kprateek.nayak@amd.com \
--cc=libo.chen@oracle.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mgorman@suse.de \
--cc=mhocko@kernel.org \
--cc=mingo@redhat.com \
--cc=mkoutny@suse.com \
--cc=muchun.song@linux.dev \
--cc=peterz@infradead.org \
--cc=roman.gushchin@linux.dev \
--cc=shakeel.butt@linux.dev \
--cc=tim.c.chen@intel.com \
--cc=tj@kernel.org \
--cc=venkat88@linux.ibm.com \
--cc=vineethr@linux.ibm.com \
--cc=yu.chen.surf@foxmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox