| From | Subject | Date |
|---|---|---|
| Balbir Singh | Control groups and Resource Management notes (part I)
Hi, All,
This is the first part of the resource management and control groups discussion.
I might have made mistakes while taking notes or typing them out, please feel
free to correct them for me or send me corrections.
The notes are really large, so they'll come in installments. This is the first
part of the notes.
Control Groups
==============
1. Multiphase locking - Paul brought up his multi phase locking design and
suggested approaches to implementing them. The...
| Aug 1, 9:54 am 2008 |
| Greg KH | Linux 2.6.26.1
We (the -stable team) are announcing the release of the 2.6.26.1
kernel.
It contains lots of bugfixes, all over the map. Any users of the 2.6.26
kernel series should upgrade to this version. For details on the fixes,
see the changelog entries and the diffstat below.
I'll also be replying to this message with a copy of the patch between
2.6.26 and 2.6.26.1
The updated 2.6.26.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.26.y.git
and can be...
| Aug 1, 7:12 pm 2008 |
| Greg KH | Re: Linux 2.6.26.1
diff --git a/Documentation/networking/udplite.txt b/Documentation/networking/udplite.txt
index 3870f28..855d8da 100644
--- a/Documentation/networking/udplite.txt
+++ b/Documentation/networking/udplite.txt
@@ -148,7 +148,7 @@
getsockopt(sockfd, SOL_SOCKET, SO_NO_CHECK, &value, ...);
is meaningless (as in TCP). Packets with a zero checksum field are
- illegal (cf. RFC 3828, sec. 3.1) will be silently discarded.
+ illegal (cf. RFC 3828, sec. 3.1) and will be silently discarded.
...
| Aug 1, 7:12 pm 2008 |
| Greg KH | Linux 2.6.25.14
We (the -stable team) are announcing the release of the 2.6.25.14
kernel.
It contains lots of bugfixes, all over the map. Any users of the 2.6.25
kernel series should upgrade to this version. For details on the fixes,
see the changelog entries and the diffstat below.
I'll also be replying to this message with a copy of the patch between
2.6.25.13 and 2.6.25.14
The updated 2.6.25.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.25.y.git
and c...
| Aug 1, 7:10 pm 2008 |
| Greg KH | Re: Linux 2.6.25.14
diff --git a/Makefile b/Makefile
index dfc5a88..4c589b6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 25
-EXTRAVERSION = .13
+EXTRAVERSION = .14
NAME = Funky Weasel is Jiggy wit it
# *DOCUMENTATION*
@@ -1126,7 +1126,8 @@ clean: archclean $(clean-dirs)
@find . $(RCS_FIND_IGNORE) \
\( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \
-o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \
- -o -name '*.symtypes' -o -name 'modules.o...
| Aug 1, 7:11 pm 2008 |
| Max Krasnyansky | [PATCH] cpuset: Rework sched domains and CPU hotplug handlin...
This is an updated version of my previous cpuset patch:
"Make rebuild_sched_domains() usable from any context (take 2)"
It's been merged with the latest cpuset changes in mainline.
rebuild_sched_domains() is the only way to rebuild sched domains
correctly based on the current cpuset settings. What this means
is that we need to be able to call it from different contexts,
like cpu hotplug for example.
Also latest scheduler code in -tip now calls rebuild_sched_domains()
directly from functions like...
| Aug 1, 6:59 pm 2008 |
| Jeff Dike | [PATCH 12/14] [UML] fix gcc ICEs and unresolved externs
From f9498bcc86dbf5249a4d9baff6ba508c3d4c86fa Mon Sep 17 00:00:00 2001
There are various constraints on the use of unit-at-a-time:
- i386 uses no-unit-at-a-time for pre-4.0 (not 4.3)
- x86_64 uses unit-at-a-time always
Uli reported a crash on x86_64 with gcc 4.1.2 with unit-at-a-time,
resulting in commit c0a18111e571138747a98af18b3a2124df56a0d1
Ingo reported a gcc internal error with gcc 4.3 with no-unit-at-a-timem,
resulting in 22eecde2f9034764a3fd095eecfa3adfb8ec9a98
Benny Halevy is seei...
| Aug 1, 6:41 pm 2008 |
| Jeff Dike | [PATCH 14/14] uml: PATH_MAX needs limits.h
From 5e544831a3dfb9c0eefd091f578c740496819cec Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Include limits.h to get a definition of PATH_MAX.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
---
arch/um/os-Linux/helper.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git...
| Aug 1, 6:41 pm 2008 |
| Jeff Dike | [PATCH 6/14] uml: deal with host time going backwards
From b547462b600e9d284f9d40ed558ca2b8904af185 Mon Sep 17 00:00:00 2001
Protection against the host's time going backwards (eg, ntp activity on
the host) by keeping track of the time at the last tick and if it's
greater than the current time, keep time stopped until the host catches
up.
Cc: Nix <nix@esperi.org.uk>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.o...
| Aug 1, 6:41 pm 2008 |
| Jeff Dike | [PATCH 5/14] missed kmalloc() in pcap_user.c
From 058ad32dc7765cde3717d3aaf5415724e5738128 Mon Sep 17 00:00:00 2001
From: Al Viro <viro@ftp.linux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
---
arch/um/drivers/pcap_user.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/um/drivers/pcap_user.c b/arch/um/drivers/pcap_user.c
index e980935..5f90358 100644
--- a/arch/um/driver...
| Aug 1, 6:41 pm 2008 |
| Jeff Dike | [PATCH 8/14] missing export of csum_partial() on uml/amd64
From 7282ca1a67ef596819e8cf5725b0caa95c5692f1 Mon Sep 17 00:00:00 2001
From: Al Viro <viro@ftp.linux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
---
arch/um/sys-x86_64/ksyms.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/um/sys-x86_64/ksyms.c b/arch/um/sys-x86_64/ksyms.c
index 12c5936..08f63e2 100644
--- a/arch/um/sys-x86_64/ksyms.c
+++ b/arch/um/sys-x86_64/ksyms.c
@@ ...
| Aug 1, 6:41 pm 2008 |
| Jeff Dike | [PATCH 4/14] uml: track and make up lost ticks
From a113552a171e5a30a8a478f7d4dcf8d0ff08f12f Mon Sep 17 00:00:00 2001
Alarm delivery could be noticably late in the !CONFIG_NOHZ case because lost
ticks weren't being taken into account. This is now treated more carefully,
with the time between ticks being calculated and the appropriate number of
ticks delivered to the timekeeping system.
Cc: Nix <nix@esperi.org.uk>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signe...
| Aug 1, 6:41 pm 2008 |
| Jeff Dike | [PATCH 3/14] uml: physical memory shouldn't include initial ...
From 57c582f7eb25314e650f143c2c5141a0cc4172eb Mon Sep 17 00:00:00 2001
The top of physical memory should be below the initial process stack, not the
top of the address space, at least for as long as the stack isn't known to the
kernel VM system and appropriately reserved.
Cc: "Christopher S. Aker" <caker@theshore.net>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-of...
| Aug 1, 6:41 pm 2008 |
| Jeff Dike | [PATCH 13/14] UML - Fix boot crash
From 7ca5503f5ee32fb3cd6aa6eca21a8edfe09a7717 Mon Sep 17 00:00:00 2001
My copying of linux/init.h didn't go far enough. The definition of
__used singled out gcc minor version 3, but didn't care what the major
version was. This broke when unit-at-a-time was added and gcc started
throwing out initcalls.
This results in an early boot crash when ptrace tries to initialize a
process with an empty, uninitialized register set.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Li...
| Aug 1, 6:41 pm 2008 |
| Jeff Dike | [PATCH 0/14] UML - 2.6.25.x
These are my -stable patches for 2.6.25.14.
Note that one patch, patch 13 "Fix boot crash", was sent in for
2.6.26-stable and described then as being not for 2.6.25-stable. The
patch which fixes various build problems, patch 12 "fix gcc ICEs and
unresolved externs", is here, thus requiring #13.
Jeff
--
Work email - jdike at linux dot intel dot com
--
| Aug 1, 6:41 pm 2008 |
| Jeff Dike | [PATCH 1/14] uml: fix build when SLOB is enabled
From 94409ded7768e15b0d0a5a172d611073c72308de Mon Sep 17 00:00:00 2001
Reintroduce uml_kmalloc for the benefit of UML libc code. The
previous tactic of declaring __kmalloc so it could be called directly
from the libc side of the house turned out to be getting too intimate
with slab, and it doesn't work with slob.
So, the uml_kmalloc wrapper is back. It calls kmalloc or whatever
that translates into, and libc code calls it.
kfree is left alone since that still works, leaving a somewhat
incons...
| Aug 1, 6:41 pm 2008 |
| Greg KH | Re: [stable] [PATCH 1/14] uml: fix build when SLOB is enabled
Can you resend these patches with the git ids of the patches already in
Linus's tree so that we can properly match them up?
Oh, in the future it is simple to get patches into the -stable tree
automatically, just add:
Cc: Stable <stable@kernel.org>
to the signed-off-by: area of the patch. When it goes into Linus's
tree, it will be automatically sent to us for inclusion in the next
-stable release.
thanks,
greg k-h
--
| Aug 1, 7:06 pm 2008 |
| Jeff Dike | [PATCH 11/14] uml: work around broken host PTRACE_SYSEMU
From 81b956c3fec06a5091b9e8909724a8afc7fff1bc Mon Sep 17 00:00:00 2001
Fedora broke PTRACE_SYSEMU again, and UML crashes as a result when it
doesn't need to. This patch makes the PTRACE_SYSEMU check fail gracefully
and makes UML fall back to PTRACE_SYSCALL.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
---
arch/um/os-Linux/start_up.c | 25 +++++++++++++++...
| Aug 1, 6:41 pm 2008 |
| Jeff Dike | [PATCH 10/14] uml: stub needs to tolerate SIGWINCH
From b4783df9f0fefe1af0b828748b8abe39ada65652 Mon Sep 17 00:00:00 2001
We lost the marking of SIGWINCH as being OK to receive during stub
execution, causing a panic should that happen.
Cc: Benedict Verheyen <benedict.verheyen@gmail.com>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
---
arch/um/os-Linux/skas/process.c | 2 +-
1 files changed, 1 ins...
| Aug 1, 6:41 pm 2008 |
| Jeff Dike | [PATCH 2/14] uml: fix bad NTP interaction with clock
From 2b95eda726d565d4abe3cac045022d3141a11b23 Mon Sep 17 00:00:00 2001
UML's supposed nanosecond clock interacts badly with NTP when NTP
decides that the clock has drifted ahead and needs to be slowed down.
Slowing down the clock is done by decrementing the cycle-to-nanosecond
multiplier, which is 1. Decrementing that gives you 0 and time is
stopped.
This is fixed by switching to a microsecond clock, with a multiplier
of 1000.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: WANG C...
| Aug 1, 6:41 pm 2008 |
| Jeff Dike | [PATCH 7/14] uml: deal with inaccessible address space start
From b66c2383ac68f28dc4a463045dac03e3aaea3e40 Mon Sep 17 00:00:00 2001
From: Tom Spink <tspink@gmail.com>
This patch makes os_get_task_size locate the bottom of the address space,
as well as the top. This is for systems which put a lower limit on mmap
addresses. It works by manually scanning pages from zero onwards until a
valid page is found.
Because the bottom of the address space may not be zero, it's not
sufficient to assume the top of the address space is the size of the
address spa...
| Aug 1, 6:41 pm 2008 |
| Jeff Dike | [PATCH 9/14] uml: memcpy export needs to follow host declara...
From efc14bf16e1e0d95173875615da633722cc8e467 Mon Sep 17 00:00:00 2001
x86_64 defines either memcpy or __memcpy depending on the gcc version, and
it looks like UML needs to follow that in its exporting.
Cc: Gabriel C <nix.or.die@googlemail.com>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
---
arch/um/sys-x86_64/ksyms.c | 4 ++++
1 files changed, ...
| Aug 1, 6:41 pm 2008 |
| Adrian Bunk | mtdsuper.c BLOCK=n compile error
Commit d5686b444ff3f72808d2b3fbd58672a86cdf38e7
(switch mtd and dm-table to lookup_bdev()) causes
the following compile error with CONFIG_BLOCK=n:
<-- snip -->
...
CC drivers/mtd/mtdsuper.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/mtd/mtdsuper.c: In function `get_sb_mtd':
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/mtd/mtdsuper.c:184: error: implicit declaration of function 'lookup_bdev'
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/mtd/mtdsuper.c:184: warning: ...
| Aug 1, 6:30 pm 2008 |
| David Woodhouse | Re: mtdsuper.c BLOCK=n compile error
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
diff --git a/drivers/mtd/mtdsuper.c b/drivers/mtd/mtdsuper.c
index 9b6af7e..e03250b 100644
--- a/drivers/mtd/mtdsuper.c
+++ b/drivers/mtd/mtdsuper.c
@@ -178,6 +178,7 @@ int get_sb_mtd(struct file_system_type *fs_type, int
flags,
}
}
+#ifdef CONFIG_BLOCK
/* try the old way - the hack where we allowed users to mount
* /dev/mtdblock$(n) but didn't actually _use_ the blockdev
*/
@@ -200,6 +201,7 @@ int get_sb_mtd(s...
| Aug 1, 6:48 pm 2008 |
| Adrian Bunk | Re: mtdsuper.c BLOCK=n compile error
Still gives a compile error for the second bdput().
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
--
| Aug 1, 6:58 pm 2008 |
| David Woodhouse | Re: mtdsuper.c BLOCK=n compile error
Er, why is the second bdput() there _anyway_?
[MTD] Fix !CONFIG_BLOCK compile for mtdsuper.c
As reported by Adrian Bunk, commit d5686b444ff3f72808d2b3fbd58672a86cdf38e7
(switch mtd and dm-table to lookup_bdev()) causes the following compile
error with CONFIG_BLOCK=n:
CC drivers/mtd/mtdsuper.o
drivers/mtd/mtdsuper.c: In function `get_sb_mtd':
drivers/mtd/mtdsuper.c:184: error: implicit declaration of function 'lookup_bdev'
drivers/mtd/mtdsuper.c:184: warning: assignment makes p...
| Aug 1, 7:20 pm 2008 |
| David Woodhouse | Re: mtdsuper.c BLOCK=n compile error
Oh, I see. I have to stop posting patches -- I think it's past my
bedtime.
http://git.infradead.org/users/dwmw2/random-2.6.git?a=commitdiff;h=10f8e16418a5a69eda3...
--
dwmw2
--
| Aug 1, 7:26 pm 2008 |
| Adrian Bunk | [2.6 patch] sh: fix LIBGCC
Commit f15cbe6f1a4b4d9df59142fc8e4abb973302cf44
(sh: migrate to arch/sh/include/) moved KBUILD_CFLAGS
(which is used by LIBGCC) below LIBGCC, causing build
errors like the following:
<-- snip -->
...
LD .tmp_vmlinux1
arch/sh/kernel/built-in.o: In function `module_clk_recalc':
clock-sh4.c:(.text+0x80f0): undefined reference to `__udivsi3_i4i'
...
make[1]: *** [.tmp_vmlinux1] Error 1
<-- snip -->
Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian...
| Aug 1, 6:13 pm 2008 |
| Paul Mundt | Re: [2.6 patch] sh: fix LIBGCC
That's interesting, none of my compilers had difficulty with it, whereas
it seems your toolchain couldn't report the libgcc location at all.
Anyways, applied, thanks.
--
| Aug 1, 6:22 pm 2008 |
| Adrian Bunk | Re: [2.6 patch] sh: fix LIBGCC
It did report /usr/local/DIR/gcc-sh-4.3.1/lib/gcc/sh-linux/4.3.1/libgcc.a,
but that's not for all configurations the correct one.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
--
| Aug 1, 6:25 pm 2008 |
| Bjorn Helgaas | [PATCH] ACPI: bounds check IRQ to prevent memory corruption
acpi_penalize_isa_irq() should validate irq before using it to
index the acpi_irq_penalty[] table.
Here's the path I'm concerned about:
pnpacpi_parse_allocated_irqresource()
{
...
irq = acpi_register_gsi(gsi, triggering, polarity);
if (irq >= 0)
pcibios_penalize_isa_irq(irq, 1);
There's no guarantee that acpi_register_gsi() will return an IRQ
within the bounds of acpi_irq_penalty[].
I have not seen a failure I can attribute to this. However,
ACPI_MAX_IRQS is only 256, ...
| Aug 1, 5:58 pm 2008 |
| Andi Kleen | Re: [PATCH] ACPI: bounds check IRQ to prevent memory corrupt...
Agreed.
-Andi
--
| Aug 1, 6:52 pm 2008 |
| Sven Wegener | [PATCH] leds: Move triggers before drivers in Makefile
When both triggers and drivers are built-in, we should first register the
triggers and then the drivers, to make default triggers work during device
registration. We do this by moving the triggers before the drivers in the
Makefile as init order is determined by linking order. Sadly this simple
solution doesn't cover devices registered elsewhere in the kernel. But often
these drivers provide their own triggers and should themselves take care of
registering triggers before devices.
Signed-off-by: Sv...
| Aug 1, 5:48 pm 2008 |
| Sven Wegener | Re: [PATCH] leds: Move triggers before drivers in Makefile
Ignore this one, we also attach default triggers to devices while loading
the triggers.
Sven
--
| Aug 1, 7:22 pm 2008 |
| Adrian Bunk | drivers/serial/crisv10.c build error
Broken to be broken by Alan's changes:
<-- snip -->
...
CC drivers/serial/crisv10.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/serial/crisv10.c: In function 'update_char_time':
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/serial/crisv10.c:971: error: request for member 'tty' in something not a structure or union
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/serial/crisv10.c: In function 'rs_stop':
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/serial/crisv10.c:14...
| Aug 1, 5:44 pm 2008 |
| Adrian Bunk | sh O= builds broken
Most likely caused by the headers move:
<-- snip -->
...
CC init/main.o
In file included from /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/sh/include/asm/irq.h:4,
from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/irq.h:23,
from /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/sh/include/asm/hardirq.h:5,
from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/hardirq.h:7,
from /home/bunk/linux/kerne...
| Aug 1, 5:27 pm 2008 |
| Paul Mundt | Re: sh O= builds broken
Ok, so this is what I get for moving the auto-generated header outside of
include/asm-sh.. it seemed like a good idea at the time.
---
diff --git a/arch/sh/Makefile b/arch/sh/Makefile
index 25659ce..7b70cfd 100644
--- a/arch/sh/Makefile
+++ b/arch/sh/Makefile
@@ -164,7 +164,7 @@ KBUILD_AFLAGS += $(cflags-y)
PHONY += maketools FORCE
maketools: include/linux/version.h FORCE
- $(Q)$(MAKE) $(build)=arch/sh/tools arch/sh/include/asm/machtypes.h
+ $(Q)$(MAKE) $(build)=arch/sh/tools include/a...
| Aug 1, 5:53 pm 2008 |
| Sam Ravnborg | Re: sh O= builds broken
Ups - I should have caught that when I reviewd your initial patch.
kbuild does on purpose not fiddle with the path in the inital
include specification.
Sam
--
| Aug 1, 6:12 pm 2008 |
| Adrian Bunk | Re: sh O= builds broken
Thanks for the quick fix, it's working fine.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
--
| Aug 1, 6:03 pm 2008 |
| Gregory Haskins | [PATCH RT RFC 0/7] Priority Inheritance enhancements
** RFC for PREEMPT_RT branch, 26-rt1 **
Hi All,
The following series applies to 26-rt1 as a request-for-comment on a
new approach to priority-inheritance (PI), as well as some performance
enhancements to take advantage of those new approaches. This yields at
least a 10-15% improvement for diskio on my 4-way x86_64 system. An
8-way system saw as much as 700% improvement during early testing, but
I have not recently reconfirmed this number.
Motivation for series:
I have several ideas on th...
| Aug 1, 5:16 pm 2008 |
| Gregory Haskins | [PATCH RT RFC 7/7] rtmutex: pi-boost locks as late as possible
Adaptive-locking technology often times acquires the lock by
spinning on a running-owner instead of sleeping. It is unecessary
to go through pi-boosting if the owner is of equal or (logically)
lower priority. Therefore, we can save some significant overhead
by deferring the boost until absolutely necessary. This has shown
to improve overall performance in PREEMPT_RT
Special thanks to Peter Morreale for suggesting the optimization to
only consider skipping the boost if the owner is >= to curren...
| Aug 1, 5:17 pm 2008 |
| Gregory Haskins | [PATCH RT RFC 6/7] rtmutex: convert rtmutexes to fully use t...
We have previously only laid some of the groundwork to use the PI
library, but left the existing infrastructure in place in the
rtmutex code. This patch converts the rtmutex PI code to officially
use the PI library.
Signed-off-by: Gregory Haskins <ghaskins@novell.com>
---
include/linux/rt_lock.h | 2
include/linux/rtmutex.h | 15 -
include/linux/sched.h | 21 -
kernel/fork.c | 2
kernel/rcupreempt-boost.c | 2
kernel/rtmutex-debug.c | 4
ker...
| Aug 1, 5:17 pm 2008 |
| Gregory Haskins | [PATCH RT RFC 5/7] rtmutex: use runtime init for rtmutexes
The system already has facilities to perform late/run-time init for
rtmutexes. We want to add more advanced initialization later in the
series so we force all rtmutexes through the init path in preparation
for the later patches.
Signed-off-by: Gregory Haskins <ghaskins@novell.com>
---
include/linux/rtmutex.h | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/include/linux/rtmutex.h b/include/linux/rtmutex.h
index b263bac..14774ce 100644
--- a/include/linux/rtmut...
| Aug 1, 5:17 pm 2008 |
| Gregory Haskins | [PATCH RT RFC 4/7] RT: wrap the rt_rwlock "add reader" logic
We will use this later in the series to add PI functions on "add".
Signed-off-by: Gregory Haskins <ghaskins@novell.com>
---
kernel/rtmutex.c | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/kernel/rtmutex.c b/kernel/rtmutex.c
index 12de859..62fdc3d 100644
--- a/kernel/rtmutex.c
+++ b/kernel/rtmutex.c
@@ -1122,6 +1122,12 @@ static void rw_check_held(struct rw_mutex *rwm)
# define rw_check_held(rwm) do { } while (0)
#endif
+static inline voi...
| Aug 1, 5:17 pm 2008 |
| Gregory Haskins | [PATCH RT RFC 3/7] rtmutex: formally initialize the rt_mutex...
We will be adding more logic to rt_mutex_waiters and therefore lets
centralize the initialization to make this easier going forward.
Signed-off-by: Gregory Haskins <ghaskins@novell.com>
---
kernel/rtmutex.c | 26 ++++++++++++++------------
1 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/kernel/rtmutex.c b/kernel/rtmutex.c
index 7d11380..12de859 100644
--- a/kernel/rtmutex.c
+++ b/kernel/rtmutex.c
@@ -805,6 +805,15 @@ static int adaptive_wait(struct rt_mutex_waiter *w...
| Aug 1, 5:17 pm 2008 |
| Gregory Haskins | [PATCH RT RFC 2/7] sched: add the basic PI infrastructure to...
This is a first pass at converting the system to use the new PI library.
We dont go for a wholesale replacement quite yet so that we can focus
on getting the basic plumbing in place. Later in the series we will
begin replacing some of the proprietary logic with the generic
framework.
Signed-off-by: Gregory Haskins <ghaskins@novell.com>
---
include/linux/sched.h | 37 +++++++--
include/linux/workqueue.h | 2
kernel/fork.c | 1
kernel/rcupreempt-boost.c | 18 +...
| Aug 1, 5:16 pm 2008 |
| Gregory Haskins | [PATCH RT RFC 1/7] add generalized priority-inheritance inte...
The kernel currently addresses priority-inversion through priority-
inheritence. However, all of the priority-inheritence logic is
integrated into the Real-Time Mutex infrastructure. This causes a few
problems:
1) This tightly coupled relationship makes it difficult to extend to
other areas of the kernel (for instance, pi-aware wait-queues may
be desirable).
2) Enhancing the rtmutex infrastructure becomes challenging because
there is no seperation between the locking code, and the ...
| Aug 1, 5:16 pm 2008 |
| Paul E. McKenney | [PATCH -rt] apply rcu_process_callbacks() changes from mainl...
On its way to mainline, rcu_process_callbacks() became a static
function and the unused function rcu_advance_callbacks() was
removed. The attached patch adjusts -rt to better match mainline.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
include/linux/rcuclassic.h | 3 ---
include/linux/rcupreempt.h | 2 --
kernel/rcuclassic.c | 13 +------------
kernel/rcupreempt.c | 2 +-
4 files changed, 2 insertions(+), 18 deletions(-)
diff -urpNa -X don...
| Aug 1, 5:11 pm 2008 |
| Paul E. McKenney | [PATCH] remove list_for_each_rcu()
Hello!
All of the in-tree uses of list_for_each_rcu() have been converted to
list_for_each_entry_rcu(), so list_for_each_rcu() can now be removed.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
Documentation/RCU/checklist.txt | 2 +-
Documentation/RCU/whatisRCU.txt | 2 --
include/linux/rculist.h | 14 --------------
3 files changed, 1 insertion(+), 17 deletions(-)
diff --git a/Documentation/RCU/checklist.txt b/Documentation/RCU/checklist.txt
index ...
| Aug 1, 5:11 pm 2008 |
| Paul E. McKenney | Re: [RFC][PATCH 2/2] rcu classic: new algorithm for callback...
And here is a patch to apply on top of Jiangshan's patch that
rationalizes the locking and memory barriers. Much of this is general
cleanup, not necessarily directly related to Jiangshan's patch.
Given this as a base, it should be fairly easy to make a hierarchical
implementation for machines that see lock contention in the RCU
infrastructure -- split and make a hierarchy on rcu_ctrlblk.
Thoughts?
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
rcuclassic.c | 62 +...
| Aug 1, 5:11 pm 2008 |
| previous day | today | next day |
|---|---|---|
| June 30, 2008 | August 1, 2008 | August 2, 2008 |
| Theodore Tso | Re: -mm merge plans for 2.6.23 -- sys_fallocate |
| Amit K. Arora | [RFC] Heads up on sys_fallocate() |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 011/196] sysfs: Fix a copy-n-paste typo in comment |
git: | |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Frans Pop | svc: failed to register lockdv1 RPC service (errno 97). |
