login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
March
»
20
Re: [RFC PATCH] kernel: add byteorder macros with alignment fixups
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Al Viro <viro@...>
To: Harvey Harrison <harvey.harrison@...>
Cc: Andrew Morton <akpm@...>, LKML <linux-kernel@...>, linux-netdev <netdev@...>
Subject:
Re: [RFC PATCH] kernel: add byteorder macros with alignment fixups
Date: Thursday, March 20, 2008 - 3:09 pm
On Thu, Mar 20, 2008 at 11:37:24AM -0700, Harvey Harrison wrote:
quoted text
> On Thu, 2008-03-20 at 18:29 +0000, Al Viro wrote: > > On Thu, Mar 20, 2008 at 10:34:14AM -0700, Harvey Harrison wrote: > > > A common pattern in the kernel (especially networking) is: > > > > > > le32_to_cpu(get_unaligned((__le32 *)x)); > > > > > > Repeat for various combinations of le/be and 64/32/16 bit. Add > > > a variant that operates on possibly unaligned pointers to > > > byteorder/generic.h > > > > ... and asm/unaligned.h has just acquired fuckloads of places including > > it indirectly. Not Nice(tm). > > Time for linux/unaligned.h?
Er... And just how would that improve things? --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[RFC PATCH] kernel: add byteorder macros with alignment fixups
, Harvey Harrison
, (Thu Mar 20, 1:34 pm)
Re: [RFC PATCH] kernel: add byteorder macros with alignment ...
, H. Peter Anvin
, (Thu Mar 20, 4:08 pm)
Re: [RFC PATCH] kernel: add byteorder macros with alignment ...
, Al Viro
, (Thu Mar 20, 2:29 pm)
Re: [RFC PATCH] kernel: add byteorder macros with alignment ...
, Harvey Harrison
, (Thu Mar 20, 2:37 pm)
Re: [RFC PATCH] kernel: add byteorder macros with alignment ...
, Al Viro
, (Thu Mar 20, 3:09 pm)
[PATCH] kernel: create linux/unaligned.h
, Harvey Harrison
, (Thu Mar 20, 4:16 pm)
Re: [PATCH] kernel: create linux/unaligned.h
, Randy Dunlap
, (Thu Mar 20, 4:39 pm)
[PATCH] kernel: add byteorder function with alignment fixups
, Harvey Harrison
, (Thu Mar 20, 3:41 pm)
Re: [RFC PATCH] kernel: add byteorder macros with alignment ...
, Harvey Harrison
, (Thu Mar 20, 3:22 pm)
Re: [RFC PATCH] kernel: add byteorder macros with alignment ...
, Pavel Machek
, (Sun Mar 23, 9:59 am)
Re: [RFC PATCH] kernel: add byteorder macros with alignment ...
, Harvey Harrison
, (Mon Mar 24, 12:35 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Andy Whitcroft
clam
Jon Smirl
Re: 463 kernel developers missing!
Trent Piepho
[PATCH] [POWERPC] Improve (in|out)_beXX() asm code
Linus Torvalds
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
git
:
linux-netdev
:
Jarek Poplawski
Re: HTB accuracy for high speed
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Natalie Protasevich
[BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
4 users
and
823 guests
online.
Online users
catfeeder
strcmp
royalfrederick5
keyladudley55
Syndicate