linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] mm/vmstat: Defer the refresh_zone_stat_thresholds after all CPUs bringup
@ 2024-08-12  6:13 Saurabh Sengar
  2024-08-23  9:30 ` Saurabh Singh Sengar
  2024-09-20  6:58 ` Anshuman Khandual
  0 siblings, 2 replies; 12+ messages in thread
From: Saurabh Sengar @ 2024-08-12  6:13 UTC (permalink / raw)
  To: akpm, linux-mm, linux-kernel; +Cc: ssengar, wei.liu, srivatsa

refresh_zone_stat_thresholds function has two loops which is expensive for
higher number of CPUs and NUMA nodes.

Below is the rough estimation of total iterations done by these loops
based on number of NUMA and CPUs.

Total number of iterations: nCPU * 2 * Numa * mCPU
Where:
 nCPU = total number of CPUs
 Numa = total number of NUMA nodes
 mCPU = mean value of total CPUs (e.g., 512 for 1024 total CPUs)

For the system under test with 16 NUMA nodes and 1024 CPUs, this
results in a substantial increase in the number of loop iterations
during boot-up when NUMA is enabled:

No NUMA = 1024*2*1*512  =   1,048,576 : Here refresh_zone_stat_thresholds
takes around 224 ms total for all the CPUs in the system under test.
16 NUMA = 1024*2*16*512 =  16,777,216 : Here refresh_zone_stat_thresholds
takes around 4.5 seconds total for all the CPUs in the system under test.

Calling this for each CPU is expensive when there are large number
of CPUs along with multiple NUMAs. Fix this by deferring
refresh_zone_stat_thresholds to be called later at once when all the
secondary CPUs are up. Also, register the DYN hooks to keep the
existing hotplug functionality intact.

Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com>
---
[V2]
	- Move vmstat_late_init_done under CONFIG_SMP to fix
          variable 'defined but not used' warning.

 mm/vmstat.c | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/mm/vmstat.c b/mm/vmstat.c
