Re: 2.6.39-rc4+: Kernel leaking memory during FS scanning, regression?

From: Sedat Dilek
Date: Thu Apr 28 2011 - 05:17:54 EST


On Thu, Apr 28, 2011 at 11:09 AM, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> Bruno,
>
> On Thu, 28 Apr 2011, Thomas Gleixner wrote:
>> On Wed, 27 Apr 2011, Bruno PrÃmont wrote:
>> I need some sleep now, but I will try to come up with sensible
>> debugging tomorrow unless Paul or someone else beats me to it.
>
> can you please add the patch below and provide the /proc/sched_debug
> output when the problem shows up again?
>
> Thanks,
>
> Â Â Â Âtglx
>
> ---
> Âkernel/sched.c | Â Â3 ---
> Â1 file changed, 3 deletions(-)
>
> Index: linux-2.6/kernel/sched.c
> ===================================================================
> --- linux-2.6.orig/kernel/sched.c
> +++ linux-2.6/kernel/sched.c
> @@ -642,9 +642,6 @@ static void update_rq_clock(struct rq *r
> Â{
> Â Â Â Âs64 delta;
>
> - Â Â Â if (rq->skip_clock_update)
> - Â Â Â Â Â Â Â return;
> -
> Â Â Â Âdelta = sched_clock_cpu(cpu_of(rq)) - rq->clock;
> Â Â Â Ârq->clock += delta;
> Â Â Â Âupdate_rq_clock_task(rq, delta);

Referring to [1]?

- Sedat -

[1] http://lkml.org/lkml/2011/4/22/35
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/