linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Renninger <trenn@suse.de>
To: linux-acpi@vger.kernel.org
Cc: linux-ia64@vger.kernel.org, "Moore,
	Robert" <robert.moore@intel.com>, Raymund Will <rw@suse.de>,
	"Brown, Len" <len.brown@intel.com>
Subject: [PATCH] max_refcount too low for starting debug messages
Date: Thu, 2 Mar 2006 13:37:13 +0100	[thread overview]
Message-ID: <200603021337.14017.trenn@suse.de> (raw)

Some big equipped IA64 machines might show large ref count messages.

I increased ACPI_MAX_REFERENCE_COUNT and hid the message as debug.
Feel free to only hide msg, only increase reference count or both ..., not sure which
one is best, but at least one thing should be done ...

Subject: Hide ref_cnt debug message

signed-off-by: Thomas Renninger <trenn@suse.de>

drivers/acpi/utilities/utdelete.c |    8 +++-----
include/acpi/acconfig.h           |    2 +-
 2 files changed, 4 insertions(+), 6 deletions(-)

Index: linux-2.6.16-rc5/drivers/acpi/utilities/utdelete.c
===================================================================
--- linux-2.6.16-rc5.orig/drivers/acpi/utilities/utdelete.c
+++ linux-2.6.16-rc5/drivers/acpi/utilities/utdelete.c
@@ -372,12 +372,10 @@ acpi_ut_update_ref_count(union acpi_oper
 	 * (A deleted object will have a huge reference count)
 	 */
 	if (count > ACPI_MAX_REFERENCE_COUNT) {
-
-		ACPI_WARNING((AE_INFO,
-			      "Large Reference Count (%X) in object %p",
-			      count, object));
+		ACPI_DEBUG_PRINT((ACPI_DB_WARN,
+				  "Large Reference Count (%X) in object %p",
+				  count, object));
 	}
-
 	return;
 }
 
Index: linux-2.6.16-rc5/include/acpi/acconfig.h
===================================================================
--- linux-2.6.16-rc5.orig/include/acpi/acconfig.h
+++ linux-2.6.16-rc5/include/acpi/acconfig.h
@@ -104,7 +104,7 @@
 
 /* Max reference count (for debug only) */
 
-#define ACPI_MAX_REFERENCE_COUNT        0x400
+#define ACPI_MAX_REFERENCE_COUNT        0x800
 
 /* Size of cached memory mapping for system memory operation region */
 

             reply	other threads:[~2006-03-02 12:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-02 12:37 Thomas Renninger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-03-03 17:48 [PATCH] max_refcount too low for starting debug messages Moore, Robert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200603021337.14017.trenn@suse.de \
    --to=trenn@suse.de \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-ia64@vger.kernel.org \
    --cc=robert.moore@intel.com \
    --cc=rw@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).