lkml.org 
[lkml]   [2004]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Alignment of bitmaps for ext2_set_bit et al.
Andrew Morton wrote:

>Paul Mackerras <paulus@samba.org> wrote:
>
>
>>Olof has made a patch that uses atomics for these on ppc64 rather than
>>locking and unlocking a lock, but it will only work correctly if the
>>bitmap is always 8-byte aligned.
>>
>>
>
>Sounds sane, as long as you get firmly notified when a poorly-aligned
>address is fed in.
>
>
The notification is in the form of an unalignment trap resulting in a
panic, is that firm enough? :-)


-Olof
-
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: 2005-03-22 14:05    [W:0.061 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site