From: Dan Carpenter <dan.carpenter@oracle.com>
To: KY Srinivasan <kys@microsoft.com>
Cc: Sitsofe Wheeler <sitsofe@gmail.com>,
Dexuan Cui <decui@microsoft.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Haiyang Zhang <haiyangz@microsoft.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"devel@linuxdriverproject.org" <devel@linuxdriverproject.org>
Subject: Re: [PANIC, hyperv] BUG: unable to handle kernel paging request at ffff880077800004 (hv_ringbuffer_write)
Date: Fri, 29 Aug 2014 12:49:45 +0300 [thread overview]
Message-ID: <20140829094945.GA5122@mwanda> (raw)
In-Reply-To: <51ae44fcae424365a6d78f3597175d77@BY2PR0301MB0711.namprd03.prod.outlook.com>
It's sort of weird that this is an alignment issue. The config that
was posted earlier was an x86_64 config and on that system then the
pointers from kmalloc() should already be aligned correctly at
sizeof(u64).
Earlier I said I suspected the code is racy, so possibly changing from
kmalloc() to get_zeroed_page() just changes the timing enough so we
don't see the race condition.
regards,
dan carpenter
next prev parent reply other threads:[~2014-08-29 9:50 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-20 9:26 [PANIC, hyperv] BUG: unable to handle kernel paging request at ffff880077800004 (hv_ringbuffer_write) Sitsofe Wheeler
2014-08-20 11:15 ` Dexuan Cui
2014-08-20 11:40 ` Sitsofe Wheeler
2014-08-20 13:42 ` Dexuan Cui
2014-08-25 14:02 ` Dexuan Cui
2014-08-25 17:41 ` Sitsofe Wheeler
2014-08-26 10:30 ` Dexuan Cui
2014-08-27 10:44 ` Sitsofe Wheeler
2014-08-27 11:30 ` Dexuan Cui
2014-08-27 12:15 ` Sitsofe Wheeler
2014-08-27 14:14 ` Dexuan Cui
2014-08-27 16:19 ` Sitsofe Wheeler
2014-08-27 18:45 ` KY Srinivasan
2014-08-27 22:57 ` Sitsofe Wheeler
2014-08-27 23:13 ` KY Srinivasan
2014-08-28 3:21 ` Dexuan Cui
2014-08-28 3:41 ` KY Srinivasan
2014-08-28 12:48 ` Sitsofe Wheeler
2014-08-29 3:39 ` Dexuan Cui
2014-08-29 9:49 ` Dan Carpenter [this message]
2014-08-29 10:16 ` Dexuan Cui
2014-08-29 10:24 ` Dan Carpenter
2014-08-29 11:20 ` Sitsofe Wheeler
2014-08-29 14:48 ` Dexuan Cui
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=20140829094945.GA5122@mwanda \
--to=dan.carpenter@oracle.com \
--cc=decui@microsoft.com \
--cc=devel@linuxdriverproject.org \
--cc=gregkh@linuxfoundation.org \
--cc=haiyangz@microsoft.com \
--cc=kys@microsoft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sitsofe@gmail.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