index 4e2dc067a654..fa235c65c756 100644
--- a/mm/vmstat.c
+++ b/mm/vmstat.c
@@ -1908,6 +1908,7 @@ static const struct seq_operations vmstat_op = {
 #ifdef CONFIG_SMP
 static DEFINE_PER_CPU(struct delayed_work, vmstat_work);
 int sysctl_stat_interval __read_mostly = HZ;
+static int vmstat_late_init_done;
 
 #ifdef CONFIG_PROC_FS
 static void refresh_vm_stats(struct work_struct *work)
@@ -2110,7 +2111,8 @@ static void __init init_cpu_node_state(void)
 
 static int vmstat_cpu_online(unsigned int cpu)
 {
-	refresh_zone_stat_thresholds();
+	if (vmstat_late_init_done)
+		refresh_zone_stat_thresholds();
 
 	if (!node_state(cpu_to_node(cpu), N_CPU)) {
 		node_set_state(cpu_to_node(cpu), N_CPU);
@@ -2142,6 +2144,14 @@ static int vmstat_cpu_dead(unsigned int cpu)
 	return 0;
 }
 
+static int __init vmstat_late_init(void)
+{
+	refresh_zone_stat_thresholds();
+	vmstat_late_init_done = 1;
+
+	return 0;
+}
+late_initcall(vmstat_late_init);
 #endif
 
 struct workqueue_struct *mm_percpu_wq;
-- 
2.43.0



^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: [PATCH v2] mm/vmstat: Defer the refresh_zone_stat_thresholds after all CPUs bringup
  2024-08-12  6:13 [PATCH v2] mm/vmstat: Defer the refresh_zone_stat_thresholds after all CPUs bringup Saurabh Sengar
@ 2024-08-23  9:30 ` Saurabh Singh Sengar
  2024-08-23  9:32   ` Saurabh Singh Sengar
  2024-09-20  6:58 ` Anshuman Khandual
  1 sibling, 1 reply; 12+ messages in thread
From: Saurabh Singh Sengar @ 2024-08-23  9:30 UTC (permalink / raw)
  To: Saurabh Sengar, akpm, linux-mm, linux-kernel
  Cc: wei.liu, srivatsa, clameter, mgorman



> -----Original Message-----
> From: Saurabh Sengar <ssengar@linux.microsoft.com>
> Sent: 12 August 2024 11:44
> To: akpm@linux-foundation.org; linux-mm@kvack.org; linux-
> kernel@vger.kernel.org
> Cc: Saurabh Singh Sengar <ssengar@microsoft.com>; wei.liu@kernel.org;
> srivatsa@csail.mit.edu
> Subject: [PATCH v2] mm/vmstat: Defer the refresh_zone_stat_thresholds after
> all CPUs bringup
> 
> refresh_zone_stat_thresholds function has two loops which is expensive for
> higher number of CPUs and NUMA nodes.
> 
> Below is the rough estimation of total iterations done by these loops based on
> number of NUMA and CPUs.
> 
> Total number of iterations: nCPU * 2 * Numa * mCPU
> Where:
>  nCPU = total number of CPUs
>  Numa = total number of NUMA nodes
>  mCPU = mean value of total CPUs (e.g., 512 for 1024 total CPUs)
> 
> For the system under test with 16 NUMA nodes and 1024 CPUs, this results in
> a substantial increase in the number of loop iterations during boot-up when
> NUMA is enabled:
> 
> No NUMA = 1024*2*1*512  =   1,048,576 : Here refresh_zone_stat_thresholds
> takes around 224 ms total for all the CPUs in the system under test.
> 16 NUMA = 1024*2*16*512 =  16,777,216 : Here
> refresh_zone_stat_thresholds takes around 4.5 seconds total for all the CPUs
> in the system under test.
> 
> Calling this for each CPU is expensive when there are large number of CPUs
> along with multiple NUMAs. Fix this by deferring
> refresh_zone_stat_thresholds to be called later at once when all the
> secondary CPUs are up. Also, register the DYN hooks to keep the existing
> hotplug functionality intact.
> 
> Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com>

CC: Mel Gorman and Christoph Lameter


^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: [PATCH v2] mm/vmstat: Defer the refresh_zone_stat_thresholds after all CPUs bringup
  2024-08-23  9:30 ` Saurabh Singh Sengar
@ 2024-08-23  9:32   ` Saurabh Singh Sengar
  2024-09-19 19:52     ` Saurabh Singh Sengar
  0 siblings, 1 reply; 12+ messages in thread
From: Saurabh Singh Sengar @ 2024-08-23  9:32 UTC (permalink / raw)
  To: Saurabh Singh Sengar, Saurabh Sengar, akpm, linux-mm, linux-kernel
  Cc: wei.liu, srivatsa, mgorman, cl



> -----Original Message-----
> From: Saurabh Singh Sengar <ssengar@microsoft.com>
> Sent: 23 August 2024 15:00
> To: Saurabh Sengar <ssengar@linux.microsoft.com>; akpm@linux-
> foundation.org; linux-mm@kvack.org; linux-kernel@vger.kernel.org
> Cc: wei.liu@kernel.org; srivatsa@csail.mit.edu; clameter@sgi.com;
> mgorman@techsingularity.net
> Subject: [EXTERNAL] RE: [PATCH v2] mm/vmstat: Defer the
> refresh_zone_stat_thresholds after all CPUs bringup
> 
> 
> 
> > -----Original Message-----
> > From: Saurabh Sengar <ssengar@linux.microsoft.com>
> > Sent: 12 August 2024 11:44
> > To: akpm@linux-foundation.org; linux-mm@kvack.org; linux-
> > kernel@vger.kernel.org
> > Cc: Saurabh Singh Sengar <ssengar@microsoft.com>; wei.liu@kernel.org;
> > srivatsa@csail.mit.edu
> > Subject: [PATCH v2] mm/vmstat: Defer the refresh_zone_stat_thresholds
> > after all CPUs bringup
> >
> > refresh_zone_stat_thresholds function has two loops which is expensive
> > for higher number of CPUs and NUMA nodes.
> >
> > Below is the rough estimation of total iterations done by these loops
> > based on number of NUMA and CPUs.
> >
> > Total number of iterations: nCPU * 2 * Numa * mCPU
> > Where:
> >  nCPU = total number of CPUs
> >  Numa = total number of NUMA nodes
> >  mCPU = mean value of total CPUs (e.g., 512 for 1024 total CPUs)
> >
> > For the system under test with 16 NUMA nodes and 1024 CPUs, this
> > results in a substantial increase in the number of loop iterations
> > during boot-up when NUMA is enabled:
> >
> > No NUMA = 1024*2*1*512  =   1,048,576 : Here
> refresh_zone_stat_thresholds
> > takes around 224 ms total for all the CPUs in the system under test.
> > 16 NUMA = 1024*2*16*512 =  16,777,216 : Here
> > refresh_zone_stat_thresholds takes around 4.5 seconds total for all
> > the CPUs in the system under test.
> >
> > Calling this for each CPU is expensive when there are large number of
> > CPUs along with multiple NUMAs. Fix this by deferring
> > refresh_zone_stat_thresholds to be called later at once when all the
> > secondary CPUs are up. Also, register the DYN hooks to keep the
> > existing hotplug functionality intact.
> >
> > Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com>
> 
> CC: Mel Gorman and Christoph Lameter


Adding cl@linux.com instead of clameter@sgi.com for Christoph Lameter

- Saurabh


^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: [PATCH v2] mm/vmstat: Defer the refresh_zone_stat_thresholds after all CPUs bringup
  2024-08-23  9:32   ` Saurabh Singh Sengar
@ 2024-09-19 19:52     ` Saurabh Singh Sengar
  2024-09-20  8:16       ` Andrew Morton
  0 siblings, 1 reply; 12+ messages in thread
From: Saurabh Singh Sengar @ 2024-09-19 19:52 UTC (permalink / raw)
  To: Saurabh Sengar, akpm, linux-mm, linux-kernel
  Cc: wei.liu, srivatsa, mgorman, cl

> > >
> > > refresh_zone_stat_thresholds function has two loops which is
> > > expensive for higher number of CPUs and NUMA nodes.
> > >
> > > Below is the rough estimation of total iterations done by these
> > > loops based on number of NUMA and CPUs.
> > >
> > > Total number of iterations: nCPU * 2 * Numa * mCPU
> > > Where:
> > >  nCPU = total number of CPUs
> > >  Numa = total number of NUMA nodes
> > >  mCPU = mean value of total CPUs (e.g., 512 for 1024 total CPUs)
> > >
> > > For the system under test with 16 NUMA nodes and 1024 CPUs, this
> > > results in a substantial increase in the number of loop iterations
> > > during boot-up when NUMA is enabled:
> > >
> > > No NUMA = 1024*2*1*512  =   1,048,576 : Here
> > refresh_zone_stat_thresholds
> > > takes around 224 ms total for all the CPUs in the system under test.
> > > 16 NUMA = 1024*2*16*512 =  16,777,216 : Here
> > > refresh_zone_stat_thresholds takes around 4.5 seconds total for all
> > > the CPUs in the system under test.
> > >
> > > Calling this for each CPU is expensive when there are large number
> > > of CPUs along with multiple NUMAs. Fix this by deferring
> > > refresh_zone_stat_thresholds to be called later at once when all the
> > > secondary CPUs are up. Also, register the DYN hooks to keep the
> > > existing hotplug functionality intact.
> > >
> > > Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com>
> >
> > CC: Mel Gorman and Christoph Lameter
> 
> 
> Adding cl@linux.com instead of clameter@sgi.com for Christoph Lameter
> 
> - Saurabh

Hi Andrew,

Can we get this merge in for next kernel release.
Please let me know if there is any concern with this patch.

Regards,
Saurabh


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v2] mm/vmstat: Defer the refresh_zone_stat_thresholds after all CPUs bringup
  2024-08-12  6:13 [PATCH v2] mm/vmstat: Defer the refresh_zone_stat_thresholds after all CPUs bringup Saurabh Sengar
  2024-08-23  9:30 ` Saurabh Singh Sengar
@ 2024-09-20  6:58 ` Anshuman Khandual
  2024-09-20  9:14   ` Srivatsa S. Bhat
  1 sibling, 1 reply; 12+ messages in thread
From: Anshuman Khandual @ 2024-09-20  6:58 UTC (permalink / raw)
  To: Saurabh Sengar, akpm, linux-mm, linux-kernel; +Cc: ssengar, wei.liu, srivatsa



On 8/12/24 11:43, Saurabh Sengar wrote:
> refresh_zone_stat_thresholds function has two loops which is expensive for
> higher number of CPUs and NUMA nodes.
> 
> Below is the rough estimation of total iterations done by these loops
> based on number of NUMA and CPUs.
> 
> Total number of iterations: nCPU * 2 * Numa * mCPU
> Where:
>  nCPU = total number of CPUs
>  Numa = total number of NUMA nodes
>  mCPU = mean value of total CPUs (e.g., 512 for 1024 total CPUs)
> 
> For the system under test with 16 NUMA nodes and 1024 CPUs, this
> results in a substantial increase in the number of loop iterations
> during boot-up when NUMA is enabled:
> 
> No NUMA = 1024*2*1*512  =   1,048,576 : Here refresh_zone_stat_thresholds
> takes around 224 ms total for all the CPUs in the system under test.
> 16 NUMA = 1024*2*16*512 =  16,777,216 : Here refresh_zone_stat_thresholds
> takes around 4.5 seconds total for all the CPUs in the system under test.
> 
> Calling this for each CPU is expensive when there are large number
> of CPUs along with multiple NUMAs. Fix this by deferring
> refresh_zone_stat_thresholds to be called later at once when all the
> secondary CPUs are up. Also, register the DYN hooks to keep the
> existing hotplug functionality intact.
> 
> Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com>
> ---
> [V2]
> 	- Move vmstat_late_init_done under CONFIG_SMP to fix
>           variable 'defined but not used' warning.
> 
>  mm/vmstat.c | 12 +++++++++++-
>  1 file changed, 11 insertions(+), 1 deletion(-)
> 
> diff --git a/mm/vmstat.c b/mm/vmstat.c
> index 4e2dc067a654..fa235c65c756 100644
> --- a/mm/vmstat.c
> +++ b/mm/vmstat.c
> @@ -1908,6 +1908,7 @@ static const struct seq_operations vmstat_op = {
>  #ifdef CONFIG_SMP
>  static DEFINE_PER_CPU(struct delayed_work, vmstat_work);
>  int sysctl_stat_interval __read_mostly = HZ;
> +static int vmstat_late_init_done;
>  
>  #ifdef CONFIG_PROC_FS
>  static void refresh_vm_stats(struct work_struct *work)
> @@ -2110,7 +2111,8 @@ static void __init init_cpu_node_state(void)
>  
>  static int vmstat_cpu_online(unsigned int cpu)
>  {
> -	refresh_zone_stat_thresholds();
> +	if (vmstat_late_init_done)
> +		refresh_zone_stat_thresholds();
>  
>  	if (!node_state(cpu_to_node(cpu), N_CPU)) {
>  		node_set_state(cpu_to_node(cpu), N_CPU);
> @@ -2142,6 +2144,14 @@ static int vmstat_cpu_dead(unsigned int cpu)
>  	return 0;
>  }
>  
> +static int __init vmstat_late_init(void)
> +{
> +	refresh_zone_stat_thresholds();
> +	vmstat_late_init_done = 1;
> +
> +	return 0;
> +}
> +late_initcall(vmstat_late_init);>  #endif
>  
>  struct workqueue_struct *mm_percpu_wq;

late_initcall() triggered vmstat_late_init() guaranteed to be called
before the last call into vmstat_cpu_online() during a normal boot ?
Otherwise refresh_zone_stat_thresholds() will never be called unless
there is a CPU online event later.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v2] mm/vmstat: Defer the refresh_zone_stat_thresholds after all CPUs bringup
  2024-09-19 19:52     ` Saurabh Singh Sengar
@ 2024-09-20  8:16       ` Andrew Morton
  2024-09-20  9:25         ` Srivatsa S. Bhat
  0 siblings, 1 reply; 12+ messages in thread
From: Andrew Morton @ 2024-09-20  8:16 UTC (permalink / raw)
  To: Saurabh Singh Sengar
  Cc: Saurabh Sengar, linux-mm, linux-kernel, wei.liu, srivatsa, mgorman, cl

On Thu, 19 Sep 2024 19:52:45 +0000 Saurabh Singh Sengar <ssengar@microsoft.com> wrote:

> > > >
> > 
> > Adding cl@linux.com instead of clameter@sgi.com for Christoph Lameter
> > 
> > - Saurabh
> 
> Hi Andrew,
> 
> Can we get this merge in for next kernel release.
> Please let me know if there is any concern with this patch.
> 

Anshuman's review comment remains unaddressed:
https://lkml.kernel.org/r/b1dc2aa1-cd38-4f1f-89e9-6d009a619541@arm.com

Also, Christoph's observations from the v1 patch review haven't really
been addressed.

So it sounds to me that an alternative implementation should be
investigated?


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v2] mm/vmstat: Defer the refresh_zone_stat_thresholds after all CPUs bringup
  2024-09-20  6:58 ` Anshuman Khandual
@ 2024-09-20  9:14   ` Srivatsa S. Bhat
  0 siblings, 0 replies; 12+ messages in thread
From: Srivatsa S. Bhat @ 2024-09-20  9:14 UTC (permalink / raw)
  To: Anshuman Khandual
  Cc: Saurabh Sengar, akpm, linux-mm, linux-kernel, ssengar, wei.liu


Hey Anshuman,

Long time... :-) Hope you are doing great!

On Fri, Sep 20, 2024 at 12:28:44PM +0530, Anshuman Khandual wrote:
[...] 
> > @@ -1908,6 +1908,7 @@ static const struct seq_operations vmstat_op = {
> >  #ifdef CONFIG_SMP
> >  static DEFINE_PER_CPU(struct delayed_work, vmstat_work);
> >  int sysctl_stat_interval __read_mostly = HZ;
> > +static int vmstat_late_init_done;
> >  
> >  #ifdef CONFIG_PROC_FS
> >  static void refresh_vm_stats(struct work_struct *work)
> > @@ -2110,7 +2111,8 @@ static void __init init_cpu_node_state(void)
> >  
> >  static int vmstat_cpu_online(unsigned int cpu)
> >  {
> > -	refresh_zone_stat_thresholds();
> > +	if (vmstat_late_init_done)
> > +		refresh_zone_stat_thresholds();
> >  
> >  	if (!node_state(cpu_to_node(cpu), N_CPU)) {
> >  		node_set_state(cpu_to_node(cpu), N_CPU);
> > @@ -2142,6 +2144,14 @@ static int vmstat_cpu_dead(unsigned int cpu)
> >  	return 0;
> >  }
> >  
> > +static int __init vmstat_late_init(void)
> > +{
> > +	refresh_zone_stat_thresholds();
> > +	vmstat_late_init_done = 1;
> > +
> > +	return 0;
> > +}
> > +late_initcall(vmstat_late_init);>  #endif
> >  
> >  struct workqueue_struct *mm_percpu_wq;
> 
> late_initcall() triggered vmstat_late_init() guaranteed to be called
> before the last call into vmstat_cpu_online() during a normal boot ?
> Otherwise refresh_zone_stat_thresholds() will never be called unless
> there is a CPU online event later.

The vmstat_late_init() function itself calls
refresh_zone_stat_thresholds(). So, we don't need another CPU online
event to happen later just to invoke refresh_zone_stat_thresholds().

Does that address your concern?

Regards,
Srivatsa
Microsoft Linux Systems Group


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v2] mm/vmstat: Defer the refresh_zone_stat_thresholds after all CPUs bringup
  2024-09-20  8:16       ` Andrew Morton
@ 2024-09-20  9:25         ` Srivatsa S. Bhat
  2024-09-23 20:17           ` Christoph Lameter (Ampere)
  0 siblings, 1 reply; 12+ messages in thread
From: Srivatsa S. Bhat @ 2024-09-20  9:25 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Saurabh Singh Sengar, Saurabh Sengar, linux-mm, linux-kernel,
	wei.liu, mgorman, cl

On Fri, Sep 20, 2024 at 01:16:18AM -0700, Andrew Morton wrote:
> On Thu, 19 Sep 2024 19:52:45 +0000 Saurabh Singh Sengar <ssengar@microsoft.com> wrote:
> 
> > > > >
> > > 
> > > Adding cl@linux.com instead of clameter@sgi.com for Christoph Lameter
> > > 
> > > - Saurabh
> > 
> > Hi Andrew,
> > 
> > Can we get this merge in for next kernel release.
> > Please let me know if there is any concern with this patch.
> > 
> 
> Anshuman's review comment remains unaddressed:
> https://lkml.kernel.org/r/b1dc2aa1-cd38-4f1f-89e9-6d009a619541@arm.com
> 
> Also, Christoph's observations from the v1 patch review haven't really
> been addressed.
> 
> So it sounds to me that an alternative implementation should be
> investigated?

I believe Saurabh had a follow-up discussion in person with Christoph
regarding this patch, following our talk on this topic at LPC:
https://lpc.events/event/18/contributions/1817/

@Christoph, would you mind giving your Ack if this patch v2 looks good
to you, or kindly point out if there are any lingering concerns?

Thanks a lot!

Regards,
Srivatsa
Microsoft Linux Systems Group


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v2] mm/vmstat: Defer the refresh_zone_stat_thresholds after all CPUs bringup
  2024-09-20  9:25         ` Srivatsa S. Bhat
@ 2024-09-23 20:17           ` Christoph Lameter (Ampere)
  2024-09-24  2:56             ` Srivatsa S. Bhat
  2024-09-24  7:39             ` Saurabh Singh Sengar
  0 siblings, 2 replies; 12+ messages in thread
From: Christoph Lameter (Ampere) @ 2024-09-23 20:17 UTC (permalink / raw)
  To: Srivatsa S. Bhat
  Cc: Andrew Morton, Saurabh Singh Sengar, Saurabh Sengar, linux-mm,
	linux-kernel, wei.liu, mgorman

On Fri, 20 Sep 2024, Srivatsa S. Bhat wrote:

> @Christoph, would you mind giving your Ack if this patch v2 looks good
> to you, or kindly point out if there are any lingering concerns?

V2 looks good to me (unitialized pcp values result in slow operation but
no negative other effects) and the late_initcall() is always executed.

Acked-by: Christoph Lameter <cl@linux.com>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v2] mm/vmstat: Defer the refresh_zone_stat_thresholds after all CPUs bringup
  2024-09-23 20:17           ` Christoph Lameter (Ampere)
@ 2024-09-24  2:56             ` Srivatsa S. Bhat
  2024-09-24  7:40               ` Saurabh Singh Sengar
  2024-09-24  7:39             ` Saurabh Singh Sengar
  1 sibling, 1 reply; 12+ messages in thread
From: Srivatsa S. Bhat @ 2024-09-24  2:56 UTC (permalink / raw)
  To: Christoph Lameter (Ampere)
  Cc: Andrew Morton, Saurabh Singh Sengar, Saurabh Sengar, linux-mm,
	linux-kernel, wei.liu, mgorman

On 24-09-2024 01:47, Christoph Lameter (Ampere) wrote:
> On Fri, 20 Sep 2024, Srivatsa S. Bhat wrote:
> 
>> @Christoph, would you mind giving your Ack if this patch v2 looks good
>> to you, or kindly point out if there are any lingering concerns?
> 
> V2 looks good to me (unitialized pcp values result in slow operation but
> no negative other effects) and the late_initcall() is always executed.
> 
> Acked-by: Christoph Lameter <cl@linux.com>

Thanks a lot Christoph!

Andrew, could you please consider picking up the patch for the next release,
now that all the review comments have been addressed? Thank you very much!

Also, I'd like to add to this patch v2:

Reviewed-by: Srivatsa S. Bhat (Microsoft) <srivatsa@csail.mit.edu>
 
Regards,
Srivatsa


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v2] mm/vmstat: Defer the refresh_zone_stat_thresholds after all CPUs bringup
  2024-09-23 20:17           ` Christoph Lameter (Ampere)
  2024-09-24  2:56             ` Srivatsa S. Bhat
