All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH v2 0/3] mm/thp: add two new case
@ 2013-04-08  9:10 Zhouping Liu
  2013-04-08  9:10 ` [LTP] [PATCH v2 1/3] mm/thp: new case thp04.c Zhouping Liu
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Zhouping Liu @ 2013-04-08  9:10 UTC (permalink / raw)
  To: LTP List

The patchset is desinged to test THP functionality.
    
when one process allocate hugepage aligned anonymouse pages,
kernel thread 'khugepaged' controlled by sysfs knobs
/sys/kernel/mm/transparent_hugepage/* will scan them, and make
them as transparent hugepage if they are suited, you can find out
how many transparent hugepages are there in one process from
/proc/<pid>/smaps, among the file contents, 'AnonHugePages' entry
stand for transparent hugepage.

V1 to V2:
accepted Wanlong's suggestion, added some comment for '10s'
added 'static' key word for single-file-only variant.

Zhouping Liu (3):
  mm/thp: new case thp04.c
  lib/mem: introduce a new function set_global_mempolicy()
  mm/thp: add new case thp05

 runtest/mm                         |   6 ++
 testcases/kernel/mem/include/mem.h |  12 +++
 testcases/kernel/mem/lib/mem.c     | 197 ++++++++++++++++++++++++++++++++++++-
 testcases/kernel/mem/thp/thp04.c   | 136 +++++++++++++++++++++++++
 testcases/kernel/mem/thp/thp05.c   | 152 ++++++++++++++++++++++++++++
 5 files changed, 502 insertions(+), 1 deletion(-)
 create mode 100644 testcases/kernel/mem/thp/thp04.c
 create mode 100644 testcases/kernel/mem/thp/thp05.c

-- 
1.7.11.7


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

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

end of thread, other threads:[~2013-04-15  3:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-08  9:10 [LTP] [PATCH v2 0/3] mm/thp: add two new case Zhouping Liu
2013-04-08  9:10 ` [LTP] [PATCH v2 1/3] mm/thp: new case thp04.c Zhouping Liu
2013-04-15  1:07   ` Wanlong Gao
2013-04-15  3:13     ` Zhouping Liu
2013-04-15  3:29       ` Wanlong Gao
2013-04-15  3:50         ` Zhouping Liu
2013-04-08  9:10 ` [LTP] [PATCH v2 2/3] lib/mem: introduce a new function set_global_mempolicy() Zhouping Liu
2013-04-08  9:10 ` [LTP] [PATCH v2 3/3] mm/thp: add new case thp05 Zhouping Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.