linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Michal Hocko <mhocko@kernel.org>
To: Dave Hansen <dave.hansen@intel.com>
Cc: Richard Biener <rguenther@suse.de>,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: Kernel bug with MPX?
Date: Fri, 8 Mar 2019 08:12:49 +0100	[thread overview]
Message-ID: <20190308071249.GJ30234@dhcp22.suse.cz> (raw)
In-Reply-To: <ba1d2d3c-e616-611d-3cff-acf6b8aaeb66@intel.com>

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

On Thu 07-03-19 12:38:15, Dave Hansen wrote:
> On 3/6/19 12:53 AM, Richard Biener wrote:
> > When running the gcc.target/i386/mpx/memmove-1.c testcase
> > from the GCC 8 branch on MPX capable hardware the testcase
> > faults and the kernel log reports the following:
> 
> While I don't doubt that we have some MPX bugs around, I wasn't able to
> reproduce this one with that binary.  Is there anything else that would
> help us track this down?

I have simply executed the binary without any special preparation and I
could see the leak information in dmesg

[112423.206497] BUG: Bad rss-counter state mm:000000007aa9c8a7 idx:1 val:25593

I do not see the fault/signal with
$ uname -r
5.0.0-00510-gcd2a3bf02625

though. My config is attached.
-- 
Michal Hocko
SUSE Labs

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 24962 bytes --]

  reply	other threads:[~2019-03-08  7:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-06  8:53 Richard Biener
2019-03-07 20:38 ` Dave Hansen
2019-03-08  7:12   ` Michal Hocko [this message]
2019-03-08  7:41     ` Michal Hocko
2019-03-13 22:00       ` Dave Hansen
2019-03-14 16:51       ` Dave Hansen
2019-03-18 11:47         ` Michal Hocko
2019-03-18 15:59           ` Dave Hansen

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=20190308071249.GJ30234@dhcp22.suse.cz \
    --to=mhocko@kernel.org \
    --cc=dave.hansen@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=rguenther@suse.de \
    /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