@ 2024-09-24  7:39             ` Saurabh Singh Sengar
  1 sibling, 0 replies; 12+ messages in thread
From: Saurabh Singh Sengar @ 2024-09-24  7:39 UTC (permalink / raw)
  To: Christoph Lameter (Ampere)
  Cc: Srivatsa S. Bhat, Andrew Morton, Saurabh Singh Sengar, linux-mm,
	linux-kernel, wei.liu, mgorman

On Mon, Sep 23, 2024 at 01:17:16PM -0700, Christoph Lameter (Ampere) wrote:
> On Fri, 20 Sep 2024, Srivatsa S. Bhat wrote:
> 
> > @Christoph, would you mind giving your Ack if this patch v2 looks good
> > to you, or kindly point out if there are any lingering concerns?
> 
> V2 looks good to me (unitialized pcp values result in slow operation but
> no negative other effects) and the late_initcall() is always executed.
> 
> Acked-by: Christoph Lameter <cl@linux.com>

Thank you, Christoph. I truly appreciate your review and insights on this matter.
Looking forward to collobrate more on similar space.

- Saurabh


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v2] mm/vmstat: Defer the refresh_zone_stat_thresholds after all CPUs bringup
  2024-09-24  2:56             ` Srivatsa S. Bhat
@ 2024-09-24  7:40               ` Saurabh Singh Sengar
  0 siblings, 0 replies; 12+ messages in thread
From: Saurabh Singh Sengar @ 2024-09-24  7:40 UTC (permalink / raw)
  To: Srivatsa S. Bhat
  Cc: Christoph Lameter (Ampere),
	Andrew Morton, Saurabh Singh Sengar, linux-mm, linux-kernel,
	wei.liu, mgorman

On Tue, Sep 24, 2024 at 08:26:12AM +0530, Srivatsa S. Bhat wrote:
> On 24-09-2024 01:47, Christoph Lameter (Ampere) wrote:
> > On Fri, 20 Sep 2024, Srivatsa S. Bhat wrote:
> > 
> >> @Christoph, would you mind giving your Ack if this patch v2 looks good
> >> to you, or kindly point out if there are any lingering concerns?
> > 
> > V2 looks good to me (unitialized pcp values result in slow operation but
> > no negative other effects) and the late_initcall() is always executed.
> > 
> > Acked-by: Christoph Lameter <cl@linux.com>
> 
> Thanks a lot Christoph!
> 
> Andrew, could you please consider picking up the patch for the next release,
> now that all the review comments have been addressed? Thank you very much!
> 
> Also, I'd like to add to this patch v2:
> 
> Reviewed-by: Srivatsa S. Bhat (Microsoft) <srivatsa@csail.mit.edu>

Thanks Srivatsa !

- Saurabh


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-09-24  7:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-12  6:13 [PATCH v2] mm/vmstat: Defer the refresh_zone_stat_thresholds after all CPUs bringup Saurabh Sengar
2024-08-23  9:30 ` Saurabh Singh Sengar
2024-08-23  9:32   ` Saurabh Singh Sengar
2024-09-19 19:52     ` Saurabh Singh Sengar
2024-09-20  8:16       ` Andrew Morton
2024-09-20  9:25         ` Srivatsa S. Bhat
2024-09-23 20:17           ` Christoph Lameter (Ampere)
2024-09-24  2:56             ` Srivatsa S. Bhat
2024-09-24  7:40               ` Saurabh Singh Sengar
2024-09-24  7:39             ` Saurabh Singh Sengar
2024-09-20  6:58 ` Anshuman Khandual
2024-09-20  9:14   ` Srivatsa S. Bhat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox