Hi! > > I'm afraid it needs to be more aggressive. > > OK, is the patch below any better ? Yes, this one actually works. When I launched two 150MB tasks, one of them with ulimit -m 1, the limited task yielded its memory to unlimited one. It worked as expected. Pavel -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo _at_ vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Follow-Ups:
- Re: sched-idle and disk-priorities for 2.6.Xbill davidsen
- Re: sched-idle and disk-priorities for 2.6.XPavel Machek
- Re: sched-idle and disk-priorities for 2.6.XRik van Riel
- Prev by Date: Re: Suspicious pointer usage in kobil_sct driver.
- Next by Date: Re: 2.6.1 "clock preempt"?
- Previous by thread: Re: sched-idle and disk-priorities for 2.6.X
- Next by thread: Re: sched-idle and disk-priorities for 2.6.X
- Indexes:[Main][Thread]