Re: Serious bug in uaccess.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 27, 2001 at 06:54:22PM +0100, Maciej W. Rozycki wrote:
> > BTW, the kernel would be smaller by moving all the asm around __copy_user
> > in __copy_user itself. I am currently doing that. The cost is an added
> > 'jr' to jump to __memcpy. Do you think it is worthwhile to do that ?
> 
>  What asm do you mean?

I mean the code in arch/mips/lib/memcpy.S. It is possible to modify
__copy_user so that it has exactly the same calling convention of a C
function. Then, no asm is necessary in uaccess.h. It costs us a
supplementary jump.

Fabrice.


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux