From: Ingo Molnar <mingo@elte.hu>
To: Mike Travis <travis@sgi.com>
Cc: Ingo Molnar <mingo@redhat.com>,
Rusty Russell <rusty@rustcorp.com.au>,
"H. Peter Anvin" <hpa@zytor.com>,
Thomas Gleixner <tglx@linutronix.de>,
Linus Torvalds <torvalds@linux-foundation.org>,
Jack Steiner <steiner@sgi.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 00/11] x86: cpumask: some more cpumask cleanups
Date: Sun, 4 Jan 2009 15:44:54 +0100 [thread overview]
Message-ID: <20090104144454.GA1132@elte.hu> (raw)
In-Reply-To: <20090104131759.865331000@polaris-admin.engr.sgi.com>
* Mike Travis <travis@sgi.com> wrote:
> Here's some more cpumask cleanups.
>
> ia64: cpumask fix for is_affinity_mask_valid()
> cpumask: update local_cpus_show to use new cpumask API
> cpumask: update pci_bus_show_cpuaffinity to use new cpumask API
> x86: cleanup remaining cpumask_t ops in smpboot code
> x86: clean up speedstep-centrino and reduce cpumask_t usage
> cpumask: Replace CPUMASK_ALLOC etc with cpumask_var_t.
> cpumask: convert struct cpufreq_policy to cpumask_var_t.
> cpumask: use work_on_cpu in acpi/cstate.c
> cpumask: use cpumask_var_t in acpi-cpufreq.c
> cpumask: use work_on_cpu in acpi-cpufreq.c for drv_read and drv_write
> cpumask: use work_on_cpu in acpi-cpufreq.c for read_measured_perf_ctrs
>
> This version basically splits out the changes to make it more
> bisectable, and has been patch-wise compile/boot tested. Updated stats
> are below.
ok, i've picked them up into tip/cpus4096:
1d1a70e: cpumask: use work_on_cpu in acpi-cpufreq.c for read_measured_perf_ctrs
4d30e6b: cpumask: use work_on_cpu in acpi-cpufreq.c for drv_read and drv_write
0771cd4: cpumask: use cpumask_var_t in acpi-cpufreq.c
9fa9864: cpumask: use work_on_cpu in acpi/cstate.c
a2a8809: cpumask: convert struct cpufreq_policy to cpumask_var_t
ee557bd: cpumask: replace CPUMASK_ALLOC etc with cpumask_var_t
3744123: x86: clean up speedstep-centrino and reduce cpumask_t usage
c2d1cec: x86: cleanup remaining cpumask_t ops in smpboot code
588235b: cpumask: update pci_bus_show_cpuaffinity to use new cpumask API
3be8305: cpumask: update local_cpus_show to use new cpumask API
d3b66bf: ia64: cpumask fix for is_affinity_mask_valid()
( Sidenote, your mail scripts have a bug that do this to the Subject line:
Subject: [PATCH 05/11] x86: clean up speedstep-centrino and reduce
cpumask_t usage From: Rusty Russell <rusty@rustcorp.com.au>
i've fixed them up manually so that Rusty is in the Author field. )
> The number of stack hogs have been significantly reduced:
>
> ====== Stack (-l 500)
> 1 - allyesconfig-128
> 2 - allyesconfig-4k
>
> .1. .2. ..final..
> 0 +1032 1032 . flush_tlb_page
> 0 +1024 1024 . kvm_reload_remote_mmus
> 0 +1024 1024 . kvm_flush_remote_tlbs
> 0 +1024 1024 . flush_tlb_mm
> 0 +1024 1024 . flush_tlb_current_task
Quite good! Can we fix those TLB flush cpumask uses too?
> And the overall memory usage is becoming quite less affected by changing
> NR_CPUS from 128 to 4096:
[...]
> .1. .2. ..final..
> 11436936 +4167424 15604360 +36% .bss
.bss seems to account for ~80% of the increase. Are these static cpumasks,
or do we still have NR_CPUS arrays around?
Ingo
next prev parent reply other threads:[~2009-01-04 14:45 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-04 13:17 [PATCH 00/11] x86: cpumask: some more cpumask cleanups Mike Travis
2009-01-04 13:18 ` [PATCH 01/11] [PATCH] ia64: cpumask fix for is_affinity_mask_valid() Mike Travis
2009-01-04 13:18 ` [PATCH 02/11] cpumask: update local_cpus_show to use new cpumask API Mike Travis
2009-01-04 13:18 ` [PATCH 03/11] cpumask: update pci_bus_show_cpuaffinity " Mike Travis
2009-01-05 19:27 ` Jesse Barnes
2009-01-05 19:31 ` Mike Travis
2009-01-05 19:59 ` Jesse Barnes
2009-01-07 15:19 ` Ingo Molnar
2009-01-07 16:59 ` Jesse Barnes
2009-01-05 19:44 ` Linus Torvalds
2009-01-05 19:49 ` Jesse Barnes
2009-01-04 13:18 ` [PATCH 04/11] x86: cleanup remaining cpumask_t ops in smpboot code Mike Travis
2009-01-04 13:18 ` [PATCH 05/11] x86: clean up speedstep-centrino and reduce cpumask_t usage From: Rusty Russell <rusty@rustcorp.com.au> Mike Travis
2009-01-04 13:18 ` [PATCH 06/11] cpumask: Replace CPUMASK_ALLOC etc with cpumask_var_t. " Mike Travis
2009-01-04 13:18 ` [PATCH 07/11] cpumask: convert struct cpufreq_policy to " Mike Travis
2009-01-04 13:18 ` [PATCH 08/11] cpumask: use work_on_cpu in acpi/cstate.c Mike Travis
2009-01-04 13:18 ` [PATCH 09/11] cpumask: use cpumask_var_t in acpi-cpufreq.c Mike Travis
2009-01-04 13:18 ` [PATCH 10/11] cpumask: use work_on_cpu in acpi-cpufreq.c for drv_read and drv_write Mike Travis
2009-01-04 13:18 ` [PATCH 11/11] cpumask: use work_on_cpu in acpi-cpufreq.c for read_measured_perf_ctrs Mike Travis
2009-01-04 14:44 ` Ingo Molnar [this message]
2009-01-05 18:28 ` [PATCH 00/11] x86: cpumask: some more cpumask cleanups Mike Travis
2009-01-06 3:49 ` [PATCH 00/11] x86: cpumask: some more cpumask cleanups - flush_tlb_* Mike Travis
2009-01-07 2:12 ` Rusty Russell
2009-01-07 2:50 ` Mike Travis
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=20090104144454.GA1132@elte.hu \
--to=mingo@elte.hu \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=rusty@rustcorp.com.au \
--cc=steiner@sgi.com \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--cc=travis@sgi.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