Re: fadvise on MIPS

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

 



On Sat, 17 Feb 2007 00:48:12 +0900 (JST), Atsushi Nemoto <anemo@xxxxxxxxxxxxx> wrote:
> > 2) On O32, glibc pass a 'long long' argument by hi and lo words, but
> > kernel needs padding word between 'fd' and 'offset' argument.
> > 
> > 3) On N32, glibc pass a 'long long' argument by hi and lo words, but
> > kernel expects a single register value for 'long long' argument.
> 
> And sync_file_range() has some problem too.

Hmm, for other system calls with long long argument, such as
ftruncate64, glibc and uClibc provides mips specific version just for
insert a padding argument.

This is a general rule?  Or for new system call, we can do that
adjustment in kernel to avoid fixing each C libraries?

---
Atsushi Nemoto


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

  Powered by Linux