From patchwork Wed Feb 27 06:07:36 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 15114 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id A44CC23DFE for ; Wed, 27 Feb 2013 06:08:06 +0000 (UTC) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by fiordland.canonical.com (Postfix) with ESMTP id 5DCC1A1924A for ; Wed, 27 Feb 2013 06:08:06 +0000 (UTC) Received: by mail-ve0-f174.google.com with SMTP id pb11so179232veb.19 for ; Tue, 26 Feb 2013 22:08:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=w2NGXLzgkttA7MjyNK0S4s1MY6YiaHDMCzuZ/tt+nSs=; b=QgJst/cdKM+u5GPNF1WKaUFdlyi1Gsp5RnffZyngQ14QDCYudinm4l2hfF1xB2GmFa Kaf6qTHj7VBzGJcKf+i6PrLrHnzrbsa2trnl4XPTvFzllchuYYU3vuU6Cm+qdXukKCig udTQKpTjix71oNKG9j80pOyAIysr6jT7hcIcay/eZDVTIWP9ciApMXOj1cwS/qKJjyLn gGeebESqnBn/qrHR3cGF72k7TI2d9fYLFS0EIGpiuGW5ZLeeg/vhmso+nDkVZRyFVjJV w5ehm3y68bgZiEDHNzpiryOX1U3St56UWOMceovD90LYY3BYKRu1d3I5pzILNcXGiNUK TWrQ== X-Received: by 10.52.93.235 with SMTP id cx11mr359979vdb.51.1361945285924; Tue, 26 Feb 2013 22:08:05 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.145.101 with SMTP id st5csp150784veb; Tue, 26 Feb 2013 22:08:05 -0800 (PST) X-Received: by 10.68.138.170 with SMTP id qr10mr1526331pbb.190.1361945285089; Tue, 26 Feb 2013 22:08:05 -0800 (PST) Received: from mail-da0-f42.google.com (mail-da0-f42.google.com [209.85.210.42]) by mx.google.com with ESMTPS id ol9si3460588pbb.77.2013.02.26.22.08.04 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Feb 2013 22:08:05 -0800 (PST) Received-SPF: neutral (google.com: 209.85.210.42 is neither permitted nor denied by best guess record for domain of john.stultz@linaro.org) client-ip=209.85.210.42; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.42 is neither permitted nor denied by best guess record for domain of john.stultz@linaro.org) smtp.mail=john.stultz@linaro.org Received: by mail-da0-f42.google.com with SMTP id n15so127716dad.29 for ; Tue, 26 Feb 2013 22:08:04 -0800 (PST) X-Received: by 10.66.51.225 with SMTP id n1mr5679052pao.203.1361945284716; Tue, 26 Feb 2013 22:08:04 -0800 (PST) Received: from localhost.localdomain (c-24-21-54-107.hsd1.or.comcast.net. [24.21.54.107]) by mx.google.com with ESMTPS id tm1sm3499861pbc.11.2013.02.26.22.08.03 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Feb 2013 22:08:04 -0800 (PST) From: John Stultz To: lkml Cc: =?UTF-8?q?Arve=20Hj=C3=B8nnev=C3=A5g?= , Android Kernel Team , Greg Kroah-Hartman , John Stultz Subject: [PATCH 3/5] staging: android: lowmemorykiller: Change default debug_level to 1 Date: Tue, 26 Feb 2013 22:07:36 -0800 Message-Id: <1361945258-24420-4-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1361945258-24420-1-git-send-email-john.stultz@linaro.org> References: <1361945258-24420-1-git-send-email-john.stultz@linaro.org> MIME-Version: 1.0 X-Gm-Message-State: ALoCoQk+jCl+55/YVaXI2NRZbKp+JZs/g5lvQP13Y27+EntySiah6I/DoXvb1PuYnehmdpUZ+n4V From: Arve Hjønnevåg The select...to kill messages are not very useful when not debugging the lowmemorykiller itself. After the change to check TIF_MEMDIE instead of using a task notifer this message can also get very noisy. Cc: Android Kernel Team Cc: Arve Hjønnevåg Cc: Greg Kroah-Hartman Signed-off-by: Arve Hjønnevåg Signed-off-by: John Stultz --- drivers/staging/android/lowmemorykiller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/android/lowmemorykiller.c b/drivers/staging/android/lowmemorykiller.c index 2f28763..e0435a9 100644 --- a/drivers/staging/android/lowmemorykiller.c +++ b/drivers/staging/android/lowmemorykiller.c @@ -40,7 +40,7 @@ #include #include -static uint32_t lowmem_debug_level = 2; +static uint32_t lowmem_debug_level = 1; static short lowmem_adj[6] = { 0, 1,