Skip to contentSkip to conversation

Stack size mapping is decreased through mlock/munlock call

PATCH New [email protected] 1 participant 1 message Nov 24, 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): 1567057004.328131290584954867.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com

#1 lore raw

PATCH 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.

---

 runtest/mm                                |    4 +-
 testcases/kernel/syscalls/mlock/mlock03.c |  109 +++++++++++++++++++++++++++++
 2 files changed, 112 insertions(+), 1 deletions(-)
 create mode 100644 testcases/kernel/syscalls/mlock/mlock03.c
runtest/mm +3 -1
index f6cedbd..718aef6 100644
@@ -56,4 +56,6 @@ mmapstress10 mmapstress10 -p 20 -t 0.2
 
 ksm01 ksm01
 
-cpuset01 cpuset01 -I 3600
\ No newline at end of file
+cpuset01 cpuset01 -I 3600
+
+mlock01 mlock01 -i 20
\ No newline at end of file
testcases/kernel/syscalls/mlock/mlock03.c new file +109 -0

109 lines not on this page · raw message

Signature · 1 line
1.7.1

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list