| From | Subject | Date |
|---|---|---|
| Stefan Richter | [PATCH 1/2] firewire: core: fix Model_ID in modalias
The modalias string of devices that represent units on a FireWire node
did not show Module_ID entries within unit directories. This was
because firewire-core searched only the root directory of the
configuration ROM for a Model_ID entry.
We now search first the root directory, then the unit directory. IOW
honor a unit directory's Model_ID if present, otherwise fall back to the
root directory's model ID (if present).
Furthermore, apply the same change to Vendor_ID. This had the same
issue ...
| Mar 18, 4:38 pm 2010 |
| Stefan Richter | [PATCH 2/2] firewire: core: align driver match with modalias
The driver match strategy was:
- Match vendor/model/specifier/version of the unit directory.
- If that was a miss, match vendor from the root directory and
model/specifier/version of the unit directory.
This was inconsistent whith how the modalias string was constructed
until recently:
- Take vendor/model from root directory and specifier/version from
unit directory.
It was also inconsistent with how it is done now:
- Take vendor/model/specifier/version from the root ...
| Mar 18, 4:39 pm 2010 |
| Randy Dunlap | 2.6.33 GP fault only when built with tracing
I can build/boot 2.6.33 with CONFIG_TRACE/TRACING disabled successfully,
but when I enable lots of tracing config options and then boot with
ftrace=nop on the kernel command line, I see a GP fault when the parport &
parport_pc modules are loading/initializing.
It happens in drivers/parport/share.c::parport_register_device(), when that
function calls try_module_get().
If I comment out the trace_module_get() calls in include/linux/module.h,
the kernel boots with no problems.
[ 21.852829] ...
| Mar 18, 4:26 pm 2010 |
| Steven Rostedt | Re: 2.6.33 GP fault only when built with tracing
Do you see it without adding the "ftrace=nop"? The only thing that
Interesting. Well, trace_module_get() is a TRACE_EVENT tracepoint. But
should be disabled here. It may be something to do with DEFINE_TRACE.
I've never seen it. Do you have a config you can send me. I can try it
out.
Thanks,
-- Steve
--
| Mar 18, 4:55 pm 2010 |
| Oleg Nesterov | [PATCH] move tty_kref_put() outside of __cleanup_signal()
tty_kref_put() have two callsites in copy_process() pathes,
1. if copy_process() suceeds it is called before we copy
signal->tty from parent
2. otherwise it is called from __cleanup_signal() under
bad_fork_cleanup_signal: label
In both cases tty_kref_put() is not right and unneeded because we don't
have the balancing tty_kref_get(). Fortunately, this is harmless because
this can only happen without CLONE_THREAD, and in this case signal->tty
must be NULL.
Remove tty_kref_put() ...
| Mar 18, 3:37 pm 2010 |
| Alan Cox | Re: [PATCH] move tty_kref_put() outside of __cleanup_signal()
That bit needs commenting clearly or a WARN_ON() that p->signal->tty is
NULL before the get otherwise when the assumption is broken the flaw will
and a sig->tty = NULL assignment to trap races might not go amiss here
perhaps ?
--
| Mar 18, 3:51 pm 2010 |
| Oleg Nesterov | Re: [PATCH] move tty_kref_put() outside of __cleanup_signal()
Well. It must be NULL. This tty_kref_get() was added by
9c9f4ded90a59eee84e15f5fd38c03d60184e112, and the same commit also added
sig->tty = NULL into copy_signal(). With the recent changes in copy_signal()
it must be NULL due to zalloc().
But this doesn't matter. We should not do tty_kref_put() even if it is not
NULL. If we do "put", we need the balancing "get" which we do not have.
That is why this "get" is not only unneeded, but wrong imho.
Probably the little comment makes sense, but I ...
| Mar 18, 4:16 pm 2010 |
| Randy Dunlap | BUG: 2.6.34-rc1, RIP is (null)
One of my automated tests failed to boot cleanly.
This is an 4-proc x86_64 server with 8 GB of RAM.
When I repeated the test, it booted and ran successfully.
BUG: unable to handle kernel NULL pointer dereference at (null)
IP: [<(null)>] (null)
PGD 0
Oops: 0010 [#1] SMP
last sysfs file: /sys/block/sdb/removable
CPU 3
Modules linked in: snd_seq_dummy tg3(+) libphy snd_seq_oss snd_seq_midi_event snd_seq ses enclosure snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore ...
| Mar 18, 3:22 pm 2010 |
| =?ISO-8859-1?Q?Ren=E ... | [PATCH 5/5] drivers/video/vesafb.c Section mismatch
Signed-off-by: Rene Bolldorf <xsecute@googlemail.com>
diff --git a/drivers/video/vesafb.c b/drivers/video/vesafb.c
index ef4128c..60432c5 100644
--- a/drivers/video/vesafb.c
+++ b/drivers/video/vesafb.c
@@ -476,7 +476,7 @@ err:
return err;
}
-static struct platform_driver vesafb_driver = {
+static struct platform_driver __refdata vesafb_driver = {
.probe = vesafb_probe,
.driver = {
.name = "vesafb",
--
| Mar 18, 3:08 pm 2010 |
| Randy Dunlap | Re: [PATCH 4/5] drivers/pci/pci.c Section mismatch
Thanks. Yes, we shouldn't export __init functions, so the patch makes
sense.
BTW, you need to cc: one or more maintainers so that someone will merge
your patches. They don't scan the mailing lists looking for patches to merge.
--
~Randy
--
| Mar 18, 4:37 pm 2010 |
| Randy Dunlap | Re: [PATCH 4/5] drivers/pci/pci.c Section mismatch
Hi,
Please put the offending/warning messages in the patch description.
Include your analysis if it isn't obvious.
thanks,
--
~Randy
--
| Mar 18, 3:58 pm 2010 |
| =?ISO-8859-1?Q?Ren=E ... | [PATCH 4/5] drivers/pci/pci.c Section mismatch
Signed-off-by: Rene Bolldorf <xsecute@googlemail.com>
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index ddd55dc..a1f7d93 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -2773,7 +2773,7 @@ int pci_resource_bar(struct pci_dev *dev, int
resno, enum pci_bar_type *type)
/* Some architectures require additional programming to enable VGA */
static arch_set_vga_state_t arch_set_vga_state;
-void __init pci_register_set_vga_state(arch_set_vga_state_t func)
+void ...
| Mar 18, 3:08 pm 2010 |
| =?UTF-8?B?UmVuw6kgQm ... | Re: [PATCH 4/5] drivers/pci/pci.c Section mismatch
Hi,
the warning message was:
WARNING: drivers/pci/built-in.o(__ksymtab+0x190): Section mismatch in
reference from the variable __ksymtab_pci_register_set_vga_state to the
function .init.text:pci_register_set_vga_state()
The symbol pci_register_set_vga_state is exported and annotated __init
Fix this by removing the __init annotation of pci_register_set_vga_state
or drop the export.
$fgrep "pci_register_set_vga_state" `find .`
$./arch/x86/kernel/apic/x2apic_uv_x.c: ...
| Mar 18, 4:34 pm 2010 |
| =?ISO-8859-1?Q?Ren=E ... | [PATCH 3/5] arch/x86/pci/legacy.c Section mismatch
Signed-off-by: Rene Bolldorf <xsecute@googlemail.com>
diff --git a/arch/x86/pci/legacy.c b/arch/x86/pci/legacy.c
index 8d460ea..c89266b 100644
--- a/arch/x86/pci/legacy.c
+++ b/arch/x86/pci/legacy.c
@@ -36,7 +36,7 @@ int __init pci_legacy_init(void)
return 0;
}
-void pcibios_scan_specific_bus(int busn)
+void __devinit pcibios_scan_specific_bus(int busn)
{
int devfn;
long node;
--
| Mar 18, 3:08 pm 2010 |
| =?ISO-8859-1?Q?Ren=E ... | [PATCH 2/5] arch/x86/kernel/head_32.S Warning: shift cou ...
Signed-off-by: Rene Bolldorf <xsecute@googlemail.com>
diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S
index 37c3d4b..8bfba5e 100644
--- a/arch/x86/kernel/head_32.S
+++ b/arch/x86/kernel/head_32.S
@@ -62,7 +62,7 @@
/* Enough space to fit pagetables for the low memory linear map */
MAPPING_BEYOND_END = \
- PAGE_TABLE_SIZE(((1<<32) - __PAGE_OFFSET) >> PAGE_SHIFT) << PAGE_SHIFT
+ PAGE_TABLE_SIZE(((1<<31) - __PAGE_OFFSET) >> PAGE_SHIFT) << PAGE_SHIFT
/*
* ...
| Mar 18, 3:08 pm 2010 |
| =?windows-1252?Q?Ren ... | [PATCH 1/5] drivers/ata/ahci_platform.c Section mismatch
Signed-off-by: Rene Bolldorf <xsecute@googlemail.com>
diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c
index 42cdd73..16fa45b 100644
--- a/drivers/ata/ahci_platform.c
+++ b/drivers/ata/ahci_platform.c
@@ -164,7 +164,7 @@ static int __devexit ahci_remove(struct
platform_device *pdev)
return 0;
}
-static struct platform_driver ahci_driver = {
+static struct platform_driver __refdata ahci_driver = {
.probe = ahci_probe,
.remove = ...
| Mar 18, 3:08 pm 2010 |
| =?windows-1252?Q?Ren ... | [PATCH 0/5] drivers/ata/ahci.c warning: comparison betwe ...
Signed-off-by: Rene Bolldorf <xsecute@googlemail.com>
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index 108f2c6..f17b114 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -998,7 +998,7 @@ static int ahci_init_one(struct pci_dev *pdev, const
struct pci_device_id *ent)
VPRINTK("ENTER\n");
- WARN_ON(ATA_MAX_QUEUE > AHCI_MAX_CMDS);
+ WARN_ON(ATA_MAX_QUEUE >= AHCI_MAX_CMDS);
if (!printed_version++)
dev_printk(KERN_DEBUG, &pdev->dev, "version " DRV_VERSION ...
| Mar 18, 3:08 pm 2010 |
| Greg Thelen | [PATCH] memcg: fix typo in memcg documentation
Updated memory.txt to be more consistent: s/swapiness/swappiness/
Signed-off-by: Greg Thelen <gthelen@google.com>
---
Documentation/cgroups/memory.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/cgroups/memory.txt b/Documentation/cgroups/memory.txt
index f8bc802..3a6aecd 100644
--- a/Documentation/cgroups/memory.txt
+++ b/Documentation/cgroups/memory.txt
@@ -340,7 +340,7 @@ Note:
5.3 swappiness
Similar to /proc/sys/vm/swappiness, but ...
| Mar 18, 3:04 pm 2010 |
| William Cohen | Re: [PATCH] Enhance perf to collect KVM guest os statist ...
The software performance events work fine in a KVM guest. Do the hardware performance events work in KVM guest environment? Last time I looked the results for the hardware counters were not sane. The values were seemingly random numbers. Something like the following.
Performance counter stats for 'ls':
3.427434 task-clock-msecs # 0.046 CPUs
2 context-switches # 0.001 M/sec
0 CPU-migrations # 0.000 M/sec
...
| Mar 18, 2:57 pm 2010 |
| John Stultz | [PATCH] time: Fix accumulation bug triggered by long delay.
The logarithmic accumulation done in the timekeeping has some overflow
protection that limits the max shift value. That means it will take
more then shift loops to accumulate all of the cycles. This causes
the shift decrement to underflow, which causes the loop to never exit.
The simplest fix would be simply to do a:
if (shift)
shift--;
However that is not optimal, as we know the cycle offset is larger
then the interval << shift, the above would make shift drop to zero,
then we would be ...
| Mar 18, 2:47 pm 2010 |
| Luis Correia | [rt2x00-users] rt2500usb broken since 2.6.29
Hi,
you can prevent hardware encryption by supplying "nohwcrypt=1" to the driver.
(modinfo rt2500usb)
Luis Correia
rt2x00 project admin
--
| Mar 18, 2:52 pm 2010 |
| Ondrej Zary | rt2500usb broken since 2.6.29
Hello,
rt2500usb is broken since kernel 2.6.29. It has been discussed before but
never solved:
http://rt2x00.serialmonkey.com/phpBB/viewtopic.php?f=4&t=4834
https://bugzilla.redhat.com/show_bug.cgi?id=484888
I have Asus WL-167G and it really does not work. Scanning works, association
too but no packets can be sent (looks like receive works because tcpdump
shows packets from other machines). DHCP fails (No DHCPOFFERS received).
The problem is caused by this patch:
rt2x00: Implement HW ...
| Mar 18, 2:46 pm 2010 |
| Ondrej Zary | Re: [rt2x00-users] rt2500usb broken since 2.6.29
That did not work. Maybe that was because I just unloaded the rt2500usb module
and loaded it again with nohwcrypt=1 without rebooting the machine. Then I
removed the HW encryption, recompiled and reloaded and it did not work
either. It started to work only after reboot.
Does the HW encryption really work with any rt2500usb hardware? How can I help
--
Ondrej Zary
--
| Mar 18, 3:04 pm 2010 |
| Luis Correia | Re: [rt2x00-users] rt2500usb broken since 2.6.29
Hi,
did you actually remove the usb module and unloaded the module as well?
you then need to load the module with the option, wait one sec and
I think the HW encription did work in the past, but I'm unsure of the
proper timeline.
Luis Correia
rt2x00 project admin
--
| Mar 18, 3:10 pm 2010 |
| Andrew Morton | Re: [Bugme-new] [Bug 15494] New: BUG: key ffff88013d4f4c ...
(switched to email. Please respond via emailed reply-to-all, not via the
bugzilla web interface).
On Tue, 9 Mar 2010 16:28:21 GMT
Methinks 6992f5334995af474c2b58d010d08bc597f0f2fe ("sysfs: Use one
lockdep class per sysfs attribute") is implicated.
--
| Mar 18, 2:35 pm 2010 |
| Alexey Dobriyan | [PATCH v2] headers: remove mm_types.h from sched.h
* remove mm_types.h inclusion from sched.h
* move init_mm declaration not to mm.h but to mm_types.h
to overcome header loops on sparc64
* move mm_struct related stuff to mm.h
* fix fallout
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
arch/blackfin/include/asm/mmu_context.h | 1
arch/blackfin/kernel/flat.c | 1
arch/s390/hypfs/inode.c | 1
arch/sparc/include/asm/pgtable_64.h | 1
...
| Mar 18, 2:30 pm 2010 |
| Cyrill Gorcunov | [PATCH -tip] x86, perf: A few cosmetic dabs for p4 pmu ( ...
- A few ESCR have escaped fixing at previous attempt.
- p4_escr_map is read only, make it const.
Nothing serious.
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
---
| commit f53d69aedd592348e9f862c429f8fc99159ac7fc
| Merge: f10893e cb7d6b5
| Author: Ingo Molnar <mingo@elte.hu>
| Date: Thu Mar 18 17:04:39 2010 +0100
|
| Merge branch 'perf/core'
arch/x86/include/asm/perf_event_p4.h | 4 ++--
arch/x86/kernel/cpu/perf_event_p4.c | 2 +-
2 files changed, 3 ...
| Mar 18, 2:12 pm 2010 |
| tip-bot for Cyrill G ... | [tip:perf/core] x86, perf: Fix few cosmetic dabs for P4 ...
Commit-ID: 9c8c6bad3137112d2c7bf3d215b736ee4215fa74
Gitweb: http://git.kernel.org/tip/9c8c6bad3137112d2c7bf3d215b736ee4215fa74
Author: Cyrill Gorcunov <gorcunov@gmail.com>
AuthorDate: Fri, 19 Mar 2010 00:12:56 +0300
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Thu, 18 Mar 2010 22:17:46 +0100
x86, perf: Fix few cosmetic dabs for P4 pmu (comments and constantify)
- A few ESCR have escaped fixing at previous attempt.
- p4_escr_map is read only, make it const.
Nothing ...
| Mar 18, 3:03 pm 2010 |
| drepper | Re: [RFC] Unify KVM kernel-space and user-space code int ...
How'd you guess? I've always been been willing to discuss interface requirements with whoever showed interest in implementing things. Again, ask Zach. I think Christoph Lameter also was involved as were various SGI people over the years.
You never looked at the glibc code in use and didn't read what I wrote before. We do have an implementation of libaio using those interfaces. They exist in the Fedora/RHEL glibc and are probably copied elsewhere, too. The code is not upstream because it ...
| Mar 18, 1:39 pm 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
So it's good enough to be in Fedora/RHEL but not good enough to be in upstream
glibc? How is that possible? Isnt that a double standard?
Upstream libc presence is really what is needed for an API to be ubiquitous to
apps. That is what 'closes the loop' in the the positive feedback cycle loop
and creates real back pressure and demand on the kernel to get its act
together.
Again, i state it for the third time, the KAIO situation is mostly the
kernel's fault. But glibc is certainly not ...
| Mar 18, 1:56 pm 2010 |
| Alan Cox | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Yes its a double standard
Glibc has a higher standard than Fedora/RHEL.
Just like the Ubuntu kernel ships various ugly unfit for upstream kernel
I am sure Ulrich is being totally honest, but send him the patches and
you'll find out. Plus you will learn what the API should look like when
you try and create them ...
Alan
--
| Mar 18, 3:06 pm 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
There's a world of a difference between a fugly driver and a glibc patch.
Also, we tend to upstream even fugly kernel drivers if they are important and
I was there and extended/fixed bits of the kaio/libaio code when they were
written so yes i already know something about it. To say that the glibc
reaction was less than enthusiastic back then is a strong euphemism ;-)
So after 8 years some of the bits made its way into Fedora/RHEL.
I think this is a pretty good demonstration of the ...
| Mar 18, 3:16 pm 2010 |
| Serge E. Hallyn | [PATCH linux-cr] Handle nested pid namespaces
[ Patch against https://www.linux-cr.org/redmine/tab/show/kernel-cr ]
In place of one big pids array, checkpoint one struct ckpt_hdr_pids
per task. It contains pid/ppid/etc in the root nsproxy's pidns, and
is followed by a list of all virtual pids in child pid namespaces, if
any.
When an nsproxy is created during do_restore_ns(), we don't yet set
its pid_ns, waiting instead until a task attaches that new nsproxy to
itself. I *think* the nsproxy will generally get recreated by the
task ...
| Mar 18, 1:19 pm 2010 |
| Serge E. Hallyn | [PATCH] user-cr: Handle nested pid namespaces
[ Patch against https://www.linux-cr.org/redmine/tab/show/user-cr ]
Make userspace use eclone to recreate all original checkpointed
pids in nested pid namespaces.
Yup, the kernel doesn't actually care about the vpids in all
the child pid namespaces, they're actually just for us. We
parse them to decide how to tell eclone to recreate the full
hierarchical pid and pidns trees.
Changelog:
Mar 18: bump checkpoing image format version #
Signed-off-by: Serge Hallyn <serue@us.ibm.com>
---
...
| Mar 18, 1:22 pm 2010 |
| Rafael J. Wysocki | Re: [Bug 15559] Bad performance after suspend on Intel i ...
Hi,
Here's an interesting issue, apparently Core i5 and i7 have problems after
resume from suspend/standby.
I wonder whom at Intel I should let know about that.
Rafael
--
| Mar 18, 12:56 pm 2010 |
| drepper | Re: [RFC] Unify KVM kernel-space and user-space code int ...
This is wrong, too. Once there is a kernel patch that has a reasonable syscall interface it's easy enough to hack up the glibc side. Don't try to artificially find an argument to support your thesis. If kernel developers always need an immediate itch which lives inside the kernel walls to make a change this is a failure of the kernel model and mustn't be "solved" by dragging ever more code into the kernel.
Aside, you don't need a full-fledged glibc implementation for testing. Especially for AIO ...
| Mar 18, 12:37 pm 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Where 'reasonable' is defined by you, right?
As i said, the KAIO situation is mostly the kernel's fault, but you are a
pretty passive and unhelpful entity in this matter too, arent you?
For example, just to state the obvious: libaio has been written 8 years ago in
2002 and has been used in apps early on. Why arent those kernel APIs, while
not being a full/complete solution, supported by glibc, and wrapped to
pthreads based emulation on kernels that dont support it?
I'm not talking ...
| Mar 18, 1:18 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/urgent 0/2] RCU lockdep fix and shrink RCU API
Hello!
This set has two patches, one from Lai Jiangshan that fixes RCU lockdep's
rcu_read_lock_sched_held() to correctly interpret things like
local_irq_disable() as starting a valid RCU-sched read-side critical
section, and one from Alexey Dobriyan that removes several useless
members of the RCU API.
Thanx, Paul
------------------------------------------------------------------------
b/Documentation/DocBook/kernel-locking.tmpl | 8 --------
b/arch/powerpc/mm/pgtable.c ...
| Mar 18, 12:25 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/urgent 1/2] rcu: local_irq_disable() als ...
From: Lai Jiangshan <laijs@cn.fujitsu.com>
It is documented that local_irq_disable() also delimits
RCU_SCHED read-site critical sections.
See the document of synchronize_sched() or
Documentation/RCU/whatisRCU.txt.
So we have to test irqs_disabled() in rcu_read_lock_sched_held().
Otherwise rcu-lockdep brings incorrect complaint.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
include/linux/rcupdate.h | 4 ++--
1 ...
| Mar 18, 12:25 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/urgent 2/2] rcu: remove INIT_RCU_HEAD, R ...
From: Alexey Dobriyan <adobriyan@gmail.com>
call_rcu() will unconditionally reinitialize RCU head anyway. New users
of these macros constantly appear, so remove them.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
...
| Mar 18, 12:25 pm 2010 |
| Mathieu Desnoyers | Re: [PATCH tip/core/urgent 2/2] rcu: remove INIT_RCU_HEA ...
Hrm. So do we have something that checks for double-use of a RCU head at
the moment ? (using call_rcu() twice on the same head without being
certain that the first callback have finished its execution).
I think that hiding rcu head initialization into call_rcu() is one more
step towards misuses that will silently corrupt rcu head lists. So I
think we should first add the double-use debugging option before we
remove the RCU head initializations.
Thanks,
--
Mathieu Desnoyers
Operating ...
| Mar 18, 12:35 pm 2010 |
| Paul E. McKenney | Re: [PATCH tip/core/urgent 2/2] rcu: remove INIT_RCU_HEA ...
So your thought is to have rcu_do_batch() do something like the
following?
...
next = list->next;
prefetch(next);
list->next = RCU_HEAD_INIT_PTR;
func = list->func;
list->func = RCU_HEAD_INIT_PTR;
func(list);
... /* touching anything referenced by "list" is use-after-free. */
Then have __call_rcu() do something like the following before initializing
the ->func and ->next pointers:
WARN_ON_ONCE(head->next != RCU_HEAD_INIT_PTR ||
head->func != ...
| Mar 18, 1:03 pm 2010 |
| Mathieu Desnoyers | Re: [PATCH tip/core/urgent 2/2] rcu: remove INIT_RCU_HEA ...
More precisely poisoning an extra field of the rcu_head, as done in the
following patch.
I posted it a few months ago, but has been rejected on the ground that
it should be re-done in within the debug objects infrastructure. But I
had to focus on other things and never found time to do these changes.
It needs a separate patch which adds missing INIT_RCU_HEAD() to a few
more kernel sites.
The reason why I add a supplementary field for the poison is to be able
to warn for detection of ...
| Mar 18, 1:22 pm 2010 |
| Paul E. McKenney | Re: [PATCH tip/core/urgent 2/2] rcu: remove INIT_RCU_HEA ...
This does look attractive!
RCU_HEAD() is identical in either case, so should be pulled out of the
Would you be willing to add this to TINY_RCU as well? It would be under
#ifdef, so would not affect the size of production builds.
Thanx, Paul
--
| Mar 18, 2:04 pm 2010 |
| tip-bot for Lai Jian ... | [tip:core/urgent] rcu: Fix local_irq_disable() CONFIG_PR ...
Commit-ID: 0cff810f54b3b52075c27f7a7021d5b195264b6c
Gitweb: http://git.kernel.org/tip/0cff810f54b3b52075c27f7a7021d5b195264b6c
Author: Lai Jiangshan <laijs@cn.fujitsu.com>
AuthorDate: Thu, 18 Mar 2010 12:25:33 -0700
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Thu, 18 Mar 2010 21:25:32 +0100
rcu: Fix local_irq_disable() CONFIG_PROVE_RCU=y false positives
It is documented that local_irq_disable() also delimits RCU_SCHED
read-site critical sections.
See the document of ...
| Mar 18, 3:03 pm 2010 |
| Oleg Nesterov | [PATCH 2/2] ia64: ptrace_attach_sync_user_rbs: avoid "ta ...
No functional changes.
It doesn't matter which pointer we check under tasklist to ensure
the task was not released, ->signal or ->sighand. But we are going
to make ->signal refcountable, change the code to use ->sighand.
Note: this code doesn't need this check and tasklist_lock at all,
it should be converted to use lock_task_sighand(). And, the code
under SIGNAL_STOP_STOPPED check looks wrong.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
---
arch/ia64/kernel/ptrace.c | 4 ++--
1 ...
| Mar 18, 11:53 am 2010 |
| Oleg Nesterov | [PATCH 1/2] posix-cpu-timers: avoid "task->signal != NUL ...
No functional changes.
posix-cpu-timers.c checks task->signal != NULL to ensure this task
is alive and didn't pass __exit_signal(). This is correct but we
are going to change the lifetime rules for ->signal and never reset
this pointer.
Change the code to check ->sighand instead, it doesn't matter which
pointer we check under tasklist, they both are cleared simultaneously.
As Roland pointed out, some of these changes are not strictly needed
and probably it makes sense to revert them later, ...
| Mar 18, 11:53 am 2010 |
| Oleg Nesterov | [PATCH 0/2] never check task->signal != NULL
Another preparation to make task->signal immutable, this is the only
necessary change outside of fork/exit pathes.
Oleg.
--
| Mar 18, 11:53 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
I didnt say it's glibc's fault - if then it's more of the kernel's fault as
most of the complexity is on that side. I said it's due to the fundamental
distance between the app that makes use of it, the library and the kernel, and
the resulting difficulties in getting a combined solution out.
None of the parties really feels it to be their own thing.
Ingo
--
| Mar 18, 12:15 pm 2010 |
| drepper | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Bollocks. glibc would use (and is using) everything the kernel provides. We even have an implementation using the current AIO code. It only works in some situations but that's what the few users are OK with.
Don't try to blame anyone but kernel people for the complete and utter failure of AIO in Linux. I don't know how often I've discussed design of a kernel interface with various kernel developers. Heck, whenever Zach Brown and I meet there never is a different topic. And following these ...
| Mar 18, 11:23 am 2010 |
| Chase Douglas | [RESEND][PATCH 1/3] Add tracing_off_event() to stop trac ...
The tracing_off_event() function calls tracing_off() to stop tracing
when an event occurs. By default, only BUG-type events stop tracing,
while WARNING type events do not. This is controlled through the
tracing_off={none,warn,bug} commandline parameter.
Call this function from bug and warning event handlers to enable a user
to debug their kernel by starting a trace, hitting an event, and then
retrieving trace info knowing that the trace was stopped right after the
event was ...
| Mar 18, 9:31 am 2010 |
| Brian Gerst | [PATCH 0/5] x86: Merge fpu and simd exception handlers
This patch series merges the fpu and simd exception handlers into one
function. The only difference is where the status bits are read from.
This also applies a fix for multiple simd exceptions that was already
done for fpu.
[PATCH 1/5] x86-32: Split cache flush handler from simd handler
[PATCH 2/5] x86-32: Remove die_if_kernel()
[PATCH 3/5] x86: Merge simd_math_error() into math_error()
[PATCH 4/5] x86: Merge kernel_math_error() into math_error()
[PATCH 5/5] x86-32: Don't set ignore_fpu_irq ...
| Mar 18, 11:20 am 2010 |
| Brian Gerst | [PATCH 2/5] x86-32: Remove die_if_kernel()
Merge die_if_kernel() into do_cache_flush_error().
Signed-off-by: Brian Gerst <brgerst@gmail.com>
---
arch/x86/kernel/traps.c | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c
index 45b9cb0..cea343e 100644
--- a/arch/x86/kernel/traps.c
+++ b/arch/x86/kernel/traps.c
@@ -108,15 +108,6 @@ static inline void preempt_conditional_cli(struct pt_regs *regs)
dec_preempt_count();
}
-#ifdef ...
| Mar 18, 11:20 am 2010 |
| Brian Gerst | [PATCH 4/5] x86: Merge kernel_math_error() into math_error()
Clean up the kernel exception handling and make it more similar to
the other traps.
Signed-off-by: Brian Gerst <brgerst@gmail.com>
---
arch/x86/kernel/traps.c | 44 ++++++++++++++++----------------------------
1 files changed, 16 insertions(+), 28 deletions(-)
diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c
index 5628307..6384066 100644
--- a/arch/x86/kernel/traps.c
+++ b/arch/x86/kernel/traps.c
@@ -598,20 +598,6 @@ dotraplinkage void __kprobes do_debug(struct pt_regs ...
| Mar 18, 11:20 am 2010 |
| Brian Gerst | [PATCH 5/5] x86-32: Don't set ignore_fpu_irq in simd exception
Any processor that supports simd will have an internal fpu, and the
irq13 handler will not be enabled.
Signed-off-by: Brian Gerst <brgerst@gmail.com>
---
arch/x86/kernel/traps.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c
index 6384066..91da091 100644
--- a/arch/x86/kernel/traps.c
+++ b/arch/x86/kernel/traps.c
@@ -697,10 +697,6 @@ dotraplinkage void do_coprocessor_error(struct pt_regs *regs, long ...
| Mar 18, 11:20 am 2010 |
| Brian Gerst | [PATCH 3/5] x86: Merge simd_math_error() into math_error()
The only difference between FPU and SIMD exceptions is where the
status bits are read from (cwd/swd vs. mxcsr). This also fixes
the discrepency introduced by commit adf77bac, which fixed FPU
but not SIMD.
Signed-off-by: Brian Gerst <brgerst@gmail.com>
---
arch/x86/include/asm/traps.h | 2 +-
arch/x86/kernel/irqinit.c | 2 +-
arch/x86/kernel/traps.c | 100 +++++++++++++----------------------------
3 files changed, 34 insertions(+), 70 deletions(-)
diff --git ...
| Mar 18, 11:20 am 2010 |
| Brian Gerst | [PATCH 1/5] x86-32: Split cache flush handler from simd ...
Make the cache flush handler a seperate function, and use
an alternative to call the appropriate handler.
Signed-off-by: Brian Gerst <brgerst@gmail.com>
---
arch/x86/kernel/entry_32.S | 16 +++++++++++++++-
arch/x86/kernel/traps.c | 43 ++++++++++++++++++++++++-------------------
2 files changed, 39 insertions(+), 20 deletions(-)
diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S
index 44a8e0d..c3769fa 100644
--- a/arch/x86/kernel/entry_32.S
+++ ...
| Mar 18, 11:20 am 2010 |
| lo | Loan Offre
We offer loan ranges from $10,000USD to (infinity. Terms and conditions apply)
Apply now.
--
| Mar 18, 11:10 am 2010 |
| Bjorn Helgaas | [PATCH v2 3/4] hpet: clean up io mapping when hpet_alloc ...
When hpet_alloc() fails, we should iounmap() the timer so we don't leak
the mapping.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
---
drivers/char/hpet.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c
index d132fef..8961985 100644
--- a/drivers/char/hpet.c
+++ b/drivers/char/hpet.c
@@ -904,7 +904,7 @@ static int hpet_pnp_add(struct pnp_dev *dev, const struct pnp_device_id *dev_id)
{
struct ...
| Mar 18, 10:59 am 2010 |
| Bjorn Helgaas | [PATCH v2 0/4] hpet: convert from ACPI to PNP driver
The HPET driver parses ACPI _CRS data manually, but PNPACPI already does
that, and it does a more complete job, so we can simplify the HPET driver
quite a bit by taking advantage of that.
Clemens, if you like these, will you take care of merging them, or do
I need to shepherd them through some other path?
Changes from v1 to v2:
- Wrap PNP code in "#ifdef CONFIG_PNP" (Venki)
- Fix leak when hpet_alloc() fails (Venki)
---
Bjorn Helgaas (4):
hpet: convert from ACPI to PNP ...
| Mar 18, 10:59 am 2010 |
| Venkatesh Pallipadi | Re: [PATCH v2 2/4] hpet: pass physical address, not enti ...
Acked-by: Venkatesh Pallipadi <venki@google.com>
--
| Mar 18, 12:25 pm 2010 |
| Bjorn Helgaas | [PATCH v2 4/4] MAINTAINERS: remove obsolete HPET ACPI entry
Bob Picco is no longer at HP.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
---
MAINTAINERS | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 47cc449..30ba4e9 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2664,11 +2664,6 @@ HPET: x86_64
M: Vojtech Pavlik <vojtech@suse.cz>
S: Maintained
-HPET: ACPI
-M: Bob Picco <bob.picco@hp.com>
-S: Maintained
-F: drivers/char/hpet.c
-
HPFS FILESYSTEM
M: Mikulas Patocka ...
| Mar 18, 10:59 am 2010 |
| Bjorn Helgaas | [PATCH v2 1/4] hpet: convert from ACPI to PNP driver
PNPACPI already parses _CRS, and does a more complete job than we did here,
so let's just take advantage of that.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
---
drivers/char/hpet.c | 109 +++++++++++++++------------------------------------
1 files changed, 33 insertions(+), 76 deletions(-)
diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c
index e481c59..5cb05ed 100644
--- a/drivers/char/hpet.c
+++ b/drivers/char/hpet.c
@@ -31,6 +31,7 @@
#include <linux/seq_file.h>
...
| Mar 18, 10:59 am 2010 |
| Bjorn Helgaas | [PATCH v2 2/4] hpet: pass physical address, not entire h ...
No functional change; hpet_is_known() only needs the physical address,
so supplying that instead of the whole struct hpet_data makes the callers
a little simpler.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Acked-by: Clemens Ladisch <clemens@ladisch.de>
---
drivers/char/hpet.c | 14 +++++---------
1 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c
index 5cb05ed..d132fef 100644
--- a/drivers/char/hpet.c
+++ ...
| Mar 18, 10:59 am 2010 |
| Venkatesh Pallipadi | Re: [PATCH v2 3/4] hpet: clean up io mapping when hpet_a ...
Acked-by: Venkatesh Pallipadi <venki@google.com>
--
| Mar 18, 12:25 pm 2010 |
| Venkatesh Pallipadi | Re: [PATCH v2 1/4] hpet: convert from ACPI to PNP driver
Acked-by: Venkatesh Pallipadi <venki@google.com>
--
| Mar 18, 12:26 pm 2010 |
| Arjan van de Ven | Re: [PATCH] scripts/bootgraph.pl: ignore times until the ...
can we fix the platform to be smarter instead ? I'd think that's needed anyway for various
nothing wrong with the patch itself... just sad that it's needed to work around such bugs ;(
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
--
| Mar 18, 11:24 am 2010 |
| Aaro Koskinen | [PATCH] scripts/bootgraph.pl: ignore times until the clo ...
The clock used for printk.time=1 does not necessarily start running
from zero. On such platforms the bootgraph does not work properly as
the calculated boottime will be too long.
To correct this, the patch modifies the script to accept only non-zero
start times. This ensures the report contains entries only from the
period when the clock was running.
Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
---
scripts/bootgraph.pl | 18 +++++++++++-------
1 files changed, 11 insertions(+), ...
| Mar 18, 10:49 am 2010 |
| Yang | should we use $(__USER_DS) or $(__KERNEL_DS) when enteri ...
in handling an interrupt, kernel first saves all the register contents , in
the SAVE_ALL macro, in the last part of this macro, it adjusts the
data segment selectors for kernel mode.
in kernel 2.4, the __KERNEL_DS segment is loaded into %ds and %es, at line
98 of:
http://lxr.linux.no/#linux-old+v2.4.31/arch/i386/kernel/entry.S
but in kernel 2.6, __USER_DS segment is loaded into %ds and %es, at line
227 of :
http://lxr.linux.no/#linux+v2.6.33/arch/x86/kernel/entry_32.S
I understand ...
| Mar 18, 10:38 am 2010 |
| Tomasz Grzegurzko | Memory Loss
Hi,
I have a Dell PowerEdge 2900 reporting the loss of some memory at boot
time. It runs Ubuntu Karmic kernel 2.6.31-19-server (internal name).
The server is loaded with 42 GB of RAM but I get a little over 40GB,
and the following message from dmesg after bootup accounting for the
loss of RAM.
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.31-19-server (buildd@crested) (gcc
version 4.4.1 (Ubuntu 4.4.1-4ubuntu8) ...
| Mar 18, 9:06 am 2010 |
| Rafael J. Wysocki | Re: [linux-pm] [RFC][PATCH] PM: Update device power mana ...
Thanks!
I think I'll covert your version into a patch on top of mine for this purpose.
That's a bit artificial, but it will reflect who did what correctly, which also
is important (and the Randy's "Reviewed-by" for my patch will be preserved this
way).
Rafael
--
| Mar 18, 2:38 pm 2010 |
| Alan Stern | Re: [linux-pm] [RFC][PATCH] PM: Update device power mana ...
Rafael:
Here's my updated version of your patch. It's meant as a replacement,
rather than an additional patch. I used much of your text but I also
altered a lot. And the new documentation describes the way things will
be after Dominik Brodowski's change is added, rather than the way
things are now.
Attribution of authorship for changes like this is difficult; the
existing conventions don't make allowance for patches with multiple
authors. You'll have to figure out the right way to ...
| Mar 18, 8:44 am 2010 |
| Stefan Achatz | [PATCH] HID: add driver for Roccat Kone gaming mouse 2nd ...
This Patch adds support for Kone gaming mouse from Roccat.
It provides access to profiles, settings, firmware, weight,
actual settings etc. through sysfs attributes.
Event handling of this mouse differs from standard hid behaviour
in that tilt button press is reported in each move event which
results in strange behaviour if not handled by the driver.
This is a heavily reworked version of the previously introduced driver.
The changes include most of the previously raised concerns,
memory leak ...
| Mar 18, 8:43 am 2010 |
| Anton Vorontsov | Re: [V2 PATCH 08/10] arch/powerpc: Remove obsolete dev_a ...
Hi Grant,
Yeah, they're plain duplications since you introduced dev.of_node.
I wonder what was the problem with using dev.archdata.of_node?
Why dev.of_node is better?
Also, by using dev.of_node directly you have to introduce ugly
#ifdefs in the non-OF code (as in i2c patch), which you don't
need with transparent archdata and accessors, which you've just
Thanks,
--
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2
--
| Mar 18, 8:47 am 2010 |
| Jochen Friedrich | Re: [V2 PATCH 06/10] of/drivers: Always use struct devic ...
drivers/i2c/busses/i2c-cpm.c is missing in this patch.
Thanks,
Jochen
--
| Mar 18, 8:58 am 2010 |
| Grant Likely | Re: [V2 PATCH 00/10] of: Consolidate scattered device no ...
This series is also available in my git tree:
git://git.secretlab.ca/git/linux-2.6 experimental-devicetree
--
| Mar 18, 8:35 am 2010 |
| Grant Likely | [V2 PATCH 00/10] of: Consolidate scattered device node p ...
Currently, each of_device has a copy of the device tree node pointer in both
.node, and in .dev.archdata.of_node (microblaze and powerpc) or
.dev.archdata.prom_node (sparc). Also, other architectures will be adding
CONFIG_OF support, and they will also need a reference to the device tree
node pointer from struct device.
This series consolidates the device node pointer by adding .of_node to
struct device (conditional on CONFIG_OF) and removing the archdata.of_node,
archdata.prom_node and ...
| Mar 18, 8:22 am 2010 |
| Grant Likely | [V2 PATCH 01/10] driver-core: Add device node pointer to ...
Currently, platforms using CONFIG_OF add a 'struct device_node *of_node'
to dev->archdata. However, with CONFIG_OF becoming generic for all
architectures, it makes sense for commonality to move it out of archdata
and into struct device proper.
This patch adds a struct device_node *of_node member to struct device
and updates all locations which currently write the device_node pointer
into archdata to also update dev->of_node. Subsequent patches will
modify callers to use the archdata location ...
| Mar 18, 8:22 am 2010 |
| Grant Likely | [V2 PATCH 02/10] i2c/of: Allow device node to be passed ...
The struct device_node *of_node pointer is moving out of dev->archdata
and into the struct device proper. of_i2c.c needs to set the of_node
pointer before the device is registered. Since the i2c subsystem
doesn't allow 2 stage allocation and registration of i2c devices, the
of_node pointer needs to be passed via the i2c_board_info structure
so that it is set prior to registration.
This patch adds of_node to struct i2c_board_info (conditional on
CONFIG_OF), sets of_node in i2c_new_device(), ...
| Mar 18, 8:22 am 2010 |
| Grant Likely | [V2 PATCH 03/10] arch/sparc: Always use 'struct device.o ...
The following structure elements duplicate the information in
'struct device.of_node' and so are being eliminated. This patch
makes all readers of the following elements use device.of_node instead.
struct of_device.node
struct dev_archdata.prom_node
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---
arch/sparc/include/asm/fb.h | 2 +-
arch/sparc/include/asm/floppy_64.h | 4 ++--
arch/sparc/include/asm/parport.h | 2 +-
arch/sparc/kernel/auxio_64.c ...
| Mar 18, 8:22 am 2010 |
| Grant Likely | [V2 PATCH 04/10] arch/powerpc: Always use 'struct device ...
The following structure elements duplicate the information in
'struct device.of_node' and so are being eliminated. This patch
makes all readers of the following elements use device.of_node instead.
struct of_device.node
struct dev_archdata.of_node
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---
arch/powerpc/include/asm/macio.h | 2 +-
arch/powerpc/kernel/ibmebus.c | 4 ++--
arch/powerpc/kernel/of_device.c | 8 ++++----
...
| Mar 18, 8:22 am 2010 |
| Grant Likely | [V2 PATCH 05/10] arch/microblaze: Always use 'struct dev ...
The following structure elements duplicate the information in
'struct device.of_node' and so are being eliminated. This patch
makes all readers of the following elements use device.of_node instead.
struct of_device.node
struct dev_archdata.of_node
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---
arch/microblaze/kernel/of_device.c | 8 ++++----
arch/microblaze/kernel/of_platform.c | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git ...
| Mar 18, 8:22 am 2010 |
| Grant Likely | [V2 PATCH 07/10] of: eliminate calls to dev_archdata_set ...
At this point, there are no more users of the archdata node pointer,
so the calls to set it can be dropped.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---
drivers/of/of_i2c.c | 1 -
drivers/of/of_mdio.c | 1 -
drivers/of/of_spi.c | 1 -
3 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/drivers/of/of_i2c.c b/drivers/of/of_i2c.c
index 604ba96..ab6522c 100644
--- a/drivers/of/of_i2c.c
+++ b/drivers/of/of_i2c.c
@@ -42,7 +42,6 @@ void ...
| Mar 18, 8:22 am 2010 |
| Grant Likely | [V2 PATCH 06/10] of/drivers: Always use struct device.of ...
The following structure elements duplicate the information in
'struct device.of_node' and so are being eliminated. This patches
makes all readers of the following elements use device.of_node instead.
struct dev_archdata.prom_node (sparc)
struct dev_archdata.of_node (powerpc)
struct of_device.node
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---
drivers/ata/pata_macio.c | 2 +-
drivers/ata/pata_mpc52xx.c | 10 ++++-----
...
| Mar 18, 8:22 am 2010 |
| Grant Likely | [V2 PATCH 09/10] arch/microblaze: Remove obsolete dev_ar ...
Both dev_archdata.of_node and of_device.node are duplications of the
device.of_node value. This patch removes them.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---
arch/microblaze/include/asm/device.h | 14 --------------
arch/microblaze/include/asm/of_device.h | 1 -
arch/microblaze/kernel/of_device.c | 4 +---
3 files changed, 1 insertions(+), 18 deletions(-)
diff --git a/arch/microblaze/include/asm/device.h b/arch/microblaze/include/asm/device.h
index ...
| Mar 18, 8:22 am 2010 |
| Grant Likely | [V2 PATCH 10/10] arch/sparc: Remove obsolete dev_archdat ...
Both dev_archdata.prom_node and of_device.node are duplications of the
device.of_node value. This patch removes them.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---
arch/sparc/include/asm/device.h | 15 ---------------
arch/sparc/include/asm/of_device.h | 1 -
arch/sparc/kernel/of_device_32.c | 2 --
arch/sparc/kernel/of_device_64.c | 2 --
arch/sparc/kernel/pci.c | 3 +--
5 files changed, 1 insertions(+), 22 deletions(-)
diff --git ...
| Mar 18, 8:23 am 2010 |
| Grant Likely | [V2 PATCH 08/10] arch/powerpc: Remove obsolete dev_archd ...
Both dev_archdata.of_node and of_device.node are duplications of the
device.of_node value. This patch removes them.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---
arch/powerpc/include/asm/device.h | 15 ---------------
arch/powerpc/include/asm/of_device.h | 1 -
arch/powerpc/kernel/of_device.c | 4 +---
arch/powerpc/kernel/pci-common.c | 1 -
arch/powerpc/kernel/vio.c | 17 ++++++++---------
...
| Mar 18, 8:22 am 2010 |
| Grant Likely | Re: [V2 PATCH 08/10] arch/powerpc: Remove obsolete dev_ ...
On Thu, Mar 18, 2010 at 9:47 AM, Anton Vorontsov
CONFIG_OF support is not going to be an arch-specific thing any
longer. The code is being generalized, and I'm removing as many
things as possible that arch code needs to add to enable CONFIG_OF.
That includes the dev_archdata element.
The impact of moving of_node from dev_archdata to device is pretty
small anyway. Most current users are getting the device node from
of_device.node instead of archdata. The number of dev_archdata users
The ...
| Mar 18, 9:22 am 2010 |
| Sean MacLennan | Re: [V2 PATCH 06/10] of/drivers: Always use struct devic ...
On Thu, 18 Mar 2010 11:07:35 -0600
Signed-off-by: Sean MacLennan <smaclennan@pikatech.com>
---
diff --git a/drivers/mtd/nand/ndfc.c b/drivers/mtd/nand/ndfc.c
index 19d94a2..5a232ec 100644
--- a/drivers/mtd/nand/ndfc.c
+++ b/drivers/mtd/nand/ndfc.c
@@ -238,14 +238,14 @@ static int __devinit ndfc_probe(struct of_device *ofdev,
dev_set_drvdata(&ofdev->dev, ndfc);
/* Read the reg property to get the chip select */
- reg = of_get_property(ofdev->node, "reg", &len);
+ reg = ...
| Mar 18, 10:10 am 2010 |
| Sean MacLennan | Re: [V2 PATCH 06/10] of/drivers: Always use struct devic ...
On Thu, 18 Mar 2010 09:22:39 -0600
Acked-by: Sean MacLennan <smaclennan@pikatech.com>
--
| Mar 18, 10:12 am 2010 |
| Grant Likely | Re: [V2 PATCH 06/10] of/drivers: Always use struct devic ...
On Thu, Mar 18, 2010 at 10:59 AM, Sean MacLennan
Thanks Sean, I've added this patch to my series. s-o-b line please?
g.
--
| Mar 18, 10:07 am 2010 |
| Grant Likely | Re: [V2 PATCH 06/10] of/drivers: Always use struct devic ...
Good catch, Thanks.
g.
--
| Mar 18, 9:24 am 2010 |
| Sean MacLennan | Re: [V2 PATCH 06/10] of/drivers: Always use struct devic ...
On Thu, 18 Mar 2010 09:22:39 -0600
The NDFC driver also needs a patch... or at least the version from your
last of_patch set does. I am included the patch I needed to get it to
compile.
Cheers,
Sean
diff --git a/drivers/mtd/nand/ndfc.c b/drivers/mtd/nand/ndfc.c
index 19d94a2..5a232ec 100644
--- a/drivers/mtd/nand/ndfc.c
+++ b/drivers/mtd/nand/ndfc.c
@@ -238,14 +238,14 @@ static int __devinit ndfc_probe(struct of_device *ofdev,
dev_set_drvdata(&ofdev->dev, ndfc);
/* Read the ...
| Mar 18, 9:59 am 2010 |
| Olaf van der Spek | execve() returns ENOENT when ld-linux.so isn't found
Hi,
When you try to execute an x86 binary on a x64 system, execve()
returns ENOENT when ld-linux.so isn't found
This just doesn't make any sense:
$ ls -l
-rwxr-xr-x 1 olaf olaf 560165 2010-03-18 15:21 xwis
$ ./xwis
-bash: ./xwis: No such file or directory
Olaf
--
| Mar 18, 7:42 am 2010 |
| tip-bot for Zhang, Y ... | [tip:perf/core] perf stat: Enable counters when collecti ...
Commit-ID: 6be2850effd6a8bae11d623c8c52e88d2fbc0e96
Gitweb: http://git.kernel.org/tip/6be2850effd6a8bae11d623c8c52e88d2fbc0e96
Author: Zhang, Yanmin <yanmin_zhang@linux.intel.com>
AuthorDate: Thu, 18 Mar 2010 11:36:03 -0300
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Thu, 18 Mar 2010 16:21:11 +0100
perf stat: Enable counters when collecting process-wide or system-wide data
Command 'perf stat' doesn't enable counters when collecting an
existing (by -p) process or system-wide ...
| Mar 18, 10:36 am 2010 |
| Arnaldo Carvalho de Melo | [PATCH 1/3] perf stat: Enable counters when collecting p ...
From: Zhang, Yanmin <yanmin_zhang@linux.intel.com>
Command 'perf stat' doesn't enable counters when collecting an existing
(by -p) process or a system-wide statistics. Fix the issue.
Change the condition of fork/exec subcommand. If there is a subcommand
parameter, perf always fork/exec it. The usage example is:
# perf stat -a sleep 10
So this command could collect statistics for 10 seconds precisely. User
still could stop it by CTRL+C. Without the new capability, user could
only use ...
| Mar 18, 7:36 am 2010 |
| Arnaldo Carvalho de Melo | [PATCH 3/3] perf events: Change perf parameter --pid to ...
From: Zhang, Yanmin <yanmin_zhang@linux.intel.com>
Parameter --pid (or -p) of perf currently means a thread-wide collection.
For exmaple, if a process whose id is 8888 has 10 threads, 'perf top -p 8888'
just collects the main thread statistics. That's misleading. Users are
used to attach a whole process when debugging a process by gdb. To follow
normal usage style, the patch change --pid to process-wide collection and
add --tid (-t) to mean a thread-wide collection.
Usage example is:
# ...
| Mar 18, 7:36 am 2010 |
| tip-bot for Zhang, Y ... | [tip:perf/core] perf events: Change perf parameter --pid ...
Commit-ID: d6d901c23a9c4c7361aa901b5b2dda69703dd5e0
Gitweb: http://git.kernel.org/tip/d6d901c23a9c4c7361aa901b5b2dda69703dd5e0
Author: Zhang, Yanmin <yanmin_zhang@linux.intel.com>
AuthorDate: Thu, 18 Mar 2010 11:36:05 -0300
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Thu, 18 Mar 2010 16:21:12 +0100
perf events: Change perf parameter --pid to process-wide collection instead of thread-wide
Parameter --pid (or -p) of perf currently means a thread-wide
collection. For exmaple, ...
| Mar 18, 10:37 am 2010 |
| tip-bot for Zhang, Y ... | [tip:perf/core] perf record: Enable counters only when k ...
Commit-ID: 46be604b5ba738d53e5f5314813a4e7092864baf
Gitweb: http://git.kernel.org/tip/46be604b5ba738d53e5f5314813a4e7092864baf
Author: Zhang, Yanmin <yanmin_zhang@linux.intel.com>
AuthorDate: Thu, 18 Mar 2010 11:36:04 -0300
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Thu, 18 Mar 2010 16:21:11 +0100
perf record: Enable counters only when kernel is execing subcommand
'perf record' starts counters before subcommand is execed, so
the statistics is not precise because it includes ...
| Mar 18, 10:36 am 2010 |
| Arnaldo Carvalho de Melo | [PATCH 2/3] perf record: Enable counters only when kerne ...
From: Zhang, Yanmin <yanmin_zhang@linux.intel.com>
'perf record' starts counters before subcommand is execed, so the
statistics is not precise because it includes data of some preparation
steps. I fix it with the patch.
In addition, Change the condition to fork/exec subcommand. If there is a
subcommand parameter, perf always fork/exec it. The usage example is:
# perf record -f -a sleep 10
So this command could collect statistics for 10 seconds precisely. User
still could stop it by ...
| Mar 18, 7:36 am 2010 |
| Alan Stern | Re: dma_sync_sg_for_cpu applied to a single scatterlist ...
Okay, I'll handle it that way. Thanks for the advice.
Alan Stern
--
| Mar 18, 7:13 am 2010 |
| Sid Boyce | Re: Fwd: Re: Boot failure 2.6.33 - 2.6.33-git12 inclusive
Still no response to this problem and I still have it with
2.6.34-rc1-git6. I also upgraded to the latest 2402 motherboard BIOS.
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
--
| Mar 18, 7:07 am 2010 |
| Peter Zijlstra | Re: [PATCH] perf_events: fix ordering bug in perf_output ...
NAK, not so actually, its in the order specified in the
PERF_RECORD_SAMPLE comment.
--
| Mar 18, 11:33 am 2010 |
| Stephane Eranian | [PATCH] perf_events: fix ordering bug in perf_output_sample()
In order to parse a sample correctly based on the information
requested via sample_type, the kernel needs to save each component
in a known order. There is no type value saved with each component.
The current convention is that each component is saved according to
the order in enum perf_event_sample_format. But perf_output_sample()
was not completely following this convention, thereby making samples
impossible to parse without internal kernel knowledge.
This patch puts things in the ...
| Mar 18, 5:42 am 2010 |
| Stephane Eranian | Re: [PATCH] perf_events: fix ordering bug in perf_output ...
And why is that order different than the one in the enum?
--
| Mar 18, 2:29 pm 2010 |
| Chase Douglas | [PATCH 3/3] Stop tracing on a schedule bug
This change adds a tracing_off_event() call to stop tracing on schedule
bugs unless tracing_off=none was specified on the commandline.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
---
kernel/sched.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/kernel/sched.c b/kernel/sched.c
index 150b698..bfe4f05 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -3589,6 +3589,8 @@ static noinline void __schedule_bug(struct task_struct *prev)
{
struct ...
| Mar 18, 6:48 am 2010 |
| Chase Douglas | [PATCH 2/3] Add tracing_off_event() calls to BUG() and W ...
This change adds tracing_off_event() calls, which stop debug tracing,
when a BUG() or WARN() function is called. The stoppage depends on
commandline paramenter tracing_off={bug,warn,none}. The default is
"bug", so only the BUG() paths will stop tracing.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
---
kernel/panic.c | 4 +++-
lib/bug.c | 2 ++
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/kernel/panic.c b/kernel/panic.c
index 13d966b..f0ff321 ...
| Mar 18, 6:48 am 2010 |
| Steven Rostedt | Re: [PATCH 1/3] Add tracing_off_event() to stop tracing ...
[ Expanded the Cc list ]
That's a bad name. It does not seem to be a mask but seems to be a
control setting. Maybe call it tracing_event_off_ctrl ?
--
| Mar 18, 7:56 am 2010 |
| Chase Douglas | Re: [PATCH 1/3] Add tracing_off_event() to stop tracing ...
I'll fix these two things up and resend.
Thanks,
Chase
--
| Mar 18, 9:27 am 2010 |
| Chase Douglas | [PATCH 1/3] Add tracing_off_event() to stop tracing when ...
The tracing_off_event() function calls tracing_off() to stop tracing
when an event occurs. By default, only BUG-type events stop tracing,
while WARNING type events do not. This is controlled through the
tracing_off={none,warn,bug} commandline parameter.
Call this function from bug and warning event handlers to enable a user
to debug their kernel by starting a trace, hitting an event, and then
retrieving trace info knowing that the trace was stopped right after the
event was ...
| Mar 18, 6:48 am 2010 |
| David Howells | [PATCH] NFS: Fix RCU warnings in nfs_inode_return_delega ...
Fix a number of RCU warnings in nfs_inode_return_delegation_noreclaim().
nfs_inode_return_delegation_noreclaim() and nfs_inode_return_delegation() don't
need to use rcu_dereference() outside the spinlocked region as they merely
examin the pointer and don't follow it, thus rendering unnecessary the need to
impose a partial ordering over the one item of interest.
nfs_detach_delegation_locked() doesn't need rcu_derefence() because it can only
be called if nfs_client::cl_lock is held, and that ...
| Mar 18, 6:33 am 2010 |
| Thomas Weber | [PATCH] OMAP: Devkit8000: Add missing package selection
Add missing selection of CUS package.
Replace whitespace with tab.
Signed-off-by: Thomas Weber <weber@corscience.de>
---
arch/arm/mach-omap2/Kconfig | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index a8a3d1e..e776075 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -59,8 +59,9 @@ config MACH_OMAP3_BEAGLE
select OMAP_PACKAGE_CBB
config MACH_DEVKIT8000
- bool ...
| Mar 18, 6:17 am 2010 |
| Jari Ruusu | Announce loop-AES-v3.3a file/swap crypto package
loop-AES changes since previous release:
- Fixed build-initrd.sh so that initramfs type initrd (USEPIVOT=2) works
with linux software raid devices (/dev/md0 & co). Default pivot_root type
initrd (USEPIVOT=1) was/is ok. Patch from Hauke Johannknecht.
- build-initrd.sh now prefers to copy .static version of a program if such
version exists. Patch from Hank Leininger.
- Worked around block layer interface changes on linux-2.6.34-rc1 kernel.
- Fixed autodetection of optimized assembler code. ...
| Mar 18, 5:36 am 2010 |
| Surbhi Palande | Patch inclusion in stable
Hi All,
I had a look at the 2.6.32.10 stable patches. Had a comment on the 31st
patch in the series:
commit 7ef79e1045213953b87f45cf5993cc9c70c873ec
Author: Stanislaw Gruszka <sgruszka@redhat.com>
airo: fix setting zero length WEP key
The linux-2.6 source has another patch that adds the following line:
This is added through the commit
6510b8917948283005a125c8337d3312a8a0561c. This commit is missing in the
2.6.32.10 stable patches. I think it should be a part of stable ...
| Mar 18, 4:32 am 2010 |
| Stanislaw Gruszka | Re: Patch inclusion in stable
keylen == 0 is just bug and should never happen. As we are printing
calltrace in such situation user is informed of a bug. Return from
function in that case is nice, but not strictly necessary.
Cheers
Stanislaw
--
| Mar 18, 5:17 am 2010 |
| Nick Piggin | Is module refcounting racy?
Hey,
I've been looking at weird and wonderful ways to do scalable refcounting,
for the vfs...
Sadly, module refcounting doesn't fit my bill. But as far as I could see,
it is racy. Can someone confirm that we do or do not have a race (and
if so, whether this patch would solve it?)
Race described in the comment below.
Thanks,
Nick
Index: linux-2.6/include/linux/module.h
===================================================================
--- linux-2.6.orig/include/linux/module.h
+++ ...
| Mar 18, 3:55 am 2010 |
| Cyrill Gorcunov | Re: [RFC][PATCH 2/2] x86,perf: add cache events in p4 PMU
On Thu, Mar 18, 2010 at 07:01:35PM +0300, Cyrill Gorcunov wrote:
Ok, the issue I thought about not really exist. Misfire :)
-- Cyrill
--
| Mar 18, 1:59 pm 2010 |
| Ingo Molnar | Re: [RFC][PATCH 2/2] x86,perf: add cache events in p4 PMU
i tried it on a Pentium-D box, and it works pretty well:
rhea:/home/mingo/tip> perf stat -a sleep 1
Performance counter stats for 'sleep 1':
2003.237268 task-clock-msecs # 2.000 CPUs
11 context-switches # 0.000 M/sec
2 CPU-migrations # 0.000 M/sec
174 page-faults # 0.000 M/sec
47361 cycles # 0.024 M/sec (scaled from 52.83%)
430 ...
| Mar 18, 8:56 am 2010 |
| Cyrill Gorcunov | Re: [RFC][PATCH 2/2] x86,perf: add cache events in p4 PMU
Sorry for a bit delay, yes, pick it up please. I found that we have an
issue in escr binding (which is pretty mine error), hope to fix it up
today. Also I hope to eventually implement raw events this weekend
but better to base the new code on all this stuff merged. This will
allow to "take a look" on code structure from a high point and find
potential caveats.
All-in-one
Reviewed-by: Cyrill Gorcunov <gorcunov@openvz.org>
-- Cyrill
--
| Mar 18, 9:01 am 2010 |
| Lin Ming | [RFC][PATCH 2/2] x86,perf: add cache events in p4 PMU
Add cache events in p4 PMU.
Move the HT bit setting code from p4_pmu_event_map to p4_hw_config.
So the cache events can get HT bit set correctly.
Tested on my P4 desktop, below 6 cache events work.
L1-dcache-load-misses
LLC-load-misses
dTLB-load-misses
dTLB-store-misses
iTLB-loads
iTLB-load-misses
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
---
arch/x86/include/asm/msr-index.h | 2 +
arch/x86/include/asm/perf_event_p4.h | 10 ++
arch/x86/kernel/cpu/perf_event_p4.c | ...
| Mar 18, 3:33 am 2010 |
| tip-bot for Lin Ming | [tip:perf/core] perf, x86: Add cache events for the Pent ...
Commit-ID: cb7d6b5053e86598735d9af19930f5929f007b7f
Gitweb: http://git.kernel.org/tip/cb7d6b5053e86598735d9af19930f5929f007b7f
Author: Lin Ming <ming.m.lin@intel.com>
AuthorDate: Thu, 18 Mar 2010 18:33:12 +0800
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Thu, 18 Mar 2010 17:04:02 +0100
perf, x86: Add cache events for the Pentium-4 PMU
Move the HT bit setting code from p4_pmu_event_map to
p4_hw_config. So the cache events can get HT bit set correctly.
Tested on my P4 ...
| Mar 18, 10:38 am 2010 |
| Lin Ming | [RFC][PATCH 1/2] x86,perf: add a key to simplify templat ...
Currently, we use opcode(Event and Event-Selector) + emask to look up
template in p4_templates.
But cache events (L1-dcache-load-misses, LLC-load-misses, etc) use the
same event(P4_REPLAY_EVENT) to do the counting, ie, they have the same
opcode and emask. So we can not use current lookup mechanism to find the
template for cache events.
This patch introduces a "key", which is the index into p4_templates.
The low 12 bits of CCCR are reserved, so we can hide the "key" in the
low 12 bits of ...
| Mar 18, 3:33 am 2010 |
| tip-bot for Lin Ming | [tip:perf/core] perf, x86: Add a key to simplify templat ...
Commit-ID: f34edbc1cdb0f8f83d94e1d668dd6e41abf0defb
Gitweb: http://git.kernel.org/tip/f34edbc1cdb0f8f83d94e1d668dd6e41abf0defb
Author: Lin Ming <ming.m.lin@intel.com>
AuthorDate: Thu, 18 Mar 2010 18:33:07 +0800
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Thu, 18 Mar 2010 17:03:51 +0100
perf, x86: Add a key to simplify template lookup in Pentium-4 PMU
Currently, we use opcode(Event and Event-Selector) + emask to
look up template in p4_templates.
But cache events ...
| Mar 18, 10:38 am 2010 |
| Richard Kennedy | [PATCH] block: remove 16 bytes of padding from struct r ...
Remove alignment padding to shrink struct request from 336 to 320 bytes
so needing one fewer cacheline and therefore removing 48 bytes from
struct request_queue.
Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
---
patch against 2.6.34-rc1
compiled & tested on x86_64
regards
Richard
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index ebd22db..6b66438 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -158,7 +158,6 @@ enum rq_flag_bits {
...
| Mar 18, 3:19 am 2010 |
| Zhang, Yanmin | [PATCH 3/3] perf events: Change perf parameter --pid to ...
From: Zhang, Yanmin <yanmin_zhang@linux.intel.com>
Parameter --pid (or -p) of perf currently means a thread-wide collection.
For exmaple, if a process whose id is 8888 has 10 threads, 'perf top -p 8888'
just collects the main thread statistics. That's misleading. Users are
used to attach a whole process when debugging a process by gdb. To follow
normal usage style, the patch change --pid to process-wide collection and
add --tid (-t) to mean a thread-wide collection.
Usage example is:
#perf ...
| Mar 18, 2:31 am 2010 |
| Arnaldo Carvalho de Melo | Re: [PATCH 3/3] perf events: Change perf parameter --pid ...
Nah, didn't fix them up, left it for some followup patch to avoid
risking introducing problems, applied as is, did some testing and pushed
- Arnaldo
--
| Mar 18, 7:40 am 2010 |
| Arnaldo Carvalho de Melo | Re: [PATCH 3/3] perf events: Change perf parameter --pid ...
Just did visual inspection of the three patches, all sane, except for
some coding style nits, don't worry right now for that, I'll fix them up
myself, but please take those into account int the future, highlight
Ditto
Should be, I suggest:
event_array = malloc((sizeof(struct pollfd) * MAX_NR_CPUS *
MAX_COUNTERS * thread_num));
Anyway, I'll fix some of these while merging, now.
- Arnaldo
--
| Mar 18, 6:35 am 2010 |
| Zhang, Yanmin | [PATCH 2/3] perf events: Enable counters only when kerne ...
From: Zhang, Yanmin <yanmin_zhang@linux.intel.com>
'perf record' starts counters before subcommand is execed, so the statistics is
not precise because it includes data of some preparation steps. I fix it with the
patch.
In addition, Change the condition to fork/exec subcommand. If there is a subcommand
parameter, perf always fork/exec it. The usage example is:
#perf record -f -a sleep 10
So this command could collect statistics for 10 seconds precisely. User
still could stop it by CTRL+C. ...
| Mar 18, 2:31 am 2010 |
| Zhang, Yanmin | [PATCH 1/3] perf events: Enable counters when collecting ...
Tool perf has a couple of sub commands. There are a couple of issues around
counter enabling time point. In addition, we want a precise time clock
when collect system-wide or process/thread-wide statistics.
I worked out 3 patches against tips/master tree of March 17 to fix such issues
and enhance perf to be more user-friendly.
Subject: [PATCH 1/3] perf events: Enable counters when collecting process-wide or system-wide data by 'perf stat'
From: Zhang, Yanmin ...
| Mar 18, 2:31 am 2010 |
| =?UTF-8?Q?Am=C3=A9ri ... | Re: kconfig: report select on a depending option
I think you should use "depends on X" instead of "select X".
--
| Mar 18, 2:31 am 2010 |
| Jan Engelhardt | kconfig: report select on a depending option
Hi,
With the following combination of Kconfig config options, I can select
TEST_Z, which will select TEST_X, even if TEST_Y=n. It also allows for
awkward situations like TEST_Y=M, TEST_X=y, TEST_Z=y, which would yield
a link time error when X uses Y's symbols.
Is there a way to have such potential errors reported with kconfig?
config TEST_Y
tristate "Y"
config TEST_X
depends on Y
tristate "X"
config TEST_Z
select TEST_Y
tristate "Z"
thanks,
Jan
--
| Mar 18, 2:21 am 2010 |
| Michal Marek | Re: kconfig: report select on a depending option
That's a known bug unfortunatelly
(Documentation/kbuild/kconfig-language.txt):
Note:
select should be used with care. select will force
a symbol to a value without visiting the dependencies.
By abusing select you are able to select a symbol FOO even
if FOO depends on BAR that is not set.
In general use select only for non-visible symbols
(no prompts anywhere) and for symbols with no dependencies.
That will limit the usefulness but on ...
| Mar 18, 3:12 am 2010 |
| Akinobu Mita | [PATCH 05/12] topology: convert cpu notifier to return e ...
By the previous modification, the cpu notifier can return encapsulate
errno value. This converts the cpu notifiers for topology.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/topology.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/base/topology.c b/drivers/base/topology.c
index bf6b132..9fc630c 100644
--- a/drivers/base/topology.c
+++ b/drivers/base/topology.c
@@ -162,7 +162,7 @@ static ...
| Mar 18, 2:05 am 2010 |
| Akinobu Mita | [PATCH 01/12] cpu-hotplug: introduce cpu_notify(), __cpu ...
No functional change.
These are just wrappers of raw_cpu_notifier_call_chain.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
---
kernel/cpu.c | 55 ++++++++++++++++++++++++++++++++-----------------------
1 files changed, 32 insertions(+), 23 deletions(-)
diff --git a/kernel/cpu.c b/kernel/cpu.c
index f8cced2..bc9c301 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -133,6 +133,26 @@ int __ref register_cpu_notifier(struct notifier_block ...
| Mar 18, 2:05 am 2010 |
| Akinobu Mita | [PATCH 02/12] cpu-hotplug: return better errno on cpu ho ...
Currently, onlining or offlining a CPU failure by one of the cpu
notifiers error always cause -EINVAL error.
(i.e. writing 0 or 1 to /sys/devices/system/cpu/cpuX/online gets EINVAL)
To get better error reporting rather than always getting -EINVAL,
This changes cpu_notify() to return -errno value with notifier_to_errno() and
fix the callers. Now that cpu notifiers can return encapsulate errno value.
Currently, all cpu hotplug notifiers return NOTIFY_OK, NOTIFY_BAD,
or NOTIFY_DONE. So ...
| Mar 18, 2:05 am 2010 |
| Akinobu Mita | [PATCH 03/12] notifier: change notifier_from_errno(0) to ...
This changes notifier_from_errno(0) to be NOTIFY_OK instead of
NOTIFY_STOP_MASK | NOTIFY_OK.
Currently, the notifiers which return encapsulated errno value have to
do something like this:
err = do_something(); // returns -errno
if (err)
return notifier_from_errno(err);
else
return NOTIFY_OK;
This change makes the above code simple:
err = do_something(); // returns -errno
return return notifier_from_errno(err);
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
---
...
| Mar 18, 2:05 am 2010 |
| Akinobu Mita | [PATCH 04/12] x86: convert cpu notifier to return encaps ...
By the previous modification, the cpu notifier can return encapsulate
errno value. This converts the cpu notifiers for msr, cpuid, and
therm_throt.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: x86@kernel.org
---
arch/x86/kernel/cpu/mcheck/therm_throt.c | 2 +-
arch/x86/kernel/cpuid.c | 2 +-
arch/x86/kernel/msr.c | 2 +-
...
| Mar 18, 2:05 am 2010 |
| Akinobu Mita | [PATCH 06/12] kernel/: convert cpu notifier to return en ...
By the previous modification, the cpu notifier can return encapsulate
errno value. This converts the cpu notifiers for kernel/*.c
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <peterz@infradead.org>
---
kernel/padata.c | 4 ++--
kernel/profile.c | 4 ++--
kernel/relay.c | 2 +-
kernel/sched.c | 2 +-
kernel/smp.c | 2 +-
kernel/softirq.c | 2 +-
kernel/softlockup.c | 2 +-
...
| Mar 18, 2:05 am 2010 |
| Akinobu Mita | [PATCH 07/12] slab: convert cpu notifier to return encap ...
By the previous modification, the cpu notifier can return encapsulate
errno value. This converts the cpu notifiers for slab.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Christoph Lameter <cl@linux-foundation.org>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Matt Mackall <mpm@selenic.com>
Cc: linux-mm@kvack.org
---
mm/slab.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/mm/slab.c b/mm/slab.c
index a9f325b..d57309e 100644
--- a/mm/slab.c
+++ ...
| Mar 18, 2:05 am 2010 |
| Akinobu Mita | [PATCH 08/12] iucv: convert cpu notifier to return encap ...
By the previous modification, the cpu notifier can return encapsulate
errno value. This converts the cpu notifiers for iucv.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Ursula Braun <ursula.braun@de.ibm.com>
Cc: linux390@de.ibm.com
Cc: linux-s390@vger.kernel.org
---
net/iucv/iucv.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/net/iucv/iucv.c b/net/iucv/iucv.c
index fd8b283..f28ad2c 100644
--- a/net/iucv/iucv.c
+++ b/net/iucv/iucv.c
@@ ...
| Mar 18, 2:05 am 2010 |
| Akinobu Mita | [PATCH 09/12] ehca: convert cpu notifier to return encap ...
By the previous modification, the cpu notifier can return encapsulate
errno value. This converts the cpu notifiers for ehca.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Hoang-Nam Nguyen <hnguyen@de.ibm.com>
Cc: Christoph Raisch <raisch@de.ibm.com>
Cc: linux-rdma@vger.kernel.org
---
drivers/infiniband/hw/ehca/ehca_irq.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/infiniband/hw/ehca/ehca_irq.c b/drivers/infiniband/hw/ehca/ehca_irq.c
index ...
| Mar 18, 2:05 am 2010 |
| Akinobu Mita | [PATCH 12/12] add CPU notifier error injection module
I used this module to test the series of modification to the
cpu notifiers code.
Example1: inject CPU offline error (-1 == -EPERM)
# modprobe cpu-notifier-error-inject cpu_down_prepare_error=-1
# echo 0 > /sys/devices/system/cpu/cpu1/online0
bash: echo: write error: Operation not permitted
Example2: inject CPU online error (-2 == -ENOENT)
# modprobe cpu-notifier-error-inject cpu_up_prepare_error=-2
# echo 1 > /sys/devices/system/cpu/cpu1/online0
bash: echo: write error: No such ...
| Mar 18, 2:05 am 2010 |
| Akinobu Mita | [PATCH 10/12] s390: convert cpu notifier to return encap ...
By the previous modification, the cpu notifier can return encapsulate
errno value. This converts the cpu notifiers for s390.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: linux390@de.ibm.com
Cc: linux-s390@vger.kernel.org
---
arch/s390/kernel/smp.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c
index ...
| Mar 18, 2:05 am 2010 |
| Pekka Enberg | Mar 18, 10:21 am 2010 | |
| info | Irish 2010 Grant Winner
£1,000,000Pounds has been awarded to you in the U.K PROMO.send to this office the following:
Names...........
Tel..............
Age............
Address..........
Occupation.........
Country.............
Send To: bnl.claimdept@live.co.uk
--
| Mar 18, 1:22 am 2010 |
| info | Irish 2010 Grant Winner
£1,000,000Pounds has been awarded to you in the U.K PROMO.send to this office the following:
Names...........
Tel..............
Age............
Address..........
Occupation.........
Country.............
Send To: bnl.claimdept@live.co.uk
--
| Mar 18, 1:22 am 2010 |
| Justin Mattock | Re: new: loads of audit messgs
o.k. here's the bisect result of why/what is happening with nscd and
the avc's that seem to be missing or partly there:
ef0658f3de484bf9b173639cd47544584e01efa5 is the first bad commit
with the latest HEAD if I do a git revert ef0658f then the audit
messages are showing themselves for nscd.
I can attach dmesg of the good/bad if needed(might be too big in size to send)
here's what I see with a good boot and a bad boot:
bad:
[ 7.284796] generic-usb 0003:05AC:820A.0005: input: ...
| Mar 17, 11:42 pm 2010 |
| Joe Perches | [PATCH v2 1/7] wireless.h: Add STD_IW_HANDLER macro
Copied from orinoco, initialize a iw_handler array entry
Signed-off-by: Joe Perches <joe@perches.com>
---
include/linux/wireless.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/linux/wireless.h b/include/linux/wireless.h
index 5b4c6c7..ad9f8d5 100644
--- a/include/linux/wireless.h
+++ b/include/linux/wireless.h
@@ -346,6 +346,8 @@
#define SIOCIWFIRST 0x8B00
#define SIOCIWLAST SIOCIWLASTPRIV /* 0x8BFF */
#define IW_IOCTL_IDX(cmd) ((cmd) - ...
| Mar 17, 11:21 pm 2010 |
| Pavel Roskin | Re: [PATCH v2 1/7] wireless.h: Add STD_IW_HANDLER macro
Three objections.
1) STD_IW_HANDLER is a poor name for a header. The name should start
with IW, just like those above and below it.
2) Adding STD_IW_HANDLER to wireless.h and removing it from Orinoco in
separate commits might create several commits in which Orinoco may not
compile. I think gcc would not object if you copy the definition
exactly, but I would not rely on it. Making life miserable for
bisectors is bad - they are useful creatures. Of course, the argument
is moot if you use ...
| Mar 18, 10:23 am 2010 |
| Joe Perches | Re: [PATCH v2 1/7] wireless.h: Add STD_IW_HANDLER macro
I've no objection to moving the casts to the uses
of the macro where necessary.
--
| Mar 18, 10:37 am 2010 |
| Joe Perches | [PATCH v2 7/7] wireless.h: Use SIOCIWFIRST not SIOCSIWCO ...
These two #defines use the same value, but
SIOCIWFIRST makes more sense in this use.
Signed-off-by: Joe Perches <joe@perches.com>
---
include/linux/wireless.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/wireless.h b/include/linux/wireless.h
index ad9f8d5..1a61099 100644
--- a/include/linux/wireless.h
+++ b/include/linux/wireless.h
@@ -650,7 +650,7 @@
* 32 bit bitmasks. Note : 32 bits = 0x20 = 2^5. */
#define IW_EVENT_CAPA_BASE(cmd) ((cmd >= ...
| Mar 17, 11:21 pm 2010 |
| Pavel Roskin | Re: [PATCH v2 7/7] wireless.h: Use SIOCIWFIRST not SIOCS ...
Agreed. Also please change a comment referring to SIOCSIWCOMMIT in
include/net/iw_handler.h
It would be great if you don't copy LKML next time. It's a purely
wireless issues. I don't like having a dilemma between cross-posting
and trimming the recipient list.
--
Regards,
Pavel Roskin
--
| Mar 18, 10:12 am 2010 |
| Joe Perches | [PATCH v2 8/7] iw_handler.h: Use SIOCIWFIRST not SIOCSIW ...
Signed-off-by: Joe Perches <joe@perches.com>
---
diff --git a/include/net/iw_handler.h b/include/net/iw_handler.h
index b2b98f3..3afdb21 100644
--- a/include/net/iw_handler.h
+++ b/include/net/iw_handler.h
@@ -323,7 +323,7 @@ typedef int (*iw_handler)(struct net_device *dev, struct iw_request_info *info,
struct iw_handler_def {
/* Array of handlers for standard ioctls
- * We will call dev->wireless_handlers->standard[ioctl - SIOCSIWCOMMIT]
+ * We will call ...
| Mar 18, 10:22 am 2010 |
| Stephen Rothwell | linux-next: Tree for March 18
Hi all,
Changes since 20100317:
Dropped tree: tmio-mmc (long unresolved conflicts and unable to fetch)
My fixes tree contains:
a patch for a pktcdvd build error from Arnd Bergmann
The ceph tree lost all its conflicts.
The net tree gained 2 build failures for which I reverted 3 commits.
The tip tree still has a build failure so I used the version from
next-20100311.
The driver-core tree lost its build ...
| Mar 17, 10:29 pm 2010 |
| Fabio Giovagnini | Mounting nfsroot from a PC server(little endian) to an s ...
Hi all,
do I need to build the rootfs using soethign special making the rootfs
bigendian?
Thanks a lot
--
Fabio Giovagnini
Aurion s.r.l.
P.I e C.F.
00885711200
Tel. +39.051.594.78.24
Cell. +39.335.83.50.919
--
| Mar 17, 10:17 pm 2010 |
| Paul Mackerras | [PATCH v2] powerpc/perf_events: Implement perf_arch_fetc ...
This implements a powerpc version of perf_arch_fetch_caller_regs.
It's implemented in assembly because that way we can be sure there
isn't a stack frame for perf_arch_fetch_caller_regs. If it was in
C, gcc might or might not create a stack frame for it, which would
affect the number of levels we have to skip.
With this, we see results from perf record -e lock:lock_acquire like
this:
# Samples: 24878
#
# Overhead Command Shared Object Symbol
# ........ .............. ...
| Mar 17, 10:05 pm 2010 |
| tip-bot for Paul Mac ... | [tip:perf/urgent] powerpc/perf_events: Fix call-graph re ...
Commit-ID: 9eff26ea48bfbe2885b158742a7512a097ec911b
Gitweb: http://git.kernel.org/tip/9eff26ea48bfbe2885b158742a7512a097ec911b
Author: Paul Mackerras <paulus@samba.org>
AuthorDate: Thu, 18 Mar 2010 16:05:13 +1100
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Thu, 18 Mar 2010 06:48:29 +0100
powerpc/perf_events: Fix call-graph recording, add perf_arch_fetch_caller_regs
This implements a powerpc version of perf_arch_fetch_caller_regs
to get correct call-graphs.
It's ...
| Mar 17, 10:51 pm 2010 |
| Frederic Weisbecker | Re: [PATCH v2] powerpc/perf_events: Implement perf_arch_ ...
Ingo has reported me that context-switches software events
(not the trace event version) have crappy callchains.
So, while looking into it:
- PERF_COUNT_SW_CPU_MIGRATIONS provides no regs.
Heh, and it event doesn't work because of this perf_swevent_add
give up if regs are NULL.
Has PERF_COUNT_SW_CPU_MIGRATIONS ever worked?
- PERF_COUNT_SW_CONTEXT_SWITCHES uses task_pt_regs(). This
seems a very wrong thing. We don't want the regs when a user
task was interrupted or before a ...
| Mar 18, 12:30 pm 2010 |
| David Miller | Re: [BUG] percpu misaligned allocation
I can't even find kernel/trace/trace_event_perf.c, what tree
are you using?
--
| Mar 17, 11:28 pm 2010 |
| Frederic Weisbecker | Re: [BUG] percpu misaligned allocation
Yep, it does the trick.
In case you test, I have two other misalignments, one is in
perf_trace_buf_prepare but it is my bad and it is nothing
related to percpu. I'm going to fix it.
Another is in the ring buffer and Steve has a pending fix.
Thanks.
--
| Mar 18, 12:50 pm 2010 |
| Li Zefan | Re: [BUG] percpu misaligned allocation
must be Ingo's -tip tree, or his own tree which is based on -tip tree.
--
| Mar 17, 11:36 pm 2010 |
| Frederic Weisbecker | [BUG] percpu misaligned allocation
Hi,
While using the lock events through perf in a sparc box, I can see
the following message repeated many times:
Kernel unaligned access at TPC[49357c] perf_trace_lock_acquire+0xb4/0x180
It actually hangs the box as the messages are sent to a serial console.
When used with perf, the trace events use a per cpu buffer allocated
in kernel/trace/trace_event_perf.c, and the allocation appears to return
a misaligned percpu pointer. It is aligned to 4 while it seems it
requires to be aligned ...
| Mar 17, 9:49 pm 2010 |
| David Miller | Re: [BUG] percpu misaligned allocation
From: Frederic Weisbecker <fweisbec@gmail.com>
Thanks I'll take a look at this.
RAW locks (both rwlocks and spinlocks) on sparc64 are 4-bytes
in size, maybe some piece of code is assuming that locks
are cpu word sized.
Where is perf_trace_lock_acquire() I can't find it in Linus's
tree? Does it get created by some crazy macro expansion?
--
| Mar 17, 11:26 pm 2010 |
| Li Zefan | Re: [BUG] percpu misaligned allocation
Yes, it's expanded by some crazy macro in include/trace/ftrace.h..
In linus' tree, it's called ftrace_profile_lock_acquire(), and it's
renamed to perf_trace_lock_acquire() in -tip tree by commit
97d5a22005f38057b4bc0d95f81cd26510268794.
#undef DECLARE_EVENT_CLASS
#define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \
static notrace void \
ftrace_profile_templ_##call(struct ftrace_event_call *event_call, \
...
| Mar 17, 11:39 pm 2010 |
| Tejun Heo | Re: [BUG] percpu misaligned allocation
Hello,
Does this fix the problem?
diff --git a/kernel/trace/trace_event_profile.c b/kernel/trace/trace_event_profile.c
index c1cc3ab..d3f7d1b 100644
--- a/kernel/trace/trace_event_profile.c
+++ b/kernel/trace/trace_event_profile.c
@@ -27,13 +27,15 @@ static int ftrace_profile_enable_event(struct ftrace_event_call *event)
return 0;
if (!total_profile_count) {
- buf = (char *)alloc_percpu(perf_trace_t);
+ buf = (char *)__alloc_percpu(sizeof(perf_trace_t),
+ ...
| Mar 18, 2:30 am 2010 |
| Frederic Weisbecker | Re: [BUG] percpu misaligned allocation
Yeah indeed. The problem happens in Linus's tree and -tip tree as well,
it's just that I debugged it in -tip and there has been a naming change
inside, I forgot about that. So in mainline the problem happens in
ftrace_profile_templ_lock_acquire (macro generated above).
Thanks.
--
| Mar 18, 9:56 am 2010 |
| Jon Masters | PROBLEM: 2.6.33-rt7 crash under KVM
Folks,
I like to run an RT test kernel under KVM (I am aware of latency issues,
this is just for development). The latest 2.6.33-rt7 kernel has been
crashing on X startup occasionally. I didn't have anything listening to
the virtual serial console before but now have minicom attached to the
host pts, so the next time it falls over I will post the backtrace.
Jon.
--
| Mar 17, 8:31 pm 2010 |
| john stultz | Re: [RFC][PATCH] Convert alpha to use clocksource
The timekeeping code handles this (although the shift value I picked may
need some adjustment - what is the expected counter freq range on
alpha?). The ACPI PM counter which is very common on x86 is only 24 bits
and rolls over in ~5 seconds. It works fine.
However, I'm not maintaining the arch, and this patch isn't limiting the
timekeeping core, so the call is really yours. I sent this out on a whim
since it looked easy to do.
However, while this change is totally optional, I suspect my ...
| Mar 18, 10:55 am 2010 |
| Ivan Kokshaysky | Re: [RFC][PATCH] Convert alpha to use clocksource
Yeah, that looks cool. I'm typing this on the 800MHz UP1500 running
2.6.34-rc1 plus your patch, and the timekeeping works fine so far.
Though, even after a glance over the clocksource code, I've not
gotten yet to how one could estimate the "shift" value...
Any hints?
And if I recall correctly, production alphas have been clocked
in the range of 60-1250 MHz.
Ivan.
--
| Mar 18, 2:40 pm 2010 |
| Richard Henderson | Re: [RFC][PATCH] Convert alpha to use clocksource
With 8 seconds or less between roll-overs, do you actually consider
this a continuous counter? I don't. I suggest this be left alone.
r~
--
| Mar 18, 7:32 am 2010 |
| John Stultz | [RFC][PATCH] Convert alpha to use clocksource
Alpha has a tsc like rpcc counter that it uses to manage time.
This can be converted to an actual clocksource instead of utilizing
the arch_gettimeoffset method that is really only there for legacy
systems with no continuous counter.
Further cleanups could be made if alpha converted to the clockevent model.
I've not tested or compiled this code. Any help or feedback from the
maintainers would be greatly appreciated
CC: Thomas Gleixner <tglx@linutronix.de>
CC: Richard Henderson ...
| Mar 17, 7:01 pm 2010 |
| john stultz | Re: [RFC][PATCH] Convert alpha to use clocksource
Nice! Thanks for testing! Another benefit that I forgot to mention, is
that NTP adjustments will be made directly against the counter, instead
of being made against the tick. This avoids possible small errors at
tick time if the intertick interval doesn't match the actual tick
Yea, selecting a good shift is obnoxious. You want to pick the largest
value of shift, so that it can be finely adjusted by ntp, but that
creates large mult values, which can cause overflows for large cycle
intervals. ...
| Mar 18, 3:19 pm 2010 |
| Kevin Hilman | Re: [RFC/PATCH] platform_bus: allow custom extensions to ...
I'm basically copying the existing functions and extending them with
platform-specific code to manage device clocks and other PM HW state.
IOW, I still call the drivers PM methods, but also take care of some
platform specific PM HW management. This is just like the runtime PM
hooks: platform-specific code + calling drivers runtime PM methods.
On my platform (TI OMAP), the code to handle device PM is common for
all devices, so for runtime PM, I'm taking care of it at the bus
level. At the ...
| Mar 18, 9:57 am 2010 |
| Greg KH | Re: [RFC/PATCH] platform_bus: allow custom extensions to ...
Ok, that sounds reasonable for now. I'll queue it up for .35.
thanks,
greg k-h
--
| Mar 18, 10:20 am 2010 |
| tip-bot for Stephane ... | [tip:perf/core] perf_events: Fix resource leak in x86 __ ...
Commit-ID: 4b24a88b35e15e04bd8f2c5dda65b5dc8ebca05f
Gitweb: http://git.kernel.org/tip/4b24a88b35e15e04bd8f2c5dda65b5dc8ebca05f
Author: Stephane Eranian <eranian@google.com>
AuthorDate: Wed, 17 Mar 2010 23:21:01 +0200
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Thu, 18 Mar 2010 18:39:40 +0100
perf_events: Fix resource leak in x86 __hw_perf_event_init()
If reserve_pmc_hardware() succeeds but reserve_ds_buffers()
fails, then we need to release_pmc_hardware. It won't be done
by ...
| Mar 18, 12:21 pm 2010 |
| Matthew Garrett | Re: [lm-sensors] [PATCH] hwmon: Add basic support for lm ...
Here's the dump from the lm64.
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 34 3e 00 03 08 46 00 46 00 03 08 46 00 46 00 00 4>.??F.F.??F.F..
10: 60 10 00 00 00 00 e5 00 00 7b 1f 1f 00 00 00 00 `?....?..{??....
20: 00 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .d..............
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
40: 00 00 00 00 00 00 af 0f ff ff 00 00 05 08 00 05 ......??....??.?
50: 00 04 32 05 46 06 5a 07 5f 0b 64 ...
| Mar 18, 6:39 am 2010 |
| Jean Delvare | Re: [lm-sensors] [PATCH] hwmon: Add basic support for lm ...
Hi Matthew,
Can you please send me a dump of your LM64 chip?
Please use "LM64" and "LM63" when referring to the devices themselves.
And spell GPIO with capitals, too. Same applies to the patch
Your patch is missing an update to drivers/hwmon/Kconfig.
Please submit an updated patch and I'll apply it.
--
Jean Delvare
--
| Mar 18, 12:41 am 2010 |
| Matthew Garrett | [PATCH] hwmon: Add basic support for LM64 to lm63.c
The LM64 appears to be an LM63 with added GPIO lines. Add support for the
hwmon functionality - GPIO can be added at some later stage if someone
has a need for them.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
---
Capitalisation fixes and remove an unused variable.
Documentation/hwmon/lm63 | 7 +++++++
drivers/hwmon/Kconfig | 9 +++++----
drivers/hwmon/lm63.c | 16 ++++++++++++----
3 files changed, 24 insertions(+), 8 deletions(-)
diff --git ...
| Mar 18, 6:36 am 2010 |
| Suresh Siddha | Re: [patch 2/2] x86,pat Convert memtype_lock into an rw_lock.
Also I talked to Thomas about this rwlock conversion and he referred to
RT issues with rwlock. And the best is to avoid this using RCU.
For now, the second patch can be perhaps dropped, as we are being
proactive anyways. We can revisit this in the future.
First patch "[patch 1/2] x86,pat Update the page flags for memtype
atomically instead of using memtype_lock. -V3" is good to go.
thanks,
suresh
--
| Mar 17, 5:19 pm 2010 |
| Veaceslav Falico | Re: [PATCH 0/4] signal_struct->count must die, initial changes
Ack on this series.
Acked-by: Veaceslav Falico <vfalico@redhat.com>
--
Veaceslav
--
| Mar 18, 9:49 am 2010 |
| Clemens Ladisch | Re: [PATCH 2/3] hpet: pass physical address, not entire ...
Acked-by: Clemens Ladisch <clemens@ladisch.de>
--
| Mar 18, 12:27 am 2010 |
| FUJITA Tomonori | Re: dma_sync_sg_for_cpu applied to a single scatterlist ...
On Wed, 17 Mar 2010 11:22:01 -0400 (EDT)
No reason. About merging adjacent buffers, there are few IOMMU
implementations that do. The recent IOMMU implementations such as VT-d
and AMD IOMMU don't.
If drivers don't support scatter-gather operation, they had better use
dma_map_page() instead of forging scatter-gather lists and playing
with dma_map_sg().
--
| Mar 17, 6:46 pm 2010 |
| Li Zefan | Re: Does function_graph support x86_32?
Yes, but you need to disable CONFIG_CC_OPTIMIZE_FOR_SIZE
config FUNCTION_GRAPH_TRACER
bool "Kernel Function Graph Tracer"
depends on HAVE_FUNCTION_GRAPH_TRACER
depends on FUNCTION_TRACER
depends on !X86_32 || !CC_OPTIMIZE_FOR_SIZE
--
| Mar 17, 5:56 pm 2010 |
| Ingo Molnar | Re: [PATCH] perf: fix stat attach bogus counts
Mind checking latest -tip, which has these commits:
d6d901c: perf events: Change perf parameter --pid to process-wide collection instead of thread-wid
46be604: perf record: Enable counters only when kernel is execing subcommand
6be2850: perf stat: Enable counters when collecting process-wide or system-wide data
as they fix/improve various --pid related behavioral aspects of perf. Does it
work fine for you now?
Ingo
--
| Mar 18, 10:36 am 2010 |
| stephane eranian | Re: [PATCH] perf: fix stat attach bogus counts
They indeed included the same fix.
So that's fine now.
--
| Mar 18, 11:16 am 2010 |
| tip-bot for Cyrill G ... | [tip:perf/core] x86, perf: Use apic_write unconditionally
Commit-ID: 7335f75e9ca166044e38a96abad422d8e6e364b5
Gitweb: http://git.kernel.org/tip/7335f75e9ca166044e38a96abad422d8e6e364b5
Author: Cyrill Gorcunov <gorcunov@openvz.org>
AuthorDate: Wed, 17 Mar 2010 13:37:01 +0300
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Thu, 18 Mar 2010 17:03:22 +0100
x86, perf: Use apic_write unconditionally
Since apic_write() maps to a plain noop in the !CONFIG_X86_LOCAL_APIC
case we're safe to remove this conditional compilation and clean up
the ...
| Mar 18, 10:37 am 2010 |
| tip-bot for Cyrill G ... | [tip:perf/core] x86, apic: Allow to use certain function ...
Commit-ID: d674cd1963129b70bc5f631c51fb30fb73213fb2
Gitweb: http://git.kernel.org/tip/d674cd1963129b70bc5f631c51fb30fb73213fb2
Author: Cyrill Gorcunov <gorcunov@openvz.org>
AuthorDate: Wed, 17 Mar 2010 13:37:00 +0300
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Thu, 18 Mar 2010 17:03:21 +0100
x86, apic: Allow to use certain functions without APIC built-in support
In case even if the kernel is configured so that
no APIC support is built-in we still may allow
to use certain ...
| Mar 18, 10:37 am 2010 |
| Stephane Eranian | Re: [PATCH] perf_events: fix bug in AMD per-cpu initialization
I can't because amd_get_nb_id() returns garbage for the CPU
when you call from CPU_STARTING. So looks like initialization
of cpu_llc_id needs to be moved way earlier. I don't want to have
to duplicate that code.
--
| Mar 17, 5:33 pm 2010 |
| Marcelo Tosatti | Re: [PATCH v2] KVM: cleanup {kvm_vm_ioctl, kvm}_get_dirt ...
Its different because the user copy must be done after the
The opencoded version should be faster in comparison to __bitmap_empty
because the dirty bitmaps are always unsigned long aligned (and also
there's a function call).
--
| Mar 17, 7:48 pm 2010 |
| Marcelo Tosatti | Re: [PATCH v2] KVM MMU: check reserved bits only when CR ...
So if the guest enables PAT at PTE level you completly disable reserved
bit checking? You should only disable checking for [1][1] if !PSE.
--
| Mar 17, 7:49 pm 2010 |
| Xiao Guangrong | Re: [PATCH v2] KVM MMU: check reserved bits only when CR ...
Hi Marcelo,
Thanks for your review.
Sorry, i make a mistake here because i see the current code is redundant:
context->rsvd_bits_mask[1][0] = context->rsvd_bits_mask[1][0];
in every case.
This code is imported by commit fd2e987d, i think this is Avi Kivity's typo :-)
i think the correct way is:
ontext->rsvd_bits_mask[1][0] = context->rsvd_bits_mask[0][0];
I'll send a new version patch to fix it if you not object.
Xiao
--
| Mar 18, 4:30 am 2010 |
| Frederic Weisbecker | Re: [PATCH -tip 10/10] perf probe: Accessing members in ...
Agreed.
And lets people use what is common for them: expressions that follow
C rules in the context.
And those who will be more familiar with perf probe will know they can
use the simplified "." based scheme.
--
| Mar 17, 8:28 pm 2010 |
| tip-bot for Ingo Molnar | [tip:perf/core] perf events: Fix false positive build wa ...
Commit-ID: 55632770d7298835645489828af87f854c47749c
Gitweb: http://git.kernel.org/tip/55632770d7298835645489828af87f854c47749c
Author: Ingo Molnar <mingo@elte.hu>
AuthorDate: Thu, 18 Mar 2010 16:51:16 +0100
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Thu, 18 Mar 2010 17:03:24 +0100
perf events: Fix false positive build warning with older GCC's
gcc 4.2.1 produces:
util/probe-event.c: In function 'add_perf_probe_events':
util/probe-event.c:883: warning: 'tev' may be used ...
| Mar 18, 10:38 am 2010 |
| Masami Hiramatsu | Re: [tip:perf/core] perf events: Fix false positive buil ...
Hmm, indeed. this code implies that ntevs > 0, it seems that we'd better
check it first (e.g. 'if(ntevs <= 0) return;') too.
--
Masami Hiramatsu
e-mail: mhiramat@redhat.com
--
| Mar 18, 1:03 pm 2010 |
| Jason Baron | Re: [PATCH 15/14] compat_syscalls: introduce CONFIG_COMP ...
move the logic for enabling compat syscalls to common arch/Kconfig, where
config_compat_ftrace_syscalls depends on CONFIG_COMPAT, CONFIG_FTRACE_SYSCALLS,
and a per-arch CONFIG_HAVE_COMPAT_FTRACE_SYSCALLS. In this way arches that
want to add support for compat syscalls, can request it via selecting
HAVE_COMPAT_FTRACE_SYSCALLS in their respective arch Kconfig files.
Signed-off-by: Jason Baron <jbaron@redhat.com>
---
arch/Kconfig | 7 +++++++
arch/x86/Kconfig | ...
| Mar 18, 11:22 am 2010 |
| Jason Baron | Re: [PATCH 07/14 re-post] syscalls: add ARCH_COMPAT_SYSC ...
Re-post due to missing macro parameter. interdiff:
diff -u b/include/linux/syscalls.h b/include/linux/syscalls.h
--- b/include/linux/syscalls.h
+++ b/include/linux/syscalls.h
@@ -241,7 +241,7 @@
SYSCALL_METADATA(syscall, compat_sys_##sname, x); \
asmlinkage long syscall(__SC_DECL##x(__VA_ARGS__))
#else
-#define COMPAT_SYSCALL_DEFINEx(x, sname, ...) \
+#define COMPAT_SYSCALL_DEFINEx(x, syscall, sname, ...) \
asmlinkage long syscall(__SC_DECL##x(__VA_ARGS__))
...
| Mar 18, 11:29 am 2010 |
| Ferenc Wagner | Re: CONFIG_MTD_DEBUG vs generic DEBUG support in kernel.h
Well, I found the mtdcore debugging somewhat useful. But anyway,
killing it would be about as much work as renaming the macro, or using
something standard as dev_(v)dbg or pr_debug/devel (btw. what's the
difference?) instead. I'm willing to do some mechanical work on either
one if you wish.
--
Regards,
Feri.
--
| Mar 18, 9:20 am 2010 |
| Lee Schermerhorn | Re: [PATCH 3/5] tmpfs: handle MPOL_LOCAL mount option properly
Well, given the other issues with mpol_parse_str(), I suspect the entire
tmpfs mpol option is not used all that often in the mainline kernel. I
recall that this feature was introduced by SGI for some of their
customers who may depend on it. There have been cases where I could
have used it were it supported for the SYSV shm and MAP_ANON_MAP_SHARED
internal tmpfs mount. Further, note that the addition of "mpol=local"
occurred between when the major "enterprise distributions" selected a
new ...
| Mar 17, 6:55 pm 2010 |
| Hugh Dickins | Re: [PATCH 3/5] tmpfs: handle MPOL_LOCAL mount option properly
Sorry, I was absolutely wrong to say that: I seem to have been looking at
the wrong commit, but 3f226aa1 does document mpol=local, and does explain
why mpol=default differed; and KOSAKI-san's 5/5 corrects the mpol=default
Shocking :)
Yes, I withdraw my objection. I'd been puzzled by why you would have
added an option which nobody was interested in, including yourself;
but as I see it now, you'd noticed a bug in mpol=default, and felt
that the right way to provide the missing ...
| Mar 18, 2:21 pm 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
I wouldnt jump to assumptions there. perf shares some facilities with the
kernel on the source code level - they can be built both in the kernel and in
user-space.
But my main thought wasnt even to actually share the implementation - but to
actually synchronize when a piece of device emulation moves into the kernel.
It is arguably bad for performance in most cases when Qemu handles a given
device - so all the common devices should be kernel accelerated.
The version and testing matrix ...
| Mar 18, 7:09 am 2010 |
| Sheng Yang | Re: [PATCH] Enhance perf to collect KVM guest os statist ...
Um? Why?
Especially kernel is already using it to deliver NMI.
--
regards
Yang, Sheng
--
| Mar 17, 6:19 pm 2010 |
| Zhang, Yanmin | Re: [PATCH] Enhance perf to collect KVM guest os statist ...
Ingo,
Sorry, the patch has bugs. I need do a better job and will work out 2
separate patches against the 2 issues.
Yanmin
--
| Mar 17, 7:45 pm 2010 |
| Zachary Amsden | Re: [PATCH] Enhance perf to collect KVM guest os statist ...
That's the only defined case, and it is defined because the vector field
is ignore for DM_NMI. Vol 3A (exact section numbers may vary depending
on your version).
8.5.1 / 8.6.1
'100 (NMI) Delivers an NMI interrupt to the target processor or
processors. The vector information is ignored'
8.5.2 Valid Interrupt Vectors
'Local and I/O APICs support 240 of these vectors (in the range of 16 to
255) as valid interrupts.'
8.8.4 Interrupt Acceptance for Fixed Interrupts
'...; ...
| Mar 17, 9:50 pm 2010 |
| Sheng Yang | Re: [PATCH] Enhance perf to collect KVM guest os statist ...
As you pointed out, NMI is not "Fixed interrupt". If we want to send NMI, it
would need a specific delivery mode rather than vector number.
And if you look at code, if we specific NMI_VECTOR, the delivery mode would be
set to NMI.
So what's wrong here?
--
regards
Yang, Sheng
--
| Mar 17, 10:22 pm 2010 |
| Huang, Zhiteng | RE: [PATCH] Enhance perf to collect KVM guest os statist ...
Hi Avi, Ingo,
I've been following through this long thread since the very first email.
I'm a performance engineer whose job is to tune workloads run on top of KVM (and Xen previously). As a performance engineer, I desperately want to have a tool that can monitor the host and guests at same time. Think about >100 guests mixed with Linux/Windows running together on single system, being able to know what's happening is critical to do performance analysis. Actually I am the person asked Yanmin ...
| Mar 17, 10:27 pm 2010 |
| Sheng Yang | Re: [PATCH] Enhance perf to collect KVM guest os statist ...
OK, I think I understand your points now. You meant that these vectors can't
be filled in vector field directly, right? But NMI is a exception due to
DM_NMI. Is that your point? I think we agree on this.
--
regards
Yang, Sheng
--
| Mar 17, 10:41 pm 2010 |
| Zhang, Yanmin | Re: [PATCH] Enhance perf to collect KVM guest os statist ...
I worked out 3 new patches against tip/master tree of Mar. 17th.
1) Patch perf_stat: Fix the issue that perf doesn't enable counters when
target_pid != -1. Change the condition to fork/exec subcommand. If there
is a subcommand parameter, perf always fork/exec it. The usage example is:
#perf stat -a sleep 10
So this command could collect statistics for 10 seconds precisely. User
still could stop it by CTRL+C.
2) Patch perf_record: Fix the issue that when perf forks/exec a subcommand,
it ...
| Mar 18, 12:49 am 2010 |
| Ingo Molnar | Re: [PATCH] Enhance perf to collect KVM guest os statist ...
Cool! Mind sending them as a series of patches instead of attachment? That
makes it easier to review them. Also, the Signed-off-by lines seem to be
missing plus we need a per patch changelog as well.
Thanks,
Ingo
--
| Mar 18, 1:03 am 2010 |
| Avi Kivity | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Any qemu usability problems are because developers (or their employers)
are not interested in fixing them, not because of the repository
location. Most kvm developer interest is in server-side deployment
(even for desktop guests), so there is limited effort in implementing a
I'll ignore the repository location which should be immaterial to a
serious developer and concentrate on the 'clean and minimal' aspect,
since it has some merit. Qemu development does have a tension between
the ...
| Mar 18, 1:20 am 2010 |
| Jes Sorensen | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Ingo,
What made KVM so successful was that the core kernel of the hypervisor
was designed the right way, as a kernel module where it belonged. It was
obvious to anyone who had been exposed to the main competition at the
time, Xen, that this was the right approach. What has ended up killing
Xen in the end is the not-invented-here approach of copying everything
over, reformatting it, and rewriting half of it, which made it
impossible to maintain and support as a single codebase. At my ...
| Mar 18, 1:44 am 2010 |
| Zachary Amsden | Re: [PATCH] Enhance perf to collect KVM guest os statist ...
Yes, I think we agree. NMI is the only vector in 0x0-0xf which can be
sent via self-IPI because the vector itself does not matter for NMI.
Zach
--
| Mar 18, 1:47 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
If qemu was in tools/kvm/ then we wouldnt have such issues. A single patch (or
series of patches) could modify tools/kvm/, arch/x86/kvm/, virt/ and
tools/perf/.
Numerous times did we have patches to kernel/perf_event.c that fixed some
detail, also accompanied by a tools/perf/ patch fixing another detail. Having
a single 'culture of contribution' is a powerful way to develop.
It turns out kernel developers can be pretty good user-space developers as
well and user-space developers can ...
| Mar 18, 1:56 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
To the contrary, experience shows that repository location, and in particular
a shared repository for closely related bits is very much material!
It matters because when there are two separate projects, even a "serious
developer" is finding it double and triple difficult to contribute even
trivial changes.
It becomes literally a nightmare if you have to touch 3 packages: kernel, a
library and an app codebase. It takes _forever_ to get anything useful done.
Also, 'focus on a single ...
| Mar 18, 2:22 am 2010 |
| Alexander Graf | Re: [RFC] Unify KVM kernel-space and user-space code int ...
It's not a 1:1 connection. There are more users of the KVM interface. To name a few I'm aware of:
- Mac-on-Linux (PPC)
- Dolphin (PPC)
- Xenner (x86)
- Kuli (s390)
Having a clear userspace interface is the only viable solution there. And if you're interested, look at my MOL enabling patch. It's less than 500 lines of code.
The kernel/userspace interface really isn't the difficult part. Getting device emulation working properly, easily and fast is.
Alex--
| Mar 18, 2:24 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Yes, exactly.
Yes. Please realize that what is behind it is a strikingly simple argument:
Btw., i made similar arguments to Avi about 3 years ago when it was going
upstream, that qemu should be unified with KVM. This is more true today than
I do not suggest forking Qemu at all, i suggest using the most natural
My experience as an external observer of the end result contradicts this.
Seemingly trivial usability changes to the KVM+Qemu combo are not being done
often because ...
| Mar 18, 2:54 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
There must be a misunderstanding here: tools/perf/ still has a clear userspace
interface and ABI. There's external projects making use of it: sysprof and
libpfm (and probably more i dont know about it). Those projects are also
contributing back.
Still it's _very_ useful to have a single reference implementation under
tools/perf/ where we concentrate the best of the code. That is where we make
sure that each new kernel feature is appropriately implemented in user-space
as well, that ...
| Mar 18, 3:10 am 2010 |
| Avi Kivity | Re: [RFC] Unify KVM kernel-space and user-space code int ...
We would have exactly the same issues, only they would be in a single
repository. The only difference is that we could ignore potential
alternatives to qemu, libvirt, and RHEV-M. But that's not how kernel
ABIs are developed, we try to make them general, not suited to just one
In fact kvm started out in a single repo, and it certainly made it easy
to bring it up in baby steps. But we've long outgrown that. Maybe the
difference is that perf is still new and thus needs tight ...
| Mar 18, 3:12 am 2010 |
| Avi Kivity | Re: [RFC] Unify KVM kernel-space and user-space code int ...
That would make sense for a truly minimal userspace for kvm: we once had
a tool called kvmctl which was used to run tests (since folded into
qemu). It didn't contain a GUI and was unable to run a general purpose
guest. It was a few hundred lines of code, and indeed patches to kvmctl
had a much closer correspondence to patches with kvm (though still low,
Suppose we copy qemu tomorrow into tools/. All the problems will be
copied with it. Someone still has to write patches to fix ...
| Mar 18, 3:21 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Not at all - as i replied to in a previous mail, tools/perf/ still has a clear
userspace interface and ABI, and external projects are making use of it.
So there's no problem with the ABI at all.
In fact our experience has been the opposite: the perf ABI is markedly better
_because_ there's an immediate consumer of it in the form of tools/perf/. It
gets tested better and external projects can get their ABI tweaks in as well
and can provide a reference implementation for tools/perf. This ...
| Mar 18, 3:28 am 2010 |
| Avi Kivity | Re: [RFC] Unify KVM kernel-space and user-space code int ...
You can't be serious. I find that the difficulty in contributing a
patch has mostly to do with writing the patch, and less with figuring
Indeed, working simultaneously on two different projects is difficult.
I usually work for a while on one, and then 'cd', physically and
psychically, to the other. Then switch back. Sort of like the
We have a large number of such stupid, fanatic, desperate developers in
By "serious developer" I mean
- someone who is interested in ...
| Mar 18, 3:32 am 2010 |
| Jes Sorensen | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Thats a very glorified statement but it's not reality, sorry. You can do
that with something like perf because it's so small and development of
If you are not suggesting to fork QEMU, what are you suggesting then?
You don't seriously expect that the KVM community will be able to
mandate that the QEMU community switch to the Linux kernel repository?
That would be like telling the openssl developers that they should merge
with glibc and start working out of the glibc tree.
What you are ...
| Mar 18, 3:40 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
It's very simple: because the contribution latencies and overhead compound,
almost inevitably.
If you ever tried to implement a combo GCC+glibc+kernel feature you'll know
...
Even with the best-run projects in existence it takes forever and is very
I'm afraid practice is different from the rosy ideal you paint there. Even
with assumed 'perfect projects' there's always random differences between
projects, causing doubled (tripled) overhead and compounded up overhead:
- random ...
| Mar 18, 3:50 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
I was not talking about just perf: i am also talking about the arch/x86/
unification which is 200+ KLOC of highly non-trivial kernel code with hundreds
of contributors and with 8000+ commits in the past two years.
Also, it applies to perf as well: people said exactly that a year ago: 'perf
has it easy to be clean as it is small, once it gets as large as Oprofile
tooling it will be in the same messy situation'.
Today perf has more features than Oprofile, has a larger and more complex ...
| Mar 18, 3:58 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
My own experience and everyone i've talked about such topics (developers and
distro people) about feature contribution tells the exact opposite: it's much
harder to contribute features to multiple packages than to a single project.
kernel+library+app features take forever to propagate, and there's constant
fear of version friction, productization deadlines are uncertain and ABI
messups are frequent as well due to disjoint testing. Also, each component has
essential veto power: so if the ...
| Mar 18, 4:19 am 2010 |
| Avi Kivity | Re: [RFC] Unify KVM kernel-space and user-space code int ...
It's not inevitable, if the projects are badly run, you'll have high
How is a patch for the qemu GUI eject button and the kvm shadow mmu
related? Should a single maintainer deal with both?
--
error compiling committee.c: too many arguments to function
--
| Mar 18, 4:30 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
If it's functional to the extent of at least allowing say a serial console via
the console (like the UML binary allows) i'd expect the minimal user-space to
quickly grow out of this minimal state. The rest will be history.
Maybe this is a better, simpler (and much cleaner and less controversial)
approach than moving a 'full' copy of qemu there.
There's certainly no risk: if qemu stays dominant then nothing is lost
[tools/kvm/ can be removed after some time], and if this clean base ...
| Mar 18, 4:35 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
We have co-maintainers for perf that have a different focus. It works pretty
well.
Look at git log tools/perf/ and how user-space and kernel-space components
interact in practice. You'll patches that only impact one side, but you'll see
very big overlap both in contributor identity and in patches as well.
Also, let me put similar questions in a bit different way:
- ' how is an in-kernel PIT emulation connected to Qemu's PIT emulation? '
- ' how is the in-kernel dynticks ...
| Mar 18, 4:48 am 2010 |
| Alexander Graf | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Alright, you just volunteered. Just give it a go and try to implement
the "oh so simple" KVM frontend while maintaining compatibility with at
least a few older Linux guests. My guess is that you'll realize it's a
dead end before committing anything to the kernel source tree. But
really, just try it out.
Good Luck
Alex
--
| Mar 18, 5:00 am 2010 |
| Avi Kivity | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Where people sent patches, it doesn't suck (or sucks less). Where they
don't, it still sucks. And it cost way more than $64K.
And it works well when I have patches that change x86 core and kvm. But
Both implement the same spec. One is be a code derivative of the other
The quality of host kernel timers directly determines the quality of
Both implement the same spec. The kernel of course needs to handle all
Most features (example: npt) are transparent to userspace, some are ...
| Mar 18, 5:22 am 2010 |
| Frank Ch. Eigler | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Sorry, er, what? What distributions eagerly upgrade kernels in stable
periods, were it not primarily motivated by security fixes? What users
eagerly replace their kernels?
- FChE
--
| Mar 18, 5:33 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
So is your point that the development process and basic code structure does
not matter at all, it's just a matter of people sending patches? I beg to
Those bits of Fedora which deeply relate to the kernel - yes.
Actually, it works much better if, contrary to your proposal it ends up in a
single repo. Last i checked both of us really worked on such a project, run by
You are obviously arguing for something like UML. Fortunately KVM is not that.
Look at the VGA dirty bitmap ...
| Mar 18, 6:00 am 2010 |
| John Kacur | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Us guys reading and participating on the list. ;)
--
| Mar 18, 6:01 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Please check the popular distro called 'Fedora' for example, and its kernel
Those 99% who click on the 'install 193 updates' popup.
Ingo
--
| Mar 18, 6:02 am 2010 |
| Arnaldo Carvalho de Melo | Re: [PATCH] Enhance perf to collect KVM guest os statist ...
Yeah, please, and I hadn't merged them, so the resend was the best thing to do.
- Arnaldo
--
| Mar 18, 6:03 am 2010 |
| Avi Kivity | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Of which 1 is the kernel, and 192 are userspace updates (of which one
may be qemu).
--
error compiling committee.c: too many arguments to function
--
| Mar 18, 6:10 am 2010 |
| Jes Sorensen | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Sorry but you cannot compare merging two chunks of kernel code that
originated from the same base, with the efforts of mixing a large
Both perf and oprofile are still relatively small projects in comparison
You believe that I am wrong in my assessment of unified projects, and I
obviously think you are mistaken and underestimating the cost and
effects of trying to merge the two.
Well I think we are just going to agree to disagree on this one. I am
not against merging projects where it ...
| Mar 18, 6:23 am 2010 |
| Frank Ch. Eigler | Re: [RFC] Unify KVM kernel-space and user-space code int ...
I do believe I've heard of it. According to fedora bodhi, there have
been 18 kernel updates issues for fedora 11 since its release, of
which 12 were for purely security updates, and most of the other six
also contain security fixes. None are described as 'enhancement'
updates. Oh, what about fedora 12? 8 updates total, of which 5 are
security only, one for drm showstoppers, others including security
fixes, again 0 tagged as 'enhancement'.
So where is that "eagerness" again?? My sense is ...
| Mar 18, 6:24 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
I think you didnt understand my (tersely explained) point - which is probably
my fault. What i said is:
- distros update the kernel first. Often in stable releases as well if
there's a new kernel released. (They must because it provides new hardware
enablement and other critical changes they generally cannot skip.)
- Qemu on the other hand is not upgraded with (nearly) that level of urgency.
Completely new versions will generally have to wait for the next distro
...
| Mar 18, 6:31 am 2010 |
| Avi Kivity | Re: [RFC] Unify KVM kernel-space and user-space code int ...
The development process of course matters, and we have worked hard to
fix qemu's. Basic code structure also matters, but you don't fix that
Well, when last I sent x86 patches, they went to you and hpa, applied to
tip, from which I had to merge them back. Two repositories. After
several weeks they did end up in a third repository, Linus'. The
The VGA dirty bitmap is 256 bytes in length. Copying it doesn't take
any time at all.
People are in fact working on a copy-less dirty ...
| Mar 18, 6:36 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
I just replied to Frank Ch. Eigler with a specific example that shows how this
If you check the update frequency of RHEL 5 kernels you'll see that it's
Happy choice or not, this is what i said is the distro practice these days. (i
Rawhide is generally for latest released versions, to ready them for the next
distro release - with special exception for the kernel, which has a special
position due being a hardware-enabler and because it has an extremely
predictable release schedule ...
| Mar 18, 6:57 am 2010 |
| Anthony Liguori | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Ok. Then apply this to the kernel. I'm then happy to take patches.
Regards,
Anthony Liguori
| Mar 18, 7:38 am 2010 |
| Avi Kivity | Re: [RFC] Unify KVM kernel-space and user-space code int ...
So, you propose to allow running tools/kvm/ only on the kernel it was
shipped with?
Of course it isn't a good thing, but it is unavoidable. Qemu compiles
code just-in-time to avoid interpretation overhead, while kvm emulates
one instruction at a time. No caching is possible, especially with
ept/npt, since the guest is free to manipulate memory with no
notification to the host. Qemu also supports the full instruction set
while kvm only implements what is necessary. Qemu is a ...
| Mar 18, 7:38 am 2010 |
| Frank Ch. Eigler | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Hi -
From a parochial point of view, that makes perfect sense: someone
else's large software changes are a source of concern. The same thing
applies to non-LKML people -- ordinary users -- when *your* large
software changes are proposed.
Perhaps this change in perspective would help you see the absurdity of
proposing kernel-2.6.git as a hosting repository for all kinds of
stuff, on the theory that kernel updates get pushed to "eager" users
more frequently than other kinds of updates. ...
| Mar 18, 7:39 am 2010 |
| Anthony Liguori | Re: [RFC] Unify KVM kernel-space and user-space code int ...
QEMU is about 600k LOC. We have a mechanism to compile out portions of
the code but a lot things are tied together in an intimate way. In the
long run, we're working on adding stronger interfaces such that we can
split components out into libraries that are consumable by other
applications.
Simplying forking the device model won't work. Well more than half of
our contributors are not coming from KVM developers/users. If you just
fork the device models, you start to lose a ton of ...
| Mar 18, 7:44 am 2010 |
| Jes Sorensen | Re: [RFC] Unify KVM kernel-space and user-space code int ...
As I have stated repeatedly in this discussion, a unification would hurt
the QEMU development process because it would alienate a large number of
QEMU developers who are *not* Linux kernel users.
You still haven't given us a *single* example of unification of
something that wasn't purely linked to the Linux kernel. perf/
oprofile is 100% linked to the Linux kernel, QEMU is not. I wish
you would actually look at what users use QEMU for. As long as you
continue to purely speculate on this, to ...
| Mar 18, 7:45 am 2010 |
| Avi Kivity | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Thanks. In fact with have an QxKxGxT compatibility matrix since we need
to keep compatibility with guests and with tools. Since the easiest
interface to keep compatible is the qemu/kernel interface, allowing the
kernel and qemu to change independently allows reducing the
compatibility matrix while still providing some improvements.
Regardless of that I'd keep binary compatibility anyway. Not everyone
is on the update treadmill with everything updating every three months
Some ...
| Mar 18, 7:51 am 2010 |
| Anthony Liguori | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Why does Linux AIO still suck? Why do we not have a proper interface in
userspace for doing asynchronous file system operations?
Why don't we have an interface in userspace to do zero-copy transmit and
receive of raw network packets?
The lack of a decent userspace API for asynchronous file system
operations is a huge usability problem for us. Take a look at the
complexity of our -drive option. It's all because the kernel gives us
sucky interfaces.
Regards,
Anthony Liguori
--
| Mar 18, 7:53 am 2010 |
| Anthony Liguori | Re: [RFC] Unify KVM kernel-space and user-space code int ...
We have to maintain a dirty bitmap because we don't have a paravirtual
graphics driver. IOW, someone needs to write an Xorg driver.
Ideally, we could just implement a Linux framebuffer device, right?
Well, we took that approach in Xen and that sucks even worse because the
Xorg framebuffer driver doesn't implement any of the optimizations that
the Linux framebuffer supports and the Xorg driver does not provide use
the kernel's interfaces for providing update regions.
Of course, we ...
| Mar 18, 7:59 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
No, you'd want to interact with DRM.
( Especially as you want to write guest accelerators passing guest-space
OpenGL requests straight to the kernel DRM level. )
Especially if you want to do things like graphics card virtualization, with
aspects of the graphics driver passed through to the guest OS.
There are all kernel space projects, going through Xorg would be a horrible
waste of performance for full-screen virtualization. It's fine for the
windowed or networked case (and good ...
| Mar 18, 8:17 am 2010 |
| Anthony Liguori | Re: [RFC] Unify KVM kernel-space and user-space code int ...
I don't think I've ever used full-screen mode with my VMs and I use
virtualization on a daily basis.
I don't see any actual KVM developer complaining about this so I'm not
We lose a huge amount of users and contributors if we put QEMU in the
Linux kernel. As I said earlier, a huge number of our contributions
We've tried to create a "clean" version of QEMU specifically for KVM.
Moving it into tools/kvm would be the second step. We've all failed on
If the problem is ...
| Mar 18, 9:38 am 2010 |
| Pekka Enberg | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Sorry for getting slightly off-topic but I find the above statement interesting.
I don't use virtualization on daily basis but a working, fully
integrated full-screen model with VirtualBox was the only reason I
bothered to give VMs a second chance. From my point of view, the user
experience of earlier versions (e.g. Parallels) was just too painful
to live with.
/me crawls back to his hole now...
Pekka
--
| Mar 18, 9:51 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
I took a quick look at the qemu.git log and more than half of all recent
contributions came from Linux distributors.
So without KVM Qemu would be a much, much smaller project. It would be similar
The stats show that the huge increase in Qemu contributions over the past few
years was mainly due to KVM. Do you claim it wasnt? What other projects make
Sorry, i didnt comment on it because the answer is obvious: the file system
tools and pretty much any Linux-exclusive tool (such as ...
| Mar 18, 9:54 am 2010 |
| Avi Kivity | Re: [RFC] Unify KVM kernel-space and user-space code int ...
I think you're increasing the height of that wall by arguing that a
userspace project cannot be successful because it's development process
sucks and the only way to fix it is to put it into the kernel where
people know so much better. Instead we kernel developers should listen
to requirements from users, even if their code isn't in tools/.
--
error compiling committee.c: too many arguments to function
--
| Mar 18, 9:54 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
That's the same i do, and that's what i'm hearing from other desktop users as
well.
The moment you work seriously in a guest OS you often want to switch to it
full-screen, to maximize screen real-estate and to reduce host GUI element
distractions. If it's just casual use of a single app then windowed mode
suffices (but in that case performance doesnt matter much to begin with).
I find the 'KVM mostly cares about the server, not about the desktop' attitude
/me should do that too - ...
| Mar 18, 10:02 am 2010 |
| Anthony Liguori | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Using DRM doesn't help very much. You still need an X driver and most
of the operations you care about (video rendering, window movement, etc)
are not operations that need to go through DRM.
3D graphics virtualization is extremely difficult in the non-passthrough
case. It really requires hardware support that isn't widely available
It doesn't provide the things we need to a good user experience. You
need things like an absolute input device, host driven display resize,
RGBA ...
| Mar 18, 9:11 am 2010 |
| Avi Kivity | Re: [RFC] Unify KVM kernel-space and user-space code int ...
It's not kvm, just it's developers (and their employers, where
applicable). If you post desktop oriented patches I'm sure they'll be
welcome.
--
error compiling committee.c: too many arguments to function
--
| Mar 18, 10:09 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
No, it's tearing down that wall because finally, instead of providing rather
abstract system calls that are designed perfectly, the kernel can operate by
providing useful libraries and apps.
At least on the context i've worked on it has torn down walls and has improved
the efficiency of working on ABIs towards user-space. (sysprof is an example
of that)
Kernel developers are finally faced with user-space development directly, in
the same repository, using the same rules of ...
| Mar 18, 10:11 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
It is, because testing is more focused and more people are testing the
combination that developers tested as well. (and not some random version
combination picked by the distributor or the user)
Ingo
--
| Mar 18, 10:16 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Just such a patch-set was posted in this very thread: 'perf kvm'.
There were two negative reactions immediately, both showed a fundamental
server versus desktop bias:
- you did not accept that the most important usecase is when there is a
single guest running.
- the reaction to the 'how do we get symbols out of the guest' sub-question
was, paraphrased: 'we dont want that due to <unspecified> security threat
to XYZ selinux usecase with lots of guests'.
Anyone being aware ...
| Mar 18, 10:28 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Good that you mention it, i think it's an excellent example.
The suckage of kernel async IO is for similar reasons: there's an ugly package
separation problem between the kernel and between glibc - and between the apps
that would make use of it.
( With the separated libaio it was made worse: there were 3 libraries to
work with, and even less applications that could make use of it ... )
So IMO klibc is an arguably good idea - eventually hpa will get around posting
it for upstream ...
| Mar 18, 9:13 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
For the full-screen case (which is a very common mode of using a guest OS on
the desktop) there's not much of window management needed. You need to
With KSM the display resize is in the kernel. Cursor management is not. Yet: i
think it would be a nice feature as the cursor could move even if Xorg is
If you are not two separate communities but one community, then why do you go
through the (somewhat masochistic) self-punishing excercise of keeping the
project in two different ...
| Mar 18, 9:28 am 2010 |
| Anthony Liguori | Re: [RFC] Unify KVM kernel-space and user-space code int ...
I don't know what you're looking at, but in the past month, there's been
56 unique contributors, with 411 changesets. I count 16 people employed
I'm not saying that KVM isn't significant. I'm employed to work on QEMU
because of KVM.
I'm just saying that KVM users aren't 99% of the community and that we
can't neglect the rest of the community.
Regards,
Anthony Liguori
--
| Mar 18, 11:10 am 2010 |
| Anthony Liguori | Re: [RFC] Unify KVM kernel-space and user-space code int ...
And why wouldn't the kernel developers produce posix-aio within klibc.
posix-aio is also a really terrible interface (although not as bad as
linux-aio).
The reason boils down to the fact that these interfaces are designed
without interacting with the consumers. Part of the reason for that is
the attitude of the community.
You approached this discussion with, "QEMU/KVM sucks, you should move
into the kernel because we're awesome and we'd fix everything in a heart
beat". That ...
| Mar 18, 11:20 am 2010 |
| Frederic Weisbecker | Re: [RFC] Unify KVM kernel-space and user-space code int ...
I'm not going to argue about the Qemu merging here.
But your above assessment is incomplete.
It is not because developers don't want to clone two different
trees that tools/perf is a success. Or may be it's a factor but
I suspect it to be very minimal. I can script git commands if
needed. It is actually because both kernel and user side are
I think it has already really good results.
--
| Mar 18, 11:20 am 2010 |
| Frank Ch. Eigler | Re: [RFC] Unify KVM kernel-space and user-space code int ...
This argues that co-evolution of an interface is easiest on the
developers if they own both sides of that interface. No quarrel.
This does not argue that that the preservation of a stable ABI is best
done this way. If anything, it makes it too easy to change both the
provider and the preferred user of the interface without noticing
unintentional breakage to forlorn out-of-your-tree clients.
- FChE
--
| Mar 18, 12:50 pm 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Your concern is valid, and this issue has been raised in the past as one of
the main counter-arguments against tools/perf/. (there was a big flamewar
about it on lkml when it was introduced)
Our roughly 1 year experience with perf is that, somewhat pradoxially, this
scheme not only works as well as classic ABI schemes but actually brings a
_better_ ABI than the classic "let the kernel define an ABI" single-sided
solution.
I know the difference first hand, i've written various ...
| Mar 18, 1:47 pm 2010 |
| Zachary Amsden | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Ingo, what you miss is that this is not a bad thing. Fact of the matter
is, it's not just painful, it downright sucks.
This is actually a Good Thing (tm). It means you have to get your
feature and its interfaces well defined and able to version forwards and
backwards independently from each other. And that introduces some
complexity and time and testing, but in the end it's what you want. You
don't introduce a requirement to have the feature, but take advantage of
it if it is ...
| Mar 18, 2:02 pm 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Our experience is the opposite, and we tried both variants and report about
our experience with both models honestly.
You only have experience about one variant - the one you advocate.
Sorry, but this is pain not true. The 2.4->2.6 kernel cycle debacle has taught
us that waiting long to 'iron out' the details has the following effects:
- developer pain
- user pain
- distro pain
- disconnect
- loss of developers, testers and users
- grave bugs discovered months (years ...) ...
| Mar 18, 2:15 pm 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
The kernel is a very complex project with many ABI issues, so all those
arguments apply to it as well. The description you gave:
| This is actually a Good Thing (tm). It means you have to get your feature
| and its interfaces well defined and able to version forwards and backwards
| independently from each other. And that introduces some complexity and
| time and testing, but in the end it's what you want. You don't introduce a
| requirement to have the feature, but take ...
| Mar 18, 3:44 pm 2010 |
| Avi Kivity | Re: [RFC] Unify KVM kernel-space and user-space code int ...
I'm sorry to say that's pretty bad. Users don't want to update their
So in addition to all the normal kernel regressions, you want to force
No, I am suggesting qemu-kvm.git is not as stable as released versions
(and won't get fixed backported). Keep in mind that unlike many
userspace applications, qemu exposes an ABI to guests which we must keep
compatible.
--
error compiling committee.c: too many arguments to function
--
| Mar 18, 7:25 am 2010 |
| Zachary Amsden | Re: [RFC] Unify KVM kernel-space and user-space code int ...
You're talking about a single project and comparing it to my argument
about multiple independent projects. In that case, I see no point in
the discussion. If you want to win the argument by strawman, you are
This could very well be true, but until someone comes forward with
compelling numbers (as in, developers committed to working on the
project, number of patches and total amount of code contribution), there
is no point in having an argument, there really isn't anything to
discuss ...
| Mar 18, 3:19 pm 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
I'd like to second that - i'm actually quite happy to update the distro
kernel. Also, i have rarely any problems even with bleeding edge kernels in
rawhide - they are working pretty smoothly.
A large xorg update showing up in yum update gives me the cringe though ;-)
Ingo
--
| Mar 18, 7:25 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
So instead you force a NxN compatibility matrix [all versions of qemu combined
with all versions of the kernel] instead of a linear N versions matrix with a
clear focus on the last version. Brilliant engineering i have to say ;-)
Also, by your argument the kernel should be split up into a micro-kernel, with
different packages for KVM, scheduler, drivers, upgradeable separately.
That would be a nightmare. (i can detail many facets of that nightmare if you
insist but i'll spare the ...
| Mar 18, 7:36 am 2010 |
| John Kacur | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Just to play devil's advocate, let's not mix up the development model with the
distribution model. There is nothing to stop packagers and distributors from
providing separate kernel "proper" packages and perf tools packages.
It might even make good sense assuming backwards compatibility for distros
that have conservative policies about new kernel versions to provide newer
perf tools packages with older kernels.
John
--
| Mar 18, 7:06 am 2010 |
| Avi Kivity | Re: [RFC] Unify KVM kernel-space and user-space code int ...
No, they don't. RHEL 5 is still on 2.6.18, for example. Users don't
like their kernels updated unless absolutely necessary, with good reason.
F12 recently updated to 2.6.32. This is probably due to 2.6.31.stable
dropping away, and no capacity at Fedora to maintain it on their own.
So they are caught in a bind - stay on 2.6.31 and expose users to
security vulnerabilities or move to 2.6.32 and cause regressions. Not a
I'm sure if we ask the Fedora qemu maintainer to package ...
| Mar 18, 6:46 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
Of course. Some distros are also very conservative about updating the kernel
at all.
I'm mostly talking about the distros that are at the frontier of kernel
development: those with fresh packages, those which provide eager
bleeding-edge testers and developers.
Ingo
--
| Mar 18, 7:11 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
You are quite wrong, despite the sarcastic tone you are attempting to use, and
this is distro kernel policy 101.
For distros such as Fedora it's simpler to support the same kernel version
across many older versions of the distro than having to support different
kernel versions.
Check Fedora 12 for example. Four months ago it was released with kernel
v2.6.31:
...
| Mar 18, 6:48 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
That's true to a certain degree, but combined with the perf experience it's
all rather clear.
Similar arguments were made against the x86 unification and against perf.
Similar arguments were made against KVM and in favor of Xen years ago - back
when few of you knew about it ;-)
These are all repeating patterns in my experience.
You could fairly contrast that with a _failed_ unification perhaps - but i'm
not aware of any such failed unification. (please educate me if you are)
The ...
| Mar 18, 7:22 am 2010 |
| Ingo Molnar | Re: [RFC] Unify KVM kernel-space and user-space code int ...
That is exactly what i said: Qemu and most user-space packages are on a
'slower' update track than the kernel: generally updated for minor releases.
My further point was that the kernel on the other hand gets updated more
frequently and as such, any user-space tool bits hosted in the kernel repo get
updated more frequently as well.
Thanks,
Ingo
--
| Mar 18, 6:59 am 2010 |
| Daniel P. Berrange | Re: [RFC] Unify KVM kernel-space and user-space code int ...
This has nothing todo with them being in separate source repos. We could
update QEMU to new major feature releaes with the same frequency in a Fedora
release, but we delibrately choose not to rebase the QEMU userspace because
experiance has shown the downside from new bugs / regressions outweighs the
benefit of any new features.
The QEMU updates in stable Fedora trees, now just follow the minor bugfix
release stream provided by QEMU & those arrive in Fedora with little
noticable ...
| Mar 18, 6:44 am 2010 |
| Shaohua Li | Re: [RFC]cfq-iosched: fix a kbuild regression
Our test doesn't find any issue with the seek threshold so far, so it proberly
That makes sense. Updated patch.
Alex Shi reported a kbuild regression which is about 10% performance lost.
He bisected to this commit: 3dde36ddea3e07dd025c4c1ba47edec91606fec0.
The reason is cfqq_close() can't find close cooperator. Restoring
cfq_rq_close()'s threshold to original value makes the regression go away.
Since for_preempt parameter isn't used anymore, this patch deletes it.
Reported-by: Alex Shi ...
| Mar 17, 6:05 pm 2010 |
| Corrado Zoccolo | Mar 18, 9:55 am 2010 | |
| Colin Ian King | Re: [PATCH] softlockup: stop spurious softlockup message ...
Using time_after/before:
diff --git a/kernel/softlockup.c b/kernel/softlockup.c
index 0d4c789..4b493f6 100644
--- a/kernel/softlockup.c
+++ b/kernel/softlockup.c
@@ -155,11 +155,11 @@ void softlockup_tick(void)
* Wake up the high-prio watchdog task twice per
* threshold timespan.
*/
- if (now > touch_ts + softlockup_thresh/2)
+ if (time_after(now - softlockup_thresh/2, touch_ts))
wake_up_process(per_cpu(softlockup_watchdog, ...
| Mar 18, 6:22 am 2010 |
| Ingo Molnar | Re: [PATCH] softlockup: stop spurious softlockup message ...
Ok, that looks like the most readable variant, agreed?
Ingo
--
| Mar 18, 8:25 am 2010 |
| Eric Dumazet | Re: [PATCH] softlockup: stop spurious softlockup message ...
Sure ! Colin please submit formally your patch :)
Thanks
--
| Mar 18, 1:45 pm 2010 |
| michael-dev | Re: [BUG] SLOB breaks Crypto
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
no, these options have not been / are not enabled.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkuimhkACgkQ+6sI4XSM4u1jtACfS9YfQfKZ/Pu/n62lT50xSise
RdAAmgMfVmKXPFRT2hz7bSWAMIor9zTo
=gMEL
-----END PGP SIGNATURE-----
--
| Mar 18, 2:24 pm 2010 |
| Pekka Enberg | Re: [BUG] SLOB breaks Crypto
Even with CONFIG_DEBUG_SLAB enabled or with CONFIG_SLUB and
CONFIG_SLUB_DEBUG_ON?
--
| Mar 18, 9:30 am 2010 |
| Steven Munroe | Re: 64-syscall args on 32-bit vs syscall()
Do what declare __sysno as long long? The current prototype is in
unistd.h:
#ifdef __USE_MISC
/* Invoke `system call' number SYSNO, passing it the remaining
arguments.
This is completely system-dependent, and not often useful.
In Unix, `syscall' sets `errno' for all errors and most calls return
-1
for errors; in many systems you cannot pass arguments or get return
values for all system calls (`pipe', `fork', and `getppid' typically
among them).
In Mach, all system ...
| Mar 18, 9:08 am 2010 |
| Steven Munroe | Re: 64-syscall args on 32-bit vs syscall()
Sorry in and long are compatible in 32-bit but not long long.
int and long are not compatible in 64-bit
It is hard the keep all the nodes and arguments straight.
But the concern about changing the prototype and are people actually
--
| Mar 18, 10:03 am 2010 |
| Andreas Schwab | Re: 64-syscall args on 32-bit vs syscall()
int is incompatible with long, so you already get undefined behaviour
anyway.
Andreas.
--
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E
"And now for something completely different."
--
| Mar 18, 9:21 am 2010 |
| Benjamin Herrenschmidt | Re: 64-syscall args on 32-bit vs syscall()
Well, using the macro trick instead would fix that problem, code
wouldn't build if it doesn't include unistd.h :-)
Cheers,
Ben.
--
| Mar 18, 2:18 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH -mmotm 1/5] memcg: disable irq at page cgroup lock
On Thu, 18 Mar 2010 08:54:11 +0900
BTW, I should explain how acculate this accounting is in this patch itself.
Now, lock_page_cgroup/unlock_page_cgroup happens when
- charge/uncharge/migrate/move accounting
Then, the lock contention (trylock failure) seems to occur in conflict
with
- charge, uncharge, migarate. move accounting
About dirty accounting, charge/uncharge/migarate are operation in synchronous
manner with radix-tree (holding treelock etc). Then no account leak.
move ...
| Mar 17, 5:45 pm 2010 |
| Daisuke Nishimura | Re: [PATCH -mmotm 1/5] memcg: disable irq at page cgroup lock
FILE_MAPPED is updated under pte lock. OTOH, move account is also done under
pte lock. page cgroup lock is held under pte lock in both cases, so move account
is not so problem as for FILE_MAPPED.
Thanks,
--
| Mar 17, 7:16 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH -mmotm 1/5] memcg: disable irq at page cgroup lock
On Thu, 18 Mar 2010 11:16:53 +0900
HmmHmm, thank you. then, only racy cases are truncate and force_empty.
Thanks,
-Kame
--
| Mar 17, 7:58 pm 2010 |
| Balbir Singh | Re: [PATCH -mmotm 1/5] memcg: disable irq at page cgroup lock
That doesn't matter, if you need it, I think the larger user base
matters. Unmapped and mapped page cache is critical and I use it
I will, but please don't break it silently
--
Three Cheers,
Balbir
--
| Mar 17, 9:19 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH -mmotm 1/5] memcg: disable irq at page cgroup lock
On Thu, 18 Mar 2010 09:49:44 +0530
I never do silently. All e-mails are open.
Thanks,
-Kame
--
| Mar 17, 9:21 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH -mmotm 1/5] memcg: disable irq at page cgroup lock
On Thu, 18 Mar 2010 09:49:44 +0530
Andrea, could you go in following way ?
- don't touch FILE_MAPPED stuff.
- add new functions for other dirty accounting stuff as in this series.
(using trylock is ok.)
Then, no probelm. It's ok to add mem_cgroup_udpate_stat() indpendent from
mem_cgroup_update_file_mapped(). The look may be messy but it's not your
fault. But please write "why add new function" to patch description.
I'm sorry for wasting your time.
Thanks,
-Kame
--
| Mar 17, 9:35 pm 2010 |
| Balbir Singh | Re: [PATCH -mmotm 1/5] memcg: disable irq at page cgroup lock
Agreed, we need to find a simpler way of doing this without affecting
the accuracy of accounting - may be two accounting routines for two
code paths. I have not thought through this yet.
--
Three Cheers,
Balbir
--
| Mar 17, 10:12 pm 2010 |
| Balbir Singh | Re: [PATCH -mmotm 1/5] memcg: disable irq at page cgroup lock
No, I meant it from the Documentation update perspective. The end user
will be confused when looking at stats without proper documentation.
--
Three Cheers,
Balbir
--
| Mar 17, 11:25 pm 2010 |
| Greg Thelen | Re: [PATCH -mmotm 4/5] memcg: dirty pages accounting and ...
I have a proposed change to "[PATCH -mmotm 4/5] memcg: dirty pages accounting
and limiting infrastructure" v6. The change is small and I am presenting it
as a git patch (below) to be applied after 4/5 v6 has been applied.
The change is fairly simple. An alternative would be to reject my
patch (below) and enhance get_vm_dirty_param() to loop for consistenty in all
cases.
---patch snip here, rest of email is git patch of 4/5 v6 ---
Removed unneeded looping from get_vm_dirty_param(). The only ...
| Mar 17, 11:48 pm 2010 |
| Balbir Singh | Re: [PATCH -mmotm 1/5] memcg: disable irq at page cgroup lock
Do we need to go down this route? We could check the stat and do the
correct thing. In case of FILE_MAPPED, always grab page_cgroup_lock
and for others potentially look at trylock. It is OK for different
stats to be protected via different locks.
/me takes a look at the code again.
--
Three Cheers,
Balbir
--
| Mar 18, 9:28 am 2010 |
| Hitoshi Mitake | Re: [PATCH RFC 00/11] lock monitor: Separate features re ...
On 03/18/10 00:39, Frederic Weisbecker wrote:
> On Wed, Mar 17, 2010 at 04:30:53PM +0900, Hitoshi Mitake wrote:
>> On 03/17/10 10:32, Frederic Weisbecker wrote:
>>> On Sun, Mar 14, 2010 at 07:13:55PM +0100, Peter Zijlstra wrote:
>>>> On Sun, 2010-03-14 at 19:38 +0900, Hitoshi Mitake wrote:
>>>>> Current lockdep is too complicated because,
>>>>> * dependency validation
>>>>> * statistics
>>>>> * event tracing
>>>>> are all implemented by it.
>>>>> This cause problem of ...
| Mar 17, 10:49 pm 2010 |
| Hitoshi Mitake | Re: [PATCH RFC 00/11] lock monitor: Separate features re ...
On 03/17/10 18:52, Ingo Molnar wrote:
>
> * Frederic Weisbecker<fweisbec@gmail.com> wrote:
>
>>> You add chained indirect calls into all lock ops, that's got to hurt.
>>
>> Well, the idea was not bad at the first glance. It was separating
lockdep
>> and lock events codes.
>>
>> But indeed, the indirect calls plus the locking are not good for
such a fast
>> path.
>
> What would be nice to have is some sort of dynamic patching approach
to enable
> _both_ lockdep, lockstat ...
| Mar 17, 10:59 pm 2010 |
| Frederic Weisbecker | Re: [PATCH RFC 00/11] lock monitor: Separate features re ...
No that's really not a problem. trylocks are pointless in latency
profiling because by definition they don't content. OTOH, they
grab the lock and other locks might wait and raise latencies. So
they are part of the profile. But we don't care about having the
usual acquire/aquired/release sequence as we have the flags that
tell us if this is a trylock.
So we just need to consider that acquire:try_lock - release is
a right lock scenario, but that acquire - release is only a ...
| Mar 18, 1:30 pm 2010 |
| Frederic Weisbecker | Re: [PATCH RFC 00/11] lock monitor: Separate features re ...
I sometimes wonder which trick between jmp optimization and hot patching
would be the best to optimize the tracepoints off-cases.
I should look more closely at the jmp optimization. I don't know if
it avoids to push the tracepoints parameters in the off case, in
which case it could be perhaps more efficient than hot patching,
although perhaps most of the time the given arguments are already in
registers because the traced function uses them for its own needs.
Also, adopting hot patching ...
| Mar 18, 2:16 pm 2010 |
| M. Vefa Bicakci | Re: [Bisected Regression in 2.6.32.8] i915 with KMS enab ...
Dear Rafael Wysocki,
I am sorry for the late reply. When you said that this problem had
been fixed in mainline, I thought that you meant the 2.6.34-rcX
series, because I had already tested 2.6.33 before sending my
original e-mail and confirmed that it had this problem as well.
So, with the hope of seeing this problem fixed, I tried git commit
a3d3203e4bb40f253b1541e310dc0f9305be7c84
(which happens to be the most recent version in the git repository
as of a few hours ago) but I am sorry ...
| Mar 17, 8:12 pm 2010 |
| John W. Linville | Re: [PATCH v2] rename new rfkill sysfs knobs
Yes, fine. Sorry, I got distracted by some other things.
Thanks!
John
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
--
| Mar 18, 6:42 am 2010 |
| Florian Mickler | Re: [PATCH v2] rename new rfkill sysfs knobs
On Sat, 13 Mar 2010 13:31:05 +0100
Is this ok?
cheers,
Flo
--
| Mar 18, 3:59 am 2010 |
| KOSAKI Motohiro | Re: [PATCH 07/11] Memory compaction core
I've looked at this code again. honestly I'm a abit confusing even though both your
suggestions seems reasonable.
now COMPACTBLOCKS is tracking #-of-called-migrate_pages. but I can't imazine
how to use it. can you please explain this ststics purpose? probably this is only useful
thanks.
--
| Mar 17, 7:35 pm 2010 |
| Mel Gorman | Re: [PATCH 04/11] Allow CONFIG_MIGRATION to be set witho ...
But if the depends line is removed, it could be set without NUMA, memory
hot-remove or compaction enabled. That wouldn't be very useful. I'm
missing something obvious.
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| Mar 18, 4:24 am 2010 |
| Mel Gorman | Re: [PATCH 07/11] Memory compaction core
It is intended to count how many steps compaction took, the fewer the
better so minimally, the lower this number is the better. Specifically, the
"goodness" is related to the number of pages that were successfully allocated
due to compaction. Assuming the only high-order allocation was huge pages,
one possible calculation for "goodness" is;
hugepage_clusters = (1 << HUGE HUGETLB_PAGE_ORDER) / COMPACT_CLUSTER_MAX
goodness = (compactclusters / hugepage_clusters) / compactsuccess
The value of ...
| Mar 18, 4:43 am 2010 |
| Mel Gorman | Re: [PATCH 07/11] Memory compaction core
Actually, you're right and I was wrong. I was double decrementing the
counts. Good spot.
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| Mar 18, 10:08 am 2010 |
| Mel Gorman | Re: [PATCH 01/11] mm,migration: Take a reference to the ...
Then even if we move to a full ref-count, it might still be a good idea
to preserve the SLAB_DESTROY_BY_RCU.
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| Mar 18, 4:12 am 2010 |
| Christoph Lameter | Mar 18, 9:31 am 2010 | |
| KAMEZAWA Hiroyuki | Re: [PATCH 02/11] mm,migration: Do not try to migrate un ...
On Wed, 17 Mar 2010 11:41:10 -0500 (CDT)
Thank you for kindly clarification. I have no more concerns.
Thanks,
-Kame
--
| Mar 17, 5:30 pm 2010 |
| KOSAKI Motohiro | Re: [PATCH 02/11] mm,migration: Do not try to migrate un ...
Thank you!
then, this logic depend on SLAB_DESTROY_BY_RCU, not refcount.
So, I think we don't need your [1/11] patch.
Am I missing something?
--
| Mar 17, 5:48 pm 2010 |
| Mel Gorman | Re: [PATCH 02/11] mm,migration: Do not try to migrate un ...
The refcount is still needed. The anon_vma might be valid, but the
refcount is what ensures that the anon_vma is not freed and reused.
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| Mar 18, 4:14 am 2010 |
| Thomas Renninger | Re: [PATCH] trace power_frequency events on the correct ...
Is it possible somehow to provide a kind of wrapper/backup function:
trace_power_frequency_cpu(POWER_PSTATE, frequency, cpu);
or another trace interface with eventually some more overhead?
Then it should be easy to support all drivers.
Otherwise you'll for example miss the pcc driver which supports
latest/upcoming Intel CPUs and which does IO based switching which needs not
to run on the cpu that gets switched.
Thomas
--
| Mar 18, 1:43 pm 2010 |
| Bjorn Helgaas | Re: 2.6.34-rc1: pci 0000:00:00.0: address space collisio ...
Hi Justin,
Did you ever make any more progress on this? I don't have any ideas;
just wondering whether you learned anything.
Bjorn
--
| Mar 18, 3:58 pm 2010 |
| Justin Piszcz | Re: 2.6.34-rc1: pci 0000:00:00.0: address space collisio ...
Hello,
I swapped the motherboard with the ASUS and all problems have disappeared.
Someone else e-mailed me with a similar issue (freeze/hang/etc) with a
similar motherboard (but UDP3 instead of 5 I believe) and they could not
find a solution either, they were trying to install Fedora.
Justin.
--
| Mar 18, 4:00 pm 2010 |
| Bjorn Helgaas | Re: 2.6.34-rc1: pci 0000:00:00.0: address space collisio ...
Huh. You started with a Gigabyte board, IIRC, and replaced it with
an ASUS, so we can't tell if you just had a defective Gigabyte board,
or if there's something we need to fix in Linux.
The other poster with a similar board and similar symptoms sounds
interesting, though. You don't have a pointer to a bugzilla or
email discussion, do you?
Bjorn
--
| Mar 18, 4:19 pm 2010 |
| Grant Likely | [git pull updated] driver bug fixes and mpc5200 defconfi ...
Hi Linus, I've updated my merge branch to add a build fix (mpc52xx)
and an OF regression (fix comparison...). Please pull.
Thanks,
g.
The following changes since commit 57d54889cd00db2752994b389ba714138652e60c:
Linus Torvalds (1):
Linux 2.6.34-rc1
are available in the git repository at:
git://git.secretlab.ca/git/linux-2.6 merge
David Miller (1):
uartlite: Fix build on sparc.
Grant Likely (3):
powerpc/52xx: update defconfigs
of: Fix comparison of ...
| Mar 18, 7:28 am 2010 |
| Andrew Morton | Re: 2.6.33-mmotm0304 - lockdep warning in ACPI code
On Tue, 09 Mar 2010 03:46:10 -0500
<looks at mainline's 8e9394ce2412254ec69fd2a4f3e44a66eade2297>
In the future, we are going to be changing the lock type for struct
device (once we get the lockdep infrastructure properly worked out)
<looks at linux-next's "drivers/base: Convert dev->sem to mutex">
Seems that the latter patch (from Greg and Thomas) went and did the
mutex conversion before "we got the lockdep infrastructure properly
worked out".
--
| Mar 18, 1:36 pm 2010 |
| Greg KH | Re: 2.6.33-mmotm0304 - lockdep warning in ACPI code
Peter and Thomas have a lockdep patch that resolves this, I thought it
was going in through one of their trees, but in talking with them
yesterday, I was wrong. I will be adding the patch to my tree, right
before the "convert to mutex" patch, so this will not show up in the
future.
thanks,
greg k-h
--
| Mar 18, 1:42 pm 2010 |
| Andrew Morton | Re: SIIG DP CyberSerial 4S PCIe Support
On Thu, 11 Mar 2010 16:45:08 +0300
I'm confused too. If someone had a patch which they think needs to be
applied, please resend it?
--
| Mar 18, 2:06 pm 2010 |
| Mel Gorman | Re: [RFC PATCH 0/3] Avoid the use of congestion_wait und ...
I looked at this a bit closer using an iozone test very similar to
Christian's. Despite buying a number of disks, I still can't reproduce his
problem but I instrumented congestion_wait counts and times similar to
what he did.
2.6.29-instrument:congestion_waittime 990
2.6.30-instrument:congestion_waittime 2823
2.6.31-instrument:congestion_waittime 193169
2.6.32-instrument:congestion_waittime 228890
2.6.33-instrument:congestion_waittime 785529
2.6.34-rc1-instrument:congestion_waittime ...
| Mar 18, 10:42 am 2010 |
| Andrew Morton | Re: [PATCH] hpet: factor timer allocate from open
On Sun, 07 Mar 2010 16:04:39 -0800 (PST)
(wonders what this patch does)
Please always retain and maintain the changelog with each version of a patch.
Please resend this patch with a complete changelog. Make sure that the
changelog addresses any questions which were raised during review.
Please ensure that all participants in that review were cc'ed.
Thanks.
--
| Mar 18, 12:11 pm 2010 |
| Andrew Morton | Re: [PATCH] dm: max_segments=1 if merge_bvec_fn is not s ...
On Mon, 8 Mar 2010 14:14:49 +0100
This all seemed to die. Does Neil's mysterypatch fix all these issues?
Neil, was that patch tagged for -stable backporting?
Thanks.
--
| Mar 18, 11:48 am 2010 |
| Neil Brown | Re: [PATCH] dm: max_segments=1 if merge_bvec_fn is not s ...
On Thu, 18 Mar 2010 11:48:58 -0700
The patch at the top of my 'for-linus' branch (which Linus doesn't seem to
have pulled yet) fixes this for md and is tagged for -stable backporting.
I just sets max_segments and seg_boundary_mask. There is no point setting
max_sectors as well. I found that setting merge_bvec_fn, while a perfectly
correct approach, was more cumbersome.
My patch doesn't fix this for dm. I assume the dm developers will do that.
NeilBrown
--
| Mar 18, 2:48 pm 2010 |
| Greg KH | Re: [stable] [PATCH 2.6.23..2.6.24] Backport r and q con ...
You do realize that the .23 and .24 kernels are no longer supported,
right?
thanks,
greg k-h
--
| Mar 18, 4:51 pm 2010 |
| Ira W. Snyder | Re: [PATCH 2/3] can: add support for Janz VMOD-ICAN3 Int ...
Sure, I'll resubmit.
The patch showed up just fine on socketcan-core for me (I'm subscribed).
It also showed up on LKML (I'm not subscribed). I'll make sure to CC
everyone with patch 0/3, as well as CC'ing netdev.
Thanks,
Ira
--
| Mar 18, 8:19 am 2010 |
| Wolfgang Grandegger | Re: [PATCH 2/3] can: add support for Janz VMOD-ICAN3 Int ...
Hi Ira,
For some strange reason this patch did not show up in my socketcan mbox,
sorry. At least I cannot find it. Oliver, or somebody else, did you
receive it? Nevertheless, for kernel inclusion the patch should go
through the netdev mailing list as described in:
http://svn.berlios.de/svnroot/repos/socketcan/trunk/README.submitting-patches
It's also confusing that one 2/3 shows up on the Socketcan-core ML. At
least 0/3 should also be presented there.
Could you please ...
| Mar 18, 1:36 am 2010 |
| Wolfgang Grandegger | Re: [PATCH 2/3] can: add support for Janz VMOD-ICAN3 Int ...
Thanks,
Wolfgang.
--
| Mar 18, 9:06 am 2010 |
| Jon Smirl | Re: [GIT PULL] Ambient Light Sensors subsystem
On Sun, Mar 7, 2010 at 4:42 PM, Dmitry Torokhov
Sorry for the late reply, but this is a recurring theme. Remote
controls (IR and radio) have the same problem and this was the core of
my objection to their drivers being merged. Input devices need to
communicate their human oriented events to user space using the input
subsystem period. If you don't do this things like the xserver/apps
have to implement custom drivers for every new user event interface
that is dreamed up and that destroys ...
| Mar 18, 7:34 am 2010 |
| David Woodhouse | Re: linux-next: build failure after merge of the final t ...
Hm, seems that didn't suffice; he still ignored the pull request which I
sent last Monday as promised.
Oh well, not the end of the world if it waits till 2.6.35.
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation
--
| Mar 18, 7:39 am 2010 |
| Frederic Weisbecker | Re: Linux wireless GSoC 2010 project ideas
Thanks for adding it!
--
| Mar 17, 8:40 pm 2010 |
| Michael Tokarev | Re: [PATCH 23/42] KVM: Activate Virtualization On Demand
Dieter, we've talked with you on IRC yesterday...
Can you take a look at what's in the startup script sequence on
your machine, and what modules are loaded which may be related?
What I'm trying to say: I don't know how virtualbox works, but it
may come with a kernel module or a bootup script that touches SVM
settings.
/mjt
--
| Mar 17, 10:41 pm 2010 |
| Dieter Ries | Re: [PATCH 23/42] KVM: Activate Virtualization On Demand
I checked it again: I don't even have the virtualbox modules installed
for this kernel, I cannot modprobe them.
lsmod is here:
before modprobe kvm_amd
Module Size Used by
snd_pcm_oss 33062 0
snd_mixer_oss 13798 1 snd_pcm_oss
snd_seq_oss 23963 0
snd_seq_midi_event 5684 1 snd_seq_oss
snd_seq 44953 4 snd_seq_oss,snd_seq_midi_event
snd_seq_device 5481 2 snd_seq_oss,snd_seq
nvidia 9613596 40 ...
| Mar 18, 12:04 am 2010 |
| Dieter Ries | Re: [PATCH 23/42] KVM: Activate Virtualization On Demand
[ 1300.393635] efer on CPU1 is d01
[ 1300.393638] efer on CPU3 is d01
[ 1300.393641] efer on CPU2 is d01
[ 1300.393643] EFER_SVME is 1000
[ 1300.393645] EFER_SVME is 1000
[ 1300.393646] EFER_SVME is 1000
[ 1300.393650] efer on CPU0 is 1d01
[ 1300.393652] EFER_SVME is 1000
You are right, it seems to be always cpu0. I'll check my BIOS and flash
cu
Dieter
--
| Mar 18, 12:11 am 2010 |
| Alexander Graf | Re: [PATCH 23/42] KVM: Activate Virtualization On Demand
Please do. If that doesn't help ping me again. I'll write up a quirk patch then.
Alex--
| Mar 18, 12:17 am 2010 |
| previous day | today | next day |
|---|---|---|
| March 17, 2010 | March 18, 2010 | March 19, 2010 |
