| From | Subject | Date |
|---|---|---|
| Peter Zijlstra | [PATCH] lockdep: annotate do_debug() trap handler
Subject: lockdep: annotate do_debug() trap handler
Ensure the hardirq state is consistent before using locks. Use the rare
trace_hardirqs_fixup() because the trap can happen in any context.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
---
arch/x86/kernel/traps_32.c | 2 ++
arch/x86/kernel/traps_64.c | 2 ++
2 files changed, 4 insertions(+)
Index: linux-2.6/arch/x86/kernel/traps_32.c
===================================================================
--- linux-2.6.orig/...
| Nov 17, 7:07 pm 2007 |
| Willy Tarreau | Linux 2.4.36-pre2
I've just released Linux 2.4.36-pre2.
Basically, it gets in sync with 2.4.35.4, and adds DMA support for
2 PCI IDE chipsets (ICH7 and JMicron 20363).
There's just the adutux driver pending before 2.4.36. I plan to issue
2.4.36-rc1 in about 2-3 weeks (first week of december), and -final the
following week if nothing goes wrong till there.
The patch and changelog will appear soon at the following locations:
ftp://ftp.all.kernel.org/pub/linux/kernel/v2.4/testing/
[ message continues ] " title="ftp://ftp.all.kernel.org/pub/...">ftp://ftp.all.kernel.org/pub/... | Nov 17, 3:36 pm 2007 |
| Willy Tarreau | Linux 2.4.35.4
I've just released Linux 2.4.35.4.
It fixes very minor issues, but some patches have been resting here
for a long time, and there was no reason to hold them. Two minor
old vulnerabilities were fixed :
- CVE-2006-5823 would cause the kernel to oops on specially crafted
CRAMFS filesystems, though on 2.4.35 we never got more than an
error in the logs. The fix was merged anyway.
- CVE-2004-2731 corresponds to an incorrect size check in sparc's
openprom driver. It was fixed in 2.5 but not in...
| Nov 17, 3:25 pm 2007 |
| MICROSOFT END OF YEA... | CONGRATULATIONS!!!
Attn,
This is to inform you that your email address has won you1,000,000.00GBP of the microsoft email draw.Please fill the verfication below and your Ref#:BTD/968/07,Batch #:409978E
FULL NAME/NATIONALITY
GENDER/HOME/OFFICE ADDRESS
TELEPHONE/AGE/MARITAL STATUS
OCCUPATION/ANNUAL INCOME
Forward your batch/ref number and information to Mr Timothy Kelvin timothykagent_ms@yahoo.de
-
| Nov 17, 3:10 pm 2007 |
| Oleg Nesterov | [PATCH] do_task_stat: don't use task_pid_nr_ns() lockless
Without rcu/tasklist/siglock lock task_pid_nr_ns() may read the freed memory,
move the callsite under ->siglock.
Sadly, we can report pid == 0 if the task was detached.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
--- 24/fs/proc/array.c~dtst 2007-11-09 12:57:30.000000000 +0300
+++ 24/fs/proc/array.c 2007-11-17 21:26:55.000000000 +0300
@@ -392,7 +392,7 @@ static int do_task_stat(struct task_stru
sigset_t sigign, sigcatch;
char state;
int res;
- pid_t ppid = 0, pgid = -1, sid ...
| Nov 17, 2:31 pm 2007 |
| Eric W. Biederman | Re: [PATCH] do_task_stat: don't use task_pid_nr_ns() lockless
We only get detached in release_task so it is a pretty small window
where we can return pid == 0. Usually get_task_pid will fail first
and we will return -ESRCH. Still the distance from open to
There is another bug in here as well. current->nsproxy->pid_ns is wrong.
What we want is: ns = dentry->d_sb->s_fs_info;
Otherwise we will have file descriptor passing races and the like.
We could also do: proc_pid(inode) to get the pid, which is a little
more race free, and will prevent...
| Nov 17, 4:11 pm 2007 |
| Javier Kohen | Soft lockups since stable kernel upgrade to 2.6.23.8
I upgraded today from 2.6.23 to 2.6.23.8 and started seeing a lot of
these in the logs:
BUG: soft lockup detected on CPU#0!
[<c011d761>] update_process_times+0x32/0x54
[<c012b06f>] tick_sched_timer+0x5e/0x99
[<c01274db>] hrtimer_interrupt+0x112/0x197
[<c012b011>] tick_sched_timer+0x0/0x99
[<c010f02c>] smp_apic_timer_interrupt+0x60/0x6f
[<c01cd9e7>] acpi_hw_register_write+0x118/0x148
[<c0104620>] apic_timer_interrupt+0x28/0x30
[<f8827350>] a...
| Nov 17, 2:21 pm 2007 |
| Greg KH | Re: [stable] Soft lockups since stable kernel upgrade to 2.6...
Can you see if the problem showed up in 2.6.23.2 or .3 to help narrow
this down?
thanks,
greg k-h
-
| Nov 17, 3:12 pm 2007 |
| David | Re: [stable] Soft lockups since stable kernel upgrade to 2.6...
This is the culprit, reverting fixes the issue.
Cheers
David
--- a/kernel/softlockup.c
+++ b/kernel/softlockup.c
@@ -80,10 +80,11 @@ void softlockup_tick(void)
print_timestamp = per_cpu(print_timestamp, this_cpu);
/* report at most once a second */
- if (print_timestamp < (touch_timestamp + 1) ||
- did_panic ||
- !per_cpu(watchdog_task, this_cpu))
+ if ((print_timestamp >= touch_timestamp &&
+ ...
| Nov 17, 4:05 pm 2007 |
| Greg KH | Re: [stable] Soft lockups since stable kernel upgrade to 2.6...
Great, thanks for tracking this down.
Ingo, this corrisponds to changeset
a115d5caca1a2905ba7a32b408a6042b20179aaa in mainline. Is that patch
incorrect? Should this patch in the -stable tree be reverted?
thanks,
greg k-h
-
| Nov 17, 4:37 pm 2007 |
| David | Re: Soft lockups since stable kernel upgrade to 2.6.23.8
Confirmed on my server machine. Seems to coincide with cpufreq processor
speed changes. Config available on request, (system is also a single
core athlon)
Cheers
-
| Nov 17, 3:40 pm 2007 |
| Alex Chiang | [PATCH 0/4, v3] Physical PCI slot objects
Hi all,
This is v3 of the pci_slot patch series.
The major change is making the ACPI-PCI slot driver a Kconfig
option, as per the recommendations of others (Gary, Kenji-san).
In the process of doing so, it made sense to collapse the former
3/5 and 4/5 patches into a single 3/4 patch. There really wasn't
a reason to introduce a pci_slot patch, and then immediately
follow it with another patch modifying its interface; logically,
the changes should have been in the same patch.
Combining the patc...
| Nov 17, 2:29 pm 2007 |
| Alex Chiang | [PATCH 3/4, v3] PCI, PCI Hotplug: Introduce pci_slot
- Make pci_slot the primary sysfs entity. hotplug_slot becomes a
subsidiary structure.
o pci_create_slot() creates and registers a slot with the PCI core
o pci_slot_add_hotplug() gives it hotplug capability
- Change the prototype of pci_hp_register() to take the bus and
slot number (on parent bus) as parameters.
- Remove all the ->get_address methods since this functionality is
now handled by pci_slot directly.
v2 -> v3:
Separated slot creation and slot hotplu...
| Nov 17, 2:37 pm 2007 |
| Alex Chiang | [PATCH 4/4, v3] ACPI, PCI: ACPI PCI slot detection driver
Detect all physical PCI slots as described by ACPI, and create
entries in /sys/bus/pci/slots/.
Not all physical slots are hotpluggable, and the acpiphp module
does not detect them. Now we know the physical PCI geography of
our system, without caring about hotplug.
v2 -> v3:
Add Kconfig option to driver, allowing users to [de]config
this driver. If configured, take slightly different code
paths in pci_hp_register and pci_hp_deregister.
v1 -> v2:
Now recursively discovering p2p bridg...
| Nov 17, 2:38 pm 2007 |
| Alex Chiang | [PATCH 2/4, v3] PCI Hotplug: Construct one fakephp slot per ...
Register one slot per slot, rather than one slot per function.
Change the name of the slot to fake%d instead of the pci address.
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
---
drivers/pci/hotplug/fakephp.c | 80 +++++++++++++++-------------------------
1 files changed, 30 insertions(+), 50 deletions(-)
diff --git a/drivers/pci/hotplug/fakephp.c b/drivers/pci/hotplug/fakephp.c
index 027f686..996c942 100644
--- a/drivers/pci/hotplug/f...
| Nov 17, 2:35 pm 2007 |
| Alex Chiang | [PATCH 1/4, v3] PCI Hotplug: Remove path attribute from sgi_...
Rename the slot to be the contents of the 'path' sysfs attribute, and
delete the attribute. The mapping from pci address to slot name is
supposed to be done through the 'address' file, which will be provided
automatically later in this series of patches.
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
---
drivers/pci/hotplug/sgi_hotplug.c | 32 +-------------------------------
1 files changed, 1 insertions(+), 31 deletions(-)
diff --git...
| Nov 17, 2:35 pm 2007 |
| Arjan van de Ven | [patch] Printk kernel version in WARN_ON
Hi,
today, all oopses contain a version number of the kernel, which is nice
because the people who actually do bother to read the oops get this
vital bit of information always without having to ask the reporter in
another round trip.
However, WARN_ON() right now lacks this information; the patch below
adds this. This information is essential for getting people to use
their time effectively when looking at these things; in addition, it's
essential for tools that try to collect statistics about de...
| Nov 17, 2:15 pm 2007 |
| Denys Vlasenko | Re: [patch] Printk kernel version in WARN_ON
We have ~700 WARN_ONs in the tree. Adding UTS_RELEASE to printk
grows every one of them by at least 5 bytes.
I think it makes sense to move printk out-of-line, to
void print_WARN_ON_warning(const char *file, int line, const char *func);
This will save at least 10 bytes per WARN_ON.
--
vda
-
| Nov 17, 7:02 pm 2007 |
| Sam Ravnborg | Re: [patch] Printk kernel version in WARN_ON
With this change we will see zillions of files being rebuild each
time we pick up another kernel version from git and friends.
For me it looks like this right now:
#define UTS_RELEASE "2.6.24-rc2-g99fee6d7-dirty"
committing my local changes made it look like:
#define UTS_RELEASE "2.6.24-rc2-g99fee6d7"
The above change will trigger a rebuild of all files
that reference UTS_RELEASE as will all WARN_ON users.
And this is with the default configuration.
So if we want this then we want to pu...
| Nov 17, 3:28 pm 2007 |
| Andrew Morton | Re: [patch] Printk kernel version in WARN_ON
that made our 1100-odd WARN_ON sites fatter.
I suppose sometime we should optimise WARN_ON like we did BUG_ON.
-
| Nov 17, 2:27 pm 2007 |
| Arjan van de Ven | Re: [patch] Printk kernel version in WARN_ON
On Sat, 17 Nov 2007 10:27:20 -0800
by ... not too much at least, gcc ought to be quite good at merging
same-strings into one, so it's just one extra pointer argument
--
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
-
| Nov 17, 2:39 pm 2007 |
| Andrew Morton | Re: [patch] Printk kernel version in WARN_ON
I think I knew that. At 1000 callsites.
-
| Nov 17, 2:46 pm 2007 |
| Arjan van de Ven | Re: [patch] Printk kernel version in WARN_ON
On Sat, 17 Nov 2007 10:46:52 -0800
ok so how about putting the same into dump_stack() instead? (see below)
added bonus is that it's now present for all dumps that use
dump_stack(), not just WARN_ON()
(the format I copied from the exact line used by oopses)
Subject: printk kernel version in WARN_ON and other dump_stack users
From: Arjan van de Ven <arjan@linux.intel.com>
today, all oopses contain a version number of the kernel, which is nice
because the people who actually do bother t...
| Nov 17, 3:35 pm 2007 |
| Sam Ravnborg | Re: [patch] Printk kernel version in WARN_ON
This solved the "zillion files being rebuild" issue I mentioned.
So from that angle it is better.
And I notice you use the namespace aware helpers to access the
kernelrelease string - I assume this is better than direct use
of UTS_RELEASE.
Sam
-
| Nov 17, 3:42 pm 2007 |
| Oleg Nesterov | [PATCH] task_pid_nr_ns() breaks proc_pid_readdir()
proc_pid_readdir:
for (...; ...; task = next_tgid(tgid + 1, ns)) {
tgid = task_pid_nr_ns(task, ns);
... use tgid ...
The first problem is that task_pid_nr_ns() can race with RCU and read the
freed memory.
However, rcu_read_lock() can't help. next_tgid() returns a pinned task_struct,
but the task can be released (and it's pid detached) before task_pid_nr_ns()
reads the pid_t value. In that case task_pid_nr_ns() returns 0 thus breaking
the whole logic.
Make sure that task_pid_nr_ns() re...
| Nov 17, 2:15 pm 2007 |
| Eric W. Biederman | Re: [PATCH] task_pid_nr_ns() breaks proc_pid_readdir()
Oleg I think I would rather update next_tgid to return the tgid (which
removes the need to call task_pid_nr_ns). This keeps all of the task
iteration logic together in next_tgid.
Although looking at this in more detail, I'm half wondering if
proc_pid_make_inode() should take a struct pid instead of a task.
At first glance that looks like it might be a little simple and more
Anyway short of rewriting the world this is what updating next_tgid
looks like. Opinions?
Eric
diff --git a/fs/p...
| Nov 17, 4:35 pm 2007 |
| Raymano Garibaldi | [REQUEST] New boot flag/kernel option
I would like to request a new boot flag/kernel option that would make
the following scenario possible:
1) Working on laptop with a live USB distro on a read-only USB stick.
2) Suspend laptop.
3) Detach USB stick.
4) Do other things, get on a plane, go on a bus, deal with police
officer giving you a ticket for operating a laptop while driving...
5) Attach the same read-only USB stick.
6) Resume laptop.
7) Continue work as if nothing happened.
The last time we were able to do something like ...
| Nov 17, 2:02 pm 2007 |
| Patrick DEMICHEL | Re: perfmon2 merge news
Yet another noisy linux HPC user
I hope to convince you, lkml developers, to pay more attention to our
HPC performance problems.
I will not try to convince you that our problems are also the problems
of many others users, I hope they will do it directly.
Imagine my company bought an expensive complex multi nodes, multi
sockets, multi cores machine.
This is cheap today, around 10M$
My company made the strange decision to go for linux, in fact we had
no choice : OOPS
This machine will be u...
| Nov 17, 1:19 pm 2007 |
| Luca Tiburzio | sitecom wl162
Add support to wireless usb key sitecom wl162
in ./drivers/net/wireless/zd1211rw/zd_usb.c
added srtuct { USB_DEVICE(0x0cde, 0x001a), .driver_info = DEVICE_ZD1211B },
I've to do it by myself every time i update kernel. Please add it.
Thank you
-
| Nov 17, 12:07 pm 2007 |
| Kai Ruhnau | Bogus PCI vendor ID
Hi,
I have a problem with two of my PCI devices showing the wrong PCI vendor
ID (0001) in vanilla kernels.
My system currently runs a 32 bit x86 kernel built from ubuntu sources
2.6.20.3-ubuntu1. This is the only kernel I have found so far that shows
the correct PCI IDs:
~ # lspci -n
00:00.0 0600: 1002:7930
00:02.0 0604: 1002:7933
00:06.0 0604: 1002:7936
00:12.0 0106: 1002:4380
00:13.0 0c03: 1002:4387
00:13.1 0c03: 1002:4388
00:13.2 0c03: 1002:4389
00:13.3 0c03: 1002:438a
00:13.4 0c03: ...
| Nov 17, 11:59 am 2007 |
| Francois Romieu | Re: Bogus PCI vendor ID
Kai Ruhnau <kai@tragetaschen.dyndns.org> :
No idea but it seems to be plaguing us:
- sky2
Kai Ruhnau <kai@tragetaschen.dyndns.org>
- r8169 + Abit fatal1ty motherboard
(so far nobody reported a 8169 on a fatal1ty motherboard with a
sensible vendor id)
Josh Logan <joshtlogan@gmail.com>
Ciaran McCreesh <ciaran.mccreesh@blueyonder.co.uk>
--
Ueimor
-
| Nov 17, 2:40 pm 2007 |
| Thomas Gleixner | [GIT pull] x86 updates for 2.6.24
Linus,
please pull x86 updates for 2.6.24 from:
ssh://master.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86.git master
Thanks,
tglx
Andreas Herrmann (2):
x86: fix cpu-hotplug regression
x86: show cpuinfo only for online CPUs
David P. Reed (3):
ntp: fix typo that makes sync_cmos_clock erratic
x86: fix freeze in x86_64 RTC update code in time_64.c
x86: on x86_64, correct reading of PC RTC when update in progress in time_64.c
Denys (1):
x...
| Nov 17, 11:34 am 2007 |
| Thomas Gleixner | Re: [GIT pull] x86 updates for 2.6.24
FYI,
Just added Sam's latest fix for the x86 build mechanism on top of the patches below.
Thanks,
-
| Nov 17, 12:24 pm 2007 |
| Linus Torvalds | Re: [GIT pull] x86 updates for 2.6.24
Heh. I applied it just before pulling, so it's there twice. Git obviously
then merged it without problems, so I didn't even notice until you
mentioned it (because the diffstat matched your original diffstat due to
the new commit you added not actually causing any differences ;)
Linus
-
| Nov 17, 12:40 pm 2007 |
| Linus Torvalds | Re: [GIT pull] x86 updates for 2.6.24
.. btw, Thomas, you forgot to add your sign-off to your version.
Linus
-
| Nov 17, 12:41 pm 2007 |
| Akinobu Mita | [PATCH] fs: use list_for_each_entry_reverse and kill sb_entry
Use list_for_each_entry_reverse for super_blocks list and remove
unused sb_entry macro.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
---
fs/fs-writeback.c | 7 ++-----
include/linux/fs.h | 1 -
2 files changed, 2 insertions(+), 6 deletions(-)
Index: 2.6-mm/fs/fs-writeback.c
===================================================================
--- 2.6-mm.orig/fs/fs-writeback.c
+++ 2.6-mm/fs/fs-writeback.c
@@ -528,8 +528,7 @@ int writeback_inodes(struct writeback_co
mig...
| Nov 17, 10:33 am 2007 |
| Sam Ravnborg | [PATCH] x86: simplify "make ARCH=x86" and fix kconfig all.co...
Simplify "make ARCH=x86" and fix kconfig so we again
can set 64BIT in all.config.
For a fix the diffstat is nice:
6 files changed, 3 insertions(+), 36 deletions(-)
The patch reverts these commits:
0f855aa64b3f63d35a891510cf7db932a435c116
-> kconfig: add helper to set config symbol from environment variable
2a113281f5cd2febbab21a93c8943f8d3eece4d3
-> kconfig: use $K64BIT to set 64BIT with all*config targets
Roman Zippel pointed out that kconfig supported string
compares so the additi...
| Nov 17, 10:37 am 2007 |
| devzero | Re: distro specific kernels vs vanilla kernel and how
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
-
| Nov 17, 8:32 am 2007 |
| Tobias | [REQUEST] Option for skipping unreadable blocks on Video DVD
If you are accessing a scratched Video DVD and the device cannot read it, the
process ends.
What about a more tolerant way to handle unreadable blocks.
Especially on Video DVDs single blocks are not that important than on data
dvds.
So is there a way that the kernel tells the device to skip these bad blocks?
Tobias
-
| Nov 17, 7:29 am 2007 |
| Adrian Bunk | [2.6 patch] kill CONFIG_EXPERIMENTAL
[Empty message]
| Nov 17, 7:12 am 2007 |
| Peter Hagervall | [PATCH] Fix voyager build issue
Fix fallout from the x86 32/64-bit merge.
asm-x86/setup_32.h no longer exists.
Signed-off-by: Peter Hagervall <hager@cs.umu.se>
---
diff --git a/include/asm-x86/mach-voyager/setup_arch.h b/include/asm-x86/mach-voyager/setup_arch.h
index 1710ae1..71729ca 100644
--- a/include/asm-x86/mach-voyager/setup_arch.h
+++ b/include/asm-x86/mach-voyager/setup_arch.h
@@ -1,5 +1,5 @@
#include <asm/voyager.h>
-#include <asm/setup_32.h>
+#include <asm/setup.h>
#define VOYAGER_BIO...
| Nov 17, 6:58 am 2007 |
| Akinobu Mita | [PATCH] partitions: use kasprintf
Use kasprintf instead of kmalloc()-strcpy()-strcat().
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
---
fs/partitions/check.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
Index: 2.6-mm/fs/partitions/check.c
===================================================================
--- 2.6-mm.orig/fs/partitions/check.c
+++ 2.6-mm/fs/partitions/check.c
@@ -453,16 +453,11 @@ void add_partition(struct gendisk *disk,
static char *make_block_name(struct gendisk *disk)
{...
| Nov 17, 6:57 am 2007 |
| Akinobu Mita | [PATCH] power: use kasprintf
Use kasprintf instead of kmalloc()-strcpy()-strcat().
Cc: Anton Vorontsov <cbou@mail.ru>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
---
drivers/power/power_supply_leds.c | 25 +++++++------------------
1 file changed, 7 insertions(+), 18 deletions(-)
Index: 2.6-mm/drivers/power/power_supply_leds.c
===================================================================
--- 2.6-mm.orig/drivers/power/power_supply_leds.c
+++ 2....
| Nov 17, 6:55 am 2007 |
| Will Trives | Re: 2.6.24-rc2-git6: Reported regressions from 2.6.23
I was wrong originally, the issue is acctually occuring whenever I try
to write to a cd. With wodim or k3b, I am unable to write to the drive.
The error shown in dmesg is what happened when I tried to blank a disc.
In 2.6.23 it works instantly, with 2.6.24-rc4 it sits there, then there
are those errors, then I cannot eject the dvd from the drive. With k3b
it takes an age just to load and when it does it reports no media in the
drive, I am also unable to eject the media from the drive.
I can mount...
| Nov 17, 6:56 am 2007 |
| Rafael J. Wysocki | Re: 2.6.24-rc2-git6: Reported regressions from 2.6.23
Please add this information to the bug entry at
http://bugzilla.kernel.org/show_bug.cgi?id=9346
Thanks,
Rafael
-
| Nov 17, 8:44 am 2007 |
| Will Trives | Re: 2.6.24-rc2-git6: Reported regressions from 2.6.23
Sorry, I said 2.6.24-rc4 there, I meant 2.6.24-rc3.
-
| Nov 17, 6:58 am 2007 |
| devzero | Re: distro specific kernels vs vanilla kernel and how to com...
>I would also like to see something like this
so if _you_ have common sense, it`s up to you alone to make your own life easier and you should try hard to change their mind.
how can you make sure your code is good and stable if other`s don`t review it ?
why should you constantly work on porting your code to the next kernel release ?
even worse, you need to port it to different vendor specific kernels. that`s a real waste of time...
please try changing their minds and if you need some help/arguments...
| Nov 17, 6:35 am 2007 |
| FUJITA Tomonori | alpha: fix sg_page breakage
arch/alpha/kernel/pci-noop.c:167: warning: 'virt_to_bus' is deprecated (declared at include2/asm/io.h:117)
arch/alpha/kernel/pci-noop.c: In function 'dma_map_sg':
arch/alpha/kernel/pci-noop.c:183: error: 'struct scatterlist' has no member named 'page'
arch/alpha/kernel/pci-noop.c:184: error: 'struct scatterlist' has no member named 'page'
arch/alpha/kernel/pci-noop.c:185: warning: 'virt_to_bus' is deprecated (declared at include2/asm/io.h:11)
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt...
| Nov 17, 3:52 am 2007 |
| Steven Rostedt | [PATCH v3 05/17] pull RT tasks
This patch adds the algorithm to pull tasks from RT overloaded runqueues.
When a pull RT is initiated, all overloaded runqueues are examined for
a RT task that is higher in prio than the highest prio task queued on the
target runqueue. If another runqueue holds a RT task that is of higher
prio than the highest prio task on the target runqueue is found it is pulled
to the target runqueue.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
---
kernel/sched.c | 2
kernel/sched_rt....
| Nov 17, 2:21 am 2007 |
| Steven Rostedt | [PATCH v3 02/17] track highest prio queued on runqueue
This patch adds accounting to each runqueue to keep track of the
highest prio task queued on the run queue. We only care about
RT tasks, so if the run queue does not contain any active RT tasks
its priority will be considered MAX_RT_PRIO.
This information will be used for later patches.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
---
kernel/sched.c | 3 +++
kernel/sched_rt.c | 18 ++++++++++++++++++
2 files changed, 21 insertions(+)
Index: linux-compile.git/kernel/sc...
| Nov 17, 2:21 am 2007 |
| previous day | today | next day |
|---|---|---|
| November 16, 2007 | November 17, 2007 | November 18, 2007 |
