All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Starikovskiy <astarikovskiy@suse.de>
To: "Moore, Robert" <robert.moore@intel.com>
Cc: Len Brown <lenb@kernel.org>,
	ACPI Devel Maling List <linux-acpi@vger.kernel.org>
Subject: Re: [RFC][PATCH] ACPICA: Drop Operand cache
Date: Fri, 17 Apr 2009 23:55:40 +0400	[thread overview]
Message-ID: <49E8DEBC.8030307@suse.de> (raw)
In-Reply-To: <4911F71203A09E4D9981D27F9D83085821F006A4@orsmsx503.amr.corp.intel.com>

Moore, Robert wrote:
> Please explain further what this accomplishes. This removes the use of any cache for the acpi operand object? What about performance? That was the major reason the cache was added in the first place.
Our cache implementation fights with memory debugger in Microsoft Visual C standard library. If you care about performance, the best way is to disable this memory debugger, as we don't use it anyway. You could accomplish it in two ways, one is to disable all DEBUG, the other is to only disable memory debugger.

With this patch, every object type is allowed to have it's own size, thus allowing separate optimization. For example, "extra" object, tied to region and field objects could be folded in to save both space and code, this optimization was implemented by Kuzmich some time ago, but was lost during layoffs. 

Regards,
Alex.

> 
> 
>> -----Original Message-----
>> From: Alexey Starikovskiy [mailto:astarikovskiy@suse.de]
>> Sent: Friday, April 17, 2009 11:26 AM
>> To: Moore, Robert; Len Brown
>> Cc: ACPI Devel Maling List
>> Subject: [RFC][PATCH] ACPICA: Drop Operand cache
>>
>> Hi,
>>
>> I've played with AcpiOperandObject union and corresponding cache. Removing
>> the union does not seem to be viable -- patch easily overcomes .5 meg
>> barrier, without any visible change. Dropping only the cache and making all
>> individual objects allocated from heap requires smaller number  of changes
>> and chould make SLAB/SLUB developers happy.
>>
>> Regards,
>> Alex.


  reply	other threads:[~2009-04-17 19:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-17 18:25 [RFC][PATCH] ACPICA: Drop Operand cache Alexey Starikovskiy
2009-04-17 19:41 ` Moore, Robert
2009-04-17 19:55   ` Alexey Starikovskiy [this message]
2009-04-17 20:07     ` Alexey Starikovskiy
2009-04-18  3:46       ` Moore, Robert
2009-04-23 20:47     ` Moore, Robert
2009-04-24 14:22       ` Alexey Starikovskiy
2009-04-24 21:31         ` 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=49E8DEBC.8030307@suse.de \
    --to=astarikovskiy@suse.de \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=robert.moore@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.