linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 4 byte mem alignment
@ 2002-09-29  6:26 Arvind Gopalan
  2002-09-29  6:23 ` David S. Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Arvind Gopalan @ 2002-09-29  6:26 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-09-29  6:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-29  6:26 4 byte mem alignment Arvind Gopalan
2002-09-29  6:23 ` David S. Miller
2002-09-29  7:00   ` Arvind Gopalan

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).