Stack size mapping is decreased through mlock/munlock call
PATCH v2 1/1 Stack size mapping is decreased through mlock/munlock call
In reply to a message not in the archiveThis is to test kernel if it has a problem with shortening [stack] mapping through several loops of mlock/munlock of /proc/self/maps.
From:
munlock 76KiB bfef2000-bff05000 rw-p 00000000 00:00 0 [stack]
To:
munlock 44KiB bfefa000-bff05000 rw-p 00000000 00:00 0 [stack]
With more iterations - could drop to 0KiB.
---
v2: fix typos; code cleanup
--- runtest/mm | 2 + testcases/kernel/syscalls/mlock/mlock03.c | 120 +++++++++++++++++++++++++++++ 2 files changed, 122 insertions(+), 0 deletions(-) create mode 100644 testcases/kernel/syscalls/mlock/mlock03.c
runtest/mm +2 -0
@@ -70,3 +70,5 @@ hugemmap05_3 hugemmap05 -s -m cpuset01 cpuset01 -I 3600 mbind01 mbind01 + +mlock03 mlock03 -i 20
testcases/kernel/syscalls/mlock/mlock03.c new file +120 -0
120 lines not on this page · raw message
Signature · 1 line
1.7.3.2
This is to test kernel if it has a problem with shortening [stack] mapping through several loops of mlock/munlock of /proc/self/maps.
From:
munlock 76KiB bfef2000-bff05000 rw-p 00000000 00:00 0 [stack]
To:
munlock 44KiB bfefa000-bff05000 rw-p 00000000 00:00 0 [stack]
With more iterations - could drop to 0KiB.
---
v2: fix typos; code cleanup
--- runtest/mm | 2 + testcases/kernel/syscalls/mlock/mlock03.c | 120 +++++++++++++++++++++++++++++ 2 files changed, 122 insertions(+), 0 deletions(-) create mode 100644 testcases/kernel/syscalls/mlock/mlock03.c
runtest/mm +2 -0
@@ -70,3 +70,5 @@ hugemmap05_3 hugemmap05 -s -m cpuset01 cpuset01 -I 3600 mbind01 mbind01 + +mlock03 mlock03 -i 20
testcases/kernel/syscalls/mlock/mlock03.c new file +120 -0
120 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
Quoted 10 lines · On Mon, Dec 6, 2010 at 11:34 PM, <[email protected]> wrote:
This is to test kernel if it has a problem with shortening [stack] mapping through several loops of mlock/munlock of
/proc/self/maps.From:
munlock 76KiB bfef2000-bff05000 rw-p 00000000 00:00 0 [stack]To:
munlock 44KiB bfefa000-bff05000 rw-p 00000000 00:00 0 [stack]With more iterations - could drop to 0KiB.
Committed.
------------------------------------------------------------------------------
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