All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: James Harper <james.harper@bendigoit.com.au>
Cc: xen-devel@lists.xensource.com
Subject: Re: Dom0 crash after bad use of gntdev
Date: Mon, 06 Dec 2010 10:18:43 -0800	[thread overview]
Message-ID: <4CFD2903.3010705@goop.org> (raw)
In-Reply-To: <AEC6C66638C05B468B556EA548C1A77D01BB877B@trantor>

On 12/05/2010 09:43 PM, James Harper wrote:
> I have a bug in some code running in Dom0 that uses gntdev and it's
> crashing Dom0 when it goes wrong. I'm not sure exactly what it's doing
> wrong but is it acceptable for this to happen? The things I know are
> that I'm passing an invalid array to xc_gnttab_map_grant_refs and then
> unmapping it without checking the result of the mapping. I'm not sure
> what else is going on aside from those two things.

In principle the kernel shouldn't crash as a result from misuse of an
ABI, and it often indicates some problem which might affect things in a
more subtle way under other circumstances.  Can you post the details of
your crash and what your program is doing?

Thanks,
    J

      reply	other threads:[~2010-12-06 18:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-06  5:43 Dom0 crash after bad use of gntdev James Harper
2010-12-06 18:18 ` Jeremy Fitzhardinge [this message]

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=4CFD2903.3010705@goop.org \
    --to=jeremy@goop.org \
    --cc=james.harper@bendigoit.com.au \
    --cc=xen-devel@lists.xensource.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.