odes store function
- introduced share_all debugging knob proposed by Andrew
- minor cleanups
Signed-off-by: Petr Holasek
---
Documentation/vm/ksm.txt | 12 ++
mm/ksm.c | 326 +--
2 files changed, 270 insertions(+), 68 delet
_all debugging knob proposed by Andrew
- minor cleanups
v4: - merge_nodes was renamed to merge_across_nodes
- share_all debug knob was dropped
- get_kpfn_nid helper
- fixed page migration behaviour
Signed-off-by: Petr Holasek
---
Documentation/vm/ksm.txt
n `!(bind_node_0 < 0 ||
bind_node_0 >= g->p.nr_nodes)' failed.
Aborted
Signed-off-by: Petr Benas
Signed-off-by: Petr Holasek
---
tools/perf/bench/numa.c | 34 +-
1 file changed, 21 insertions(+), 13 deletions(-)
diff --git a/tools/pe
On Mon, 16 Sep 2013, Jianguo Wu wrote:
> In get_mergeable_page() local variable page is not initialized,
> it may hold a garbage value, when find_mergeable_vma() return NULL,
> get_mergeable_page() may return a garbage value to the caller.
>
> So initialize page as NULL.
>
> Signed-off-by: Jiangu
This two-liner removes max_addresses variable which is now unecessary related
to patch [ipv6: remove max_addresses check from ipv6_create_tempaddr].
Signed-off-by: Petr Holasek
---
net/ipv6/addrconf.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
7;s some other easier points.
>
> On Mon, 24 Sep 2012, Petr Holasek wrote:
>
> > Introduces new sysfs boolean knob /sys/kernel/mm/ksm/merge_across_nodes
> > which control merging pages across different numa nodes.
> > When it is set to zero only pages from the same node ar
- unstable node's nid presence depends on CONFIG_NUMA
- fixed oops appearing when stable nodes were removed from tree
- roots of stable trees are initialized properly
- fixed unstable page migration issue
Signed-off-by: Petr Holasek
Acked-by: Rik van Riel
---
page migration issue
v6: - fixed oops caused by stable_nodes appended to wrong tree
- KSM_RUN_MERGE test removed
v7: - added sysfs ABI documentation for KSM
Signed-off-by: Petr Holasek
Signed-off-by: Hugh Dickins
Acked-by: Rik van Riel
---
Documentation/vm/ksm
This patch adds sysfs documentation for Kernel Samepage Merging (KSM)
including new merge_across_nodes knob.
Signed-off-by: Petr Holasek
---
Documentation/ABI/testing/sysfs-kernel-mm-ksm | 51 +++
1 file changed, 51 insertions(+)
create mode 100644 Documentation/ABI
Hi Simon,
On Mon, 31 Dec 2012, Simon Jeons wrote:
> On Fri, 2012-12-28 at 02:32 +0100, Petr Holasek wrote:
> >
> > v7: - added sysfs ABI documentation for KSM
>
> Hi Petr,
>
> How you handle "memory corruption because the ksm page still points to
>
On Tue, 18 Dec 2012, Hugh Dickins wrote:
> On Tue, 18 Dec 2012, Sasha Levin wrote:
>
> > Hi all,
> >
> > While fuzzing with trinity inside a KVM tools guest, running latest
> > linux-next kernel, I've
> > stumbled on the following:
> >
> > [ 127.959264] BUG: unable to handle kernel NULL pointe
On Tue, 18 Dec 2012, Hugh Dickins wrote:
> On Tue, 18 Dec 2012, Sasha Levin wrote:
>
> > Hi all,
> >
> > While fuzzing with trinity inside a KVM tools guest, running latest
> > linux-next kernel, I've
> > stumbled on the following:
> >
> > [ 127.959264] BUG: unable to handle kernel NULL pointe
On Thu, 20 Dec 2012, Sasha Levin wrote:
> On 12/20/2012 05:37 PM, Hugh Dickins wrote:
> > On Thu, 20 Dec 2012, Sasha Levin wrote:
> >> On 12/19/2012 08:44 PM, Hugh Dickins wrote:
> >>> The rmap walks in ksm.c are like those in rmap.c:
> >>> they can safely be done with anon_vma_lock_read().
> >>>
>
s caused by stable_nodes appended to wrong tree
- KSM_RUN_MERGE test removed
Signed-off-by: Petr Holasek
Signed-off-by: Hugh Dickins
Acked-by: Rik van Riel
---
Documentation/vm/ksm.txt | 7 +++
mm/ksm.c | 151 +--
2 files change
On Fri, 14 Sep 2012, Andrew Morton wrote:
Hi Andrew,
at first thanks for your review!
> On Fri, 14 Sep 2012 23:22:47 +0200
> Petr Holasek wrote:
>
> > Introduces new sysfs boolean knob /sys/kernel/mm/ksm/merge_nodes
>
> I wonder if merge_across_nodes would be a be
Corrected description and fixed function of --quiet argument.
Signed-off-by: Petr Holasek
---
tools/perf/bench/numa.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/perf/bench/numa.c b/tools/perf/bench/numa.c
index ebfa163..cd872e9c 100644
--- a/tools/perf/bench
s and some bigger amount
of shared process memory, e.g. one process, two threads and 5GB of process
memory.
Signed-off-by: Petr Holasek
---
tools/perf/bench/numa.c | 8
1 file changed, 8 insertions(+)
diff --git a/tools/perf/bench/numa.c b/tools/perf/bench/numa.c
index 72edc49..1704929 10
In verbose mode perf bench numa shows also GB/s speed, system and user cpu
time for each particular thread. Using of getrusage() can provide much more
per process or per thread stats in future.
Signed-off-by: Petr Holasek
---
tools/perf/bench/numa.c | 32 +++-
1 file
Hi,
this small series is fixing two bugs in perf bench numa and adds some per
thread stats.
Petr Holasek (3):
perf bench numa: Fixes of --quiet argument
perf bench numa: show more stats of particular threads in verbose mode
perf bench numa: fix immediate meeting of convergence condition
On Mon, 20 Oct 2014, David Rientjes wrote:
> On Tue, 21 Oct 2014, Petr Holasek wrote:
>
> > There were some similar attempts to add vma's pagesize to numa_maps in the
> > past,
> > so I've distilled the most straightforward one - adding pagesize field
> >
65
Signed-off-by: Petr Holasek
---
fs/proc/task_mmu.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
index 4e0388c..964c4de 100644
--- a/fs/proc/task_mmu.c
+++ b/fs/proc/task_mmu.c
@@ -1498,6 +1498,9 @@ static int show_numa_map(struct seq_file *
uma
and made the benchmark heavily relying on this function unusable.
This patch alternates weak function magic for preprocessor defines.
Signed-off-by: Petr Holasek
---
tools/perf/util/cloexec.c | 13 +++--
tools/perf/util/cloexec.h | 6 --
2 files changed, 11 insertions(+), 8 deletion
On Tue, 19 May 2015, Arnaldo Carvalho de Melo wrote:
> Em Tue, May 19, 2015 at 03:20:47PM +0200, Petr Holasek escreveu:
> > Commit e1e455f4f4d3 ("perf tools: Work around lack of sched_getcpu in
> > glibc < 2.6.") introduced weak function sched_getcpu() which
Commit-ID: b81a48ea877e1a104dace1392d92f708ff208f97
Gitweb: http://git.kernel.org/tip/b81a48ea877e1a104dace1392d92f708ff208f97
Author: Petr Holasek
AuthorDate: Thu, 3 Oct 2013 19:28:45 +0200
Committer: Arnaldo Carvalho de Melo
CommitDate: Fri, 11 Oct 2013 12:17:38 -0300
perf bench
Commit-ID: b64aa553d8430aabd24f303899cfa4de678e2c3a
Gitweb: http://git.kernel.org/tip/b64aa553d8430aabd24f303899cfa4de678e2c3a
Author: Petr Holasek
AuthorDate: Thu, 16 Apr 2015 17:38:18 +0200
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 4 May 2015 12:43:41 -0300
perf bench
Commit-ID: 24f1ced167e5e011040b4c3aae75aee45a79eed5
Gitweb: http://git.kernel.org/tip/24f1ced167e5e011040b4c3aae75aee45a79eed5
Author: Petr Holasek
AuthorDate: Thu, 16 Apr 2015 17:38:17 +0200
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 27 Apr 2015 13:57:49 -0300
perf bench
Commit-ID: 1d90a685eb75a56648d7dd22c704a1a6da516de9
Gitweb: http://git.kernel.org/tip/1d90a685eb75a56648d7dd22c704a1a6da516de9
Author: Petr Holasek
AuthorDate: Thu, 16 Apr 2015 17:38:19 +0200
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 27 Apr 2015 13:57:50 -0300
perf bench
27 matches
Mail list logo