[PATCH v2] [POWERPC] vdso: Fixes for cache block sizes

Paul Mackerras paulus at samba.org
Mon Nov 19 15:07:22 EST 2007


Olof Johansson writes:

> [POWERPC] vdso: Fixes for cache line sizes
> 
> Current VDSO implementation is hardcoded to 128 byte cache blocks,
> which are only used on IBM's 64-bit processors.
> 
> Convert it to get the  blocks sizes out of vdso_data instead, similar
> to how the ppc64 in-kernel cache flush does it.

OK, but you have removed a "crclr cr0*4+so" instruction in a couple of
places.  They are there so that the functions follow the convention
for system calls, where cr0.SO set on return indicates an error, and
clear indicates no error.  Was there any special reason why you
removed them?  If not, please put them back (after the last cmp or
dot-form instruction).

Paul.



More information about the Linuxppc-dev mailing list