linux-um archives
 help / color / mirror / Atom feed
From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: James McMechan <james_mcmechan@hotmail.com>
Subject: Re: [uml-devel] [PATCH] new version of ubd-many and uml_mconsole
Date: Fri, 3 Feb 2006 00:30:37 +0100	[thread overview]
Message-ID: <200602030030.38283.blaisorblade@yahoo.it> (raw)
In-Reply-To: <BAY101-F378CFB5DBDD49226518EA3E2160@phx.gbl>

On Monday 30 January 2006 00:16, James McMechan wrote:

> I also noted the your V3 cow format does not comply with the 64bit
> alignment rules and
> the compiler should insert a 32bit pad, or you could try __packed but that
> should
> segfault a real 64bit machine I think AMD64/EMT64 may allow unaligned
> access still someday PPC64/SPARC64/IA64 might get user mode linux and 64
> bit machines used to be picky about things like that.

We're (going to) use __packed but the thing doesn't work well yet - it 
compiles and runs, but a 64-bit uml_moo with packed still produces wrong 
results - one compiled as a 32-bit one works.

If you have any idea on this that may help...

For the alignment problem the format is not so good, however we can cope with 
that by reading 4-byte at once and reassembling them - the kernel has 
precoded get_unaligned() APIs to do such work (they work 1 byte at a time I 
guess, however).

I'm currently busy with exams so I can't work on the problem right now, 
however I should to finish soon and get back here.
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade


		
____________________________________
Con Yahoo! Mail proteggi la tua casella di posta da virus e posta indesiderata
http://mail.yahoo.com




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

      reply	other threads:[~2006-02-02 23:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-29 23:16 [uml-devel] [PATCH] new version of ubd-many and uml_mconsole James McMechan
2006-02-02 23:30 ` Blaisorblade [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=200602030030.38283.blaisorblade@yahoo.it \
    --to=blaisorblade@yahoo.it \
    --cc=james_mcmechan@hotmail.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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