lkml.org 
[lkml]   [2006]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Shrink rbtree
From
Date
On Fri, 2006-04-21 at 23:06 +1000, Nick Piggin wrote:
> How do we know the pointers are always going to be aligned? IIRC
> struct address_space needed to be explicitly aligned when doing
> this trick in page->mapping because some platform byte aligned it.

Really? I've been doing this kind of trick with the jffs2_raw_node_ref
for years. We always allocate sufficiently aligned objects.

--
dwmw2

-
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/

\
 
 \ /
  Last update: 2006-04-21 21:11    [W:0.111 / U:1.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site