linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arvind Gopalan <arvind_gopalan@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: 4 byte mem alignment
Date: Sat, 28 Sep 2002 23:26:46 -0700 (PDT)	[thread overview]
Message-ID: <20020929062646.97364.qmail@web14606.mail.yahoo.com> (raw)

I wished someone to confirm the following: Is it a
requirement for the user space buffer that is provided
to the recvfrom() socket call, be 4 byte aligned?.
Note that sockets are raw sockets (PF_PACKET type). I
am running linux 2.4.18-10 on a dual xeon P4 (x86)
box. At the lowest level, i think this translates to
how strong the requirements are for copy_to_user().
does it fault to byte-by-byte mode gracefully when
given a non-4byte aligned buffer?.

Please include me in all replies, since i'm not
subscribed to the list

Thanks
-Arvind

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

             reply	other threads:[~2002-09-29  6:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-29  6:26 Arvind Gopalan [this message]
2002-09-29  6:23 ` 4 byte mem alignment David S. Miller
2002-09-29  7:00   ` Arvind Gopalan

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=20020929062646.97364.qmail@web14606.mail.yahoo.com \
    --to=arvind_gopalan@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).