Skip to contentSkip to conversation

Stack size mapping is decreased through mlock/munlock call

PATCH In review [email protected] 2 participants 2 messages Dec 7, 2010 – Dec 8, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 507792947.253331291707242881.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com

#1 lore raw

PATCH v2 1/1 Stack size mapping is decreased through mlock/munlock call

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
index 16e60d4..fabfab1 100644
@@ -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
index 16e60d4..fabfab1 100644
@@ -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

#2 lore raw
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