From: William Lee Irwin III <wli@holomorphy.com>
To: linux-kernel@vger.kernel.org
Subject: Re: lazy_buddy-2.5.25-1
Date: Wed, 10 Jul 2002 21:49:56 -0700 [thread overview]
Message-ID: <20020711044956.GB27093@holomorphy.com> (raw)
In-Reply-To: <20020710085917.GP25360@holomorphy.com>
On Wed, Jul 10, 2002 at 01:59:17AM -0700, William Lee Irwin III wrote:
> This patch implements deferred coalescing for the Linux page-level
> allocator, or the lazy buddy algorithm. This appears to reduce the
> allocator overhead in some AF_UNIX and local TCP connection scenarios
> according to LMbench (hopefully I can follow up with numbers soon).
> This is a simple forward port of the 2.5.23-based version decoupled
> from some of the cleanups previously bundled with it.
Ugh, forward port breakage. Ran into this in a different patch but
realized it was broken here too. Sorry folks. You'll need this on
top of the prior post.
Cheers,
Bill
===== mm/page_alloc.c 1.125 vs edited =====
--- 1.125/mm/page_alloc.c Tue Jul 9 14:50:43 2002
+++ edited/mm/page_alloc.c Wed Jul 10 20:33:03 2002
@@ -312,7 +312,6 @@
if (bad_range(zone, page))
BUG();
- prep_new_page(page);
return page;
}
curr_order++;
@@ -394,7 +393,7 @@
page = buddy_alloc(zone, order);
if (unlikely(!page))
goto out;
- set_page_count(page, 1);
+ prep_new_page(page);
area->active++;
zone->free_pages -= 1UL << order;
out:
next prev parent reply other threads:[~2002-07-11 4:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-10 8:59 lazy_buddy-2.5.25-1 William Lee Irwin III
2002-07-11 4:49 ` William Lee Irwin III [this message]
2002-07-11 5:02 ` lazy_buddy-2.5.25-1 William Lee Irwin III
2002-07-11 5:11 ` lazy_buddy-2.5.25-1 William Lee Irwin III
2002-07-13 6:22 ` lazy_buddy-2.5.25-1 William Lee Irwin III
2002-07-13 6:29 ` lazy_buddy-2.5.25-1 William Lee Irwin III
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=20020711044956.GB27093@holomorphy.com \
--to=wli@holomorphy.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®