| From | Subject | Date |
|---|---|---|
| Carsten Emde | [PATCH 0/2] Convert message queue timeouts to hrtimer
The message queue system calls that may timeout, mq_timedsend() and
mq_timedreceive(), still use the old jiffie-based timer interface.
Convert them to hrtimer.
The first patch provides the hrtimer infrastructure, the second patch
does the actual conversion to hrtimer.
Carsten.
--
| Apr 2, 1:40 pm 2010 |
| Carsten Emde | [PATCH 1/2] provide-schedule_hrtimeout-for-wallclock.patch
The current version of schedule_hrtimeout() always uses the
monotonic clock. Some system calls such as mq_timedsend()
and mq_timedreceive(), however, require the use of the wall
clock due to the definition of the system call.
This patch provides the infrastructure to use schedule_hrtimeout()
with a wallclock timer.
CC: Andrew Morton <akpm@linux-foundation.org>
CC: Arjan van de Veen <arjan@infradead.org>
CC: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Pradyumna Sampath ...
| Apr 2, 1:40 pm 2010 |
| Carsten Emde | [PATCH 2/2] let-message-queue-timeout-use-hrtimer.patch
The message queue functions mq_timedsend() and mq_timedreceive()
have not yet been converted to use the hrtimer interface.
This patch replaces the call to schedule_timeout() by a call to
schedule_hrtimeout() and transforms the expiration time from
timespec to ktime as required.
CC: Andrew Morton <akpm@linux-foundation.org>
CC: Arjan van de Veen <arjan@infradead.org>
CC: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Pradyumna Sampath <pradysam@gmail.com>
Signed-off-by: Carsten Emde ...
| Apr 2, 1:40 pm 2010 |
| Florian Tobias Schan ... | Re: + fbdev-section-cleanup-in-vesafb.patch added to -mm tree
Hi,
I don't know VESA too well but if I understand it right its as the
header of vesafb states:
"switching to graphics mode happens at boot time (while running in real
mode, see arch/i386/boot/video.S)."
that means that most of the work is done during boot and that's why a
module based on this probably won't work. Was the Ubuntu module tested
successfully?
That's also the reason for vesafb not supporting mode switching as it
can only select the mode during boot as long as the VESA BIOS ...
| Apr 2, 6:03 am 2010 |
| Holger Kiehl | kernel BUG at kernel/workqueue.c:399!
Hello,
received the following BUG with 2.6.33.1:
Apr 2 01:05:01 hermes kernel: ------------[ cut here ]------------
Apr 2 01:05:01 hermes kernel: kernel BUG at kernel/workqueue.c:399!
Apr 2 01:05:01 hermes kernel: invalid opcode: 0000 [#1] SMP
Apr 2 01:05:01 hermes kernel: last sysfs file: /sys/devices/pci0000:00/0000:00:1f.2/host3/scsi_host/host3/proc_name
Apr 2 01:05:01 hermes kernel: CPU 1
Apr 2 01:05:01 hermes kernel: Pid: 28, comm: events/1 Not tainted ...
| Apr 2, 2:30 am 2010 |
| Lee Schermerhorn | Re: [Bugme-new] [Bug 15618] New: 2.6.18->2.6.32->2.6.33 ...
<snip>
I had an "opportunity" to investigate page fault behavior on 2.6.18+
[RHEL5.4] on an 8-socket Istanbul system earlier this year. When I saw
this mail, I collected up the data I had from that adventure and ran
additional tests on 2.6.33 and 2.6.34-rc1. I have attached plots for
what "per node" and "system wide" page fault scalability.
The per node plot [#1] shows the page fault rate of 1 to 6
[nr_cores_per_socket] tasks [processes] and threads faulting in a fixed
GB/task at the same ...
| Apr 2, 11:57 am 2010 |
| Peter Zijlstra | [PATCH 5/7] mutex: Provide mutex_is_contended
Usable for lock-breaks and such.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
---
include/linux/mutex.h | 5 +++++
1 file changed, 5 insertions(+)
Index: linux-2.6/include/linux/mutex.h
===================================================================
--- linux-2.6.orig/include/linux/mutex.h
+++ linux-2.6/include/linux/mutex.h
@@ -118,6 +118,11 @@ static inline int mutex_is_locked(struct
return atomic_read(&lock->count) != 1;
}
+static inline int ...
| Apr 2, 7:16 am 2010 |
| Peter Zijlstra | [PATCH 7/7] mm: Optimize page_lock_anon_vma
Optimize page_lock_anon_vma() by removing the atomic ref count
ops from the fast path.
Rather complicates the code a lot, but might be worth it.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
---
mm/rmap.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 61 insertions(+), 5 deletions(-)
Index: linux-2.6/mm/rmap.c
===================================================================
--- linux-2.6.orig/mm/rmap.c
+++ linux-2.6/mm/rmap.c
@@ -78,6 ...
| Apr 2, 7:16 am 2010 |
| Peter Zijlstra | [PATCH 2/7] mm: Make use of the anon_vma ref count
This patch changes the anon_vma refcount to be 0 when the object is
free. It does this by adding 1 ref to being in use in the anon_vma
structure (iow. the anon_vma->head list is not empty).
This allows a simpler release scheme without having to check both the
refcount and the list as well as avoids taking a ref for each entry
on the list.
We then use this new refcount in the migration code to avoid a long
RCU read side section and convert page_lock_anon_vma() over to use
refcounts.
This ...
| Apr 2, 7:16 am 2010 |
| Peter Zijlstra | [PATCH 3/7] mm: Preemptible mmu_gather
Make mmu_gather preemptible by using a small on stack list and use
an option allocation to speed things up.
This breaks at least PPC for which there is a patch in -rt which
still needs porting.
Preemptible mmu_gather is desired in general and usable once
i_mmap_lock becomes a mutex. Doing it before the mutex conversion
saves us from having to rework the code by moving the mmu_gather
bits inside the i_mmap_lock.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
---
fs/exec.c ...
| Apr 2, 7:16 am 2010 |
| Peter Zijlstra | [PATCH 1/7] mm: Move anon_vma ref out from under CONFIG_KSM
We need an anon_vma refcount for preemptible anon_vma->lock as well
as memory compaction, so move it out into generic code.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
---
Index: linux-2.6/include/linux/rmap.h
===================================================================
--- linux-2.6.orig/include/linux/rmap.h
+++ linux-2.6/include/linux/rmap.h
@@ -26,9 +26,7 @@
*/
struct anon_vma {
spinlock_t lock; /* Serialize access to vma list */
-#ifdef CONFIG_KSM
- atomic_t ...
| Apr 2, 7:16 am 2010 |
| Peter Zijlstra | [PATCH 4/7] lockdep, mutex: Provide mutex_lock_nest_lock
Provide the mutex_lock_nest_lock() annotation.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
---
include/linux/lockdep.h | 3 +++
include/linux/mutex.h | 9 +++++++++
kernel/mutex.c | 25 +++++++++++++++++--------
3 files changed, 29 insertions(+), 8 deletions(-)
Index: linux-2.6/include/linux/lockdep.h
===================================================================
--- linux-2.6.orig/include/linux/lockdep.h
+++ linux-2.6/include/linux/lockdep.h
@@ -484,12 ...
| Apr 2, 7:16 am 2010 |
| Peter Zijlstra | [PATCH 0/7] mm: preemptibility
Hi,
This (incomplete) patch-set makes part of the mm a lot more preemptible.
It converts i_mmap_lock and anon_vma->lock to mutexes.
On the way there it also makes mmu_gather preemptible.
The main motivation was making mm_take_all_locks() preemptible, since
it appears people are nesting hundreds of spinlocks there.
The side-effects are that we can finally make mmu_gather preemptible,
something which lots of people have wanted to do for a long time.
It also gets us anon_vma refcounting ...
| Apr 2, 7:16 am 2010 |
| Peter Zijlstra | [PATCH 6/7] mm: Convert i_mmap_lock and anon_vma->lock t ...
Straight fwd conversion of i_mmap_lock and anon_vma->lock to mutexes.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
---
arch/x86/mm/hugetlbpage.c | 4 ++--
fs/hugetlbfs/inode.c | 4 ++--
fs/inode.c | 2 +-
include/linux/fs.h | 2 +-
include/linux/mm.h | 2 +-
include/linux/rmap.h | 10 +++++-----
kernel/fork.c | 4 ++--
mm/filemap_xip.c | 4 ++--
mm/fremap.c | 4 ++--
mm/hugetlb.c ...
| Apr 2, 7:16 am 2010 |
| tip-bot for Peter Zi ... | [tip:perf/core] x86: Move notify_cpu_starting() callback ...
Commit-ID: 85257024096a96fc5c00ce59d685f62bbed3ad95
Gitweb: http://git.kernel.org/tip/85257024096a96fc5c00ce59d685f62bbed3ad95
Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
AuthorDate: Tue, 23 Mar 2010 19:30:52 +0100
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 19:30:01 +0200
x86: Move notify_cpu_starting() callback to a later stage
Because we need to have cpu identification things done by the time we run
CPU_STARTING notifiers.
( This init ordering will ...
| Apr 2, 12:06 pm 2010 |
| tip-bot for Peter Zi ... | [tip:perf/core] perf, x86: Fix AMD hotplug & constraint ...
Commit-ID: b38b24ead33417146e051453d04bf60b8d2d7e25
Gitweb: http://git.kernel.org/tip/b38b24ead33417146e051453d04bf60b8d2d7e25
Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
AuthorDate: Tue, 23 Mar 2010 19:31:15 +0100
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 19:30:02 +0200
perf, x86: Fix AMD hotplug & constraint initialization
Commit 3f6da39 ("perf: Rework and fix the arch CPU-hotplug hooks") moved
the amd northbridge allocation from CPUS_ONLINE to ...
| Apr 2, 12:07 pm 2010 |
| tip-bot for Peter Zi ... | [tip:perf/core] perf, x86: Fix up the ANY flag stuff
Commit-ID: b4cdc5c264b35c67007800dec3928e9547a9d70b
Gitweb: http://git.kernel.org/tip/b4cdc5c264b35c67007800dec3928e9547a9d70b
Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
AuthorDate: Tue, 30 Mar 2010 17:00:06 +0200
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 19:52:04 +0200
perf, x86: Fix up the ANY flag stuff
Stephane noticed that the ANY flag was in generic arch code, and Cyrill
reported that it broke the P4 code.
Solve this by merging ...
| Apr 2, 12:09 pm 2010 |
| tip-bot for Peter Zi ... | [tip:perf/core] perf, x86: Fix __initconst vs const
Commit-ID: caaa8be3b6707cb9664e573a28b00f845ce9f32e
Gitweb: http://git.kernel.org/tip/caaa8be3b6707cb9664e573a28b00f845ce9f32e
Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
AuthorDate: Mon, 29 Mar 2010 13:09:53 +0200
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 19:52:05 +0200
perf, x86: Fix __initconst vs const
All variables that have __initconst should also be const.
Suggested-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Peter Zijlstra ...
| Apr 2, 12:10 pm 2010 |
| tip-bot for Peter Zi ... | [tip:perf/core] perf, x86: Add Nehalem programming quirk ...
Commit-ID: 40b91cd10f000b4c4934e48e2e5c0bec66def144
Gitweb: http://git.kernel.org/tip/40b91cd10f000b4c4934e48e2e5c0bec66def144
Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
AuthorDate: Mon, 29 Mar 2010 16:37:17 +0200
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 19:52:06 +0200
perf, x86: Add Nehalem programming quirk to Westmere
According to the Xeon-5600 errata the Westmere suffers the same PMU
programming bug as the original Nehalem did.
Signed-off-by: ...
| Apr 2, 12:10 pm 2010 |
| tip-bot for Peter Zi ... | [tip:sched/core] sched: Fix TASK_WAKING vs fork deadlock
Commit-ID: 0017d735092844118bef006696a750a0e4ef6ebd
Gitweb: http://git.kernel.org/tip/0017d735092844118bef006696a750a0e4ef6ebd
Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
AuthorDate: Wed, 24 Mar 2010 18:34:10 +0100
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 20:12:03 +0200
sched: Fix TASK_WAKING vs fork deadlock
Oleg noticed a few races with the TASK_WAKING usage on fork.
- since TASK_WAKING is basically a spinlock, it should be IRQ safe
- since we ...
| Apr 2, 12:13 pm 2010 |
| tip-bot for Peter Zi ... | [tip:sched/core] sched: Optimize task_rq_lock()
Commit-ID: 65cc8e4859ff29a9ddc989c88557d6059834c2a2
Gitweb: http://git.kernel.org/tip/65cc8e4859ff29a9ddc989c88557d6059834c2a2
Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
AuthorDate: Thu, 25 Mar 2010 21:05:16 +0100
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 20:12:04 +0200
sched: Optimize task_rq_lock()
Now that we hold the rq->lock over set_task_cpu() again, we can do
away with most of the TASK_WAKING checks and reduce them again ...
| Apr 2, 12:13 pm 2010 |
| tip-bot for Peter Zi ... | [tip:sched/core] sched: Fix nr_uninterruptible count
Commit-ID: cc87f76a601d2d256118f7bab15e35254356ae21
Gitweb: http://git.kernel.org/tip/cc87f76a601d2d256118f7bab15e35254356ae21
Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
AuthorDate: Fri, 26 Mar 2010 12:22:14 +0100
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 20:12:04 +0200
sched: Fix nr_uninterruptible count
The cpuload calculation in calc_load_account_active() assumes
rq->nr_uninterruptible will not change on an offline cpu ...
| Apr 2, 12:13 pm 2010 |
| tip-bot for Peter Zi ... | [tip:sched/core] sched: Add enqueue/dequeue flags
Commit-ID: 371fd7e7a56a5c136d31aa980011bd2f131c3ef5
Gitweb: http://git.kernel.org/tip/371fd7e7a56a5c136d31aa980011bd2f131c3ef5
Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
AuthorDate: Wed, 24 Mar 2010 16:38:48 +0100
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 20:12:05 +0200
sched: Add enqueue/dequeue flags
In order to reduce the dependency on TASK_WAKING rework the enqueue
interface to support a proper flags field.
Replace the int wakeup, bool head ...
| Apr 2, 12:14 pm 2010 |
| ShiYong LI | [PATCH] Fix missing of last user while dumping slab corr ...
Hi,
Even with SLAB_RED_ZONE and SLAB_STORE_USER enabled, kernel would NOT
store redzone and last user data around allocated memory space if arch
cache line > sizeof(unsigned long long). As a result, last user information
is unexpectedly MISSED while dumping slab corruption log.
This patch makes sure that redzone and last user tags get stored whatever
arch cache line.
Compared to original codes, the change surely affects head redzone (redzone1).
Actually, with SLAB_RED_ZONE and ...
| Apr 2, 12:21 am 2010 |
| Andrea Arcangeli | Re: [PATCH 0/7] mm: preemptibility
This is also the needed bit to allow to schedule in the mmu notifier
methods by switching from rcu to srcu there. That will make XPMEM
happy by allowing all mmu notifier methods to schedule. Considering
this may not slowdown the more important fast paths, it seems overall
beneficial effort to me.
Thanks,
Andrea
--
| Apr 2, 8:14 am 2010 |
| Alexey Dobriyan | Apr 1, 11:28 pm 2010 | |
| =?UTF-8?B?IkwuIEFsYm ... | Re: [PATCHv3] drivers/net/usb: Add new driver ipheth
Hi Ben,
Upstream has fixed several errors pointed out by you and Oliver (thanks
for that), but some of them are still pending.
I will send patches on top of my last driver submission (if the proper
way would be resubmit the whole code, please tell me. Anyway I need to
What is not longer needed? The assignment, the whole "else" branch? If
Ok, I will just remove both #ifdefs, but why is that? Maybe in previous
versions of the kernel the net_device_ops struct was introduced and now
I ...
| Apr 2, 10:15 am 2010 |
| =?UTF-8?B?IkwuIEFsYm ... | Re: [PATCHv3] drivers/net/usb: Add new driver ipheth
Hi,
I've been looking into this and it seems that the net_device.trans_start
field is now deprecated in favor of net_device.rx_queue.trans_start
-rx_queue is a struct netdev_queue- (file include/linux/netdevice.h), as
states the comment:
512 /*
513 * please use this field instead of dev->trans_start
514 */
515 unsigned long trans_start;
Reading LDD3 book, it says that the driver is reponsible for updating
trans_start (as well as trans_rx, but ...
| Apr 2, 10:53 am 2010 |
| =?UTF-8?B?IkwuIEFsYm ... | Re: [PATCHv3] drivers/net/usb: Add new driver ipheth
Hi Oliver,
Just like with Ben's comments I still have a couple of doubts about your
I understand that usb_clear_halt is only needed when the device has
transmitted data, and as it is "open" time, we can assume that no
transmissions ere made, so we don't need to clear anything (aka: remove
Well, I have no clue about this one. I think that upstream developers
should take a look into this (Dario, Daniel, could you?) since I don't
have the knowledge to decide what to do about it.
But I ...
| Apr 2, 11:23 am 2010 |
| Andrew Morton | Re: [PATCH] initramfs: prevent buffer overflow when unpa ...
On Thu, 1 Apr 2010 12:45:46 +0300
OK, so if I'm understanding this right, the call to
decompress(buf, len, NULL, flush_buffer, NULL, &my_inptr, error);
has gone and generated more output data than it was asked to generate?
If so, isn't that a bug in the decompressor? Which one is your system using?
[ wonders why my_inptr is static, and why the sixth arg to decompress_fn
takes an int* while callers are passing in an unsigned* ]
--
| Apr 2, 2:57 pm 2010 |
| Andrew Morton | Apr 2, 8:24 am 2010 | |
| Alan Cox | Re: [PATCH 1/1] tty: release_one_tty() forgets to put pids
> So I'll ACK it. But maybe Alan sees some problem/issue I didn't see.
I have no idea. Someone with the time (not me right now) will have to
trace the error paths or perhaps play safe and NULL any pointers so that
they can free it in the destructor only if one was set ?
--
| Apr 2, 1:09 pm 2010 |
| Cong Wang | Re: [Patch] workqueue: move lockdep annotations up to de ...
Yes, this is what makes me confused. ;)
Thanks!
--
| Apr 1, 10:00 pm 2010 |
| Anton Blanchard | [PATCH] devmem: Handle class_create() failure
I hit this when we had a bug in IDR for a few days. Basically sysfs would
fail to create new inodes since it uses an IDR and therefore class_create would
fail.
While we are unlikely to see this fail we may as well handle it instead of
oopsing.
Signed-off-by: Anton Blanchard <anton@samba.org>
---
Index: linux-2.6/drivers/char/mem.c
===================================================================
--- linux-2.6.orig/drivers/char/mem.c 2010-02-02 22:18:02.000000000 -0600
+++ ...
| Apr 2, 12:29 am 2010 |
| Anton Blanchard | [PATCH] backing-dev: Handle class_create() failure
I hit this when we had a bug in IDR for a few days. Basically sysfs would
fail to create new inodes since it uses an IDR and therefore class_create would
fail.
While we are unlikely to see this fail we may as well handle it instead of
oopsing.
Signed-off-by: Anton Blanchard <anton@samba.org>
---
diff --git a/mm/backing-dev.c b/mm/backing-dev.c
index 0e8ca03..f13e067 100644
--- a/mm/backing-dev.c
+++ b/mm/backing-dev.c
@@ -227,6 +227,9 @@ static struct device_attribute bdi_dev_attrs[] ...
| Apr 2, 12:27 am 2010 |
| Avi Kivity | Re: [PATCH 0/1] uio_pci_generic: extensions to allow acc ...
Doesn't it suck for non-kvm in the same way? Multiple vectors are there
for a reason. For example, if you have a multiqueue NIC, you'd have to
Currently kvm does device assignment with its own code, I'd like to
unify it with uio, not split it off.
Separate notifications for msi-x interrupts are just as useful for uio
as they are for kvm.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
--
| Apr 1, 11:43 pm 2010 |
| Avi Kivity | Re: [PATCH 0/1] uio_pci_generic: extensions to allow acc ...
They are indeed. Thanks.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
--
| Apr 1, 11:44 pm 2010 |
| Ben Hutchings | Re: [PATCHv3] drivers/net/usb: Add new driver ipheth
Since David Miller has not merged your original patch, you should send a
[...]
Correct, it is now mandatory.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
| Apr 2, 10:21 am 2010 |
| Borislav Petkov | Ugly rmap NULL ptr deref oopsie on hibernate (was Linux ...
Hi,
I've got the following oopsie two times now when hibernating - this
means, I don't get it everytime I hibernate but only sometimes, say once
in a blue moon.
And yeah, I couldn't catch it over serial console so I had to make ugly
pictures. By the way, the numbers in the filenames increment as I scroll
down the whole oops (yep, it hadn't completely frozen and I still could
do Shift->PgUp or Shift->PgDn on the console):
http://www.kernel.org/pub/linux/kernel/people/bp/
So, here's what ...
| Apr 2, 10:59 am 2010 |
| Mark Brown | Re: [PATCH] mfd: Add WM8994 interrupt controller support
Did you see the question in the original posting about where this should
be merged? The bulk of the code using these interrupts will be the
CODEC driver for the device, but the CODEC driver needs to be able to
check if interrupts are set up at all (since commonly CODECs don't have
an IRQ line wired up) so it'd be nice if it were possible to merge via
ASoC.
--
| Apr 2, 3:24 am 2010 |
| Mark Brown | Re: regulator: regulator_get behaviour without CONFIG_RE ...
On Fri, Apr 02, 2010 at 11:47:50AM -0400, Jerome Oufella wrote:
Please fix your mail client to word wrap paragraphs, I've manually fixed
You're asking the wrong question here. The problem here is not that the
regulator got stubbed out, the problem is that the sht15 driver is not
checking the return value of regulator_get_voltage() and so is trying to
use the error code that was returned as a voltage, with predictably poor
results. It is this function that the driver needs to check, ...
| Apr 2, 9:00 am 2010 |
| Mark Brown | Re: [PATCH 12/17] mfd: update gfp/slab.h includes
Unfortunately drivers/gpio/rdc321x-gpio.c isn't in mainline yet so the
patch doesn't apply cleanly to ASoC either. I've applied the DaVinci
hunk, the other will need to go via your tree.
--
| Apr 2, 9:08 am 2010 |
| Mark Brown | Re: [PATCH] mfd: Add WM8994 interrupt controller support
Thanks. I'd expect that if things are fine in -next you can probably
not worry about this either way, but given that Takashi normally sends
his pull request very early it probably won't make any difference
--
| Apr 2, 4:44 am 2010 |
| Mark Brown | [PATCH 2.6.34] mfd: Clean up after WM83xx AUXADC interru ...
In certain circumstances, especially under heavy load, the AUXADC
completion interrupt may be detected after we've timed out waiting for
it. That conversion would still succeed but the next conversion will
see the completion that was signalled by the interrupt for the previous
conversion and therefore not wait for the AUXADC conversion to run,
causing it to report failure.
Provide a simple, non-invasive cleanup by using try_wait_for_completion()
to ensure that the completion is not signalled ...
| Apr 2, 5:08 am 2010 |
| Mark Brown | [PATCH] mfd: Improve WM831x AUXADC completion handling
Currently completion of WM831x AUXADC conversions is monitored by
checking for convertor enable. Due to the mechanism used to ensure
data corruption is avoided when reading AUXADC data there may under
heavy I/O be a window where this bit has cleared but the conversion
results have not been updated. Data availability is only guaranteed
after the AUXADC data interrupt has been asserted.
Avoid this by always using the interrupt to detect completion. If the
chip IRQ is not set up then we poll the ...
| Apr 2, 8:31 am 2010 |
| Mark Brown | Re: [lm-sensors] regulator: regulator_get behaviour with ...
If this changes we can always provide a more complex stub; for now we're
All we're doing is stubbing out the API so that common case clients
(which just want to switch on and off their supplies) don't need to
either depend on it or include lots of conditional code which could
easily end up masking error conditions. The stub behaves as always
on fixed voltage regulators which matches what most systems that do
It's zero volts which is a reasonable out of range value for a
regulator. We ...
| Apr 2, 11:51 am 2010 |
| Mark Brown | Re: [lm-sensors] regulator: regulator_get behaviour with ...
Yes, you could pass a pointer to the value or similar. OTOH that'd mean
I'm not sure there's actually much win from this information since we do
have cases with things like functionally limited regulators and error
conditions which mean that drivers end up having to cope with pretty
much all this stuff anyway. But yes, NULL should be just as good as a
In this case you don't need the if (voltage) check - the code that uses
supply_uV is going to have to cope with it being set to 0 if the ...
| Apr 2, 1:45 pm 2010 |
| Carl-Daniel Hailfinger | Re: BUG: physmap modprobe & rmmod
Forgive me if this sounds weird, but I was under the impression that
most people who want to reflash their BIOS on x86 (most prominent
physmap usecase on x86) are using a pure userspace solution with
flashrom <http://www.flashrom.org/> nowadays.
flashrom has the advantage of not needing a kernel recompile if you want
support for new chips/chipsets. flashrom doesn't use MTD and accesses
/dev/mem instead. AFAIK flashrom supports BIOS/EFI/... flashing on all
x86 chipsets which are supported by ...
| Apr 2, 3:09 pm 2010 |
| Chris Wright | Re: [PATCH] amd iommu: force flush of iommu prior during ...
The problem we had before was a combo of not clearing PDE and not having
the command buffer set up properly. Now we have basically the same
problem. The attach is running too early, so the invalidate commands
are falling on deaf ears.
thanks,
-chris
--
| Apr 1, 5:30 pm 2010 |
| Chris Wright | [PATCH 1/2] x86/amd-iommu: enable iommu before attaching ...
Hit another kdump problem as reported by Neil Horman. When initializaing
the IOMMU, we attach devices to their domains before the IOMMU is
fully (re)initialized. Attaching a device will issue some important
invalidations. In the context of the newly kexec'd kdump kernel, the
IOMMU may have stale cached data from the original kernel. Because we
do the attach too early, the invalidation commands are placed in the new
command buffer before the IOMMU is updated w/ that buffer. This leaves
the ...
| Apr 1, 6:23 pm 2010 |
| Chris Wright | [PATCH 2/2] x86/amd-iommu: warn when issuing command to ...
To catch future potential issues we can add a warning whenever we issue
a command before the command buffer is fully initialized.
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
---
Or not...this is just if you think it's useful ;-)
arch/x86/include/asm/amd_iommu_types.h | 1 +
arch/x86/kernel/amd_iommu.c | 1 +
arch/x86/kernel/amd_iommu_init.c | 5 +++--
3 files changed, 5 insertions(+), 2 deletions(-)
--- a/arch/x86/include/asm/amd_iommu_types.h
+++ ...
| Apr 1, 6:31 pm 2010 |
| Chris Wright | Re: [PATCH 1/2] x86/amd-iommu: enable iommu before attac ...
Great, thanks! I tested w/ both default and iommu=pt. Both worked,
didn't spot any regressions. But additional testing is very welcome.
thanks,
-chris
--
| Apr 1, 6:38 pm 2010 |
| Chris Wright | Re: [PATCH 1/2] x86/amd-iommu: enable iommu before attac ...
No, we actually disable the IOMMU
panic()
crash_exec()
machine_crash_shutdown()
native_machine_crash_shutdown()
Cached DTE only gets you domainID and pt root, so results depend upon
Yes, but this is immediately after 2b above. We can't send the invalidate
Unlikely to have full unity map, it's typically just for a range,
and this is also typically for devices that have interaction w/ BIOS
(typical examples are usb/SMM for keyboard and integrated graphics).
And the ...
| Apr 2, 3:38 pm 2010 |
| Chris Wright | Re: [PATCH 1/2] x86/amd-iommu: enable iommu before attac ...
It was originally added it for this very case, although I don't think it
should be there. I too am a proponent of removing it, because I think
I agree, and was trying to show that it's risky to do that while crashing.
Removing the IOMMU disable may still allow some DMA to succeed.
To actually close that off, you have to force all DMA transactions
to fail. Personally, I'm skeptical that the tradeoff is worth it.
thanks,
-chris
--
| Apr 2, 4:57 pm 2010 |
| Chris Wright | Re: [PATCH 1/2] x86/amd-iommu: enable iommu before attac ...
Sure, thanks for catching. Will resend shortly
thanks,
-chris
--
| Apr 2, 4:59 pm 2010 |
| Corrado Zoccolo | Re: Questions about RAID and I/O scheduler
Even single ncq disks have an I/O scheduler nowadays.
To clear the confusion, we should make a distinction between
work-conserving and non-work-conserving I/O schedulers.
* A work-conserving scheduler (e.g. deadline, noop) is idle only
when there is no request pending
* A non-work-conserving scheduler (e.g. CFQ, AS) may be idle at
any time, in an effort to improve request pattern locality or to
provide fairness.
A non-work-conserving scheduler in the host computer will generally
perform ...
| Apr 2, 1:02 am 2010 |
| Daniel J Blueman | Re: [2.6.34-rc2 NFS4 oops] open error path failure...
Increasing these values did help quite a bit, though I was still
seeing 5000-8000ms at nfs_wait_bit_uninterruptible() [1] and close().
Then again, I also was seeing 'Scheduler waiting for cpu' taking up to
3000ms! I suspect processor throttling, due to exceeding thermal
limits.
Thanks,
Daniel
--- ...
| Apr 2, 3:34 am 2010 |
| Daniel Mack | Re: [Question] race condition in mm/page_alloc.c regardi ...
I'm sure this is just a memory corruption which is unrelated to code in
the the memory management area. The code there just happens to trigger
it as it is called frequently and is very sensitive to bogus data
Did you see the other thread I started off yesterday?
http://lkml.indiana.edu/hypermail/linux/kernel/1004.0/00157.html
We could well see the same problem here. Not sure though as any kind of
memory corruption ends up in Ooopses like the ones you see, but it could
be a ...
| Apr 2, 12:06 am 2010 |
| David Miller | Re: [Patch V3] bonding: fix potential deadlock in bond_u ...
From: Cong Wang <amwang@redhat.com>
Applied, thanks.
--
| Apr 1, 5:26 pm 2010 |
| David Miller | Re: [PATCH] netdev/fec.c: add phylib supporting to enabl ...
From: Sascha Hauer <s.hauer@pengutronix.de>
Applied to net-next-2.6, thanks.
--
| Apr 1, 7:53 pm 2010 |
| David Miller | Re: [PATCH] printk.c: remove duplicate const
From: H Hartley Sweeten <hartleys@visionengravers.com>
Isn't it intentional? The two consts mark different aspects
of the declaration const, both the pointers as well as the
contents pointed to.
--
| Apr 1, 6:20 pm 2010 |
| David Miller | Re: unhelpful and somewhat scary r8169 boot message in 2 ...
From: Nix <nix@esperi.org.uk>
Have a look at CVE-2009-4537
It's a remotely exploitable memory corruptor and potential
root hole.
--
| Apr 2, 2:36 pm 2010 |
| David Miller | Re: [PATCH RFC] fix problems with NETIF_F_HIGHDMA in net ...
From: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This is a good start, applied to net-next-2.6, thanks!
--
| Apr 1, 7:53 pm 2010 |
| David Miller | Re: [PATCH] virtio-net: move sg off stack
From: "Michael S. Tsirkin" <mst@redhat.com>
I'll apply this once I see some ACKs on testing.
Thanks.
--
| Apr 1, 7:26 pm 2010 |
| David Miller | Re: [PATCH] printk.c: remove duplicate const
From: H Hartley Sweeten <hartleys@visionengravers.com>
Perhaps.
--
| Apr 1, 6:29 pm 2010 |
| Dave Chinner | Re: Kernel crash in xfs_iflush_cluster (was Somebody tak ...
Small hint - please put the subsytemthe bug occurred in in the
subject line. I missed this in the firehose of lkml traffic because
there wasnothing to indicate to me it was in XFS. Soemthing like:
"Kernel crash in xfs_iflush_cluster"
Won't get missed quite so easily....
This may be a fixed problem - what kernel are you running?
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
--
| Apr 2, 4:09 pm 2010 |
| Denis BUCHER | Re: kernel crashing with reare bug
Maybe I should add :
kernel: Linux version 2.6.27.25-78.2.56.fc9.i686 (mockbuild@) (gcc
version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) ) #1 SMP Thu Jun 18
12:47:50 EDT 2009
--
| Apr 2, 1:08 pm 2010 |
| Denis BUCHER | kernel crashing with reare bug
Dear all,
I am sorry to post a personal problem, but I saw it nowhere on the web,
therefore I think it's really a special problem. Our server is regularly
crashing (every 2 months), always too fast to get any log.
But today we got this :
kernel: alloc_fd: slot 0 not NULL!
I would be very interested to know what it means ?!
(Not being subscribed to the list, please answer personally...)
Have a nice day, and thanks in advance for any hint :-)
Denis
--
| Apr 2, 1:06 pm 2010 |
| David Howells | Re: start_kernel(): bug: interrupts were enabled early
That depends on the CPU. Some CPUs have quite expensive interrupt disablement
instructions. FRV does for instance; but fortunately, on the FRV, I can use
some of the excessive quantities of conditional registers to pretend that I
In some cases, it's actually the best way. On a UP machine, for instance,
where they reduce to nothing or where your only atomic instruction is an XCHG
equivalent.
David
--
| Apr 2, 7:46 am 2010 |
| Andres Salomon | Re: [PATCH] printk.c: remove duplicate const
On Thu, 01 Apr 2010 18:20:04 -0700 (PDT)
I believe that'd be -
static const char *const kmsg_reasons[]
rather than what was originally in the code -
static const char const *kmsg_reasons[]
Read right-to-left, the first is a constant pointer to a char constant;
the second is a pointer to a constant character constant. I suspect
the first is what was intended.
--
| Apr 1, 7:02 pm 2010 |
| Divyesh Shah | Re: [PATCH 2/3] blkio: Add io controller stats like
This is an error.. I should be exporting this in ms. Will send out a
patchset with the change once I also address you other comments in a
--
| Apr 2, 11:54 am 2010 |
| Divyesh Shah | Re: [PATCH 2/3] blkio: Add io controller stats like
Vivek, thanks for the detailed review. Comments inline. I'll send a V2
patchset soon.
I'm not sure adding this level of complexity (2nd dimension for stats)
and the numerous if (..) statements (or switch) is warranted when they
only apply for the get_stat() and get_typed_stat() functions. This
I added a note in the Documentation file that writing an int to any of
the stats should reset all. I don't get the point of introducing
another file for this and would want stats to be cleared all ...
| Apr 2, 1:53 pm 2010 |
| Divyesh Shah | Re: [PATCH 3/3] blkio: Increment the blkio cgroup stats ...
Ok. I do understand the motivation for keeping the request related
info out of blk-cgroup. Everything except the rq->cmd_flags can be
easily done away with. Maybe I'll need to have CFQ send the sync and
direction bits as args to the functions that need it. Not ideal coz
I would want to avoid calls like these from CFQ into the blkcg code
because many CFQ events trigger update for multiple stats (you'll see
more with stats in later patchsets) and doing these calls
independently for each stat ...
| Apr 2, 4:36 pm 2010 |
| Eric W. Biederman | Re: 2.6.34-rc3: Badness at kernel/lockdep.c:2706
Could you try the fix Wolfram Sang sent to linux-kernel yesterday?
Interesting combination of debugging options there. First time I have
seen BUG: xyz not in .data with a 0x6b address...
Eric
--
| Apr 2, 7:59 am 2010 |
| Eric W. Biederman | Re: [PATCH 1/1] tty: release_one_tty() forgets to put pids
I agree. However we made it to release_one_tty with pids we need
to free them, before we free the tty structure itself.
My general paranoia would suggest setting the pids to NULL. So that
we don't have the chance of a use after free.
Eric
--
| Apr 2, 11:22 am 2010 |
| Eric W. Biederman | Re: [PATCH 1/2] x86/amd-iommu: enable iommu before attac ...
That call exists but is there any good reason for it?
Nothing should be on that can be reasonably done anywhere else.
This round of bug fixing and testing would be a good time to remove
?
If disabling the IOMMU changes the destination in RAM of in-flight DMA
Yes.
Eric
--
| Apr 2, 3:55 pm 2010 |
| Edward Shishkin | Re: [patch 3/3] reiserfs: remove privroot hiding in lookup
Jeff, this implication looks strange. IMHO Viro's patch just pins this in
the cache for mount session, while after your "cleanup" everyone can
walk here (including non-privileged users) and do what they want. Um?
--
| Apr 2, 8:22 am 2010 |
| Mike Galbraith | Re: [patch v2 1/2] sched: check for prev_cpu == this_cpu ...
Yes, if task A and task B are more or less unrelated, you'd want them to
stay in separate domains, you'd not want some random event to pull. The
other side of the coin is tasks which fork off partners that they will
talk to at high frequency. They land just as far away, and desperately
need to move into a shared cache domain. There's currently no
discriminator, so while always asking wake_affine() may reduce the risk
of moving a task with a large footprint, it also increases the risk ...
| Apr 1, 11:20 pm 2010 |
| Mike Galbraith | Re: [patch v2 1/2] sched: check for prev_cpu == this_cpu ...
We very definitely need to keep buddies cache affine. Yes, maybe some
additional logic is needed, as there is a conflict between load types.
A kbuild spreading to the four winds is fine, while netperf jabbering
Whoa. It was a simple question, no need to get defensive. You need not
provide anything. Forget I even asked, it's not my decision.
-Mike
--
| Apr 2, 12:43 pm 2010 |
| tip-bot for Mike Gal ... | [tip:perf/core] perf: Fix 'perf sched record' deadlock
Commit-ID: 8bb39f9aa068262732fe44b965d7a6eb5a5a7d67
Gitweb: http://git.kernel.org/tip/8bb39f9aa068262732fe44b965d7a6eb5a5a7d67
Author: Mike Galbraith <efault@gmx.de>
AuthorDate: Fri, 26 Mar 2010 11:11:33 +0100
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 19:30:05 +0200
perf: Fix 'perf sched record' deadlock
perf sched record can deadlock a box should the holder of
handle->data->lock take an interrupt, and then attempt to
acquire an rq lock held by a CPU ...
| Apr 2, 12:07 pm 2010 |
| Dan Carpenter | [patch] cx231xx: improve error handling
Return -EINVAL if we don't find the control id.
Signed-off-by: Dan Carpenter <error27@gmail.com>
diff --git a/drivers/media/video/cx231xx/cx231xx-video.c b/drivers/media/video/cx231xx/cx231xx-video.c
index d4f546f..5a74ef8 100644
--- a/drivers/media/video/cx231xx/cx231xx-video.c
+++ b/drivers/media/video/cx231xx/cx231xx-video.c
@@ -1901,9 +1901,12 @@ static int radio_queryctrl(struct file *file, void *priv,
if (c->id < V4L2_CID_BASE || c->id >= V4L2_CID_LASTP1)
return -EINVAL;
if ...
| Apr 2, 4:30 am 2010 |
| Dan Carpenter | [patch v3] infiniband: ulp/iser, fix error retval in ise ...
We shouldn't free things here because we free them later. The call
tree looks like this:
iser_connect() => iser_cma_handler() => iser_route_handler()
=> iser_create_ib_conn_res()
We fail here and return failures back down the tree.
iser_connect() => iser_conn_release()
Double free.
Signed-off-by: Dan Carpenter <error27@gmail.com>
---
V1 fixed ...
| Apr 2, 4:27 am 2010 |
| Dan Carpenter | [patch] cx88: improve error handling
Return -EINVAL if we don't find the right query control id.
Signed-off-by: Dan Carpenter <error27@gmail.com>
diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c
index 48c450f..b4c80cb 100644
--- a/drivers/media/video/cx88/cx88-video.c
+++ b/drivers/media/video/cx88/cx88-video.c
@@ -1537,9 +1537,12 @@ static int radio_queryctrl (struct file *file, void *priv,
c->id >= V4L2_CID_LASTP1)
return -EINVAL;
if (c->id == V4L2_CID_AUDIO_MUTE) {
- for ...
| Apr 2, 4:31 am 2010 |
| Wu Fengguang | Re: [PATCH] readahead even for FMODE_RANDOM
Yeah. 128kb random reads won't trigger readahead.
However each 129kb random read will trigger 2*128kb readahead IOs,
OK.
Thanks,
Fengguang
--
| Apr 2, 12:21 am 2010 |
| Wu Fengguang | Re: [PATCH] devmem: Handle class_create() failure
Looks good to me. Thanks!
Reviewed-by: Wu Fengguang <fengguang.wu@intel.com>
--
| Apr 2, 12:36 am 2010 |
| Wu Fengguang | Re: [PATCH] readahead even for FMODE_RANDOM
Hi Jens,
I guess the application is doing (at least partial) sequential reads,
while at the same time tell kernel with POSIX_FADV_RANDOM that it's
doing random reads.
If so, it's mainly the application's fault.
However the kernel can behave more smart and less "dumb" :)
It can inherit the current good behavior of "submit one single 16kb io
request for a 16kb random read() syscall", while still be able to
The patch only fixes the (req_size != 1) case that exposed by your
application. ...
| Apr 1, 6:23 pm 2010 |
| Wu Fengguang | Re: [PATCH] readahead even for FMODE_RANDOM
How large is it? For random reads > read_ahead_kb,
ondemand_readahead() will break it into read_ahead_kb sized IOs, while
4kb reads hit the disk (on POSIX_FADV_RANDOM)? That sounds like
behavior in pre .34 kernels that is fixed by commit 0141450f66c:
I think Yes. When the above block is gone, ondemand_readahead() will
be invoked, and the readahead heuristic will find that it's an
oversize read (whose size is > 128k) and start 128kb readahead for it.
Thanks,
--
| Apr 1, 11:52 pm 2010 |
| Wu Fengguang | [PATCH][BUGFIX] readahead: fix NULL filp dereference
The btrfs relocate_file_extent_cluster() calls us with NULL filp:
[ 4005.426805] BUG: unable to handle kernel NULL pointer dereference at 00000021
[ 4005.426818] IP: [<c109a130>] page_cache_sync_readahead+0x18/0x3e
CC: Yan Zheng <yanzheng@21cn.com>
Reported-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
---
Andrew and Greg:
This is an obvious correct bug fix for .34 and .33-stable,
so I'm resending it directly to you without ...
| Apr 2, 12:27 am 2010 |
| Greg KH | Re: Linux 2.6.32.11
Perhaps. I generate the tarballs directly from the git.kernel.org
trees, so the data is there otherwise the tarballs would not have been
created.
Does it show up now? Which tree are you looking at?
thanks,
greg k-h
--
| Apr 2, 9:48 am 2010 |
| Greg KH | Re: [PATCH] devmem: Handle class_create() failure
Is this something that we need for .34? How were you getting this to
fail in the first place?
thanks,
greg k-h
--
| Apr 2, 9:53 am 2010 |
| Greg KH | Re: [PATCH 0/1] uio_pci_generic: extensions to allow acc ...
I agree, there should not be a difference here for KVM vs. the "normal"
version.
thanks,
greg k-h
--
| Apr 2, 10:05 am 2010 |
| Johannes Weiner | Re: Linux 2.6.32.11
Slow mirror propagation, I suppose. I see the tag now on european mirrors
but did not yesterday after the announcement.
--
| Apr 2, 10:07 am 2010 |
| H Hartley Sweeten | [PATCH] mtd/maps/physmap: catch failure to register MTD_ ...
If the default Kconfig values are used with MTD_PHYSMAP_COMPAT you end
up with a resource where end < start. This causes __request_resource to
return a conflict which then returns an -EBUSY error code. The current
physmap.c code just assumes that the platfom_device_register will always
succeed.
Catch this failure during the physmap_init and propogate the error.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Reported-by: Randy ...
| Apr 2, 3:46 pm 2010 |
| H Hartley Sweeten | [PATCH] rtc-isl1208: use sysfs_{create/remove}_group
[Empty message]
| Apr 2, 11:58 am 2010 |
| H Hartley Sweeten | [PATCH] fs-writeback.c: bitfields should be unsigned
This fixes sparse noise:
error: dubious one-bit signed bitfield
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
---
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index 76fc4d5..a25f491 100644
--- a/fs/fs-writeback.c
+++ b/fs/fs-writeback.c
@@ -41,9 +41,9 @@ struct wb_writeback_args {
long nr_pages;
struct super_block *sb;
enum writeback_sync_modes sync_mode;
- int for_kupdate:1;
- int range_cyclic:1;
- int ...
| Apr 1, 6:36 pm 2010 |
| H Hartley Sweeten | RE: [PATCH] printk.c: remove duplicate const
Isn't that a C++ and not a C feature?
If it is valid in C then I guess the sparse people should be informed.
Regards,
Hartley--
| Apr 1, 6:28 pm 2010 |
| H Hartley Sweeten | [PATCH] printk.c: remove duplicate const
Noticed during a sparse build.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
---
diff --git a/kernel/printk.c b/kernel/printk.c
index 75077ad..9abc79c 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -1457,7 +1457,7 @@ int kmsg_dump_unregister(struct kmsg_dumper *dumper)
}
EXPORT_SYMBOL_GPL(kmsg_dump_unregister);
-static const char const *kmsg_reasons[] = {
+static const char *kmsg_reasons[] = {
[KMSG_DUMP_OOPS] = "oops",
[KMSG_DUMP_PANIC] = "panic",
...
| Apr 1, 6:13 pm 2010 |
| H Hartley Sweeten | RE: BUG: physmap modprobe & rmmod
That's probably the cause of the BUG.
If your not run-time calling physmap_configure(), your resource will
be created as:
static struct physmap_flash_data physmap_flash_data = {
.width = CONFIG_MTD_PHYSMAP_BANKWIDTH,
};
static struct resource physmap_flash_resource = {
.start = CONFIG_MTD_PHYSMAP_START,
.end = CONFIG_MTD_PHYSMAP_START + CONFIG_MTD_PHYSMAP_LEN - 1,
.flags = IORESOURCE_MEM,
};
In other words:
static struct physmap_flash_data physmap_flash_data = ...
| Apr 2, 3:16 pm 2010 |
| H Hartley Sweeten | RE: BUG: physmap modprobe & rmmod
I traced this down to kernel/resource.c. When __request_resource
is finally called, because of the platform_device_register, it ends
up returning a conflict due to:
resource_size_t start = new->start;
resource_size_t end = new->end;
struct resource *tmp, **p;
if (end < start)
return root;
This ends up causing an -EBUSY error code. The patch below should
be correct to fix this.
I changed the commit message a bit.
---
mtd/maps/physmap: catch failure to register ...
| Apr 2, 3:41 pm 2010 |
| Henrik Kretzschmar | Re: + fbdev-section-cleanup-in-vesafb.patch added to -mm tree
Hi Andrew,
I've rewritten the changelogs of five of patches from me,
which you have already in your tree and cc'ed you.
The patches in your tree are:
fbdev-section-cleanup-in-arcfb.patch
fbdev-section-cleanup-in-vfb.patch
fbdev-section-cleanup-in-vga16fb.patch
fbdev-section-cleanup-in-w100fb.patch
fbdev-section-cleanup-in-hgafb.patch
Please also drop from you tree the fbdev-section-cleanup-in-vesafb.patch
I wrote it in the believe that it's a module, which is not the case in ...
| Apr 2, 5:28 am 2010 |
| Herbert Xu | Re: [PATCH] padata: section cleanup
Padata must guarantee that even though the work may occur in
parallel, anyone submitting work to it in serial must observe
the result strictly in the order that they were submitted.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
| Apr 1, 6:09 pm 2010 |
| Ira W. Snyder | Re: [PATCH 2/3] can: add support for Janz VMOD-ICAN3 Int ...
Like most similar cards, the host computer communicates to the
microcontroller through a dual ported memory (DPM) interface. In this
card, it is split into 256x 256 byte pages/windows.
The lock ensures that once code sets a window, it doesn't change while
The largest possible memcpy_(to|from)io() in the driver is 256 bytes.
Not too huge, but I understand the concern.
Looking at this again, I don't take the lock in the interrupt handler
(nor do I need to). What contexts do the network ...
| Apr 1, 5:43 pm 2010 |
| Janos Haar | Re: Somebody take a look please! (some kind of kernel bug?)
Hello,
----- Original Message -----
From: "Américo Wang" <xiyou.wangcong@gmail.com>
To: "Janos Haar" <janos.haar@netcenter.hu>
Cc: <linux-kernel@vger.kernel.org>; "KAMEZAWA Hiroyuki"
<kamezawa.hiroyu@jp.fujitsu.com>; <linux-mm@kvack.org>; <xfs@oss.sgi.com>;
"Jens Axboe" <axboe@kernel.dk>
Sent: Thursday, April 01, 2010 12:37 PM
Today i have got this again, exactly the same. (if somebody wants the log,
just ask)
There is a cut:
Apr 1 18:50:02 alfa kernel: possible SYN flooding on ...
| Apr 2, 3:07 pm 2010 |
| Jason Wessel | [PATCH 2/5] kgdbts,sh: Add in breakpoint pc offset for superh
The kgdb test suite mimics the behavior of gdb. For the sh
architecture the pc must be decremented by 2 for software breakpoint.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
---
drivers/misc/kgdbts.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/misc/kgdbts.c b/drivers/misc/kgdbts.c
index fcb6ec1..7245023 100644
--- a/drivers/misc/kgdbts.c
+++ b/drivers/misc/kgdbts.c
@@ -295,6 +295,10 @@ static ...
| Apr 2, 11:32 am 2010 |
| Jason Wessel | Re: [GIT PULL] kgdb fixes for 2.6.34-rc2
Thanks for the response. Please do let me know if you have any
questions about the kdb patches.
I can repost the series with the minor changes and base it off the
pending kgdb-fixes pull request.
Thanks,
Jason.
--
| Apr 2, 11:38 am 2010 |
| Jason Wessel | [PATCH 1/5] kgdb: have ebin2mem call probe_kernel_write once
Rather than call probe_kernel_write() one byte at a time, process the
whole buffer locally and pass the entire result in one go. This way,
architectures that need to do special handling based on the length can
do so, or we only end up calling memcpy() once.
[sonic.zhang@analog.com: Reported original problem and preliminary patch]
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger ...
| Apr 2, 11:32 am 2010 |
| Jason Wessel | [PATCH 5/5] kgdb: Turn off tracing while in the debugger
The kernel debugger should turn off kernel tracing any time the
debugger is active and restore it on resume.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
---
kernel/kgdb.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/kernel/kgdb.c b/kernel/kgdb.c
index 7a56dc9..27e7bb5 100644
--- a/kernel/kgdb.c
+++ b/kernel/kgdb.c
@@ -1365,6 +1365,7 @@ static int kgdb_cpu_enter(struct kgdb_state *ks, struct ...
| Apr 2, 11:32 am 2010 |
| Jason Wessel | [GIT PULL] kgdb fixes for 2.6.34-rc3
Linus, please pull the kgdb-fixes for 2.6.34.
git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb.git kgdb-fixes
Summary:
* These are all the fixes that were specifically for the kgdb core from
the original 2.6.34 merge window request.
* Given where we are at in the rc cycle I removed the directory
restructuring patch and this is bug fixes only.
Thanks,
Jason.
---
The following changes since commit 42be79e37e264557f12860fa4cc84b4de3685954:
Linus ...
| Apr 2, 11:32 am 2010 |
| Jason Wessel | [PATCH 3/5] kgdb: eliminate kgdb_wait(), all cpus enter ...
This is a kgdb architectural change to have all the cpus (master or
slave) enter the same function.
A cpu that hits an exception (wants to be the master cpu) will call
kgdb_handle_exception() from the trap handler and then invoke a
kgdb_roundup_cpu() to synchronize the other cpus and bring them into
the kgdb_handle_exception() as well.
A slave cpu will enter kgdb_handle_exception() from the
kgdb_nmicallback() and set the exception state to note that the
processor is a slave.
Previously ...
| Apr 2, 11:32 am 2010 |
| Jason Wessel | [PATCH 4/5] kgdb: Use atomic operators which use barriers
A cpu_relax() does not mandate that there is an smp memory barrier.
As a result on the arm smp architecture the kernel debugger can hang
on entry from time to time, as shown by the kgdb regression tests.
The solution is simply to use the atomic operators which include a
proper smp memory barrier, instead of using atomic_set() and
atomic_read().
Tested-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
---
kernel/kgdb.c | 21 ...
| Apr 2, 11:32 am 2010 |
| Jason Wessel | Re: [PATCH 4/5] kgdb: Use atomic operators which use barriers
So this part might be overkill, but I don't actually have the hardware,
schematics or reference manuals to ascertain what is going on. The
other changes in this patch should be correct because we really do want
Will originally proposed a patch for cpu_relax:
http://lists.infradead.org/pipermail/linux-arm-kernel/2010-March/011076.html
--- The patch ---
+#if __LINUX_ARM_ARCH__ == 6
+#define cpu_relax() smp_mb()
+#else
#define cpu_relax() barrier()
+#endif
---
Russell had this ...
| Apr 2, 12:37 pm 2010 |
| Jason Wessel | Re: [Kgdb-bugreport] [PATCH 4/5] kgdb: Use atomic operat ...
Here is the revised patch, which is going into the kgdb-fixes branch.
Thanks,
Jason.
--
From: Jason Wessel <jason.wessel@windriver.com>
Subject: [PATCH] kgdb: Use atomic operators which use barriers
The cpu_relax() does not mandate that there is an smp memory barrier.
As a result on the arm smp architecture the kernel debugger can hang
on entry from time to time, as shown by the kgdb regression tests.
The solution is simply to use the atomic operators which include a
proper smp ...
| Apr 2, 12:47 pm 2010 |
| Jason Wessel | Re: [Kgdb-bugreport] [PATCH 4/5] kgdb: Use atomic operat ...
It is revised now and pushed. Regression testing on the HW I have has
passed as well now.
For the series the pull looks like:
drivers/misc/kgdbts.c | 6 ++
kernel/kgdb.c | 205
+++++++++++++++++++++++++------------------------
2 files changed, 109 insertions(+), 102 deletions(-)
Thanks,
Jason.
---
From: Jason Wessel <jason.wessel@windriver.com>
Subject: [PATCH] kgdb: use atomic_inc and atomic_dec instead of atomic_set
Memory barriers should be used for the kgdb ...
| Apr 2, 1:00 pm 2010 |
| tip-bot for Jason Wessel | [tip:perf/core] x86,kgdb: Always initialize the hw break ...
Commit-ID: ab310b5edb8b601bcb02491ed6f7676da4fd1757
Gitweb: http://git.kernel.org/tip/ab310b5edb8b601bcb02491ed6f7676da4fd1757
Author: Jason Wessel <jason.wessel@windriver.com>
AuthorDate: Tue, 30 Mar 2010 14:05:07 -0500
Committer: Frederic Weisbecker <fweisbec@gmail.com>
CommitDate: Thu, 1 Apr 2010 08:26:32 +0200
x86,kgdb: Always initialize the hw breakpoint attribute
It is required to call hw_breakpoint_init() on an attr before using it
in any other calls. This fixes the problem ...
| Apr 2, 12:06 pm 2010 |
| jassi brar | Re: [PATCH v2] PL330: Add PL330 DMA controller driver
On Fri, Apr 2, 2010 at 8:23 AM, Linus Walleij
Thank you. I am working on it full time. This submission was solely as
a preview, the
code needs to be optimized, polished and tested, though I don't anticipate much
changes in the API. By when should I submit the final version?
Yes, drivers/dma/pl330.c could be one DMA API driver.
Another may implement S3C DMA API and reside in arch/arm/plat-samsung/ or
wherever the S3C PL080 driver is atm.
So, DMA API driver is the frontend that makes use of ...
| Apr 1, 6:38 pm 2010 |
| Jesse Barnes | Re: intel graphic card hanging (Hangcheck timer elapsed. ...
On Tue, 30 Mar 2010 22:57:06 +0900
One of my 945 machines became pretty stable after increasing the
hancheck timeout from 75 to 750 jiffies in i915_drv.h. But I have
reports that it doesn't work on all machines, so it's probably just
covering up a bug somewhere else.
--
Jesse Barnes, Intel Open Source Technology Center
--
| Apr 2, 1:03 pm 2010 |
| Jesse Barnes | Re: [PATCH 1/3] resource: shared I/O region support
On Mon, 29 Mar 2010 19:29:57 +0100
Well I'm not sure such over-engineering would be "grand", but it does
seem like overkill for the devices you're covering here. At any rate,
the patch is in my linux-next tree, so it'll head to Linus next merge
cycle unless some big new objections arise.
--
Jesse Barnes, Intel Open Source Technology Center
--
| Apr 2, 1:29 pm 2010 |
| Jens Axboe | Re: [PATCH 0/3] blkio: IO controller stats
Thanks, I think this makes sense. I've applied it for 2.6.35.
--
Jens Axboe
--
| Apr 1, 11:45 pm 2010 |
| Jens Axboe | Re: [PATCH] readahead even for FMODE_RANDOM
The test case was 128kb random reads. So should still be within the
normal read_ahead_kb. I suspect the reporter would not have noticed if
the issue size was as large as read_ahead_kb even if the request size
Could explain why I'm not reproducing when doing a quick test on the
laptop. It is an older kernel. So it could be that I'm just imaging the
issue on the current kernel, I don't have hard data to back it up on
that version.
So disregard the patch for now, part-sequential behaviour ...
| Apr 1, 11:59 pm 2010 |
| Jens Axboe | Re: [PATCH] Block: Fix block/elevator.c elevator_get() o ...
Thanks, good catch! Applied.
--
Jens Axboe
--
| Apr 1, 11:40 pm 2010 |
| Jens Axboe | Re: [PATCH] backing-dev: Handle class_create() failure
Thanks Anton, applied.
--
Jens Axboe
--
| Apr 2, 12:46 am 2010 |
| Jens Axboe | Re: [PATCH] readahead even for FMODE_RANDOM
The application is doing large random reads. It's purely random, so
the POSIX_FADV_RANDOM hint is correct. However, thinking about it, it
may be that we later hit a random "block" that has now been cached due
to this read-ahead. Let me try and rule that out completely and see if
there's still the difference. The original reporter observed 4kb reads
Hmm, are we talking about the same thing? I want to hit read-ahead for
the remaining pages inside that random read, eg ensure that ...
| Apr 1, 11:38 pm 2010 |
| Jerome Oufella | regulator: regulator_get behaviour without CONFIG_REGULA ...
Hi,
Working on drivers/hwmon/sht15.c, I noticed it would return bogus temperatures in my case, where CONFIG_REGULATOR is not set.
This is due to the following section in drivers/hwmon/sht15.c:
/* If a regulator is available, query what the supply voltage actually is!*/
data->reg = regulator_get(data->dev, "vcc");
if (!IS_ERR(data->reg)) {
...
Looking at consumer.h, it appears that regulator_get() returns a pointer to its second argument when CONFIG_REGULATOR is ...
| Apr 2, 8:47 am 2010 |
| Jiaying Zhang | Re: lockup in rb_get_reader_page
I finally reproduced the problem again with an instrumented kernel. Here are
the logged debugging messages I put right after the spin label in
rb_get_reader_page():
<4>cpu 0 may deadlock, loops 100
<4>reader pgoff 11 list ffff8100025c9c40 prev ffff8100025c9b00 next
ffff8100025c9a41
<4>reader_page pgoff 11 list ffff8100025c9c40 prev ffff8100025c9b00
next ffff8100025c9a41
<4>head_page pgoff 11 list ffff8100025c9c40 prev ffff8100025c9b00 next
ffff8100025c9a41
<4>tail_page pgoff 3 list ...
| Apr 2, 4:10 pm 2010 |
| Jiri Kosina | 2.6.34-rc3 doesn't suspend to disk (-rc2 did)
Hi,
I have just hit this problem. Haven't bisected it yet, and going through
shortlog doesn't ring any bell immediately, so I am sending this out in
case it rings a bell for someone right away.
Calling
s2disk -r /dev/sdb4
suspends without any issues on 2.6.34-rc2, and resume is also fine. With
2.6.34-rc3 I get
s2disk: Could not use the resume device (try swapon -a). Reason: No such device
Relevant part of s2disk strace:
mount("none", "/proc/2449", "tmpfs", 0, NULL) = ...
| Apr 1, 5:19 pm 2010 |
| Jiri Kosina | [GIT] HID
Linus,
please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus
to receive two simple HID fixes that should be in 2.6.34.
Anisse Astier (1):
HID: Add NOGET quirk for Quanta Pixart touchscreen
Jiri Kosina (1):
HID: fix oops in gyration_event()
drivers/hid/hid-gyration.c | 5 ++++-
drivers/hid/usbhid/hid-quirks.c | 1 +
2 files changed, 5 insertions(+), 1 deletions(-)
Thanks,
--
Jiri Kosina
SUSE Labs, Novell Inc.
--
| Apr 2, 7:38 am 2010 |
| Jiri Kosina | Re: PROBLEM: intelfb driver causes trace
[ adding some appropriate CCs ]
--
Jiri Kosina
SUSE Labs, Novell Inc.
--
| Apr 2, 3:02 am 2010 |
| Jiri Olsa | [PATCHv6 0/4] tracing: function graph output for preempt ...
hi,
updates based on comments by Frederic Weisbecker,
also rebase to latest master.
I'm sending reworked version of the graph output support for
preemptirqsoff/preemptoff/irqsoff tracers.
v6:
- using stubs instead of ifdef in trace_irqsoff for graph
tracer's calls
v5:
- function graph events are back in game
- changed function graph tracer interface to be able to
pass custom tracer flags
- changed calls to trace_function to trace graph records
when the display-graph otion is ...
| Apr 2, 10:01 am 2010 |
| Jiri Olsa | [PATCHv6 1/4] tracing: adding ftrace events for graph tracer
hi,
this patch adds ftrace events for graph tracer, so the graph output
could be shared within other tracers.
wbr,
jirka
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
---
kernel/trace/trace_functions_graph.c | 28 +++++++++++++++++++++++++++-
1 files changed, 27 insertions(+), 1 deletions(-)
diff --git a/kernel/trace/trace_functions_graph.c b/kernel/trace/trace_functions_graph.c
index e6989d9..75aa144 100644
--- a/kernel/trace/trace_functions_graph.c
+++ ...
| Apr 2, 10:01 am 2010 |
| Jiri Olsa | [PATCHv6 4/4] tracing: graph output support for preempti ...
hi,
adding support for graph output for preemptirqsoff/preemptoff tracers.
wbr,
jirka
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
---
kernel/trace/trace_irqsoff.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/kernel/trace/trace_irqsoff.c b/kernel/trace/trace_irqsoff.c
index cc20d7c..6fd486e 100644
--- a/kernel/trace/trace_irqsoff.c
+++ b/kernel/trace/trace_irqsoff.c
@@ -672,9 +672,15 @@ static struct tracer preemptoff_tracer __read_mostly =
...
| Apr 2, 10:01 am 2010 |
| Jiri Olsa | [PATCHv6 3/4] tracing: graph output support for irqsoff tracer
hi,
when I was using irqsoff tracer, I thought it could be any use
to see the disabled IRQs flow output same way as function graph output.
The graph output is enabled by setting new 'display-graph' trace option
of irqsoff tracer.
wbr,
jirka
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
---
include/linux/ftrace.h | 15 ++-
kernel/trace/trace.c | 35 +++--
kernel/trace/trace.h | 21 +++
kernel/trace/trace_functions_graph.c | 15 ...
| Apr 2, 10:01 am 2010 |
| Jiri Olsa | [PATCHv6 2/4] tracing: graph tracer - adding support for ...
hi,
changing function graph tracer's interface functions to be able to
use it from another tracer.
The main change is to be able to pass custom tracer flags.
wbr,
jirka
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
---
kernel/trace/trace.h | 6 +-
kernel/trace/trace_functions_graph.c | 123 +++++++++++++++++++---------------
2 files changed, 73 insertions(+), 56 deletions(-)
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index bec2c97..fd4a8f5 ...
| Apr 2, 10:01 am 2010 |
| Joerg Roedel | Re: [PATCH 1/2] x86/amd-iommu: enable iommu before attac ...
Ok, good to know this fixes the problem. One issue: If the
initialization of the domains fails the iommu hardware needs to be
disabled again in the free path.
Thanks,
Joerg
--
| Apr 2, 2:11 am 2010 |
| Julia Lawall | [PATCH 2/3] drivers/mtd/maps: Eliminate use after free
From: Julia Lawall <julia@diku.dk>
Moved the debugging message before the call to map_destroy, which frees its
argument. The message is also slightly changed to reflect its new
position.
A simplified version of the semantic patch that finds this problem is as
follows: (http://coccinelle.lip6.fr/)
// <smpl>
@@
expression E,E2;
@@
del_mtd_device(E)
...
(
E = E2
|
* E
)
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
---
drivers/mtd/maps/pcmciamtd.c | 2 ...
| Apr 2, 5:47 am 2010 |
| Julia Lawall | [PATCH 1/3] arch/powerpc/platforms: Eliminate use after free
From: Julia Lawall <julia@diku.dk>
dlpar_free_cc_nodes frees its argument, so dlpar_online_cpu should not be
called on the same value. Skip over the call to dlpar_online_cpu by
jumping directly to out.
A simplified version of the semantic patch that finds this problem is as
follows: (http://coccinelle.lip6.fr/)
// <smpl>
@@
expression E,E2;
@@
dlpar_free_cc_nodes(E)
...
(
E = E2
|
* E
)
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
---
...
| Apr 2, 5:47 am 2010 |
| Julia Lawall | [PATCH 3/3] sound/pci: Eliminate use after free
From: Julia Lawall <julia@diku.dk>
Use the call to snd_card_free in the error handling code at the end of the
function, as in the other error cases.
A simplified version of the semantic patch that finds this problem is as
follows: (http://coccinelle.lip6.fr/)
// <smpl>
@@
expression E,E2;
@@
snd_card_free(E)
...
(
E = E2
|
* E
)
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
---
sound/pci/echoaudio/echoaudio.c | 5 ++---
1 files changed, 2 insertions(+), ...
| Apr 2, 5:47 am 2010 |
| Justin P. Mattock | [PATCH] hwmon:applesmc: Add support for iMac 9.
This patch adds support to hwmon:applesmc for the iMac9,1.
Without this the default settings for applesmc and iMac
are to set the machine to use only nine temperature
sensors, with this patch you get all fourteen of them.
Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
---
drivers/hwmon/applesmc.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c
index c1605b5..6ab3e78 100644
--- ...
| Apr 2, 2:07 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH] proc: pagemap: Hold mmap_sem during page walk
On Thu, 1 Apr 2010 08:10:40 -0700 (PDT)
Ok, here. now
end = start_vaddr _ PAGEMAP_WALK_SIZE;
if (end < start_vaddr || end > end_vaddr)
end = end_vaddr;
....walk....
start_vaddr =end;
Only tested on x86-64.
Thanks,
-Kame
==
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
In initial design, walk_page_range() was designed just for walking page table and
it didn't require mmap_sem. Now, find_vma() etc.. are used in walk_page_range()
and we need mmap_sem around it.
This ...
| Apr 1, 5:11 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH 14/14] mm,migration: Allow the migration of P ...
On Thu, 1 Apr 2010 18:36:41 +0100
if (rc)
newpage->mapping = NULL;
else if (safe_to_remap)
remove_migrateion_ptes(page, newpage);
Is better. Old code cleared newpage->mapping if rc!=0.
Thanks,
-Kame
--
| Apr 1, 5:21 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [Question] race condition in mm/page_alloc.c regardi ...
On Fri, 2 Apr 2010 11:51:33 +0800
I don't think there are relationship between patches and your panic.
BTW, there is other case about the backlog rather than race in alloc_pages()
itself. If someone list_del(&page->lru) and the page is already freed,
you'll see the same backlog later.
Then, I doubt use-after-free case rather than complicated races.
Thanks,
--
| Apr 1, 10:04 pm 2010 |
| Jean Delvare | Re: [RFC PATCH 1/1] input/touchscreen: Synaptics Touchsc ...
Hi Christopher,
Sorry for the delay. Here finally come my comments on your code. I'm
only commenting on the i2c side of things.
This name is unfortunate. "client data" usually refers to run-time
state data of an i2c client. For configuration data, we rather use the
This is already included in the i2c client struct itself, so you
This is incorrect. What goes in device ID tables is _device_ names, nor
_driver_ names. It might be the same string, but you don't want to use
You don't ...
| Apr 2, 5:50 am 2010 |
| Jean Delvare | Re: [lm-sensors] regulator: regulator_get behaviour with ...
Hi Mark,
Ugly design. You're casting a random pointer to struct regulator * and
just hope that the user won't make use of it. Right now, you're safe
because the definition of struct regulator is not public, but assuming
it will stay that way forever is somewhat risky.
I've never seen any API doing things that way, and I can't think of a
Error code? regulator_get_voltage() returns 0, how is that supposed to
This goes against the expectations. When I have to get a reference to
something ...
| Apr 2, 9:44 am 2010 |
| Jean Delvare | Re: [lm-sensors] regulator: regulator_get behaviour with ...
Hi Mark,
Sorry for playing the devil's advocate here, but deciding that 0V is an
error is pretty arbitrary, and deciding that a negative voltage value
is an error is just as arbitrary. Just because these are not common
cases, doesn't mean they can't happen today or tomorrow for very
specific setups. I'd rather see a more robust way to notifier the
OK, I get it. This indeed rules out ERR_PTR(-ENODEV). But what about
NULL? IS_ERR() doesn't catch NULL, so this wouldn't affect the ...
| Apr 2, 12:30 pm 2010 |
| Kirill A. Shutemov | Apr 2, 5:18 am 2010 | |
| Ryusuke Konishi | Re: [PATCH] nilfs2: Remove an uninitialization warning i ...
Applied, thanks.
--
| Apr 2, 4:09 am 2010 |
| Ryusuke Konishi | Re: [PATCH 1/2] nilfs2: Combine nilfs_btree_alloc_path() ...
Hi,
This patch had a style problem:
$ scripts/checkpatch.pl ../patch1
ERROR: code indent should use tabs where possible
#42: FILE: fs/nilfs2/btree.c:79:
+ path = kmem_cache_alloc(nilfs_btree_path_cache, GFP_NOFS);$
Thanks,
--
| Apr 2, 4:45 am 2010 |
| Ryusuke Konishi | Re: [PATCH 1/2] nilfs2: Combine nilfs_btree_alloc_path() ...
Ok, will queue the new ones.
Thanks,
--
| Apr 2, 8:32 am 2010 |
| KOSAKI Motohiro | Re: [PATCH]vmscan: handle underflow for get_scan_ratio
Umm.. sorry, no.
"one fix but introduce another one bug" is not good deal. instead,
I'll revert the guilty commit at first as akpm mentioned.
thanks.
--
| Apr 2, 2:14 am 2010 |
| KOSAKI Motohiro | Re: [Question] race condition in mm/page_alloc.c regardi ...
I think your attached two patches are perfectly unrelated your problem.
"mm: Add min_free_order_shift tunable." seems makes zero sense. I don't think this patch
need to be merge.
but "mm: Check if any page in a pageblock is reserved before marking it MIGRATE_RESERVE"
treat strange hardware correctly, I think. If Mel ack this, I hope merge it.
--
| Apr 1, 10:03 pm 2010 |
| KOSAKI Motohiro | Re: [PATCH]vmscan: handle underflow for get_scan_ratio
.....ok. I don't have to prevent your code maintainship. although I still
think we need to fix the issue completely.
===================================================================
From 52358cbccdfe94e0381974cd6e937bcc6b1c608b Mon Sep 17 00:00:00 2001
From: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Date: Fri, 2 Apr 2010 17:13:48 +0900
Subject: [PATCH] Revert "vmscan: get_scan_ratio() cleanup"
Shaohua Li reported his tmpfs streaming I/O test can lead to make oom.
The test uses ...
| Apr 2, 2:13 am 2010 |
| Lai Jiangshan | Re: [PATCH] rcu: don't call rcu_preempt_note_context_swi ...
Very nice, thank you.
Acked-by: Lai Jiangshan <laijs@cn.fujitsu.com>
--
| Apr 2, 5:27 am 2010 |
| Paul Mundt | [GIT PULL] sh updates for 2.6.34-rc4
Please pull from:
master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6.git sh/for-2.6.34
Which contains:
Andrea Gelmini (1):
USB gadget r8a66597-udc.c: duplicated include
Andrew Stubbs (1):
sh: Fix FDPIC binary loader
Julia Lawall (1):
arch/sh/kernel: Use set_cpus_allowed_ptr
Matt Fleming (2):
sh: update the TLB replacement counter for entry wiring.
sh: Enable the mmu in start_secondary()
Paul Mundt (2):
sh: export return_address() ...
| Apr 2, 12:44 am 2010 |
| Li Hong | [PATCH] nilfs2: Remove an uninitialization warning in ni ...
`make CONFIG_NILFS2_FS=m M=fs/nilfs2/` will give the following warnings:
fs/nilfs2/btree.c: In function ‘nilfs_btree_propagate’:
fs/nilfs2/btree.c:1882: warning: ‘maxlevel’ may be used uninitialized in this function
fs/nilfs2/btree.c:1882: note: ‘maxlevel’ was declared here
Set maxlevel = 0 to fix it.
Signed-off-by: Li Hong <lihong.hi@gmail.com>
---
fs/nilfs2/btree.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/nilfs2/btree.c b/fs/nilfs2/btree.c
index ...
| Apr 2, 3:40 am 2010 |
| Li Hong | [PATCH 1/2] nilfs2: Combine nilfs_btree_alloc_path() and ...
nilfs_btree_alloc_path() and nilfs_btree_init_path() are bound into each other
tightly. Make them into one procedure to clearify the logic and avoid some
misusages.
Signed-off-by: Li Hong <lihong.hi@gmail.com>
---
fs/nilfs2/btree.c | 39 +++++++++++++++++----------------------
1 files changed, 17 insertions(+), 22 deletions(-)
diff --git a/fs/nilfs2/btree.c b/fs/nilfs2/btree.c
index 76c38e3..bb31ab3 100644
--- a/fs/nilfs2/btree.c
+++ b/fs/nilfs2/btree.c
@@ -71,23 +71,16 @@ void ...
| Apr 2, 3:42 am 2010 |
| Li Hong | [PATCH 2/2] nilfs2: Combine nilfs_btree_release_path() a ...
nilfs_btree_release_path() and nilfs_btree_free_path() are bound into each other
tightly. Make them into one procedure to clearify the logic and avoid some
misusages.
Signed-off-by: Li Hong <lihong.hi@gmail.com>
---
fs/nilfs2/btree.c | 22 +++++-----------------
1 files changed, 5 insertions(+), 17 deletions(-)
diff --git a/fs/nilfs2/btree.c b/fs/nilfs2/btree.c
index bb31ab3..fa4b123 100644
--- a/fs/nilfs2/btree.c
+++ b/fs/nilfs2/btree.c
@@ -93,18 +93,14 @@ out:
return path;
}
...
| Apr 2, 3:43 am 2010 |
| Li Hong | [PATCH 2/2] nilfs2: Combine nilfs_btree_release_path() a ...
Sorry, a same patch sent out a short time ago but replied to a wrong thread.
-------------------- cut here ----------------------
nilfs_btree_release_path() and nilfs_btree_free_path() are bound into each other
tightly. Make them into one procedure to clearify the logic and avoid some
misusages.
Signed-off-by: Li Hong <lihong.hi@gmail.com>
---
fs/nilfs2/btree.c | 22 +++++-----------------
1 files changed, 5 insertions(+), 17 deletions(-)
diff --git a/fs/nilfs2/btree.c ...
| Apr 2, 3:48 am 2010 |
| Lars Lindley | [PATCH] staging: winbond: wbusb.c Coding style fixes.
I fixed the reported checkpatch.pl problems except for a bunch of
long lines and some printk:s.
I also removed versioning comments.
Signed-off-by: Lars Lindley <lindley@coyote.org>
---
drivers/staging/winbond/wbusb.c | 187 +++++++++++++++++---------------------
1 files changed, 84 insertions(+), 103 deletions(-)
diff --git a/drivers/staging/winbond/wbusb.c b/drivers/staging/winbond/wbusb.c
index 3482eec..d7694e6 100644
--- a/drivers/staging/winbond/wbusb.c
+++ ...
| Apr 2, 1:57 am 2010 |
| Russell King - ARM Linux | Re: [PATCH 4/5] kgdb: Use atomic operators which use barriers
I'm not going to discuss it now; I'm on holiday. Wait until mid-next
week on this and I'll respond with a fuller reply.
--
| Apr 2, 3:25 pm 2010 |
| Ondrej Zary | Re: 2.6.31 regression: programs crashing after a couple ...
Thanks, I'll try it. But I doubt that it will fix the problem. There were no
changes in hibernate_asm_32.S between 2.6.30 and 2.6.31.
--
Ondrej Zary
--
| Apr 2, 3:53 am 2010 |
| Li Zefan | Re: [PATCH 1/2 v4] scsi: add __print_hex() to ftrace
This is exactly what ftrace_print_flags_seq() and ftrace_print_symbols_seq()
do, and exactly what we want.
An example:
TP_printk("%s,%s", __print_flags(...), __print_flags(...));
We need 2 seperated strings, while trace_seq_terminate() will make it
--
| Apr 1, 7:40 pm 2010 |
| tip-bot for Li Zefan | [tip:tracing/core] tracing: Convert some signal events t ...
Commit-ID: 4bdde044dc36ac7b01f7502394d52619af9d1927
Gitweb: http://git.kernel.org/tip/4bdde044dc36ac7b01f7502394d52619af9d1927
Author: Li Zefan <lizf@cn.fujitsu.com>
AuthorDate: Wed, 24 Mar 2010 10:58:05 +0800
Committer: Steven Rostedt <rostedt@goodmis.org>
CommitDate: Wed, 31 Mar 2010 22:56:54 -0400
tracing: Convert some signal events to DEFINE_TRACE
Use DECLARE_EVENT_CLASS to remove duplicate code:
text data bss dec hex filename
23639 6084 8 29731 ...
| Apr 2, 12:03 pm 2010 |
| tip-bot for Li Zefan | [tip:tracing/core] tracing: Update comments
Commit-ID: 50354a8a28d0c91695a2d6d25b5a821bfe557a07
Gitweb: http://git.kernel.org/tip/50354a8a28d0c91695a2d6d25b5a821bfe557a07
Author: Li Zefan <lizf@cn.fujitsu.com>
AuthorDate: Wed, 24 Mar 2010 10:58:24 +0800
Committer: Steven Rostedt <rostedt@goodmis.org>
CommitDate: Wed, 31 Mar 2010 22:56:56 -0400
tracing: Update comments
Make some comments consistent with the code.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
LKML-Reference: <4BA97FD0.7090202@cn.fujitsu.com>
Signed-off-by: ...
| Apr 2, 12:04 pm 2010 |
| tip-bot for Li Zefan | [tip:tracing/core] tracing: Remove side effect from modu ...
Commit-ID: ae832d1e03ac9bf09fb8a07fb37908ab40c7cd0e
Gitweb: http://git.kernel.org/tip/ae832d1e03ac9bf09fb8a07fb37908ab40c7cd0e
Author: Li Zefan <lizf@cn.fujitsu.com>
AuthorDate: Wed, 24 Mar 2010 10:57:43 +0800
Committer: Steven Rostedt <rostedt@goodmis.org>
CommitDate: Wed, 31 Mar 2010 22:56:58 -0400
tracing: Remove side effect from module tracepoints that caused a GPF
Remove the @refcnt argument, because it has side-effects, and arguments with
side-effects are not skipped by the ...
| Apr 2, 12:04 pm 2010 |
| tip-bot for Li Zefan | [tip:sched/core] sched: Remove remaining USER_SCHED code
Commit-ID: 32bd7eb5a7f4596c8440dd9440322fe9e686634d
Gitweb: http://git.kernel.org/tip/32bd7eb5a7f4596c8440dd9440322fe9e686634d
Author: Li Zefan <lizf@cn.fujitsu.com>
AuthorDate: Wed, 24 Mar 2010 13:17:19 +0800
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 20:12:00 +0200
sched: Remove remaining USER_SCHED code
This is left over from commit 7c9414385e ("sched: Remove USER_SCHED"")
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Dhaval Giani ...
| Apr 2, 12:11 pm 2010 |
| tip-bot for Li Zefan | [tip:sched/core] sched: Remove USER_SCHED from documentation
Commit-ID: 25c2d55c00c6097e6792ebf21e31342f23b9b768
Gitweb: http://git.kernel.org/tip/25c2d55c00c6097e6792ebf21e31342f23b9b768
Author: Li Zefan <lizf@cn.fujitsu.com>
AuthorDate: Wed, 24 Mar 2010 13:17:50 +0800
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 20:12:01 +0200
sched: Remove USER_SCHED from documentation
USER_SCHED has been removed, so update the documentation
accordingly.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Peter Zijlstra ...
| Apr 2, 12:11 pm 2010 |
| Luis R. Rodriguez | Re: [stable] [Stable-review] [patch 070/123] ath9k: re-e ...
Sorry, been, busy, I've put together a page to keep track of these sort of things:
http://wireless.kernel.org/en/developers/stable-pending
Luis
--
| Apr 2, 10:37 am 2010 |
| Matt Turner | Re: Discrepancy between comments for sched_find_first_bit
That's right. I should be able to get rid of a cmov, which kind of
counts as two instructions in EV6 scheduling.
So I should send a patch to reduce this to the first 100 (128) bits?
Thanks guys,
Matt
--
| Apr 2, 1:50 pm 2010 |
| mbreuer | Re: Hung task - sync - 2.6.33-rc7 w/md6 multicore rebui ...
I reported that I was unable to recreate as op 2.6.33-rc6. I am now on
2.6.34-rc3 and have not seen a recurrence.
--
| Apr 2, 6:58 am 2010 |
| Luis R. Rodriguez | Pending patches for 802.11 not marked stable or which re ...
It is no coincidence that the 802.11 subsystem now has had no
regressions for 2.6.33 and 2.6.34 (thanks to Rafael for keeping track
of these). I don't think its that we haven't been doing a lot of
development, instead I think a lot of it has to do with the fact that
we have been aggressively engaged with stable after we were slapped
about this at our last wireless summit. There's a few patches which I
realize still do fall through the crack or due to time we haven't yet
backported. I have been ...
| Apr 2, 10:36 am 2010 |
| Mel Gorman | Re: [PATCH 14/14] mm,migration: Allow the migration of P ...
True, done.
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| Apr 2, 1:52 am 2010 |
| Mel Gorman | Re: [PATCH 14/14] mm,migration: Allow the migration of P ...
True, it can't in itself but it is a bug to free a locked page. As PageAnon
is cleared by the page allocator (see comments in page_remove_rmap) and we
have taken a reference to this page when isolating for migration, I still
Sure. Thanks
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| Apr 2, 1:51 am 2010 |
| Mel Gorman | Re: [Question] race condition in mm/page_alloc.c regardi ...
Agreed. It's unlikely that there is a race as such in the page
allocator. In buffered_rmqueue that you initially talk about, the lists
being manipulated are per-cpu lists. About the only way to corrupt them
is if you had a NMI hander that called the page allocator. I really hope
your platform is not doing anything like that.
A double free of page->lru is a possibility. You could try reproducing
It makes a marginal amount of sense. Basically what it does is allowing
high-order allocations to ...
| Apr 2, 2:48 am 2010 |
| Mel Gorman | Re: [PATCH] oom killer: break from infinite loop
Seems reasonable. This will be checked on every major loop in the
This is a lot less clear. GFP_NOFAIL is rare so this is basically saying
that all threads with a fatal signal pending can ignore watermarks. This
is dangerous because if 1000 threads get killed, there is a possibility
of deadlocking the system.
Why not obey the watermarks and just not retry the loop later and fail
I'm ok with the should_alloc_retry() change but am a lot less ok with ignoring
watermarks just because a ...
| Apr 2, 3:17 am 2010 |
| Mel Gorman | [PATCH 01/14] mm,migration: Take a reference to the anon ...
rmap_walk_anon() does not use page_lock_anon_vma() for looking up and
locking an anon_vma and it does not appear to have sufficient locking to
ensure the anon_vma does not disappear from under it.
This patch copies an approach used by KSM to take a reference on the
anon_vma while pages are being migrated. This should prevent rmap_walk()
running into nasty surprises later because anon_vma has been freed.
Signed-off-by: Mel Gorman <mel@csn.ul.ie>
Acked-by: Rik van Riel <riel@redhat.com>
---
...
| Apr 2, 9:02 am 2010 |
| Mel Gorman | [PATCH 02/14] mm,migration: Do not try to migrate unmapp ...
rmap_walk_anon() was triggering errors in memory compaction that look like
use-after-free errors. The problem is that between the page being isolated
from the LRU and rcu_read_lock() being taken, the mapcount of the page
dropped to 0 and the anon_vma gets freed. This can happen during memory
compaction if pages being migrated belong to a process that exits before
migration completes. Hence, the use-after-free race looks like
1. Page isolated for migration
2. Process exits
3. ...
| Apr 2, 9:02 am 2010 |
| Mel Gorman | [PATCH 0/14] Memory Compaction v7
The only change is relatively minor and is around the migration of unmapped
PageSwapCache pages. Specifically, it's not safe to access anon_vma for
these pages when remapping after migration completes so the last patch
makes sure we don't.
Are there any further obstacles to merging?
Changelog since V6
o Avoid accessing anon_vma when migrating unmapped PageSwapCache pages
Changelog since V5
o Rebase to mmotm-2010-03-24-14-48
o Add more reviewed-by's
o Correct one spelling in ...
| Apr 2, 9:02 am 2010 |
| Mel Gorman | [PATCH 08/14] Memory compaction core
This patch is the core of a mechanism which compacts memory in a zone by
relocating movable pages towards the end of the zone.
A single compaction run involves a migration scanner and a free scanner.
Both scanners operate on pageblock-sized areas in the zone. The migration
scanner starts at the bottom of the zone and searches for all movable pages
within each area, isolating them onto a private list called migratelist.
The free scanner starts at the top of the zone and searches for ...
| Apr 2, 9:02 am 2010 |
| Mel Gorman | [PATCH 07/14] Move definition for LRU isolation modes to ...
Currently, vmscan.c defines the isolation modes for
__isolate_lru_page(). Memory compaction needs access to these modes for
isolating pages for migration. This patch exports them.
Signed-off-by: Mel Gorman <mel@csn.ul.ie>
Acked-by: Christoph Lameter <cl@linux-foundation.org>
---
include/linux/swap.h | 5 +++++
mm/vmscan.c | 5 -----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/include/linux/swap.h b/include/linux/swap.h
index 1f59d93..986b12d 100644
--- ...
| Apr 2, 9:02 am 2010 |
| Mel Gorman | [PATCH 06/14] Export fragmentation index via /proc/extfr ...
Fragmentation index is a value that makes sense when an allocation of a
given size would fail. The index indicates whether an allocation failure is
due to a lack of memory (values towards 0) or due to external fragmentation
(value towards 1). For the most part, the huge page size will be the size
of interest but not necessarily so it is exported on a per-order and per-zone
basis via /proc/extfrag_index
Signed-off-by: Mel Gorman <mel@csn.ul.ie>
Reviewed-by: Minchan Kim ...
| Apr 2, 9:02 am 2010 |
| Mel Gorman | [PATCH 09/14] Add /proc trigger for memory compaction
This patch adds a proc file /proc/sys/vm/compact_memory. When an arbitrary
value is written to the file, all zones are compacted. The expected user
of such a trigger is a job scheduler that prepares the system before the
target application runs.
Signed-off-by: Mel Gorman <mel@csn.ul.ie>
Acked-by: Rik van Riel <riel@redhat.com>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Reviewed-by: KOSAKI Motohiro ...
| Apr 2, 9:02 am 2010 |
| Mel Gorman | [PATCH 05/14] Export unusable free space index via /proc ...
Unusable free space index is a measure of external fragmentation that
takes the allocation size into account. For the most part, the huge page
size will be the size of interest but not necessarily so it is exported
on a per-order and per-zone basis via /proc/unusable_index.
The index is a value between 0 and 1. It can be expressed as a
percentage by multiplying by 100 as documented in
Documentation/filesystems/proc.txt.
Signed-off-by: Mel Gorman <mel@csn.ul.ie>
Reviewed-by: Minchan Kim ...
| Apr 2, 9:02 am 2010 |
| Mel Gorman | [PATCH 04/14] Allow CONFIG_MIGRATION to be set without C ...
CONFIG_MIGRATION currently depends on CONFIG_NUMA or on the architecture
being able to hot-remove memory. The main users of page migration such as
sys_move_pages(), sys_migrate_pages() and cpuset process migration are
only beneficial on NUMA so it makes sense.
As memory compaction will operate within a zone and is useful on both NUMA
and non-NUMA systems, this patch allows CONFIG_MIGRATION to be set if the
user selects CONFIG_COMPACTION as an option.
Signed-off-by: Mel Gorman ...
| Apr 2, 9:02 am 2010 |
| Mel Gorman | [PATCH 03/14] mm: Share the anon_vma ref counts between ...
For clarity of review, KSM and page migration have separate refcounts on
the anon_vma. While clear, this is a waste of memory. This patch gets
KSM and page migration to share their toys in a spirit of harmony.
Signed-off-by: Mel Gorman <mel@csn.ul.ie>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reviewed-by: Christoph Lameter <cl@linux-foundation.org>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
---
...
| Apr 2, 9:02 am 2010 |
| Mel Gorman | [PATCH 10/14] Add /sys trigger for per-node memory compaction
This patch adds a per-node sysfs file called compact. When the file is
written to, each zone in that node is compacted. The intention that this
would be used by something like a job scheduler in a batch system before
a job starts so that the job can allocate the maximum number of
hugepages without significant start-up cost.
Signed-off-by: Mel Gorman <mel@csn.ul.ie>
Acked-by: Rik van Riel <riel@redhat.com>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reviewed-by: Christoph ...
| Apr 2, 9:02 am 2010 |
| Mel Gorman | [PATCH 11/14] Direct compact when a high-order allocatio ...
Ordinarily when a high-order allocation fails, direct reclaim is entered to
free pages to satisfy the allocation. With this patch, it is determined if
an allocation failed due to external fragmentation instead of low memory
and if so, the calling process will compact until a suitable page is
freed. Compaction by moving pages in memory is considerably cheaper than
paging out to disk and works where there are locked pages or no swap. If
compaction fails to free a page of a suitable size, then ...
| Apr 2, 9:02 am 2010 |
| Mel Gorman | [PATCH 14/14] mm,migration: Allow the migration of PageS ...
PageAnon pages that are unmapped may or may not have an anon_vma so are
not currently migrated. However, a swap cache page can be migrated and
fits this description. This patch identifies page swap caches and allows
them to be migrated but ensures that no attempt to made to remap the pages
would would potentially try to access an already freed anon_vma.
Signed-off-by: Mel Gorman <mel@csn.ul.ie>
---
mm/migrate.c | 47 ++++++++++++++++++++++++++++++-----------------
1 files changed, 30 ...
| Apr 2, 9:02 am 2010 |
| Mel Gorman | [PATCH 13/14] Do not compact within a preferred zone aft ...
The fragmentation index may indicate that a failure is due to external
fragmentation but after a compaction run completes, it is still possible
for an allocation to fail. There are two obvious reasons as to why
o Page migration cannot move all pages so fragmentation remains
o A suitable page may exist but watermarks are not met
In the event of compaction followed by an allocation failure, this patch
defers further compaction in the zone for a period of time. The zone that
is deferred is ...
| Apr 2, 9:02 am 2010 |
| Mel Gorman | [PATCH 12/14] Add a tunable that decides when memory sho ...
The kernel applies some heuristics when deciding if memory should be
compacted or reclaimed to satisfy a high-order allocation. One of these
is based on the fragmentation. If the index is below 500, memory will
not be compacted. This choice is arbitrary and not based on data. To
help optimise the system and set a sensible default for this value, this
patch adds a sysctl extfrag_threshold. The kernel will only compact
memory if the fragmentation index is above the ...
| Apr 2, 9:02 am 2010 |
| Masami Hiramatsu | [PATCH -tip 0/4] perf-probe bugfixes
Hi Ingo,
Before introducing new patches, I'd like to push some bugfixes.
(I'll update previous series and post again.)
Thank you,
---
Masami Hiramatsu (4):
[BUGFIX][RESEND] perf probe: Fix to close dwarf when failing to analyze it
[BUGFIX] perf probe: Correct error message for non-structure type
[BUGFIX] perf probe: Fix not to return non-matched file
[BUGFIX] perf probe: Fix --line syntax help and document
tools/perf/Documentation/perf-probe.txt | 2 +-
...
| Apr 2, 9:50 am 2010 |
| Masami Hiramatsu | Re: [GIT PULL] "perf probe" updates, kprobes jump optimi ...
Hi Tony,
Ah, thank you for reporting!
Hmm, it seems that the place of definitions of enable_kprobe/disable_kprobe
which call arm_kprobe/disarm_kprobe, are incorrect, because those functions
are just API and don't depend on debugfs.
I'll fix that.
--
Masami Hiramatsu
e-mail: mhiramat@redhat.com
--
| Apr 2, 7:27 am 2010 |
| Masami Hiramatsu | [PATCH -tip 2/4] [BUGFIX] perf probe: Fix not to return ...
Fix cu_find_realpath() not to return the last file path
if that is not matched to input pattern.
Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
---
tools/perf/util/probe-finder.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff ...
| Apr 2, 9:50 am 2010 |
| Masami Hiramatsu | [PATCH -tip 1/4] [BUGFIX] perf probe: Fix --line syntax ...
Just fix typos. --line option accepts ':START-END' syntax,
not ':START:END'.
Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
---
tools/perf/Documentation/perf-probe.txt | 2 +-
tools/perf/builtin-probe.c | 2 +-
2 files ...
| Apr 2, 9:50 am 2010 |
| Masami Hiramatsu | [PATCH -tip 4/4] [BUGFIX][RESEND] perf probe: Fix to clo ...
Fix to close libdw routine when failing to analyze it in
find_perf_probe_point().
Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
---
tools/perf/util/probe-finder.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git ...
| Apr 2, 9:50 am 2010 |
| Masami Hiramatsu | [PATCH -tip 3/4] [BUGFIX] perf probe: Correct error mess ...
perf probe outputs incorrect error message when it called with
non-exist field on a non-data structure local variable.
<Before>
# perf probe vfs_read 'count.hoge'
Fatal: Structure on a register is not supported yet.
# perf probe vfs_read 'count->hoge'
Fatal: Semantic error: hoge must be referred by '.'
This corrects the messsage.
<After>
# perf probe vfs_read 'count.hoge'
Fatal: count is not a data structure.
# perf probe vfs_read 'count->hoge'
Fatal: count is not a data ...
| Apr 2, 9:50 am 2010 |
| tip-bot for Masami H ... | [tip:perf/core] perf probe: Fix --line syntax help and d ...
Commit-ID: 085ea739adf107b5a5d131f3625e517ff4a5181e
Gitweb: http://git.kernel.org/tip/085ea739adf107b5a5d131f3625e517ff4a5181e
Author: Masami Hiramatsu <mhiramat@redhat.com>
AuthorDate: Fri, 2 Apr 2010 12:50:39 -0400
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 19:35:42 +0200
perf probe: Fix --line syntax help and document
Just fix typos. --line option accepts ':START-END' syntax,
not ':START:END'.
Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: ...
| Apr 2, 12:08 pm 2010 |
| tip-bot for Masami H ... | [tip:perf/core] perf probe: Fix not to return non-matched file
Commit-ID: c9e385826d4f1ca5a72005ab8503598f791a8dc0
Gitweb: http://git.kernel.org/tip/c9e385826d4f1ca5a72005ab8503598f791a8dc0
Author: Masami Hiramatsu <mhiramat@redhat.com>
AuthorDate: Fri, 2 Apr 2010 12:50:45 -0400
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 19:35:42 +0200
perf probe: Fix not to return non-matched file
Fix cu_find_realpath() not to return the last file path
if that is not matched to input pattern.
Signed-off-by: Masami Hiramatsu ...
| Apr 2, 12:08 pm 2010 |
| tip-bot for Masami H ... | [tip:perf/core] perf probe: Correct error message for no ...
Commit-ID: 12e5a7ae475ccb2733d740ffb95d9ca0a18392da
Gitweb: http://git.kernel.org/tip/12e5a7ae475ccb2733d740ffb95d9ca0a18392da
Author: Masami Hiramatsu <mhiramat@redhat.com>
AuthorDate: Fri, 2 Apr 2010 12:50:53 -0400
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 19:35:43 +0200
perf probe: Correct error message for non-structure type
perf probe outputs incorrect error message when it is called with
non-existent field on a non-data structure local ...
| Apr 2, 12:08 pm 2010 |
| tip-bot for Masami H ... | [tip:perf/core] perf probe: Fix to close dwarf when fail ...
Commit-ID: 75ec5a245c7763c397f31ec8964d0a46c54a7386
Gitweb: http://git.kernel.org/tip/75ec5a245c7763c397f31ec8964d0a46c54a7386
Author: Masami Hiramatsu <mhiramat@redhat.com>
AuthorDate: Fri, 2 Apr 2010 12:50:59 -0400
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 19:35:44 +0200
perf probe: Fix to close dwarf when failing to analyze it
Fix to close libdw routine when failing to analyze it in
find_perf_probe_point().
Signed-off-by: Masami Hiramatsu ...
| Apr 2, 12:08 pm 2010 |
| Minchan Kim | Re: [Question] race condition in mm/page_alloc.c regardi ...
It's not enough.
There are normal caller.
I expected some bogus driver of out-of-mainline uses page directly
without enough review.
Is your kernel working well except this bug?
Do you see same oops call trace(about page-allocator) whenever kernel
panic happens?
I mean if something not page-allocadtor breaks memory, you can see
other symptoms. so we can doubt others(H/W, other subsystem).
--
Kind regards,
Minchan Kim
--
| Apr 2, 12:22 am 2010 |
| Minchan Kim | Re: [Question] race condition in mm/page_alloc.c regardi ...
On Fri, Apr 2, 2010 at 2:04 PM, KAMEZAWA Hiroyuki
It does make sense.
Please, grep "page handling" by out-of-mainline code.
If you found out, Please, post it.
--
Kind regards,
Minchan Kim
--
| Apr 1, 10:15 pm 2010 |
| Minchan Kim | Re: [PATCH 14/14] mm,migration: Allow the migration of P ...
page lock can't prevent anon_vma free.
I like this. Kame. How about your opinion?
How about changing comment?
"In this case, swapcache page still "
Also, I want to change "safe_to_remap" to "remap_swapcache".
I think it's just problem related to swapcache page.
So I want to represent it explicitly although we can know it's swapcache
by code.
--
Kind regards,
Minchan Kim
--
| Apr 1, 5:20 pm 2010 |
| Minchan Kim | Re: [Question] race condition in mm/page_alloc.c regardi ...
Seem to not related to the problem.
I don't have seen the problem before.
Could you git-bisect to make sure which patch makes bug?
Is it reproducible?
Can I reproduce it in QEMU-goldfish?
--
Kind regards,
Minchan Kim
--
| Apr 1, 10:13 pm 2010 |
| Ingo Molnar | Re: BUG: null pointer deref in dmar_ir_support
Instead of adding yet another ugly #ifdef please hide these details properly,
by making enable_IR_x2apic() and default_setup_apic_routing() a NOP on !SMP.
Thanks,
Ingo
--
| Apr 2, 11:20 am 2010 |
| Ingo Molnar | Re: [PATCH 0/2] [GIT PULL][v2.6.34] tracing: fixes
Pulled, thanks Steve!
Ingo
--
| Apr 2, 1:07 pm 2010 |
| Ingo Molnar | Re: Discrepancy between comments for sched_find_first_bit
Sure, why not, every instruction counts :-)
Note, if you do it then please also include a disassembly of the area that
changed, so that we document the effect.
Ingo
--
| Apr 2, 2:25 pm 2010 |
| Ingo Molnar | Re: [GIT PULL v3] perf fixes
Pulled, thanks Frederic!
Note, i also queued up this patch from Edwin:
257ef9d: perf, x86: Fix callgraphs of 32-bit processes on 64-bit kernels
with your Acked-by added.
Thanks,
Ingo
--
| Apr 2, 10:32 am 2010 |
| Ingo Molnar | Re: BUG: null pointer deref in dmar_ir_support
Ok, fair enough, i'll queue up this fix.
The best structure would be to integrate these init details into the APIC
driver methods and make UP-IOAPIC nothing particularly special.
Thanks,
Ingo
--
| Apr 2, 11:45 am 2010 |
| Ingo Molnar | Re: [PATCH 0/7] [GIT PULL] tracing: updates
Pulled, thanks a lot Steve!
Ingo
--
| Apr 2, 9:39 am 2010 |
| Ingo Molnar | Re: [PATCH 4/4] [tip:x86/mm] RO/NX protection for loadab ...
just wondering, is the boot crash related to the earlier version of this patch
fixed in this version? If yes, what was the root cause?
Thanks,
Ingo
--
| Apr 2, 10:01 am 2010 |
| Ingo Molnar | Re: Discrepancy between comments for sched_find_first_bit
I guess getting below the 128 bits boundary would shave an instruction and a
branch off or so?
Ingo
--
| Apr 2, 1:16 pm 2010 |
| Ingo Molnar | Re: [RFC,PATCH 2/2] perf, x86: Utilize the LBRs for mach ...
No. What i mean is that with your patch, a debugging session would go like
this:
< kernel crashes > # reboot #1
< admin logs in and scratches head >
< admin consults kernel hackers and enables lbr_debug=1 in /etc/grub.conf >
< admin reboots > # reboot #2
< kernel crashes again > # reboot #3
With the sysctl we'd have one reboot less:
< kernel crashes > # reboot ...
| Apr 2, 1:44 pm 2010 |
| Matt Mackall | Re: [PATCH] proc: pagemap: Hold mmap_sem during page walk
Looks like this gets the wrong return code?
--
Mathematics is the supreme nostalgia of our time.
--
| Apr 2, 7:30 am 2010 |
| Nigel Cunningham | Re: Linux 2.6.32.11
Hi.
The updates aren't available on git.kernel.org yet. Something wrong with
the mirroring perhaps?
Regards,
Nigel
--
| Apr 1, 6:22 pm 2010 |
| Nigel Cunningham | Re: Linux 2.6.32.11
Hi Greg.
Yeah, they all appeared about half an hour after I sent that message.
Perhaps it was just overloading or such like. I was looking at 2.6.31,
32 and 33 (doing the pull/merge/push for the TuxOnIce trees).
Regards,
Nigel
--
| Apr 2, 1:43 pm 2010 |
| Neil Horman | Re: [PATCH 1/2] x86/amd-iommu: enable iommu before attac ...
I'll test this out this weekend, thanks Chris!
--
| Apr 1, 6:35 pm 2010 |
| Neil Horman | Re: [PATCH] amd iommu: force flush of iommu prior during ...
I think its an interesting angle to consider. Thats why I was talking about
cloning the old tables in the new kdump kernel and using the error log to filter
out entries that we could safely assume were complete until enough of the iommu
page tables were free, so that we could continue to hobble along in the kdump
kernel until we got to a proper reboot. All just thought experiment of course.
I'll try tinkering with your idea above first.
--
| Apr 1, 5:00 pm 2010 |
| Nick Cheng | [PATCH 1/3 ] SCSI: Support several features in arcmsr driver
1. To support instantaneous report for SCSU device change by periodic
polling
2. In arcmsr_iop_xfer(), inform AP of F/W's deadlock state to prevent
endless waiting
3. To block the coming SCSI command while the driver is handling bus reset
4. To support HW reset in bus reset error handler
Signed-off-by: Nick Cheng< nick.cheng@areca.com.tw >
---
diff -Naurp --ignore-blank-lines --ignore-all-space --ignore-space-change
arcmsr/arcmsr_attr.c arcmsr.1.20.00.15-81103/arcmsr_attr.c
--- ...
| Apr 1, 9:01 pm 2010 |
| Nick Cheng | [PATCH 3/3 ] SCSI: Support Type C RAID controller
1. To support Type C RAID controller, ACB_ADAPTER_TYPE_C, i.e. PCI device
ID: 0x1880.
Signed-off-by: Nick Cheng< nick.cheng@areca.com.tw >
---
diff -Naurp --ignore-blank-lines --ignore-all-space --ignore-space-change
arcmsr.1.20.00.15-91209/arcmsr.h arcmsr.1.20.00.15-100202/arcmsr.h
--- arcmsr.1.20.00.15-91209/arcmsr.h 2010-02-01 12:41:34.000000000 +0800
+++ arcmsr.1.20.00.15-100202/arcmsr.h 2010-04-02 12:55:27.000000000 +0800
@@ -48,7 +47,7 @@ struct device_attribute;
/*The limit of ...
| Apr 1, 10:55 pm 2010 |
| Nix | Re: unhelpful and somewhat scary r8169 boot message in 2 ...
That's what I thought, *if* the attackers can inject crafted Ethernet
frames onto your local network. (i.e., they need a crafted Ethernet
frame, not just crafted packet contents.)
--
| Apr 2, 3:03 pm 2010 |
| Nix | unhelpful and somewhat scary r8169 boot message in 2.6.3 ...
So I was doing a test-boot of 2.6.33.2 to see if my hang-on-suspend
Radeon DRM regression (fdo bug 26872) was cured (it wasn't), when a
new message appeared at bootup, the second of those below:
[ 8.766768] r8169: fastnet: link up
[ 8.791231] WARNING! Changing of MTU on this NICMay lead to frame reception errors!
(which appeared when I set the MTU on my r8169 to 7200.)
Not only is this message plainly misformatted :) but it does not explain
*why* changing the MTU is suddenly so bad, ...
| Apr 2, 8:19 am 2010 |
| Oleg Nesterov | Re: [PATCH 1/1] tty: release_one_tty() forgets to put pids
I am sorry, I forgot it needs
Reported-by: Catalin Marinas <catalin.marinas@arm.com>
--
| Apr 2, 9:19 am 2010 |
| Oleg Nesterov | Re: [patch] oom: give current access to memory reserves ...
David, you continue to ignore my arguments ;) select_bad_process()
must not filter out the tasks with ->mm == NULL.
Once again:
void *memory_hog_thread(void *arg)
{
for (;;)
malloc(A_LOT);
}
int main(void)
{
pthread_create(memory_hog_thread, ...);
syscall(__NR_exit, 0);
}
Now, even if we fix PF_EXITING check, select_bad_process() will always
ignore this process. The group leader has ->mm == NULL.
See?
That is why I think we need something like ...
| Apr 2, 4:14 am 2010 |
| Oleg Nesterov | Re: [PATCH 1/1] tty: release_one_tty() forgets to put pids
In this case, I don't think this is needed. We are doing
free_tty_struct()->kfree(tty) right after put_pid()s, nobody
can use these pointers or we have another bug.
Most probably this patch is correct (but perhaps it is not the best fix).
Every time tty does put_pid() it should also clear the pointer. But I am
not sure I grepped enough.
Oleg.
--
| Apr 2, 11:48 am 2010 |
| Oleg Nesterov | Re: [patch] oom: give current access to memory reserves ...
Yes, I thought about /proc/pid/oom_score, but imho this is minor issue.
We can s/%lu/%ld/ though, or just report 0 if oom_badness() returns -1.
The problem is, we need task_lock() to pin ->mm. Or, we can change
find_lock_task_mm() to do get_task_mm() and return mm_struct *.
But then oom_badness() (and proc_oom_score!) needs much more changes,
it needs the new "struct mm_struct *mm" argument which is not necessarily
equal to p->mm.
So, I can't agree.
Oleg.
--
| Apr 2, 12:14 pm 2010 |
| Oleg Nesterov | Re: [PATCH 1/1] tty: release_one_tty() forgets to put pids
Yes, probably we can free them earlier.
But I am very nervous about this change, I tried to defer put_pid()
as much as possible, in case something else uses ->prgp/session
before free_tty_struct().
Oleg.
--
| Apr 2, 11:43 am 2010 |
| Oleg Nesterov | Re: [2.6.31 and later] "struct pid" leak.
Serge, Catalin, thanks a lot for the debugging output you sent
me privately ;)
Yes, my first reaction was "it must be tty" too ;)
I seem to understand what happens. If I am right, it is possible
to leak the pid even without X.
I'll try to check my theory and send the patch soon...
Oleg.
--
| Apr 2, 8:29 am 2010 |
| Oleg Nesterov | [PATCH 1/1] tty: release_one_tty() forgets to put pids
release_one_tty(tty) can be called when tty still has a reference
to pgrp/session. In this case we leak the pid.
The patch needs the ack from someone who understand tty magic.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
---
drivers/char/tty_io.c | 2 ++
1 file changed, 2 insertions(+)
--- TTT/drivers/char/tty_io.c~TTY_PID_LEAK 2010-03-17 16:00:59.000000000 +0100
+++ TTT/drivers/char/tty_io.c 2010-04-02 17:23:07.000000000 +0200
@@ -1423,6 +1423,8 @@ static void ...
| Apr 2, 9:05 am 2010 |
| Oleg Nesterov | [PATCH 0/1] tty: release_one_tty() forgets to put pids
Add cc's.
OK. I do not undertand ttys, absolutely. This means the patch
should not be applied without acks. And in fact I feel the patch
probably fixes the symptom, not the problem. But the logic in
disassociate_ctty() is beyond my understanding.
However, I think it is easy to explain the leak.
Catalin, Tetsuo, could you try this patch?
Oleg.
--
| Apr 2, 9:04 am 2010 |
| Oleg Nesterov | [PATCH -mm 0/4] oom: linux has threads
So. Please see the COMPLETELY UNTESTED patches I am sending. They need
your review, or feel free to redo these fixes. 4/4 is a bit off-topic.
Also, please note the "This patch is not enough" comment in 3/4.
Oleg.
--
| Apr 2, 11:30 am 2010 |
| Oleg Nesterov | [PATCH -mm 1/4] oom: select_bad_process: check PF_KTHREA ...
select_bad_process() thinks a kernel thread can't have ->mm != NULL,
this is not true due to use_mm().
Change the code to check PF_KTHREAD.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
---
mm/oom_kill.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
--- MM/mm/oom_kill.c~1_FLITER_OUT_KTHREADS 2010-03-31 17:47:14.000000000 +0200
+++ MM/mm/oom_kill.c 2010-04-02 18:51:05.000000000 +0200
@@ -290,8 +290,8 @@ static struct task_struct *select_bad_pr
for_each_process(p) ...
| Apr 2, 11:31 am 2010 |
| Oleg Nesterov | [PATCH -mm 2/4] oom: select_bad_process: PF_EXITING chec ...
select_bad_process() checks PF_EXITING to detect the task which
is going to release its memory, but the logic is very wrong.
- a single process P with the dead group leader disables
select_bad_process() completely, it will always return
ERR_PTR() while P can live forever
- if the PF_EXITING task has already released its ->mm
it doesn't make sense to expect it is goiing to free
more memory (except task_struct/etc)
Change the code to ignore the PF_EXITING tasks without ...
| Apr 2, 11:32 am 2010 |
| Oleg Nesterov | [PATCH -mm 3/4] oom: introduce find_lock_task_mm() to fi ...
Almost all ->mm == NUL checks in oom_kill.c are wrong.
The current code assumes that the task without ->mm has already
released its memory and ignores the process. However this is not
necessarily true when this process is multithreaded, other live
sub-threads can use this ->mm.
- Remove the "if (!p->mm)" check in select_bad_process(), it is
just wrong.
- Add the new helper, find_lock_task_mm(), which finds the live
thread which uses the memory and takes task_lock() to pin ->mm
- ...
| Apr 2, 11:32 am 2010 |
| Oleg Nesterov | [PATCH -mm 4/4] oom: oom_forkbomb_penalty: move thread_g ...
It doesn't make sense to call thread_group_cputime() under task_lock(),
we can drop this lock right after we read get_mm_rss() and save the
value in the local variable.
Note: probably it makes more sense to use sum_exec_runtime instead
of utime + stime, it is much more precise. A task can eat a lot of
CPU time, but its Xtime can be zero.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
---
mm/oom_kill.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
--- ...
| Apr 2, 11:33 am 2010 |
| Oleg Nesterov | Re: [patch] oom: give current access to memory reserves ...
OK, agreed, this makes more sense and more clean. I misunderstood you even
more before.
Thanks, I'll redo/resend 3/4.
Oleg.
--
| Apr 2, 1:55 pm 2010 |
| Oleg Nesterov | Re: [patch -mm] oom: exclude tasks with badness score of ...
then "|| !chosen" can be killed.
with this patch !chosen <=> !*ppoints, and since points > 0
if (points > *ppoints) {
is enough.
Oleg.
--
| Apr 2, 2:04 pm 2010 |
| tip-bot for Oleg Nes ... | [tip:sched/urgent] sched: set_cpus_allowed_ptr(): Don't ...
Commit-ID: 47a70985e5c093ae03d8ccf633c70a93761d86f2
Gitweb: http://git.kernel.org/tip/47a70985e5c093ae03d8ccf633c70a93761d86f2
Author: Oleg Nesterov <oleg@redhat.com>
AuthorDate: Tue, 30 Mar 2010 18:58:29 +0200
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 20:11:05 +0200
sched: set_cpus_allowed_ptr(): Don't use rq->migration_thread after unlock
Trivial typo fix. rq->migration_thread can be NULL after
task_rq_unlock(), this is why we have "mt" which should be
...
| Apr 2, 12:10 pm 2010 |
| tip-bot for Oleg Nes ... | [tip:sched/core] sched: Kill the broken and deadlockable ...
Commit-ID: 897f0b3c3ff40b443c84e271bef19bd6ae885195
Gitweb: http://git.kernel.org/tip/897f0b3c3ff40b443c84e271bef19bd6ae885195
Author: Oleg Nesterov <oleg@redhat.com>
AuthorDate: Mon, 15 Mar 2010 10:10:03 +0100
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 20:12:01 +0200
sched: Kill the broken and deadlockable cpuset_lock/cpuset_cpus_allowed_locked code
This patch just states the fact the cpusets/cpuhotplug interaction is
broken and removes the deadlockable ...
| Apr 2, 12:11 pm 2010 |
| tip-bot for Oleg Nes ... | [tip:sched/core] sched: move_task_off_dead_cpu(): Take r ...
Commit-ID: 1445c08d06c5594895b4fae952ef8a457e89c390
Gitweb: http://git.kernel.org/tip/1445c08d06c5594895b4fae952ef8a457e89c390
Author: Oleg Nesterov <oleg@redhat.com>
AuthorDate: Mon, 15 Mar 2010 10:10:10 +0100
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 20:12:01 +0200
sched: move_task_off_dead_cpu(): Take rq->lock around select_fallback_rq()
move_task_off_dead_cpu()->select_fallback_rq() reads/updates ->cpus_allowed
lockless. We can race with ...
| Apr 2, 12:12 pm 2010 |
| tip-bot for Oleg Nes ... | [tip:sched/core] sched: move_task_off_dead_cpu(): Remove ...
Commit-ID: c1804d547dc098363443667609c272d1e4d15ee8
Gitweb: http://git.kernel.org/tip/c1804d547dc098363443667609c272d1e4d15ee8
Author: Oleg Nesterov <oleg@redhat.com>
AuthorDate: Mon, 15 Mar 2010 10:10:14 +0100
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 20:12:02 +0200
sched: move_task_off_dead_cpu(): Remove retry logic
The previous patch preserved the retry logic, but it looks unneeded.
__migrate_task() can only fail if we raced with migration after we ...
| Apr 2, 12:12 pm 2010 |
| tip-bot for Oleg Nes ... | [tip:sched/core] sched: sched_exec(): Remove the select_ ...
Commit-ID: 30da688ef6b76e01969b00608202fff1eed2accc
Gitweb: http://git.kernel.org/tip/30da688ef6b76e01969b00608202fff1eed2accc
Author: Oleg Nesterov <oleg@redhat.com>
AuthorDate: Mon, 15 Mar 2010 10:10:19 +0100
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 20:12:02 +0200
sched: sched_exec(): Remove the select_fallback_rq() logic
sched_exec()->select_task_rq() reads/updates ->cpus_allowed lockless.
This can race with other CPUs updating our ->cpus_allowed, and ...
| Apr 2, 12:12 pm 2010 |
| tip-bot for Oleg Nes ... | [tip:sched/core] sched: _cpu_down(): Don't play with cur ...
Commit-ID: 6a1bdc1b577ebcb65f6603c57f8347309bc4ab13
Gitweb: http://git.kernel.org/tip/6a1bdc1b577ebcb65f6603c57f8347309bc4ab13
Author: Oleg Nesterov <oleg@redhat.com>
AuthorDate: Mon, 15 Mar 2010 10:10:23 +0100
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 20:12:03 +0200
sched: _cpu_down(): Don't play with current->cpus_allowed
_cpu_down() changes the current task's affinity and then recovers it at
the end. The problems are well known: we can't restore ...
| Apr 2, 12:12 pm 2010 |
| tip-bot for Oleg Nes ... | [tip:sched/core] sched: Make select_fallback_rq() cpuset ...
Commit-ID: 9084bb8246ea935b98320554229e2f371f7f52fa
Gitweb: http://git.kernel.org/tip/9084bb8246ea935b98320554229e2f371f7f52fa
Author: Oleg Nesterov <oleg@redhat.com>
AuthorDate: Mon, 15 Mar 2010 10:10:27 +0100
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 20:12:03 +0200
sched: Make select_fallback_rq() cpuset friendly
Introduce cpuset_cpus_allowed_fallback() helper to fix the cpuset problems
with select_fallback_rq(). It can be called from any context and ...
| Apr 2, 12:13 pm 2010 |
| Ozgur Yuksel | Re: [Bugme-new] [Bug 15621] New: BUG: unable to handle k ...
It seems that the problem does not reproduce at all now. Unfortunately I do not
have the images I have built on 2010-03-29 08:46 and building from a fresh
ae6be51ed01d6c4aaf249a207b4434bc7785853b does not reproduce the problem. It is
most likely the specific .config I used at the time (which I do not have
anymore). Also I have been doing other builds on the same system, so maybe it
was just a stale module or smth.
FWIW the problem does not reproduce with 2.6.34-rc3 at all too (on the very ...
| Apr 2, 9:59 am 2010 |
| Paul E. McKenney | Re: [PATCH] rcu: don't call rcu_preempt_note_context_swi ...
English is failing me. How about the following patch instead? Untested,
probably does not even compile.
Thanx, Paul
------------------------------------------------------------------------
From 9a1687fcd572ef34ac394a336d6ea79974e1e7e8 Mon Sep 17 00:00:00 2001
From: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Date: Thu, 1 Apr 2010 17:37:01 -0700
Subject: [PATCH tip/core/rcu 1/1] rcu: refactor RCU's context-switch handling
The addition of preemptible RCU to treercu resulted in ...
| Apr 1, 5:53 pm 2010 |
| Paul E. McKenney | Re: [PATCH] rcu: only raise softirq when need
Apologies, my question was unclear. I was asking how you test patches
to RCU in general, not thing in particular.
OK, so if no rcutorture, then I wonder where the extra-long RCU read-side
What you measured is what you measured, don't get me wrong. I am just
wondering how 10% of the scheduling-clock interrupts managed to hit
RCU read-side critical sections.
OK. If you were running CONFIG_TREE_RCU, and if 10% of the execution
time was in preemption-disabled regions in the kernel, ...
| Apr 1, 6:07 pm 2010 |
| Paul E. McKenney | Re: [PATCH] rcu: don't call rcu_preempt_note_context_swi ...
Thank you! It passed overnight testing, so I have queued this for 2.6.35
with your Acked-by.
Thanx, Paul
--
| Apr 2, 8:25 am 2010 |
| Pavel Machek | Re: [linux-pm] what the patches do Re: [RFC 10/15] PM / ...
The fact that it can be done in kernel -- anything can -- but whether
it should. I'd very much like to keep the 'crazy stuff' in userspace.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Apr 1, 11:36 pm 2010 |
| Pavel Machek | Apr 2, 2:40 am 2010 | |
| Pavel Machek | Re: [patch 1/2] genirq: Run irq handlers with interrupts ...
stable? I'd say thats way too intrusive for -stable...
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Apr 2, 2:31 am 2010 |
| Pavel Machek | Re: [patch 1/2] genirq: Run irq handlers with interrupts ...
-stable should have no regressions, first and foremost. And this is
pretty certain to introduce some, at least on low-powered system with
serial ports.
So yes, it is probably better to let the possible stack overruns
unaddressed. We have lived with them for 15 years or so...
(Alternatively, just make the irq stacks bigger? Or just take Andi's
patch, which solves the overruns, and only introduces latency
regressions when it would otherwise crash?)
Pavel
--
(english) ...
| Apr 2, 2:09 pm 2010 |
| Pekka Enberg | Re: [PATCH]slub: fix bad scope checking
Applied, thanks!
--
| Apr 2, 12:03 am 2010 |
| Peter Zijlstra | Re: [patch 1/2] genirq: Run irq handlers with interrupts ...
You've got serial ports with MSI interrupts?
--
| Apr 2, 2:31 pm 2010 |
| Peter Zijlstra | Re: [REGRESSION 2.6.30][PATCH 1/1] sched: defer idle acc ...
The problem with all this per-cpu loadavg is that it would require a
steady tick on each cpu to age this loadavg, which is quite in
contradiction with power savings as they rather like the nohz feature.
No idea yet on what to do about that.
--
| Apr 2, 12:59 am 2010 |
| Peter Zijlstra | Re: 2.6.34-rc3: Badness at kernel/lockdep.c:2706
0x6b is POISON_FREE, so it seems to me sysfs made a boo-boo.
--
| Apr 2, 7:28 am 2010 |
| Pierre Ossman | Re: 64 bit Descriptors in ADMA of Linux SDHost controlle ...
On Thu, 1 Apr 2010 14:46:14 -0700
Quite. The hardware I had at my disposal only supported 32-bit
descriptors and I didn't want to write code that I had no way of
The only performance impact that might occur is if you try to transfer
to/from an address above 4 GiB, at which point you need a bounce buffer
and an extra memory copy.
(I believe the kernel does this by default if the driver doesn't
It's been quite some time since I looked at the driver, but I seem to
recall that adding 64-bit ...
| Apr 2, 10:16 am 2010 |
| Pozsar Balazs | Re: Hung task - sync - 2.6.33-rc7 w/md6 multicore rebui ...
Hi all,
Was there any solution for this problem? We seem to be hitting the same
problem with kernel 2.6.33.1, 12G RAM, and raid10. Noatime does not
help.
Thanks
Balazs Pozsar
--
| Apr 2, 4:01 am 2010 |
| Randy Dunlap | BUG: physmap modprobe & rmmod
2.6.34-rc2 kernel:
Boot up on a common PC, then: modprobe physmap ; rmmod physmap
and bang.
[ 127.836202] calling init_mtd+0x0/0x88 [mtd] @ 3566
[ 127.841742] initcall init_mtd+0x0/0x88 [mtd] returned 0 after 514 usecs
[ 127.863465] calling physmap_init+0x0/0x49 [physmap] @ 3566
[ 127.869454] physmap-flash.0: failed to claim resource 0
[ 127.874760] initcall physmap_init+0x0/0x49 [physmap] returned 0 after 5450 usecs
[ 150.353495] BUG: unable to handle kernel NULL pointer dereference ...
| Apr 2, 1:40 pm 2010 |
| Randy Dunlap | Re: BUG: physmap modprobe & rmmod
This is with close to an allmodconfig on x86_64, including:
CONFIG_MTD_PHYSMAP=m
CONFIG_MTD_PHYSMAP_COMPAT=y
CONFIG_MTD_PHYSMAP_START=0x8000000
CONFIG_MTD_PHYSMAP_LEN=0
CONFIG_MTD_PHYSMAP_BANKWIDTH=2
---
~Randy
--
| Apr 2, 2:47 pm 2010 |
| Randy Dunlap | Re: [PATCH] Documentation: -stable rules: upstream commi ...
Looks good to me. Thanks.
---
~Randy
--
| Apr 2, 9:11 am 2010 |
| Rik van Riel | Re: Ugly rmap NULL ptr deref oopsie on hibernate (was Li ...
Interesting that it is a null pointer dereference, given
that we do not zero out the anon_vma_chain structs before
freeing them.
Page_referenced_anon() takes the anon_vma->lock before
walking the list. The three places where we modify the
anon_vma_chain->same_anon_vma list, we also hold the
lock.
No doubt something in mm/ is doing something silly, but
I have not found anything yet :(
If I had to guess, I'd say maybe we got one of the
mprotect & vma_adjust cases wrong. Maybe a page ...
| Apr 2, 3:01 pm 2010 |
| David Rientjes | Re: [PATCH -mm 1/4] oom: select_bad_process: check PF_KT ...
Acked-by: David Rientjes <rientjes@google.com>
--
| Apr 2, 12:05 pm 2010 |
| David Rientjes | [patch -mm v2] oom: exclude tasks with badness score of ...
An oom_badness() score of 0 means "never kill" according to
Documentation/filesystems/proc.txt, so exclude it from being selected for
kill. These tasks have either detached their p->mm or are set to
OOM_DISABLE.
Also removes an unnecessary initialization of points to 0 in
mem_cgroup_out_of_memory(), select_bad_process() does this already.
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: David Rientjes <rientjes@google.com>
---
mm/oom_kill.c | 13 ++-----------
1 ...
| Apr 2, 2:22 pm 2010 |
| David Rientjes | Re: [patch] oom: give current access to memory reserves ...
I'm not ignoring your arguments, I think you're ignoring what I'm
responding to. I prefer to keep oom_badness() to be a positive range as
it always has been (and /proc/pid/oom_score has always used an unsigned
qualifier), so I disagree that we need to change oom_badness() to return
anything other than 0 for such tasks. We need to filter them explicitly
in select_bad_process() instead, so please do this there.
--
| Apr 2, 12:02 pm 2010 |
| David Rientjes | Re: [PATCH -mm 4/4] oom: oom_forkbomb_penalty: move thre ...
Acked-by: David Rientjes <rientjes@google.com>
--
| Apr 2, 12:04 pm 2010 |
| David Rientjes | Re: [patch] oom: give current access to memory reserves ...
Just have it return 0, meaning never kill, and then ensure "chosen" is
never set for an oom_badness() of 0, even if we don't have another task to
kill. That's how Documentation/filesystems/proc.txt describes it anyway.
--
| Apr 2, 12:46 pm 2010 |
| David Rientjes | [patch -mm] oom: exclude tasks with badness score of 0 f ...
An oom_badness() score of 0 means "never kill" according to
Documentation/filesystems/proc.txt, so explicitly exclude it from being
selected for kill. These tasks have either detached their p->mm or are
set to OOM_DISABLE.
Signed-off-by: David Rientjes <rientjes@google.com>
---
mm/oom_kill.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/mm/oom_kill.c b/mm/oom_kill.c
--- a/mm/oom_kill.c
+++ b/mm/oom_kill.c
@@ -336,6 +336,8 @@ static struct task_struct ...
| Apr 2, 12:54 pm 2010 |
| tip-bot for David Ri ... | [tip:x86/urgent] x86: Increase CONFIG_NODES_SHIFT max to 10
Commit-ID: 51591e31dcb3716f03f962e26ec36a029aa46340
Gitweb: http://git.kernel.org/tip/51591e31dcb3716f03f962e26ec36a029aa46340
Author: David Rientjes <rientjes@google.com>
AuthorDate: Thu, 25 Mar 2010 15:39:27 -0700
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 19:09:31 +0200
x86: Increase CONFIG_NODES_SHIFT max to 10
Some larger systems require more than 512 nodes, so increase the
maximum CONFIG_NODES_SHIFT to 10 for a new max of 1024 nodes.
This was tested ...
| Apr 2, 12:06 pm 2010 |
| Rishikesh K Rajak | [ANNOUNCEMENT][LTP] LTP for March 2010 has been released
Hi All,
Some final last-minute small fixes, but LTP (Linux Test Project )testsuit has
been released for the month of March 2010. This tree is clone of master branch
and tagged version of 0.3.
You can download from :
https://sourceforge.net/projects/ltp/files/LTP%20Source/ltp-20100331/ltp-full-20100331...
Or you can directly clone git version as:
git clone git://ltp.git.sourceforge.net/gitroot/ltp/ltp-dev.git ltp
After merging to GIT tree we have worked mostly on build ...
| Apr 1, 9:38 pm 2010 |
| Rafael J. Wysocki | Re: commit 9630bdd9 changes behavior of the poweroff - bug?
Thanks.
Please also send the contents of /proc/acpi/wakeup.
Rafael
--
| Apr 2, 12:31 pm 2010 |
| Rafael J. Wysocki | Re: [linux-pm] what the patches do Re: [RFC 10/15] PM / ...
On Friday 02 April 2010, Pavel Machek wrote:
IMO the question really boils down to what's the benefit of doing these things
in the kernel vs doing them in the user space.
If doing them in the kernel reduces the overall complexity of design (including
the user space interface involved etc.) I don't really see why not to.
Rafael
--
| Apr 2, 10:03 am 2010 |
| Rafael J. Wysocki | Re: 2.6.31 regression: programs crashing after a couple ...
The change that exposed this issue was elsewhere in the x86 arch code. I don't
know where exactly, but we surely didn't need the above patch before.
Rafael
--
| Apr 2, 9:58 am 2010 |
| Rafael J. Wysocki | [GIT PULL] PM / freezer fixes for 2.6.34
Hi Linus,
Please pull two freezer fixes for 2.6.34 from:
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6.git pm-fixes
The first one fixes the problem that processes frozen by the cgroup freezer
are thawed during resume, although they shouldn't, and the second one makes
the freezer avoid showing the state of the tasks that didn't refuse to freeze.
include/linux/freezer.h | 7 +++++--
kernel/cgroup_freezer.c | 9 ++++++---
kernel/power/process.c | 5 ++---
3 ...
| Apr 2, 12:10 pm 2010 |
| Rafael J. Wysocki | Re: 2.6.34-rc3 doesn't suspend to disk (-rc2 did)
It seems that swap_type_of() returns error code for your swap device.
I'd put a couple of debug printks in there to see what happens.
Rafael
--
| Apr 2, 9:56 am 2010 |
| Rafael J. Wysocki | Re: [Regression, post-rc2] Commit a5ee4eb7541 breaks Ope ...
Ouch, yes it is, sorry.
This one should be complete.
---
From: Clemens Ladisch <clemens@ladisch.de>
Subject: PCI quirk: RS780/RS880: disable MSI completely
The missing initialization of the nb_cntl.strap_msi_enable does not
seem to be the only problem that prevents MSI, so that quirk is not
sufficient to enable MSI on all machines. To be safe, disable MSI
unconditionally for the internal graphics and HDMI audio on these
chipsets.
[rjw: Added the PCI_VENDOR_ID_AI ...
| Apr 2, 9:46 am 2010 |
| tip-bot for Robert R ... | [tip:perf/core] perf, x86: implement ARCH_PERFMON_EVENTS ...
Commit-ID: a098f4484bc7dae23f5b62360954007b99b64600
Gitweb: http://git.kernel.org/tip/a098f4484bc7dae23f5b62360954007b99b64600
Author: Robert Richter <robert.richter@amd.com>
AuthorDate: Tue, 30 Mar 2010 11:28:21 +0200
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 19:52:03 +0200
perf, x86: implement ARCH_PERFMON_EVENTSEL bit masks
ARCH_PERFMON_EVENTSEL bit masks are often used in the kernel. This
patch adds macros for the bit masks and removes local defines. ...
| Apr 2, 12:09 pm 2010 |
| tip-bot for Robert R ... | [tip:perf/core] perf, x86: Undo some some *_counter* -> ...
Commit-ID: 948b1bb89a44561560531394c18da4a99215f772
Gitweb: http://git.kernel.org/tip/948b1bb89a44561560531394c18da4a99215f772
Author: Robert Richter <robert.richter@amd.com>
AuthorDate: Mon, 29 Mar 2010 18:36:50 +0200
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 19:52:02 +0200
perf, x86: Undo some some *_counter* -> *_event* renames
The big rename:
cdd6c48 perf: Do the big rename: Performance Counters -> Performance Events
accidentally renamed some ...
| Apr 2, 12:09 pm 2010 |
| Sachin Sant | 2.6.34-rc3: Badness at kernel/lockdep.c:2706
With 2.6.34-rc3 boot on a Power5 box :
loop: module loaded
BUG: key 6b6b6b6b6b6b6b6b not in .data!
------------[ cut here ]------------
Badness at kernel/lockdep.c:2706
NIP: c00000000010a0a8 LR: c00000000010a08c CTR: c0000000000704a4
REGS: c0000001096d76f0 TRAP: 0700 Not tainted (2.6.34-rc3)
MSR: 8000000000029032 <EE,ME,CE,IR,DR> CR: 28000082 XER: 00000009
TASK = c0000001fa6f8000[1] 'swapper' THREAD: c0000001096d4000 CPU: 12
GPR00: 0000000000000000 c0000001096d7970 c000000001322e38 ...
| Apr 1, 11:03 pm 2010 |
| Samuel Ortiz | Re: [PATCH 12/17] mfd: update gfp/slab.h includes
Thanks, I'm pushing the rdc321x part.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
| Apr 2, 9:25 am 2010 |
| Samuel Ortiz | Re: [PATCH 0/5] TPS6507x MFD driver
Hi Todd,
Mark's review is fairly complete. Please address his concerns, and I'll merge
this patchset.
Cheers,
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
| Apr 2, 6:35 am 2010 |
| Samuel Ortiz | Re: [PATCH] mfd: Improve WM831x AUXADC completion handling
Applied to my for-next branch, thanks.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
| Apr 2, 9:27 am 2010 |
| Samuel Ortiz | Re: [PATCH 2.6.34] mfd: Clean up after WM83xx AUXADC int ...
Hi Mark,
Patch applied to my for-linus branch, thanks.
Cheers,
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
| Apr 2, 6:51 am 2010 |
| Samuel Ortiz | Re: [PATCH] mfd: Add WM8994 interrupt controller support
Hi Mark,
All right, I won't merge it for now.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
| Apr 2, 3:17 am 2010 |
| Samuel Ortiz | Re: [PATCH 12/17] mfd: update gfp/slab.h includes
Hi Tejun,
The davinci MFD driver is sitting in Mark's tree, so I guess he should take
this patch.
Mark, feel free to add my:
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
to this patch.
Cheers,
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
| Apr 2, 3:12 am 2010 |
| Samuel Ortiz | Re: [PATCH] mfd: Add WM8994 interrupt controller support
I'm fine with that, please carry this patch. During the next merge window I'll
wait for your code to be merged upstream, fix any potential merge conflicts
and send my pull request.
Also, I had a look at the code and feel free to add my:
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
to it.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
| Apr 2, 4:30 am 2010 |
| Samuel Ortiz | Re: [patch] mfd: off by one issue
Hi Dan,
Patch applied, many thanks.
Cheers,
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
| Apr 2, 2:55 am 2010 |
| Samuel Ortiz | Re: [PATCH 0/3] add support for Janz MODULbus devices
Hi Ira,
All 3 patches applied, thanks a lot.
After talking with Jesse Barnes (PCI maintainer), I moved the JANZ PCI id back
to the mfd driver. Jesse was saying that when a PCI id is used by only one
driver, it should be defined there and not in pci_ids.h. Sorry for the
mislead.
Cheers,
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
| Apr 2, 3:00 am 2010 |
| Shaohua Li | Re: [PATCH]vmscan: handle underflow for get_scan_ratio
Even we revert the commit, the patch still has its benefit, as it increases
calculation precision, right?
Thanks,
Shaohua
--
| Apr 2, 2:24 am 2010 |
| Shaohua Li | Re: [PATCH]vmscan: handle underflow for get_scan_ratio
Sounds there is no big impact for the workload which you mentioned with the patch.
please see below descriptions.
I updated the description of the patch as fengguang suggested.
Commit 84b18490d introduces a regression. With it, our tmpfs test always oom.
The test uses a 6G tmpfs in a system with 3G memory. In the tmpfs, there are
6 copies of kernel source and the test does kbuild for each copy. My
investigation shows the test has a lot of rotated anon pages and quite few
file pages, so ...
| Apr 1, 11:50 pm 2010 |
| Stephen Hemminger | Re: [RFC] [PATCH v2 3/3] Let host NIC driver to DMA to g ...
On Fri, 2 Apr 2010 15:30:10 +0800
How do you deal with the DoS problem of hostile user space app posting huge
number of receives and never getting anything.
--
| Apr 2, 8:55 am 2010 |
| Huang Shijie | [PATCH] namei.c : update mnt when it needed
update the mnt of the path when it is not equal to the new one.
Signed-off-by: Huang Shijie <shijie8@gmail.com>
---
fs/namei.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/fs/namei.c b/fs/namei.c
index a7dce91..9c3a040 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -523,9 +523,10 @@ static void path_put_conditional(struct path *path, struct nameidata *nd)
static inline void path_to_nameidata(struct path *path, struct nameidata *nd)
{
...
| Apr 2, 2:37 am 2010 |
| Siarhei Liakh | Re: [PATCH 4/4] [tip:x86/mm] RO/NX protection for loadab ...
The crash was related to "[PATCH 3/4] [tip:x86/mm] NX protection for
kernel data" and is fixed by "[PATCH 1/4] [tip:x86/mm] Correcting
improper large page preservation".
The root cause was improper large page split handling in
try_preserve_large_page(): in some circumstances it would erroneously
preserve large page and apply incompatible page attributes to the
memory area outside of the original "change attribute" request.
The crash we found was triggered as follows:
1. kernel is mapped with ...
| Apr 2, 11:46 am 2010 |
| sonic zhang | [PATCH] IIO: struct iio_dev_attr should be defined as static.
Otherwise link errors "multiple definition of `iio_dev_attr_mode'"
are reported when compile multiple different iio drivers with the
same attribute name.
Signed-off-by: Sonic Zhang <sonic.adi@gmail.com>
---
drivers/staging/iio/sysfs.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/iio/sysfs.h b/drivers/staging/iio/sysfs.h
index e501e13..39d207e 100644
--- a/drivers/staging/iio/sysfs.h
+++ b/drivers/staging/iio/sysfs.h
@@ -95,16 +95,16 @@ ...
| Apr 1, 7:55 pm 2010 |
| Sridhar Samudrala | Re: [RFC][PATCH v2 0/3] Provide a zero-copy method on KV ...
What is the advantage of this approach compared to PCI-passthrough
of the host NIC to the guest?
Does this require pinning of the entire guest memory? Or only the
send/receive buffers?
Thanks
--
| Apr 2, 4:51 pm 2010 |
| Stefan Richter | [PATCH 2/3] firewire: ohci: replace empty macros by empt ...
so that call parameter type checking is available in #ifndef'd builds.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
---
drivers/firewire/ohci.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Index: b/drivers/firewire/ohci.c
===================================================================
--- a/drivers/firewire/ohci.c
+++ b/drivers/firewire/ohci.c
@@ -438,9 +438,9 @@ static void log_ar_at_event(char dir, in
#else
-#define log_irqs(evt)
-#define ...
| Apr 2, 5:05 am 2010 |
| Stefan Richter | [PATCH 1/3] firewire: ohci: function names cleanup
The ohci_ prefix is only used in function names of fw_card_driver hooks.
There are two exceptions which I carelessly added.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
---
drivers/firewire/ohci.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
Index: b/drivers/firewire/ohci.c
===================================================================
--- a/drivers/firewire/ohci.c
+++ b/drivers/firewire/ohci.c
@@ -2299,7 +2299,7 @@ static const struct ...
| Apr 2, 5:05 am 2010 |
| Stefan Richter | [PATCH 3/3] firewire: ohci: fix nonstandard build withou ...
CONFIG_FIREWIRE_OHCI_DEBUG is currently a hidden kconfig variable, hence
is not going to be switched off by anybody. Still, it can be switched
off but then compilation will fail in ohci_enable() at the expression
param_debug & OHCI_PARAM_DEBUG_BUSRESETS.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
---
drivers/firewire/ohci.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Index: ...
| Apr 2, 5:06 am 2010 |
| Steffen Klassert | Re: [PATCH] padata: section cleanup
Yes, wait_for_completion() is probably the better way to do the
The try-again loop it to handle a corner case that appears with the trylock.
Well, the idea behind that was to maintain a cpumask the user wishes to
use for parallelization. The cpumask that is actually used, is the logical and
between user's cpumask and the cpu_active_mask. The reason for maintaining
such a cpumask was to keep the user supplied cpumask untouched on hotplug
events. If a cpu goes down and then up again ...
| Apr 2, 4:23 am 2010 |
| Steven J. Magnani | [PATCH] microblaze: Fix ftrace_update_ftrace_func panic
The Microblaze dynamic ftrace code assumes a call ordering that is not met
in all scenarios. Specifically, executing a command similar to:
echo 105 > /sys/kernel/debug/tracing/set_ftrace_pid
before any other tracing-related commands results in a kernel panic:
BUG: failure at arch/microblaze/kernel/ftrace.c:198/ftrace_update_ftrace_func()!
Recoding ftrace_update_ftrace_func() to use &ftrace_caller directly eliminates
the need to capture its address elsewhere (and thus rely on a ...
| Apr 2, 11:29 am 2010 |
| Suresh Siddha | Re: [patch v2 1/2] sched: check for prev_cpu == this_cpu ...
Mike, Apart from this small tweak that you added in wake_up() path there
is no extra logic that keeps buddies together for long. As I was saying,
fork/exec balance starts apart and in the partial loaded case (i.e.,
when # of running tasks <= # of sockets or # of total cores) the default
load balancer policy also tries to distribute the load equally among
sockets/cores (for peak cache/memory controller bw etc). While the
wakeup() may keep the buddies on SMT siblings, next load balancing ...
| Apr 2, 10:05 am 2010 |
| Suresh Siddha | Re: BUG: null pointer deref in dmar_ir_support
Ingo, These are not nops on !SMP. We should call these functions from
APIC_init_uniprocessor() only if it is a UP kernel. For SMP kernel they
are called from some where else.
With the current code, on SMP and with non SMP motherboard we were
calling these routines twice which cause problem.
I wanted to keep the patch simple for urgent/backport. I will clean this
by restructuring the init code for 2.6.35
thanks,
suresh
--
| Apr 2, 11:28 am 2010 |
| Suresh Siddha | Re: BUG: null pointer deref in dmar_ir_support
Jan responded to me in private that this was indeed an initrd issue and
this patch is working fine to him.
Thomas/Peter/Ingo: please consider this patch for urgent tree.
thanks,
suresh
--
| Apr 2, 10:21 am 2010 |
| tip-bot for Suresh S ... | [tip:x86/urgent] x86: Fix double enable_IR_x2apic() call ...
Commit-ID: 472a474c6630efd195d3738339fd1bdc8aa3b1aa
Gitweb: http://git.kernel.org/tip/472a474c6630efd195d3738339fd1bdc8aa3b1aa
Author: Suresh Siddha <suresh.b.siddha@intel.com>
AuthorDate: Wed, 31 Mar 2010 18:04:47 -0700
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 2 Apr 2010 20:48:47 +0200
x86: Fix double enable_IR_x2apic() call on SMP kernel on !SMP boards
Jan Grossmann reported kernel boot panic while booting SMP
kernel on his system with a single core cpu. SMP ...
| Apr 2, 12:14 pm 2010 |
| Taylor Lewick | Re: Increased Latencies when upgrading kernel version
Okay. I will get this info out to the list Monday. Briefly, I'm
using identical hardware (server), identical NICs, same drivers,
connected to same switch, and using udpping, hackbench, and an
internall written app to test latency. Without exception the
evolution has looked like the following.
2.6.16.60 latencies for system and network are fast. Meaning
hackbench and udpping win, and win by quite a bit.
2.6.27.19 was awful. 2.6.32.1 and 2.6.331. were better for networking
(with some ...
| Apr 1, 6:53 pm 2010 |
| TAO HU | Re: [Question] race condition in mm/page_alloc.c regardi ...
Hi, KOSAKI Motohiro
I'm glad to know your're considering patch "mm: Check if any ..."
though it is not my original purpose :)
cc: Arve Hjønnevåg who is the author
On Fri, Apr 2, 2010 at 1:03 PM, KOSAKI Motohiro
--
| Apr 1, 10:19 pm 2010 |
| TAO HU | Re: [Question] race condition in mm/page_alloc.c regardi ...
2 patches related to page_alloc.c were applied.
Does anyone see a connection between the 2 patches and the panic?
NOTE: the full patches are attached.
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index a596bfd..34a29e2 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -2551,6 +2551,20 @@ static inline unsigned long
wait_table_bits(unsigned long size)
#define LONG_ALIGN(x) (((x)+(sizeof(long))-1)&~((sizeof(long))-1))
/*
+ * Check if a pageblock contains reserved pages
+ ...
| Apr 1, 8:51 pm 2010 |
| TAO HU | Re: [Question] race condition in mm/page_alloc.c regardi ...
Hi, Minchan Kim
It is hard to reproduce the problem.
We only observed it twice in the past month.
And it randomly occurred a few more times before.
So I'm afraid neither git-bisect nor QEMU-goldfish would help.
--
| Apr 1, 11:48 pm 2010 |
| TAO HU | Re: [Question] race condition in mm/page_alloc.c regardi ...
Hi, kamezawa hiroyu
Thanks for the hint!
Hi, Minchan Kim
Sorry. Not exactly sure your idea about <grep "page handling">.
Below is a result of $ grep -n -r "list_del(&page->lru)" * in our src ...
| Apr 2, 12:00 am 2010 |
| Thomas Gleixner | Re: [patch 1/2] genirq: Run irq handlers with interrupts ...
Pavel,
I think you misunderstood what I'm going to push. The patch merily
forces IRQF_DISABLED for MSI(X) based interrupts. So that does not
affect low powered systems in any way.
It only affects high end systems where Dave Miller already said he did
the IRQF_DISABLED magic already in some NIC drivers just to prevent
that.
So I think your fear of regressions for low-powered systems is
completely unsubstantiated.
Thanks,
tglx
--
| Apr 2, 3:51 pm 2010 |
| Thomas Gleixner | Re: [patch 1/2] genirq: Run irq handlers with interrupts ...
So we better let the possible stack overruns unaddressed ?
Thanks,
tglx
--
| Apr 2, 1:42 pm 2010 |
| Tejun Heo | Re: [PATCHSET] cpuhog: implement and use cpuhog
Hello, Peter.
Yeap, sure. I don't think naming one way or the other is a problem
logistics-wise. These aren't very widely used APIs anyway. I've been
thinking quite a while about it and visible interface like the
following would probably fit your suggestion.
* stop_cpu() - identical to hog_cpu()
* stop_cpus() - identical to hog_cpus()
* stop_machine()
It's just that stop_cpu[s]() don't look like good names because they
don't really stop cpus. This distinction is visible ...
| Apr 1, 10:45 pm 2010 |
| Tejun Heo | [GIT PULL] sched/core: implement and cpuhog
Hello, Ingo.
Can you please pull from the following git tree into sched/core to
receive cpuhog patches?
git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git cpuhog
Both sched/core and the patches remained the same from the second
take[2]. Rusty Russell acked stop_machine changes and Oleg likes the
changes.
Peter agrees with the mechanics but is unhappy with the naming and
suggests using stop_cpu/machine() names instead. Currently, visible
API is
* hog_one_cpu()
* ...
| Apr 1, 11:16 pm 2010 |
| Tejun Heo | Re: [GIT PULL] sched/core: implement and *use* cpuhog
Heh, where did my 'use' in $SUBJ go? :-)
--
tejun
--
| Apr 1, 11:18 pm 2010 |
| Todd Fischer | [PATCH 0/4]-V2 TPS6507x MFD driver
This is the second posting of the TPS6507x driver set. I have
incorporated Mark Brown's feedback and retested. Patches 3 and
5 have been combined so there are only 4 patches in the series now.
The TPS6507x family of Texas Instruments power management ICs (pmic) are
multi-function chips that include voltage regulation and touch screen
controller capabilities. This patch set adds a TPS6507x multi-function
device driver and change the TPS6507x regulator driver to use the
TPS6507x MFD driver ...
| Apr 2, 2:37 pm 2010 |
| Todd Fischer | [PATCH 0/4]-V2 TPS6507x MFD driver
This is the second posting of the TPS6507x driver set. I have
incorporated Mark Brown's feedback and retested. Patches 3 and
5 have been combined so there are only 4 patches in the series now.
The TPS6507x family of Texas Instruments power management ICs (pmic) are
multi-function chips that include voltage regulation and touch screen
controller capabilities. This patch set adds a TPS6507x multi-function
device driver and change the TPS6507x regulator driver to use the
TPS6507x MFD driver ...
| Apr 2, 2:33 pm 2010 |
| Todd Fischer | [PATCH 1/4]-V2 Move TPS6507x register definition to head ...
Other sub-drivers for the TPS6507x chip will need to use register
definition so move it out of the source file and into a header file.
Signed-off-by: Todd Fischer <todd.fischer@ridgerun.com>
---
drivers/regulator/tps6507x-regulator.c | 60 +--------------
include/linux/mfd/tps6507x.h | 134 ++++++++++++++++++++++++++++++++
2 files changed, 135 insertions(+), 59 deletions(-)
create mode 100644 include/linux/mfd/tps6507x.h
diff --git a/drivers/regulator/tps6507x-regulator.c ...
| Apr 2, 2:37 pm 2010 |
| Todd Fischer | [PATCH 2/4]-V2 Make room for other tps6507x drivers to h ...
Add mfd structure which refrences sub-driver initialization data. For example,
for a giving hardware implementation, the voltage regulator sub-driver
initialization data provides the mapping betten a voltage regulator and what
the output voltage is being used for.
Signed-off-by: Todd Fischer <todd.fischer@ridgerun.com>
---
arch/arm/mach-davinci/board-da850-evm.c | 7 ++++++-
drivers/regulator/tps6507x-regulator.c | 14 ++++++++++++--
include/linux/mfd/tps6507x.h | 11 ...
| Apr 2, 2:37 pm 2010 |
| Todd Fischer | [PATCH 3/4]-V2 Cleaned up name space so each MFD sub-dri ...
Move from using tps or tsp6507x to tps6057x_pmic in a consistent manner.
Signed-off-by: Todd Fischer <todd.fischer@ridgerun.com>
---
drivers/regulator/tps6507x-regulator.c | 172 ++++++++++++++++----------------
1 files changed, 87 insertions(+), 85 deletions(-)
diff --git a/drivers/regulator/tps6507x-regulator.c b/drivers/regulator/tps6507x-regulator.c
index becf652..86f2e05 100644
--- a/drivers/regulator/tps6507x-regulator.c
+++ b/drivers/regulator/tps6507x-regulator.c
@@ -103,7 +103,7 ...
| Apr 2, 2:37 pm 2010 |
| Todd Fischer | [PATCH 4/4]-V2 Add MFD driver for TPS6507x family of mul ...
Add MFD driver for TPS6507x family of multi-function chips. Move TPS6507x
regulator driver from being stand-alone driver to using the MFD TPS6507x driver.
Signed-off-by: Todd Fischer <todd.fischer@ridgerun.com>
---
drivers/mfd/Kconfig | 12 +++
drivers/mfd/Makefile | 3 +-
drivers/mfd/tps6507x.c | 145 ++++++++++++++++++++++++++++++
drivers/regulator/tps6507x-regulator.c | 153 +++++++++++++++----------------
...
| Apr 2, 2:37 pm 2010 |
| Linus Torvalds | Re: Ugly rmap NULL ptr deref oopsie on hibernate (was Li ...
I think this is likely due to the new scalable anon_vma linking by Rik.
Nothing else I can imagine should have introduced anything like it.
Rik: the picures have the information, but you need to look at several to
see both the oops and the backtrace. Here's a condensed version:
shrink_all_memory ->
do_try_to_free_pages ->
shrink_zone ->
shrink_inactive_list ->
shrink_page_list ->
page_referenced
where page_referenced() oopses due ...
| Apr 2, 11:09 am 2010 |
| Linus Torvalds | Re: [PATCH 4/5] kgdb: Use atomic operators which use barriers
Hmm. While I absolutely agree that 'cpu_relax()' does not imply a memory
barrier, I disagree that this change should be needed. If ARM has odd
semantics where it will never see changes in a busy loop, then ARM is
buggy, and that has _nothing_ to do with the Linux notion of memory
barriers.
The _whole_ point of "cpu_relax()" is to have busy loops. And the point of
busy loops is that they are waiting for something to change. So if this
can somehow lock up because "cpu_relax()" ...
| Apr 2, 12:12 pm 2010 |
| Linus Torvalds | Re: [PATCH 4/5] kgdb: Use atomic operators which use barriers
I always agreed that it was not a memory barrier.
In fact, the commit that extended on the "volatile-considered-harmful"
patch from you has this quote from me in the commit logs:
Linus sayeth:
: I don't think it was ever the intention that it would be seen as anything
: but a compiler barrier, although it is obviously implied that it might
: well perform some per-architecture actions that have "memory barrier-like"
: semantics.
:
: After all, the ...
| Apr 2, 4:24 pm 2010 |
| Linus Torvalds | Re: [PATCH 4/5] kgdb: Use atomic operators which use barriers
Btw, this is not necessarily just limited to cpu_relax() either. The
assumption that we'll eventually see changes to memory is pretty common.
If some architecture doesn't see updates from other CPU's (or maybe DMA)
without extra help, I suspect that it might be a good idea to not just
have IO instructions but also things like 'udelay()' have that "extra
helping sauce" in them.
For the exact same reason: we have drivers that depend on things like
jiffies updates happening ...
| Apr 2, 1:07 pm 2010 |
| Linus Torvalds | Re: [Regression, post-rc2] Commit a5ee4eb7541 breaks Ope ...
Hmm. Isn't this missing a
From: Clemens Ladisch <clemens@ladisch.de>
too? Or was the original patch yours?
Linus
--
| Apr 1, 5:23 pm 2010 |
| Linus Torvalds | Re: start_kernel(): bug: interrupts were enabled early
I think you're missing the part where we're not _adding_ any irq disables:
we're just changing the unconditional irq disable to a save-and-disable
(and the unconditional irq enable to a restore).
So even if irq's are expensive to disable, the change from
spin_lock_irq()
to
spin_lock_irqsave()
Again, you seem to think that we used to have just a plain spin_lock. Not
so. We currently have a spin_lock_irq(), and it is NOT a no-op even on UP.
It does that irq ...
| Apr 2, 7:54 am 2010 |
| Linus Torvalds | Re: [PATCH 1/1] tty: release_one_tty() forgets to put pids
Hmm. Maybe we should have cleared this in tty_release() already. We
already do some of the session clearing there (but we clear the session in
the _tasks_ associated with the tty, not the tty session pointer).
I think the patch is simpler than worrying about the much more complex
release logic. So I think I actually prefer this patch over something that
tries to be clever in tty_release.
We might even push it into "free_tty_struct()", although I think that the
only ...
| Apr 2, 10:46 am 2010 |
| Linus Torvalds | Re: Ugly rmap NULL ptr deref oopsie on hibernate (was Li ...
Yup, looks like the same thing, except that bugzilla entry was due to
swapping rather than hibernation and memory shrinking. But same end
result, just different reasons for why we were trying to shrink the page
lists.
Linus
--
| Apr 2, 11:37 am 2010 |
| Linus Torvalds | Re: [PATCH 4/5] kgdb: Use atomic operators which use barriers
Russell is wrong.
Yes, originally it was about P4's overheating. But let me repeat: the fact
is, this _is_ valid kernel code:
kernel/sched.c- while (task_is_waking(p))
kernel/sched.c: cpu_relax();
(where that "task_is_waking()" is simply doing two regular reads, and
expects another CPU to be changing them).
This has _nothing_ to do with memory barriers, or with overheating.
The fact that maybe some ARM6 cache coherency implementation is pure and
utter sh*t and never ...
| Apr 2, 12:43 pm 2010 |
| Linus Torvalds | Re: [PATCH 4/5] kgdb: Use atomic operators which use barriers
Put another way: from a kernel standpoint, cpu_relax() in _no_ way implies
a memory barrier. That has always been true, and that continues to be
true.
But Linux does expect that if some other CPU modifies a memory location,
then we _will_ see that modification eventually. If the CPU needs help to
do so, then cpu_relax() needs to do that. Again - this has nothing to do
with memory barriers. It's just a basic requirement.
Linus
--
| Apr 2, 12:46 pm 2010 |
| Linus Torvalds | Re: [Kgdb-bugreport] [PATCH 4/5] kgdb: Use atomic operat ...
Yeah, this patch I have no issues with.
Now your changelog makes no sense any more.
Linus
--
| Apr 2, 12:47 pm 2010 |
| tytso | Re: [PATCH] ext4: allow defrag (EXT4_IOC_MOVE_EXT) in 32 ...
Thanks, added to the ext4 patch queue.
- Ted
--
| Apr 2, 2:48 pm 2010 |
| Tom Zanussi | [PATCH] perf/scripts: tuple was set from long in both br ...
This is a fix to the signed/unsigned field handling in the Python
scripting engine, based on a patch from Roel Kluin.
Basically, Python wants to use a PyInt (which is internally a long) if
it can i.e. if the value will fit into that type. If not, it stores it
into a PyLong, which isn't actually a long, but an arbitrary-precision
integer variable.
The code below is similar to to what Python does internally, and it
seems to work as expected on the x86 and x86_64 sytems I tested it ...
| Apr 1, 9:58 pm 2010 |
| Tom Zanussi | [RFC v2][PATCH 03/11] perf report: introduce special han ...
Adds special treatment for stdin - if the user specifies '-i -' to
perf report, the intent is that the event stream be written to stdin
rather than from a disk file.
The actual handling of the '-' filename is done by the session; this
just adds a signal handler to stop reporting, and turns off
interference by the pager.
Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
---
tools/perf/builtin-report.c | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git ...
| Apr 1, 9:59 pm 2010 |
| Tom Zanussi | [RFC v2][PATCH 04/11] perf trace: introduce special hand ...
Adds special treatment for stdin - if the user specifies '-i -' to
perf trace, the intent is that the event stream be read from stdin
rather than from a disk file.
The actual handling of the '-' filename is done by the session; this
just adds a signal handler to stop reporting, and turns off
interference by the pager.
Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
---
tools/perf/builtin-trace.c | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git ...
| Apr 1, 9:59 pm 2010 |
| Tom Zanussi | [RFC v2][PATCH 0/7] perf: 'live mode'
Currently, a perf session entails two steps: first 'perf record' or
'perf trace record' records the perf data to disk, then 'perf report'
or 'perf trace report' reads the saved data from disk and reports the
results.
This experimental patchset makes some changes to perf that instead
allow the perf data to be piped directly from the record step to the
report step, without ever touching the disk.
This is especially useful for 'perf trace' - adding this capability
means that the trace scripts ...
| Apr 1, 9:59 pm 2010 |
| Tom Zanussi | [RFC v2][PATCH 02/11] perf record: introduce special han ...
Adds special treatment for stdout - if the user specifies '-o -' to
perf record, the intent is that the event stream be written to stdout
rather than to a disk file.
Also, redirect stdout of forked child to stderr - in pipe mode, stdout
of the forked child interferes with the stdout perf stream, so
redirect it to stderr where it can still be seen but won't be mixed in
with the perf output.
Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
---
tools/perf/builtin-record.c | 18 ...
| Apr 1, 9:59 pm 2010 |
| Tom Zanussi | [RFC v2][PATCH 08/11] perf: convert perf header build_id ...
Bypasses the build_id perf header code and replaces it with a
synthesized event and processing function that accomplishes the same
thing, used when reading/writing perf data to/from a pipe.
Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
---
tools/perf/builtin-record.c | 15 ++++++-
tools/perf/builtin-report.c | 1 +
tools/perf/builtin-trace.c | 1 +
tools/perf/util/event.h | 2 +
tools/perf/util/header.c | 90 +++++++++++++++++++++++++++++++++++++++++++
...
| Apr 1, 9:59 pm 2010 |
| Tom Zanussi | [RFC v2][PATCH 05/11] perf: convert perf header attrs in ...
Bypasses the attr perf header code and replaces it with a synthesized
event and processing function that accomplishes the same thing, used
when reading/writing perf data to/from a pipe.
Making the attrs into events allows them to be streamed over a pipe
along with the rest of the header data (in later patches). It also
paves the way to allowing events to be added and removed from perf
sessions dynamically.
Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
---
tools/perf/builtin-record.c | ...
| Apr 1, 9:59 pm 2010 |
| Tom Zanussi | [RFC v2][PATCH 10/11] perf trace/scripting: enable scrip ...
It should be possible to run any perf trace script in 'live mode'.
This requires being able to pass in e.g. '-i -' or other args, which
the current shell scripts aren't equipped to handle. In a few cases,
there are required or optional args that also need special handling.
This patch makes changes the current set of shell scripts as
necessary.
Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
---
tools/perf/scripts/perl/bin/failed-syscalls-record | 2 +-
...
| Apr 1, 9:59 pm 2010 |
| Tom Zanussi | [RFC v2][PATCH 11/11] perf trace: invoke live mode autom ...
Currently, live mode is invoked by explicitly invoking the record and
report sides and connecting them with a pipe e.g.
$ perf trace record rwtop -o - | perf trace report rwtop 5 -i -
In terms of usability, it's not that bad, but it does require the user
to type and remember more than necessary.
This patch allows the user to accomplish the same thing without
specifying the separate record/report steps or the pipe. So the same
command as above can be accomplished more simply as:
$ perf ...
| Apr 1, 9:59 pm 2010 |
| Tom Zanussi | [RFC v2][PATCH 07/11] perf: convert perf tracing data in ...
Bypasses the tracing_data perf header code and replaces it with a
synthesized event and processing function that accomplishes the same
thing, used when reading/writing perf data to/from a pipe.
The tracing data is pretty large, and this patch doesn't attempt to
break it down into component events. The tracing_data event itself
doesn't actually contain the tracing data, rather it arranges for the
event processing code to skip over it after it's read, using the skip
return value added to the ...
| Apr 1, 9:59 pm 2010 |
| Tom Zanussi | [RFC v2][PATCH 09/11] perf trace/scripting: rwtop and sc ...
A couple of scripts, one in Python and the other in Perl, that
demonstrate 'live mode' tracing. For each, the output of the perf
event stream is fed continuously to the script, which continuously
aggregates the data and reports the current results every 3 seconds,
or at the optionally specified interval. After the current results
are displayed, the aggregations are cleared and the cycle begins anew.
To run the scripts, simply pipe the output of the 'perf trace record'
step as input to the ...
| Apr 1, 9:59 pm 2010 |
| Tom Zanussi | [RFC v2][PATCH 01/11] perf: add pipe-specific header rea ...
This patch makes several changes to allow the perf event stream to be
sent and received over a pipe:
- adds pipe-specific versions of the header read/write code
- adds pipe-specific version of the event processing code
- adds a range of event types to be used for header or other pseudo
events, above the range used by the kernel
- checks the return value of event handlers, which they can use to
skip over large events during event processing rather than actually
reading them into ...
| Apr 1, 9:59 pm 2010 |
| Tom Zanussi | [RFC v2][PATCH 06/11] perf: convert perf event types int ...
Bypasses the event type perf header code and replaces it with a
synthesized event and processing function that accomplishes the same
thing, used when reading/writing perf data to/from a pipe.
Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
---
tools/perf/builtin-record.c | 7 +++++
tools/perf/builtin-report.c | 1 +
tools/perf/builtin-trace.c | 1 +
tools/perf/util/event.h | 14 +++++++++
tools/perf/util/header.c | 62 ++++++++++++++++++++++++++++++++++++++-----
...
| Apr 1, 9:59 pm 2010 |
| Vivek Goyal | Re: [PATCH 2/3] blkio: Add io controller stats like
On Thu, Apr 01, 2010 at 03:01:24PM -0700, Divyesh Shah wrote:
Hi Divyesh,
I think now you are exporting blkio.time in ns instead of ms?
- First of all your are breaking ABI.
- Secondly, how does that help. You are capturing all your slice used
stats in ms. You already lost any ns granularity. What's the point
in converting these to ns now?
- Does user space software really need that fine grained accounting. If
this information is used for charging purposes, isn't ms good enough.
...
| Apr 2, 11:17 am 2010 |
| Vivek Goyal | Re: [PATCH 1/2] x86/amd-iommu: enable iommu before attac ...
Ok, so now we do enable_iommu() before we attach devices and flush DTE and
domain PDE, IO TLB. That makes sense.
Following is just for my education purposes. Trying to understand better
the impact of in-flight DMAs. So IIUC, in kudmp context following seems to be
sequence of events.
1. kernel crashes, we leave IOMMU enabled.
2. boot into capture kernel and we call enable_iommus(). This function
first disables iommu, sets up new device table and enables iommus
again.
a. So during ...
| Apr 2, 8:59 am 2010 |
| Vivek Goyal | Re: [PATCH 2/3] blkio: Add io controller stats like
Hi Divyesh,
Some more description what exactly these stats are will be helpful. Please
also update Documentation/cgroup/blkio-controller.txt file appropriately.
get_key_name() should be static? Can we prefix all these internal function
names with blkio?
Do we have to introduce this separate notion of char *disk_id. Can we
simply stick to dev_t and do the sprintf like functions to convert that
Can we move above define to the beginning of the file. So that it is
static function? ...
| Apr 2, 11:10 am 2010 |
| Vivek Goyal | Re: [PATCH 3/3] blkio: Increment the blkio cgroup stats ...
Hi Divyesh,
Can we have any request based information limited to cfq and not put that
in blkio-cgroup. The reason being that I am expecting that some kind of
max bw policy interface will not necessarily be implemented at CFQ
level. We might have to implement it at higher level so that it can
work with all dm/md devices. If that's the case, then it might very well
be either a bio based interface also.
So just keeping that possibility in mind, can we keep blk-cgroup as
generic as possible ...
| Apr 2, 12:10 pm 2010 |
| Wolfram Sang | [PATCH 1/2] Fix 'key f70f4b50 not in .data' in thermal_sys
From: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Initialize sysfs attributes before device_create_file call. Fixes
Bug #15548.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Greg KH <gregkh@suse.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
---
drivers/thermal/thermal_sys.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git ...
| Apr 1, 6:02 pm 2010 |
| Wolfram Sang | [PATCH 2/2] device_attributes: add sysfs_attr_init() for ...
Made necessary by 6992f5334995af474c2b58d010d08bc597f0f2fe. Prevents further
"key xxx not in .data" bug-reports. Although some attributes could probably be
converted to static ones, this is left for people having hardware to test.
Found by this semantic patch:
@ init @
type T;
identifier A;
@@
T {
...
struct device_attribute A;
...
};
@ main extends init @
expression E;
statement S;
identifier err;
T *name;
@@
...
| Apr 1, 6:02 pm 2010 |
| Xin, Xiaohui | RE: [PATCH v1 2/3] Provides multiple submits and asynchr ...
The change to memory happens when vhost_add_used_and_signal(), right?
So after ioctl returns, just recompute the log info to the events in the async queue,
is ok. Since the ioctl and write log operations are all protected by vq->mutex.
Thanks
--
| Apr 1, 7:16 pm 2010 |
| xiaohui.xin | [RFC][PATCH v2 0/3] Provide a zero-copy method on KVM vi ...
The idea is simple, just to pin the guest VM user space and then
let host NIC driver has the chance to directly DMA to it.
The patches are based on vhost-net backend driver. We add a device
which provides proto_ops as sendmsg/recvmsg to vhost-net to
send/recv directly to/from the NIC driver. KVM guest who use the
vhost-net backend may bind any ethX interface in the host side to
get copyless data transfer thru guest virtio-net frontend.
The scenario is like this:
The guest virtio-net driver ...
| Apr 2, 12:25 am 2010 |
| xiaohui.xin | [RFC] [PATCH v2 1/3] A device for zero-copy based on KVM ...
From: Xin Xiaohui <xiaohui.xin@intel.com>
Add a device to utilize the vhost-net backend driver for
copy-less data transfer between guest FE and host NIC.
It pins the guest user space to the host memory and
provides proto_ops as sendmsg/recvmsg to vhost-net.
Signed-off-by: Xin Xiaohui <xiaohui.xin@intel.com>
Signed-off-by: Zhao Yu <yzhao81@gmail.com>
Sigend-off-by: Jeff Dike <jdike@c2.user-mode-linux.org>
---
drivers/vhost/Kconfig | 5 +
drivers/vhost/Makefile | 2 +
...
| Apr 2, 12:27 am 2010 |
| xiaohui.xin | [RFC] [PATCH v2 2/3] Provides multiple submits and async ...
From: Xin Xiaohui <xiaohui.xin@intel.com>
The vhost-net backend now only supports synchronous send/recv
operations. The patch provides multiple submits and asynchronous
notifications. This is needed for zero-copy case.
Signed-off-by: Xin Xiaohui <xiaohui.xin@intel.com>
---
drivers/vhost/net.c | 189 +++++++++++++++++++++++++++++++++++++++++++++++--
drivers/vhost/vhost.h | 10 +++
2 files changed, 192 insertions(+), 7 deletions(-)
diff --git a/drivers/vhost/net.c ...
| Apr 2, 12:28 am 2010 |
| xiaohui.xin | [RFC] [PATCH v2 3/3] Let host NIC driver to DMA to guest ...
From: Xin Xiaohui <xiaohui.xin@intel.com>
The patch let host NIC driver to receive user space skb,
then the driver has chance to directly DMA to guest user
space buffers thru single ethX interface.
We want it to be more generic as a zero copy framework.
Signed-off-by: Xin Xiaohui <xiaohui.xin@intel.com>
Signed-off-by: Zhao Yu <yzhao81@gmail.com>
Sigend-off-by: Jeff Dike <jdike@c2.user-mode-linux.org>
---
We consider 2 way to utilize the user buffres, but not sure which one
is better. ...
| Apr 2, 12:30 am 2010 |
| Xiaotian Feng | Re: [PATCH] Block: Fix block/elevator.c elevator_get() o ...
elv is defined as char elv[ELV_NAME_MAX + strlen("-iosched")];
so if name length > sizeof(elv), the name length must already bigger
than ELV_NAME_MAX
elevator_get is used in elevator_init, so if elevator_init is passing
a super long name, why not just return -EINVAL?
In this patch, if we pass a super long name, we're still trying to cut
it and request_module an invalid name, right?
--
| Apr 2, 12:14 am 2010 |
| Zhang, Yanmin | Re: hackbench regression due to commit 9dfc6e68bfe6e
Thanks. The moving cpu_slab to tail doesn't improve it.
I used perf to collect statistics. Only data cache miss has a little difference.
My testing command on my 2 socket machine:
#hackbench 100 process 20000
With 2.6.33, it takes for about 96 seconds while 2.6.34-rc2 (or the latest tip tree)
takes for about 101 seconds.
perf shows some functions around SLUB have more cpu utilization, while some other
SLUB functions have less cpu utilization.
--
| Apr 2, 1:06 am 2010 |
| previous day | today | next day |
|---|---|---|
| April 1, 2010 | April 2, 2010 | April 3, 2010 |
