Re: [PATCH 2.6.21] Return available first timeslice to the creator, not parent

2007-08-30 Thread Oleg Nesterov
On 08/30, Peter Zijlstra wrote: > > On Thu, 2007-08-30 at 13:49 +0400, Oleg Nesterov wrote: > > > > sched_exit() was removed in 2.6.23-rc. > > > > If you are going to re-introduce this logic, please don't do sched_exit() > > from release_task(). It was done this way just because we can't access >

Re: [PATCH 2.6.21] Return available first timeslice to the creator, not parent

2007-08-30 Thread Peter Zijlstra
On Thu, 2007-08-30 at 13:49 +0400, Oleg Nesterov wrote: > On 08/30, Peter Zijlstra wrote: > > > > On Thu, 2007-08-30 at 09:50 +0200, Vitaly Mayatskikh wrote: > > > Short-living process returns its timeslice to the parent, this affects > > > process that creates a lot of such short-living threads, b

Re: [PATCH 2.6.21] Return available first timeslice to the creator, not parent

2007-08-30 Thread Pavel Emelyanov
Peter Zijlstra wrote: On Thu, 2007-08-30 at 09:50 +0200, Vitaly Mayatskikh wrote: Short-living process returns its timeslice to the parent, this affects process that creates a lot of such short-living threads, because its not a parent for new threads. Patch fixes this issue and doesn't break kab

Re: [PATCH 2.6.21] Return available first timeslice to the creator, not parent

2007-08-30 Thread Oleg Nesterov
On 08/30, Peter Zijlstra wrote: > > On Thu, 2007-08-30 at 09:50 +0200, Vitaly Mayatskikh wrote: > > Short-living process returns its timeslice to the parent, this affects > > process that creates a lot of such short-living threads, because its > > not a parent for new threads. Patch fixes this issu

Re: [PATCH 2.6.21] Return available first timeslice to the creator, not parent

2007-08-30 Thread Peter Zijlstra
On Thu, 2007-08-30 at 10:37 +0200, Michal Schmidt wrote: > Vitaly Mayatskikh skrev: > > Short-living process returns its timeslice to the parent, this > > affects process that creates a lot of such short-living threads, > > because its not a parent for new threads. > > I don't see the point of sen

Re: [PATCH 2.6.21] Return available first timeslice to the creator, not parent

2007-08-30 Thread Peter Zijlstra
On Thu, 2007-08-30 at 09:50 +0200, Vitaly Mayatskikh wrote: > Short-living process returns its timeslice to the parent, this affects > process that creates a lot of such short-living threads, because its > not a parent for new threads. Patch fixes this issue and doesn't break > kabi as does the pat

Re: [PATCH 2.6.21] Return available first timeslice to the creator, not parent

2007-08-30 Thread Michal Schmidt
Vitaly Mayatskikh skrev: Short-living process returns its timeslice to the parent, this affects process that creates a lot of such short-living threads, because its not a parent for new threads. I don't see the point of sending patches for old Linux versions such as 2.6.21, unless it's somethi

[PATCH 2.6.21] Return available first timeslice to the creator, not parent

2007-08-30 Thread Vitaly Mayatskikh
Short-living process returns its timeslice to the parent, this affects process that creates a lot of such short-living threads, because its not a parent for new threads. Patch fixes this issue and doesn't break kabi as does the patch from reporter: http://lkml.org/lkml/2007/4/7/21 An example a