Bug 845268
Summary: | mbind reports success, but has no effect | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Jan Stancek <jstancek> |
Component: | kernel | Assignee: | Red Hat Kernel Manager <kernel-mgr> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Kernel QE team <kernel-qe> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 | CC: | czhang, jburke, kmcmartin, lwoodman, mkosaki, zliu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | kernel-3.7.0-0.30.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-01-10 10:14:27 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jan Stancek
2012-08-02 14:02:53 UTC
Reproducible also with upstream 3.6.0-rc1. Works OK if I revert following commit: commit 05f144a0d5c2207a0349348127f996e104ad7404 Author: Mel Gorman <mgorman> Date: Wed May 23 12:48:13 2012 +0100 mm: mempolicy: Let vma_merge and vma_split handle vma->vm_policy linkages Dave Jones' system call fuzz testing tool "trinity" triggered the following bug error with slab debugging enabled I have a patch for upstream. I'll handle this. thanks. Following rebase to 3.6, this issue is still reproducible: mbind(0x7f2bf165e000, 4096, MPOL_BIND, {0x0000000000000001, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, ...}, 4096, 0) = 0 get_mempolicy(MPOL_DEFAULT, {000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, 000000000000000000, ...}, 4096, 0x7f2bf165e000, MPOL_F_ADDR) = 0 # uname -r 3.6.0-0.27.el7.x86_64 merged upstream now. (3.7-rc1). # uname -r 3.7.0-0.30.el7.x86_64 # ./mbind_test OK Attached reproducer and LTP testcases (mbind01, get_mempolicy01, move_pages01) passed, closing as CURRENTRELEASE. |