Return-Path: Received: from localhost (bix [127.0.0.1]) by localhost.localdomain (8.12.10/8.12.10) with ESMTP id i51MqWCu011305 for ; Tue, 1 Jun 2004 15:52:33 -0700 Received: from bix [127.0.0.1] by localhost with POP3 (fetchmail-6.2.0) for akpm@localhost (single-drop); Tue, 01 Jun 2004 15:52:33 -0700 (PDT) Received: from fire-2.osdl.org (air1.pdx.osdl.net [172.20.0.5]) by mail.osdl.org (8.11.6/8.11.6) with ESMTP id i51MmRr27029 for ; Tue, 1 Jun 2004 15:48:27 -0700 Received: from sampa7.prodam.sp.gov.br (sampa7.prodam.sp.gov.br [200.230.190.107]) by fire-2.osdl.org (8.12.8/8.12.8) with ESMTP id i51MmPwr012042 for ; Tue, 1 Jun 2004 15:48:26 -0700 Received: from cprodamibs250.prodam (cprodamibs250.prodam.sp.gov.br [10.10.64.250]) by sampa7.prodam.sp.gov.br with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id MASK9Z13; Tue, 1 Jun 2004 19:48:19 -0300 Received: from prefeitura.sp.gov.br (10.11.128.93 [10.11.128.93]) by cprodamibs250.prodam with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id L98PTF2X; Tue, 1 Jun 2004 19:51:27 -0300 Received: by prefeitura.sp.gov.br (Postfix, from userid 1000) id 9194F767AC; Tue, 1 Jun 2004 19:39:28 -0300 (BRT) Date: Tue, 1 Jun 2004 19:39:28 -0300 From: "Luiz Fernando N. Capitulino" To: Andrew Morton Cc: riel@readhat.com Subject: [PATCH] - mm/oom_kill.c trivial cleanup. Message-ID: <20040601223928.GA1061@tirion.prodam> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2i X-MIMEDefang-Filter: osdl$Revision: 1.64 $ X-Scanned-By: MIMEDefang 2.36 X-Spam-Status: No, hits=-4.9 required=1.0 tests=BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on bix X-Spam-Level: Andrew, In mm/oom_kill.c::out_of_memory() the next atribution after line 242 is the same (at line 248). The patch bellow remove one of then, Rik agreed (compiled and tested). Signed-off by: Luiz Capitulino mm/oom_kill.c | 1 - 1 files changed, 1 deletion(-) diff -X dontdiff -Nparu a/mm/oom_kill.c a~/mm/oom_kill.c --- a/mm/oom_kill.c 2004-01-09 10:30:39.000000000 -0200 +++ a~/mm/oom_kill.c 2004-06-01 18:32:01.000000000 -0300 @@ -245,7 +245,6 @@ void out_of_memory(void) * If it's been a long time since last failure, * we're not oom. */ - last = now; if (since > 5*HZ) goto reset; -- Luiz Fernando N. Capitulino