mbind_range() vma merge
PATCH v3 1/1 mbind_range() vma merge
In reply to a message not in the archiveThis is a reproducer from mainline commit9d8cebd4bcd7c3878462fdfda34bbcdeb4df7ef4:
"Strangely, current mbind() doesn't merge vma with neighbor vma although it's possible. Unfortunately, many vma can reduce performance..."
---
v3: more code cleanup
v2: add mbind01 to the mm test list; avoid breakage on systems without
proper numa libs; code cleanup; fix -lnuma.
--- runtest/mm | 2 + testcases/kernel/mem/mbind/Makefile | 25 ++++++ testcases/kernel/mem/mbind/mbind01.c | 142 ++++++++++++++++++++++++++++++++++ 3 files changed, 169 insertions(+), 0 deletions(-) create mode 100644 testcases/kernel/mem/mbind/Makefile create mode 100644 testcases/kernel/mem/mbind/mbind01.c
runtest/mm +2 -0
@@ -68,3 +68,5 @@ hugemmap05_2 hugemmap05 -s hugemmap05_3 hugemmap05 -s -m cpuset01 cpuset01 -I 3600 + +mbind01 mbind01
testcases/kernel/mem/mbind/Makefile new file +25 -0
@@ -0,0 +1,25 @@ +# +# Copyright (C) 2010 Red Hat, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301, USA. +# + +top_srcdir ?= ../../../.. + +include $(top_srcdir)/include/mk/testcases.mk +include $(top_srcdir)/include/mk/generic_leaf_target.mk + +LDLIBS += $(NUMA_LIBS)
testcases/kernel/mem/mbind/mbind01.c new file +142 -0
142 lines not on this page · raw message
Signature · 1 line
1.7.3.2
This is a reproducer from mainline commit9d8cebd4bcd7c3878462fdfda34bbcdeb4df7ef4:
"Strangely, current mbind() doesn't merge vma with neighbor vma although it's possible. Unfortunately, many vma can reduce performance..."
---
v3: more code cleanup
v2: add mbind01 to the mm test list; avoid breakage on systems without
proper numa libs; code cleanup; fix -lnuma.
--- runtest/mm | 2 + testcases/kernel/mem/mbind/Makefile | 25 ++++++ testcases/kernel/mem/mbind/mbind01.c | 142 ++++++++++++++++++++++++++++++++++ 3 files changed, 169 insertions(+), 0 deletions(-) create mode 100644 testcases/kernel/mem/mbind/Makefile create mode 100644 testcases/kernel/mem/mbind/mbind01.c
runtest/mm +2 -0
@@ -68,3 +68,5 @@ hugemmap05_2 hugemmap05 -s hugemmap05_3 hugemmap05 -s -m cpuset01 cpuset01 -I 3600 + +mbind01 mbind01
testcases/kernel/mem/mbind/Makefile new file +25 -0
@@ -0,0 +1,25 @@ +# +# Copyright (C) 2010 Red Hat, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301, USA. +# + +top_srcdir ?= ../../../.. + +include $(top_srcdir)/include/mk/testcases.mk +include $(top_srcdir)/include/mk/generic_leaf_target.mk + +LDLIBS += $(NUMA_LIBS)
testcases/kernel/mem/mbind/mbind01.c new file +142 -0
142 lines not on this page · raw message
Signature · 1 line
1.7.3.2
------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list