Bug 647334 (KSMOnTHP)
| Summary: | Allow KSM to split hugepages | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Glauber Costa <gcosta> |
| Component: | kernel | Assignee: | Andrea Arcangeli <aarcange> |
| Status: | CLOSED ERRATA | QA Contact: | Zhouping Liu <zliu> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.0 | CC: | czhang, jeder, jyang, nobody+295318, phan, qcai, tburke, zliu |
| Target Milestone: | beta | ||
| Target Release: | 6.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | kernel-2.6.32-112.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-23 20:27:43 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 580954 | ||
|
Description
Glauber Costa
2010-10-27 22:35:14 UTC
This build includes all pending THP/VM updates (bug #664772) plus KSM on THP enabled by default. It needs a lot of testing for KSM over THP from QA to be sure it is functionally correct. This is a first version. http://brewweb.devel.redhat.com/brew/taskinfo?taskID=3006717 Patch to enable KSM on THP, posted to rhkernel-list with Message-ID: <20110104165917.GT15823>. Please test kernel in comment #2 mixing THP and KSM. I'm stress testing it here as well. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. I submitted a new build including 4 more fixes from linux-mm, three are migration deadlock fixes (migration is invoked by compaction, all three likely can't trigger on rhel because of .config differences not using SLUB and not enabling preempt but it's safer to have them, especially the one related to preempt), one is a KSM accounting fix needed to pass a ltp testsuite test from Qian. So if you test KSM over THP it's better to test everything at once. The KSM over THP patch posted as in comment #3 is still valid and unchanged, no problem so far. The changes in this build are irrelevant to THP over KSM but I'd like those last changes to get the most testing possible too. Thanks! http://brewweb.devel.redhat.com/brew/taskinfo?taskID=3025030 3 patches pending (two big and hugetlbfs related) have been merged in -97 and thanks to KSM over THP, the madvise(MADV_*HUGEPAGE) isn't necessary anymore. So I created a new build on top of -97 kernel with only these additional patches left to test: compound_lock_irqsave recommended-min_free_kbytes khugepaged-mmap_sem compound_get_put_fix swapin-rmap-exclusive ksm-on-thp ksm-lru-drain migrate-anon_vma-lock migrate-anon_vma-lock-hugetlb migrate-lock_page-readahead compound_trans_head http://brewweb.devel.redhat.com/brew/taskinfo?taskID=3032335 Patch(es) available on kernel-2.6.32-112.el6 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0542.html |