Skip to contentSkip to conversation

{sys_,/dev/}epoll waiting timeout

DISCUSSION Andi Kleen 2 participants 4 messages Jan 28, 2003 3 messages not in the archive

lore
Share & tools
lore

Andi Kleen

author
#3 lore raw
In reply to a message not in the archive
Quoted 3 lines · Jamie Lokier

Which suggests that all the architectures are fine with all these "int" returns, except IA64.

x86-64 needs long returns too.

I think I fixed all of them, if you noticed any missing please let me now.

-Andi

#4 lore raw
Quoted 8 lines · Andi Kleen
Quoted 3 lines · Jamie Lokier

Which suggests that all the architectures are fine with all these "int" returns, except IA64.

x86-64 needs long returns too.

I think I fixed all of them, if you noticed any missing please let me now.

#define __NR_epoll_create       ???
#define __NR_epoll_ctl          ???
#define __NR_epoll_wait         ???

That in 2.5.59 return "int". I posted the patch to make them return "long" to Linus ( Andrew got it ) this weekend.

- Davide

author
#5 lore raw
Quoted 9 lines · Davide Libenzi
Quoted 7 lines · Andi Kleen
Quoted 3 lines · Jamie Lokier

Which suggests that all the architectures are fine with all these "int" returns, except IA64.

x86-64 needs long returns too.

Quoted 8 lines
Quoted 1 line

I think I fixed all of them, if you noticed any missing please let me now.

#define __NR_epoll_create       ???
#define __NR_epoll_ctl          ???
#define __NR_epoll_wait         ???

That in 2.5.59 return "int". I posted the patch to make them return "long" to Linus ( Andrew got it ) this weekend.

Sorry I meant I fixed all x86-64 specific syscalls returning int.

-Andi

#6 lore raw
Quoted 12 lines · Andi Kleen
Quoted 11 lines · Davide Libenzi
Quoted 8 lines · Andi Kleen
Quoted 3 lines · Jamie Lokier

Which suggests that all the architectures are fine with all these "int" returns, except IA64.

x86-64 needs long returns too.

I think I fixed all of them, if you noticed any missing please let me now.

Quoted 8 lines
Quoted 6 lines
#define __NR_epoll_create       ???
#define __NR_epoll_ctl          ???
#define __NR_epoll_wait         ???

That in 2.5.59 return "int". I posted the patch to make them return "long" to Linus ( Andrew got it ) this weekend.

Sorry I meant I fixed all x86-64 specific syscalls returning int.

I know Andi, I was trying to make you notice that those are missing from the x86-64 arch :)

- Davide