From: Andrew Morton <akpm@linux-foundation.org>
To: Dan Williams <dan.j.williams@intel.com>
Cc: linux-nvdimm@ml01.01.org, linux-mm@kvack.org,
Ross Zwisler <ross.zwisler@linux.intel.com>,
"Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/5] mm: fix show_smap() for zone_device-pmd ranges
Date: Tue, 6 Sep 2016 13:16:03 -0700 [thread overview]
Message-ID: <20160906131603.5374113e726e1e05becc34cb@linux-foundation.org> (raw)
In-Reply-To: <147318057623.30325.10495460878595242707.stgit@dwillia2-desk3.amr.corp.intel.com>
On Tue, 06 Sep 2016 09:49:36 -0700 Dan Williams <dan.j.williams@intel.com> wrote:
> Attempting to dump /proc/<pid>/smaps for a process with pmd dax mappings
> currently results in the following VM_BUG_ONs:
>
> kernel BUG at mm/huge_memory.c:1105!
> task: ffff88045f16b140 task.stack: ffff88045be14000
> RIP: 0010:[<ffffffff81268f9b>] [<ffffffff81268f9b>] follow_trans_huge_pmd+0x2cb/0x340
> [..]
> Call Trace:
> [<ffffffff81306030>] smaps_pte_range+0xa0/0x4b0
> [<ffffffff814c2755>] ? vsnprintf+0x255/0x4c0
> [<ffffffff8123c46e>] __walk_page_range+0x1fe/0x4d0
> [<ffffffff8123c8a2>] walk_page_vma+0x62/0x80
> [<ffffffff81307656>] show_smap+0xa6/0x2b0
>
> kernel BUG at fs/proc/task_mmu.c:585!
> RIP: 0010:[<ffffffff81306469>] [<ffffffff81306469>] smaps_pte_range+0x499/0x4b0
> Call Trace:
> [<ffffffff814c2795>] ? vsnprintf+0x255/0x4c0
> [<ffffffff8123c46e>] __walk_page_range+0x1fe/0x4d0
> [<ffffffff8123c8a2>] walk_page_vma+0x62/0x80
> [<ffffffff81307696>] show_smap+0xa6/0x2b0
>
> These locations are sanity checking page flags that must be set for an
> anonymous transparent huge page, but are not set for the zone_device
> pages associated with dax mappings.
Acked-by: Andrew Morton <akpm@linux-foundation.org>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2016-09-06 20:16 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-06 16:49 [PATCH 0/5] device-dax and huge-page dax fixes for 4.8-rc6 Dan Williams
2016-09-06 16:49 ` [PATCH 1/5] dax: fix mapping size check Dan Williams
2016-09-06 16:49 ` [PATCH 2/5] dax: fix offset to physical address translation Dan Williams
2016-09-10 1:00 ` Dan Williams
2016-09-06 16:49 ` [PATCH 3/5] mm: fix show_smap() for zone_device-pmd ranges Dan Williams
2016-09-06 20:16 ` Andrew Morton [this message]
2016-09-06 16:49 ` [PATCH 4/5] mm: fix cache mode of dax pmd mappings Dan Williams
2016-09-06 17:20 ` Matthew Wilcox
2016-09-06 17:32 ` Dan Williams
2016-09-06 20:17 ` Andrew Morton
2016-09-06 21:52 ` Dan Williams
2016-09-07 19:39 ` Kani, Toshimitsu
2016-09-07 19:45 ` Dan Williams
2016-09-06 16:49 ` [PATCH 5/5] mm: cleanup pfn_t usage in track_pfn_insert() Dan Williams
2016-09-06 20:20 ` Andrew Morton
2016-09-06 20:30 ` Dan Williams
2016-09-07 5:12 ` Anshuman Khandual
2016-09-07 15:47 ` Dan Williams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160906131603.5374113e726e1e05becc34cb@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=dan.j.williams@intel.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-nvdimm@ml01.01.org \
--cc=ross.zwisler@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox