All of lore.kernel.org
 help / color / mirror / Atom feed
From: Allan Graves <allan.graves@oracle.com>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Clarification of UML and AIO?
Date: Wed, 13 Jul 2005 13:57:47 -0400	[thread overview]
Message-ID: <42D5561B.8010004@oracle.com> (raw)
In-Reply-To: <20050712220327.GB4469@ccure.user-mode-linux.org>

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

Jeff, Blaisor, you're exactly right.  Linux aio uses io_submit, not 
aio_read, it seems.  aio_read calls clone to make a new thread to do its 
"aio".  Thank you all for your help.
Allan

Jeff Dike wrote:

>>Tracing the aio_read() through the UML kernel finally gets me here:
>>
>>#0  sys_pread64 (fd=3, buf=0xbf7c8f20 "", count=1024, pos=0)
>>  at fs/read_write.c:354
>>#1  0x08062ff8 in execute_syscall_skas (r=0x12374864)
>>  at arch/um/kernel/skas/syscall_kern.c:29
>>    
>>
>
>Finally?  That's the very beginning of the system call (or the very end).
>
>The UML block device doesn't know about AIO.  All it does is get blocks from
>a disk.
>
>Are you sure you're getting kernel AIO and not the libc emulation of it?
>
>				Jeff
>  
>

[-- Attachment #2: allan.graves.vcf --]
[-- Type: text/x-vcard, Size: 147 bytes --]

begin:vcard
fn:Allan Graves
n:Graves;Allan
email;internet:allan.graves@oracle.com
tel;work:603-8973276
x-mozilla-html:FALSE
version:2.1
end:vcard


      parent reply	other threads:[~2005-07-13 17:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-12 20:57 [uml-devel] Clarification of UML and AIO? Allan Graves
2005-07-12 22:03 ` Jeff Dike
2005-07-13 13:39   ` Blaisorblade
2005-07-13 17:57   ` Allan Graves [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=42D5561B.8010004@oracle.com \
    --to=allan.graves@oracle.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 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.