From: Manfred Spraul <manfred@colorfullife.com>
To: akpm@digeo.com, linux-kernel@vger.kernel.org
Cc: mbligh@aracnet.com
Subject: [PATCH] patch-slab-split-03-tail
Date: Fri, 04 Oct 2002 19:04:29 +0200 [thread overview]
Message-ID: <3D9DCA1D.7070400@colorfullife.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 385 bytes --]
part 3:
[depends on -02-SMP]
If an object is freed from a slab, then move the slab to the tail of the
partial list - this should increase the probability that the other
objects from the same page are freed, too, and that a page can be
returned to gfp later.
The cpu arrays are now always in front of the list, i.e. cache hit rates
should not matter.
Please apply
--
Manfred
[-- Attachment #2: patch-slab-split-03-tail --]
[-- Type: text/plain, Size: 331 bytes --]
--- 2.5/mm/slab.c Fri Oct 4 18:59:01 2002
+++ build-2.5/mm/slab.c Fri Oct 4 18:59:11 2002
@@ -1478,7 +1478,7 @@
} else if (unlikely(inuse == cachep->num)) {
/* Was full. */
list_del(&slabp->list);
- list_add(&slabp->list, &cachep->slabs_partial);
+ list_add_tail(&slabp->list, &cachep->slabs_partial);
}
}
}
next reply other threads:[~2002-10-04 17:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-04 17:04 Manfred Spraul [this message]
2002-10-04 19:06 ` [PATCH] patch-slab-split-03-tail Andrew Morton
2002-10-04 19:07 ` Martin J. Bligh
2002-10-04 19:15 ` Andrew Morton
2002-10-04 19:15 ` Manfred Spraul
2002-10-04 20:22 ` Randy.Dunlap
2002-10-04 21:25 ` Manfred Spraul
2002-10-04 21:43 ` Robert Love
2002-10-04 22:30 ` Manfred Spraul
2002-10-05 0:14 ` Anton Blanchard
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=3D9DCA1D.7070400@colorfullife.com \
--to=manfred@colorfullife.com \
--cc=akpm@digeo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mbligh@aracnet.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox