Re: [UPDATE PATCH][Bug 5132] fix sys_poll() large timeout handling

2005-09-09 Thread Andrew Morton
Nishanth Aravamudan <[EMAIL PROTECTED]> wrote: > > Description: The current sys_poll() implementation does not seem to > handle large timeouts correctly. Any value in milliseconds (@timeout) > which exceeds the maximum representable jiffy value > (MAX_SCHEDULE_TIMEOUT) should result in a

[UPDATE PATCH][Bug 5132] fix sys_poll() large timeout handling

2005-09-09 Thread Nishanth Aravamudan
On 06.09.2005 [14:25:14 -0700], Nishanth Aravamudan wrote: > On 31.08.2005 [13:01:09 -0700], Nishanth Aravamudan wrote: > > Sorry everybody, forgot the most important Cc: :) > > > > -Nish > > > > Hi Andrew, > > > > In looking at Bug 5132 and sys_poll(), I think there is a flaw in the > >

[UPDATE PATCH][Bug 5132] fix sys_poll() large timeout handling

2005-09-09 Thread Nishanth Aravamudan
On 06.09.2005 [14:25:14 -0700], Nishanth Aravamudan wrote: On 31.08.2005 [13:01:09 -0700], Nishanth Aravamudan wrote: Sorry everybody, forgot the most important Cc: :) -Nish Hi Andrew, In looking at Bug 5132 and sys_poll(), I think there is a flaw in the current code. The

Re: [UPDATE PATCH][Bug 5132] fix sys_poll() large timeout handling

2005-09-09 Thread Andrew Morton
Nishanth Aravamudan [EMAIL PROTECTED] wrote: Description: The current sys_poll() implementation does not seem to handle large timeouts correctly. Any value in milliseconds (@timeout) which exceeds the maximum representable jiffy value (MAX_SCHEDULE_TIMEOUT) should result in a

Re: [PATCH][Bug 5132] fix sys_poll() large timeout handling

2005-09-06 Thread Nishanth Aravamudan
On 31.08.2005 [13:01:09 -0700], Nishanth Aravamudan wrote: > Sorry everybody, forgot the most important Cc: :) > > -Nish > > Hi Andrew, > > In looking at Bug 5132 and sys_poll(), I think there is a flaw in the > current code. > > The @timeout parameter to sys_poll() is in milliseconds but we

Re: [PATCH][Bug 5132] fix sys_poll() large timeout handling

2005-09-06 Thread Nishanth Aravamudan
On 31.08.2005 [13:01:09 -0700], Nishanth Aravamudan wrote: Sorry everybody, forgot the most important Cc: :) -Nish Hi Andrew, In looking at Bug 5132 and sys_poll(), I think there is a flaw in the current code. The @timeout parameter to sys_poll() is in milliseconds but we compare it

[PATCH][Bug 5132] fix sys_poll() large timeout handling

2005-08-31 Thread Nishanth Aravamudan
Sorry everybody, forgot the most important Cc: :) -Nish Hi Andrew, In looking at Bug 5132 and sys_poll(), I think there is a flaw in the current code. The @timeout parameter to sys_poll() is in milliseconds but we compare it to (MAX_SCHEDULE_TIMEOUT / HZ), which is jiffies/jiffies-per-sec or

[PATCH][Bug 5132] fix sys_poll() large timeout handling

2005-08-31 Thread Nishanth Aravamudan
Sorry everybody, forgot the most important Cc: :) -Nish Hi Andrew, In looking at Bug 5132 and sys_poll(), I think there is a flaw in the current code. The @timeout parameter to sys_poll() is in milliseconds but we compare it to (MAX_SCHEDULE_TIMEOUT / HZ), which is jiffies/jiffies-per-sec or