All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven Rostedt <srostedt@redhat.com>
To: Jan Beulich <jbeulich@novell.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH] Fix >4G i386 PAE grant table interface
Date: Fri, 03 Nov 2006 08:43:00 -0500	[thread overview]
Message-ID: <454B4764.6080709@redhat.com> (raw)
In-Reply-To: <454B0F19.76E4.0078.0@novell.com>

Jan Beulich wrote:
>>>> Steven Rostedt <srostedt@redhat.com> 02.11.06 17:53 >>>
>> It has been discovered that i386 boxes with more than 4G of RAM would 
>> randomly crash.  It was traced to the interface of blktap using 
>> gnttab_set_map_op.
>>
>> It would pass in the 64 bit pte entry, but the gnttab_set_map_op would 
>> only take a 32 bit (on i386) unsigned long as a parameter. So we lose 
>> the top 32bits.
> 
> Could you use maddr_t here rather than uint64_t? For non-PAE i386
> Linux, especially when using CONFIG_REGPARM, adding a useless
> argument slot seems wasteful...
> 

Actually, it makes no difference to me. In fact uint64_t was  my third 
incarnation, since I wasn't sure what the best would be. I started with 
unsigned long long, then switched to u64, and then noticed that since 
host_addr is uint64_t, that seemed the proper thing to use.

So a maddr_t would work too.

Do you want to do the patch, or would you like me to send another patch 
that would do this change?

-- Steve

  reply	other threads:[~2006-11-03 13:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-02 16:53 [PATCH] Fix >4G i386 PAE grant table interface Steven Rostedt
2006-11-02 18:16 ` Keir Fraser
2006-11-03  9:28   ` Jan Beulich
2006-11-03 22:46     ` Steven Rostedt
2006-11-04  7:42       ` Keir Fraser
2006-11-04 14:25         ` Steven Rostedt
2006-11-04 16:23           ` Keir Fraser
2006-11-04 17:10             ` Steven Rostedt
2006-11-03  8:42 ` Jan Beulich
2006-11-03 13:43   ` Steven Rostedt [this message]
2006-11-03 14:27     ` Jan Beulich
2006-11-03 20:43       ` Keir Fraser
2006-11-06  8:21         ` Jan Beulich
2006-11-03  9:56 ` Jan Beulich

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=454B4764.6080709@redhat.com \
    --to=srostedt@redhat.com \
    --cc=jbeulich@novell.com \
    --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.