public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 00/11] hugetlb multiple fixes
@ 2012-03-13  4:56 Caspar Zhang
  2012-03-13  4:56 ` [LTP] [PATCH 01/11] hugetlb/hugeshmat: cleanup codes Caspar Zhang
                   ` (10 more replies)
  0 siblings, 11 replies; 20+ messages in thread
From: Caspar Zhang @ 2012-03-13  4:56 UTC (permalink / raw)
  To: LTP List

[-- Attachment #1: Type: text/plain, Size: 2902 bytes --]


This patchset makes the following changes:

01 - 08: set and restore nr_hugepages values automatically in 
         hugeshm* tests.

09,11  : code cleanups, remove unused files and functions

10     : fix a hugeshmget03 bug.

patchset has been tested on my system, both with large free memory 
and tight memory environment.

Caspar Zhang (11):
  hugetlb/hugeshmat: cleanup codes
  hugetlb/hugeshmat: set nr_hugepages in tests
  hugetlb/hugeshmctl: cleanup codes
  hugetlb/hugeshmctl: set nr_hugepages in tests
  hugetlb/hugeshmdt: cleanup codes
  hugetlb/hugeshmdt: set nr_hugepages in tests
  hugetlb/hugeshmget: cleanup codes
  hugetlb/hugeshmget: set nr_hugepages in tests
  hugetlb/lib: cleanup codes
  hugetlb/hugeshmget03: fix broken testcase
  libltp: remove system_specific_hugepages_info

 include/system_specific_hugepages_info.h           |   30 --
 lib/system_specific_hugepages_info.c               |   93 ------
 testcases/kernel/mem/hugetlb/Makefile.inc          |   16 +-
 testcases/kernel/mem/hugetlb/hugemmap/Makefile     |    1 -
 testcases/kernel/mem/hugetlb/hugemmap/hugemmap01.c |   19 +-
 testcases/kernel/mem/hugetlb/hugemmap/hugemmap02.c |    5 +-
 testcases/kernel/mem/hugetlb/hugemmap/hugemmap03.c |    1 -
 testcases/kernel/mem/hugetlb/hugemmap/hugemmap04.c |   24 +-
 testcases/kernel/mem/hugetlb/hugeshmat/Makefile    |    2 +-
 .../kernel/mem/hugetlb/hugeshmat/hugeshmat01.c     |  173 ++++-------
 .../kernel/mem/hugetlb/hugeshmat/hugeshmat02.c     |  167 ++++-------
 .../kernel/mem/hugetlb/hugeshmat/hugeshmat03.c     |  171 ++++-------
 testcases/kernel/mem/hugetlb/hugeshmctl/Makefile   |    2 +-
 .../kernel/mem/hugetlb/hugeshmctl/hugeshmctl01.c   |  327 ++++++++------------
 .../kernel/mem/hugetlb/hugeshmctl/hugeshmctl02.c   |  150 ++++------
 .../kernel/mem/hugetlb/hugeshmctl/hugeshmctl03.c   |  192 +++++-------
 testcases/kernel/mem/hugetlb/hugeshmdt/Makefile    |    2 +-
 .../kernel/mem/hugetlb/hugeshmdt/hugeshmdt01.c     |  169 ++++------
 testcases/kernel/mem/hugetlb/hugeshmget/Makefile   |    2 +-
 .../kernel/mem/hugetlb/hugeshmget/hugeshmget01.c   |  124 +++-----
 .../kernel/mem/hugetlb/hugeshmget/hugeshmget02.c   |  164 ++++------
 .../kernel/mem/hugetlb/hugeshmget/hugeshmget03.c   |  160 ++++------
 .../kernel/mem/hugetlb/hugeshmget/hugeshmget05.c   |  165 ++++-------
 testcases/kernel/mem/hugetlb/lib/ipcmsg.h          |   58 ----
 testcases/kernel/mem/hugetlb/lib/ipcsem.h          |   60 ----
 testcases/kernel/mem/hugetlb/lib/ipcshm.h          |   33 ++-
 testcases/kernel/mem/hugetlb/lib/libipc.c          |  143 ++-------
 27 files changed, 823 insertions(+), 1630 deletions(-)
 delete mode 100644 include/system_specific_hugepages_info.h
 delete mode 100644 lib/system_specific_hugepages_info.c
 delete mode 100644 testcases/kernel/mem/hugetlb/lib/ipcmsg.h
 delete mode 100644 testcases/kernel/mem/hugetlb/lib/ipcsem.h

-- 
1.7.8.4



[-- Attachment #2: Type: text/plain, Size: 381 bytes --]

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2012-03-14  1:59 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-13  4:56 [LTP] [PATCH 00/11] hugetlb multiple fixes Caspar Zhang
2012-03-13  4:56 ` [LTP] [PATCH 01/11] hugetlb/hugeshmat: cleanup codes Caspar Zhang
2012-03-13  6:17   ` Wanlong Gao
2012-03-13  4:56 ` [LTP] [PATCH 02/11] hugetlb/hugeshmat: set nr_hugepages in tests Caspar Zhang
2012-03-13  6:16   ` Wanlong Gao
2012-03-13  4:56 ` [LTP] [PATCH 03/11] hugetlb/hugeshmctl: cleanup codes Caspar Zhang
2012-03-13  4:56 ` [LTP] [PATCH 04/11] hugetlb/hugeshmctl: set nr_hugepages in tests Caspar Zhang
2012-03-13  6:23   ` Wanlong Gao
2012-03-13  4:56 ` [LTP] [PATCH 05/11] hugetlb/hugeshmdt: cleanup codes Caspar Zhang
2012-03-13  4:56 ` [LTP] [PATCH 06/11] hugetlb/hugeshmdt: set nr_hugepages in tests Caspar Zhang
2012-03-13  6:24   ` Wanlong Gao
2012-03-13  4:56 ` [LTP] [PATCH 07/11] hugetlb/hugeshmget: cleanup codes Caspar Zhang
2012-03-13  4:56 ` [LTP] [PATCH 08/11] hugetlb/hugeshmget: set nr_hugepages in tests Caspar Zhang
2012-03-13  6:25   ` Wanlong Gao
2012-03-13  4:56 ` [LTP] [PATCH 09/11] hugetlb/lib: cleanup codes Caspar Zhang
2012-03-13  4:56 ` [LTP] [PATCH 10/11] hugetlb/hugeshmget03: fix broken testcase Caspar Zhang
2012-03-13 12:44   ` Caspar Zhang
2012-03-14  1:58   ` Wanlong Gao
2012-03-13  4:56 ` [LTP] [PATCH 11/11] libltp: remove system_specific_hugepages_info Caspar Zhang
2012-03-13  6:28   ` Wanlong Gao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox