| From | Subject | Date |
|---|---|---|
| David Rientjes | [patch] acpi: map pxms to low node ids
pxms are mapped to low node ids to maintain generic kernel use of
functions such as pxm_to_node() that are used to determine device
affinity. Otherwise, there is no pxm-to-node and node-to-pxm matching
rule for x86_64 users of NUMA emulation where a single pxm may be bound
to multiple NUMA nodes.
Signed-off-by: David Rientjes <rientjes@google.com>
---
drivers/acpi/numa.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/acpi/numa.c ...
| Mar 25, 4:33 pm 2010 |
| Alan Cox | Re: [PATCH] serial: TTY: new ldiscs for staging
On Thu, 25 Mar 2010 18:20:16 -0500
Acked-by: Alan Cox <alan@linux.intel.com>
--
| Mar 25, 4:30 pm 2010 |
| pavan_savoy | [v4] New ldisc for WiLink7.0
Greg / Alan,
- moved to staging and completely self-contained
- REMOVed the sysfs entry creation at root and replaced it with
sending events via rfkill.
- verified and working with new logic
- patch re-ordered
Note:
--
| Mar 25, 4:20 pm 2010 |
| pavan_savoy | [PATCH] serial: TTY: new ldiscs for staging
From: Pavan Savoy <pavan_savoy@ti.com>
Push the max ldiscs by a few number to allow ldiscs
to exist in the staging directory
Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
---
include/linux/tty.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/tty.h b/include/linux/tty.h
index 4409967..227c0a8 100644
--- a/include/linux/tty.h
+++ b/include/linux/tty.h
@@ -23,7 +23,7 @@
*/
#define NR_UNIX98_PTY_DEFAULT 4096 /* Default maximum for Unix98 ...
| Mar 25, 4:20 pm 2010 |
| pavan_savoy | [PATCH] drivers:staging: sources for Init manager module
From: Pavan Savoy <pavan_savoy@ti.com>
Kernel Space Init-Manager works along with User-Mode
Init Manager daemon running to maintain the UART state.
Communication between user-space daemon and this module can be
1. Via the pid written onto sysfs entry
2. Via the rfkill subsystem
It also is a platform driver with a relevant platform device
in the board-*.c along with the list of BT/FM/GPS chip enable
gpio configuration
Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
---
...
| Mar 25, 4:20 pm 2010 |
| pavan_savoy | [PATCH] drivers:staging: Kconfig, Makefile for TI's ST ldisc
From: Pavan Savoy <pavan_savoy@ti.com>
This change adds the Kconfig and Make file for TI's
ST line discipline driver and the BlueZ driver for BT
core of the TI BT/FM/GPS combo chip.
Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
---
drivers/staging/Kconfig | 2 ++
drivers/staging/Makefile | 1 +
drivers/staging/ti-st/Kconfig | 24 ++++++++++++++++++++++++
drivers/staging/ti-st/Makefile | 7 +++++++
4 files changed, 34 insertions(+), 0 deletions(-)
create mode ...
| Mar 25, 4:20 pm 2010 |
| pavan_savoy | [PATCH] drivers:staging: sources for ST core
From: Pavan Savoy <pavan_savoy@ti.com>
Texas Instruments BT, FM and GPS combo chips/drivers
make use of a single TTY to communicate with the chip.
This module constitutes the core logic, TTY ldisc driver
and the exported symbols for registering/unregistering of
the protocol drivers such as BT/FM/GPS.
Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
---
drivers/staging/ti-st/st_core.c | 1057 +++++++++++++++++++++++++++++++++++++++
drivers/staging/ti-st/st_core.h | 92 ++++
2 files ...
| Mar 25, 4:20 pm 2010 |
| pavan_savoy | [PATCH] Documentation:staging: add TODO and ABI to ti-st
From: Pavan Savoy <pavan_savoy@ti.com>
A TODO file and a ABI to list the things to be done,
and user-space/kernel-space interface for this ldisc.
Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
---
drivers/staging/ti-st/TODO | 19 +++++++++++++++++++
drivers/staging/ti-st/sysfs-uim | 16 ++++++++++++++++
2 files changed, 35 insertions(+), 0 deletions(-)
create mode 100644 drivers/staging/ti-st/TODO
create mode 100644 drivers/staging/ti-st/sysfs-uim
diff --git ...
| Mar 25, 4:20 pm 2010 |
| pavan_savoy | [PATCH] bluetooth: BT driver using ST for TI combo devices
From: Pavan Savoy <pavan_savoy@ti.com>
This is BlueZ driver making use of Shared Transport line
discipline to communicate with the chip.
Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
---
drivers/staging/ti-st/bt_drv.c | 502 ++++++++++++++++++++++++++++++++++++++++
drivers/staging/ti-st/bt_drv.h | 61 +++++
2 files changed, 563 insertions(+), 0 deletions(-)
create mode 100644 drivers/staging/ti-st/bt_drv.c
create mode 100644 drivers/staging/ti-st/bt_drv.h
diff --git ...
| Mar 25, 4:20 pm 2010 |
| pavan_savoy | [PATCH] drivers:staging: sources for ST header file
From: Pavan Savoy <pavan_savoy@ti.com>
Texas Instruments BT, FM and GPS combo chips/drivers
make use of a single TTY to communicate with the chip.
This is the common header file for both the ST driver and the
protocol drivers which intend to use ST as their mode of
transport.
Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
---
drivers/staging/ti-st/fm.h | 13 ++++++
drivers/staging/ti-st/st.h | 90 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 103 insertions(+), 0 ...
| Mar 25, 4:20 pm 2010 |
| pavan_savoy | [PATCH] drivers:staging: sources for HCI LL PM protocol
From: Pavan Savoy <pavan_savoy@ti.com>
Texas Instruments BT, FM and GPS combo chips/drivers
make use of a single TTY to communicate with the chip.
This module constitutes the proprietary power management
protocol from TI for the BT/FM/GPS combo chips
Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
---
drivers/staging/ti-st/st_ll.c | 169 +++++++++++++++++++++++++++++++++++++++++
drivers/staging/ti-st/st_ll.h | 67 ++++++++++++++++
2 files changed, 236 insertions(+), 0 deletions(-)
...
| Mar 25, 4:20 pm 2010 |
| David Rientjes | [patch] x86: fix fake apicid to node mapping for numa em ...
apicids must be mapped to the lowest node ids to maintain generic kernel
use of functions such as cpu_to_node() that determine device affinity.
Signed-off-by: David Rientjes <rientjes@google.com>
---
arch/x86/mm/srat_64.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/x86/mm/srat_64.c b/arch/x86/mm/srat_64.c
--- a/arch/x86/mm/srat_64.c
+++ b/arch/x86/mm/srat_64.c
@@ -461,7 +461,8 @@ void __init acpi_fake_nodes(const struct bootnode *fake_nodes, int ...
| Mar 25, 4:19 pm 2010 |
| Seth Heasley | [PATCH linux-next.git] irq: irq and pci_ids patch for ad ...
This patch adds additional LPC Controller DeviceIDs for the Intel Cougar Point PCH.
The DeviceIDs are defined and referenced as a range of values, the same way Ibex Peak was implemented.
This patch was built against the linux-next.git tree.
Signed-off-by: Seth Heasley <seth.heasley@intel.com>
--- include/linux/pci_ids.h.orig 2010-03-25 15:42:47.000000000 -0700
+++ include/linux/pci_ids.h 2010-03-25 16:00:31.000000000 -0700
@@ -2419,8 +2419,8 @@
#define ...
| Mar 25, 4:11 pm 2010 |
| Arnaldo Carvalho de Melo | [PATCH 1/6] perf newt: Initialize choice variable
From: Arnaldo Carvalho de Melo <acme@redhat.com>
cc1: warnings being treated as errors
util/newt.c: In function ‘perf_session__browse_hists’:
util/newt.c:442: error: ‘choice’ may be used uninitialized in this function
Note: Ingo, you may want to fold this with:
[PATCH v2 6/6] perf report: Pass the DSO to 'perf annotate'
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras ...
| Mar 25, 3:58 pm 2010 |
| Arnaldo Carvalho de Melo | [PATCH 4/6] perf tools: Move __used from perf.h to linux ...
From: Arnaldo Carvalho de Melo <acme@redhat.com>
Just like in the kernel and also to remove the need to include perf.h
in the symbol subsystem.
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
tools/perf/perf.h | 2 --
tools/perf/util/include/linux/compiler.h | 2 ++
2 files changed, 2 ...
| Mar 25, 3:58 pm 2010 |
| Arnaldo Carvalho de Melo | [PATCH 5/6] perf symbols: Move hex2u64 and strxfrchar to ...
From: Arnaldo Carvalho de Melo <acme@redhat.com>
Mostly used in symbol.c so move them there to reduce the number of files
needed to use the symbol system.
Also do some header adjustments with the same intent.
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
tools/perf/util/parse-events.c | 1 +
...
| Mar 25, 3:59 pm 2010 |
| Arnaldo Carvalho de Melo | [PATCH 2/6] perf symbols: Pass the mmap parameters inste ...
From: Arnaldo Carvalho de Melo <acme@redhat.com>
To reduce the coupling of the symbol system with the rest of perf.
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
tools/perf/util/event.c | 3 ++-
tools/perf/util/map.c | 11 ++++-------
tools/perf/util/map.h | 5 ++---
3 files changed, 8 insertions(+), ...
| Mar 25, 3:58 pm 2010 |
| Arnaldo Carvalho de Melo | [PATCH 3/6] perf symbols: Move map related routines to map.c
From: Arnaldo Carvalho de Melo <acme@redhat.com>
Thru series of refactorings functions were being renamed but not moved
to map.c to reduce patch noise, now lets have them in the same place so
that use of the symbol system by tools can be constrained to building
and linking fewer source files: symbol.c, map.c and rbtree.c.
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras ...
| Mar 25, 3:58 pm 2010 |
| Arnaldo Carvalho de Melo | [PATCH 6/6] perf record: zero mmap_array[][][] fixing segfault
From: Zhang, Yanmin <yanmin_zhang@linux.intel.com>
Reported-by: Li Zefan <lizf@cn.fujitsu.com>
Tested-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Zhang Yanmin <yanmin_zhang@linux.intel.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
tools/perf/builtin-record.c | 2 +-
tools/perf/builtin-top.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c
index bb5b23d..60ecdd3 100644
--- ...
| Mar 25, 3:59 pm 2010 |
| Pavel Roskin | [PATCH TRY2] locking: annotate inline spinlocks and rwlo ...
Hello!
My patch at https://patchwork.kernel.org/patch/84441/ didn't get any
replies.
Bogus sparse warnings actually make developers change spin_lock() to
spin_lock_irqsave() to placate sparse, as it could be seen here:
http://marc.info/?l=linux-wireless&m=126954991321895&w=2
That's a patch I noticed because I read linux-wireless. I think it's a
safe bet that it's not the only patch inspired by the bogus sparse
warnings.
Locking is hard already, and we don't want sparse to confuse ...
| Mar 25, 2:32 pm 2010 |
| Anton Altaparmakov | [PATCH] Fix __vmalloc(), etc on MIPS for non-GPL modules
Hi,
The commit 351336929ccf222ae38ff0cb7a8dd5fd5c6236a0 which can be seen
here:
http://kerneltrap.org/mailarchive/git-commits-head/2008/4/28/1639134
Breaks all non-GPL modules that use __vmalloc() or any of the vmap(),
vm_map_ram(), etc functions on MIPS architecture.
All those functions are EXPORT_SYMBOL() so are meant to be allowed to be
used by non-GPL kernel modules. These calls all take page protection as
an argument which is normally a constant like PAGE_KERNEL.
This commit ...
| Mar 25, 1:48 pm 2010 |
| Pavan Savoy | Re: [PATCH 3/7] drivers:staging: sources for Init manage ...
Marcel, Greg, Alan,
Now, my user-space daemon doesn't need the sysfs entry to write it's PID, from user-space, I open the /dev/rfkill device and ppoll on it, to receive events, upon receiving them I can install/un-install the ldisc based on the blocked or non-blocked state.
Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/
--
| Mar 25, 1:25 pm 2010 |
| pavan_savoy | [PATCH 3/7] drivers:staging: sources for Init manager module
From: Pavan Savoy <pavan_savoy@ti.com>
Kernel Space Init-Manager works along with User-Mode
Init Manager daemon running to maintain the UART state.
Communication between user-space daemon and this module can be
1. Via the pid written onto sysfs entry
2. Via the rfkill subsystem
It also is a platform driver with a relevant platform device
in the board-*.c along with the list of BT/FM/GPS chip enable
gpio configuration
Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
---
...
| Mar 25, 1:21 pm 2010 |
| Maciej Rutecki | Re: [Regresion] [2.6.34-rc1] [drm:i915_hangcheck_elapsed ...
Update:
I was wrong: setting pci=nocrs doesn't help.
Regrards
--
Maciej Rutecki
http://www.maciek.unixy.pl
--
| Mar 25, 1:16 pm 2010 |
| Maciej Rutecki | [Regresion] [2.6.34-rc1] [drm:i915_hangcheck_elapsed] *E ...
Last known good: 2.6.33
Failing kernels: 2.6.34-rc1 and 2.6.34-rc2
Driver: Video(DRI - Intel)
When XWindow starts I got:
Mar 25 19:58:10 gumis kernel: [ 133.624028] [drm:i915_hangcheck_elapsed]
*ERROR* Hangcheck timer elapsed... GPU hung
Mar 25 19:58:10 gumis kernel: [ 133.624221] render error detected, EIR:
0x00000000
Mar 25 19:58:10 gumis kernel: [ 133.624291] [drm:i915_do_wait_request]
*ERROR* i915_do_wait_request returns -5 ( awaiting 691 at 682)
Mar 25 19:58:11 gumis kdm[2592]: ...
| Mar 25, 1:04 pm 2010 |
| Rafael J. Wysocki | Mar 25, 1:37 pm 2010 | |
| Vladislav Bolkhovitin | [PATCH]: Remove dead copy_io_context()
Since anticipatory IO scheduler was removed, copy_io_context() function
isn't used anymore, so this patch removes it.
Signed-off-by: Vladislav Bolkhovitin <vst@vlnb.net>
---
block/blk-ioc.c | 14 --------------
include/linux/iocontext.h | 1 -
2 files changed, 15 deletions(-)
diff -upkr linux-2.6.33/block/blk-ioc.c linux-2.6.33/block/blk-ioc.c
--- linux-2.6.33/block/blk-ioc.c 2010-02-24 21:52:17.000000000 +0300
+++ linux-2.6.33/block/blk-ioc.c 2010-03-25 22:49:30.000000000 ...
| Mar 25, 1:03 pm 2010 |
| Rick Roberts | BEST OFFER
Would you be interested in picking up a business loan for a term of 10 years and for a cheap rate of 5% under monthly repayment agreements? I am currently offering out loans at low rates. For more information, kindly contact me via my personal email loans.bcfltd@gmail.com
--
| Mar 25, 12:47 pm 2010 |
| =?utf-8?Q?J=C3=A9r=C ... | gpiolib: irq functions not implemented on x86
Hi,
I wrote a gpiolib implementation for Technologic Systems TS-5500 boards (x86)
custom GPIO lines. Some of their GPIO lines are directly hooked to CPU (ElanSC520)
GPIRQ lines, so they can trigger IRQs.
However, looking at arch/x86/include/asm/gpio.h:
/*
* Not implemented, yet.
*/
static inline int gpio_to_irq(unsigned int gpio)
{
return -ENOSYS;
}
gpio_to_irq()/irq_to_gpio() are not defined on x86 yet.
Q: Is there a reason not to have it call gpiolib's __gpio_to_irq(), ...
| Mar 25, 12:36 pm 2010 |
| Michael Buesch | Re: gpiolib: irq functions not implemented on x86
Are you sure that I am the intended recipient of this mail?
I'm not involved in the GPIO subsystem at all.
--
Greetings, Michael.
--
| Mar 25, 3:11 pm 2010 |
| Rabin Vincent | start_kernel(): bug: interrupts were enabled early
On latest git, I'm seeing "start_kernel(): bug: interrupts were enabled
early" messages on ARM (sample log below).
This appears to be caused by:
start_kernel -> radix_tree_init -> kmem_cache_create (slub) ->
down_write -> __down_write (lib/rwsem-spinlock.c) -> spin_unlock_irq
radix_tree_init was moved earlier by:
commit 773e3eb7b81e5ba13b5155dfb3bb75b8ce37f8f9
Author: Yinghai Lu <yinghai@kernel.org>
Date: Wed Feb 10 01:20:33 2010 -0800
init: Move radix_tree_init() ...
| Mar 25, 12:41 pm 2010 |
| Rick Roberts | BEST OFFER
Would you be interested in picking up a business loan for a term of 10 years and for a cheap rate of 5% under monthly repayment agreements? I am currently offering out loans at low rates. For more information, kindly contact me via my personal email loans.bcfltd@gmail.com
--
| Mar 25, 12:38 pm 2010 |
| Pavan Savoy | Re: rfkill events from kernel space
Please ignore the above message, if you haven't already.
set_sw_state or set_hw_state should have called set_events.
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/
--
| Mar 25, 11:53 am 2010 |
| Richard =?ISO-8859-1 ... | [PATCH 2/2] mfd: Add timb-dma to all configurations of t ...
Add platform data for timb-dma, and add it in to timb-dma
in all configurations of timberdale.
Also incremented the version number.
Signed-off-by: Richard Röjfors <richard.rojfors@pelagicore.com>
---
diff --git a/drivers/mfd/timberdale.c b/drivers/mfd/timberdale.c
index 1d52349..a7f3048 100644
--- a/drivers/mfd/timberdale.c
+++ b/drivers/mfd/timberdale.c
@@ -40,6 +40,8 @@
#include <media/timb_radio.h>
+#include <linux/timb_dma.h>
+
#include "timberdale.h"
#define ...
| Mar 25, 11:44 am 2010 |
| Richard =?ISO-8859-1 ... | [PATCH 1/2] dma: Add timb-dma
Adds the support for the DMA engine withing the timberdale FPGA.
The DMA channels are strict device to host, or host to device
and can not be used for generic memcpy.
Signed-off-by: Richard Röjfors <richard.rojfors@pelagicore.com>
---
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index c27f80e..a2fcb2e 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -149,6 +149,13 @@ config AMCC_PPC440SPE_ADMA
help
Enable support for the AMCC PPC440SPe RAID engines.
...
| Mar 25, 11:44 am 2010 |
| Richard =?ISO-8859-1 ... | [PATCH 0/2] mfd, dma: Add timb-dma driver
To follow are two patches.
Samuel and Dan, since the MFD patch relies on the DMA patch.
The MFD patch is against Samuels next tree, maybe it is easiest
if the DMA driver is merged via Samuels tree?
The first patch adds the timb-dma driver to the dma tree.
The second one adds a timb-dma platform device to all
configurations of the timberdale MFD driver.
--Richard
--
| Mar 25, 11:44 am 2010 |
| Pavan Savoy | rfkill events from kernel space
How do I send an rfkill event upon device /dev/rfkill from kernel space ?
An action upon my driver, should break the poll on /dev/rfkill from a user-space daemon, but sending an OP_CHANGE event.
As I've seen only writing blocked/non-blocked on the sysfs entry of an rfkill device generates an rfkill event.
Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/
--
| Mar 25, 11:29 am 2010 |
| Chad Talbott | [PATCH 0/4] io-controller: Use names rather than major:minor
This stack (which includes Gui's patch for per-device weights),
changes the various blkio.* stats to use the disks' names (sda, sdb,
etc.) rather than major:minor pairs when printing statistics.
Additionally setting a per-device policy can be done via the disk's
name.
This has the side effect of fixing the "root cgroup shows no stats"
problem that Ricky mentioned.
Chad
---
Chad Talbott (4):
blkio_group key change: void * -> request_queue *
Adds an RCU-protected pointer to ...
| Mar 25, 11:04 am 2010 |
| Chad Talbott | [PATCH 2/4] Adds an RCU-protected pointer to request_que ...
find the gendisk that the queue manages.
---
block/blk-cgroup.c | 10 ++++++----
block/blk-sysfs.c | 4 ++++
include/linux/blkdev.h | 6 ++++++
3 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c
index 917957d..809451f 100644
--- a/block/blk-cgroup.c
+++ b/block/blk-cgroup.c
@@ -179,16 +179,18 @@ static int blkiocg_##__VAR##_read(struct cgroup *cgroup, \
struct blkio_cgroup *blkcg; \
struct blkio_group ...
| Mar 25, 11:04 am 2010 |
| Chad Talbott | [PATCH 4/4] Use disk-names to set blkio.weight_device policy
This patch also cleans up a few fields and arguments that are no
longer used once request_queue is the key for both blkio_groups as
well as blkio_policy_nodes.
---
block/blk-cgroup.c | 103 ++++++++++++++-------------------------------------
block/blk-cgroup.h | 6 +--
block/cfq-iosched.c | 9 +---
3 files changed, 35 insertions(+), 83 deletions(-)
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c
index bf77b99..086a00d 100644
--- a/block/blk-cgroup.c
+++ ...
| Mar 25, 11:04 am 2010 |
| Chad Talbott | [PATCH 1/4] blkio_group key change: void * -> request_queue *
Use request_queue to find the blkio_group of a device, rather than a
cfq_data pointer. Additionally, it allows the blk-cgroup code to
depend on the queue pointer itself. This avoids doing lookups for
dev_t and facilitates looking up the device's human-readable name in
later patches.
---
block/blk-cgroup.c | 17 ++++++++---------
block/blk-cgroup.h | 13 +++++++------
block/cfq-iosched.c | 22 ++++++++++------------
3 files changed, 25 insertions(+), 27 deletions(-)
diff --git ...
| Mar 25, 11:04 am 2010 |
| Chad Talbott | [PATCH 3/4] io-controller: Add a new interface "weight_d ...
This is Gui Jianfeng's original patch.
---
block/blk-cgroup.c | 240 +++++++++++++++++++++++++++++++++++++++++++++++++++
block/blk-cgroup.h | 10 ++
block/cfq-iosched.c | 2
3 files changed, 251 insertions(+), 1 deletions(-)
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c
index 809451f..bf77b99 100644
--- a/block/blk-cgroup.c
+++ b/block/blk-cgroup.c
@@ -24,6 +24,13 @@ static LIST_HEAD(blkio_list);
struct blkio_cgroup blkio_root_cgroup = { .weight = 2*BLKIO_WEIGHT_DEFAULT ...
| Mar 25, 11:04 am 2010 |
| Vivek Goyal | Re: [PATCH 2/4] Adds an RCU-protected pointer to request ...
Hi Chad,
Where is the code to make sure gendisk does not go away if blk-cgroup code
is referencing blkg->queue->disk under rcu lock?
Thanks
Vivek
--
| Mar 25, 4:02 pm 2010 |
| Vivek Goyal | Re: [PATCH 1/4] blkio_group key change: void * -> reques ...
Hi Chad,
human-readable disk names probably are more convenient. I got few general
concerns.
- Can we change the sysfs interface now. In 2.6.33 kernel we released the
code to export blkio.time and blkio.sectors using device numbers. We
shall have to change those interfaces also to reflect device stats in
terms of device names.
- I had kept void* as the key in blkg object so that it does not make any
assumption about the key. This allowed that any xyz code in kernel can
...
| Mar 25, 4:25 pm 2010 |
| Andrea Gelmini | [PATCH 04/16] x86 init_64.c: duplicated include
arch/x86/mm/init_64.c: linux/bootmem.h is included more than once.
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
arch/x86/mm/init_64.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index e9b040e..a544bec 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -49,7 +49,6 @@
#include <asm/numa.h>
#include <asm/cacheflush.h>
#include <asm/init.h>
-#include <linux/bootmem.h>
static ...
| Mar 25, 10:22 am 2010 |
| Andrea Gelmini | [PATCH 12/16] Scripts lex.c: remove extra spaces
scripts/genksyms/lex.c: deleted extra spaces
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
scripts/genksyms/lex.c_shipped | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/genksyms/lex.c_shipped b/scripts/genksyms/lex.c_shipped
index 2ac23bc..5682dfd 100644
--- a/scripts/genksyms/lex.c_shipped
+++ b/scripts/genksyms/lex.c_shipped
@@ -27,7 +27,7 @@
/* %endif */
/* %if-c-only */
-
+
/* %endif */
/* %if-c-only */
-- ...
| Mar 25, 10:22 am 2010 |
| Andrea Gelmini | [PATCH 14/16] Tools perf probe-finder.c: duplicated include
tools/perf/util/probe-finder.c: string.h is included more than once.
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
tools/perf/util/probe-finder.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/tools/perf/util/probe-finder.c b/tools/perf/util/probe-finder.c
index 1e6c65e..682eb37 100644
--- a/tools/perf/util/probe-finder.c
+++ b/tools/perf/util/probe-finder.c
@@ -32,7 +32,6 @@
#include <stdarg.h>
#include <ctype.h>
-#include "string.h"
...
| Mar 25, 10:22 am 2010 |
| Masami Hiramatsu | Re: [PATCH 14/16] Tools perf probe-finder.c: duplicated ...
Hi Andrea,
Would you mean that <string.h> and "string.h" are duplicated?
If so, NAK, sorry. Those are different, <string.h> is for
/usr/include/string.h, and "string.h" is for tools/perf/util/string.h.
--
Masami Hiramatsu
e-mail: mhiramat@redhat.com
--
| Mar 25, 10:42 am 2010 |
| Andrea Gelmini | Re: [PATCH 14/16] Tools perf probe-finder.c: duplicated ...
I'm an asshole...
Sorry, you're right.
Ciao,
Andrea
--
| Mar 25, 10:45 am 2010 |
| Andrea Gelmini | [PATCH 16/16] Video omap lcd_omap3beagle.c: duplicated include
drivers/video/omap/lcd_omap3beagle.c: plat/mux.h is included more than once.
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
drivers/video/omap/lcd_omap3beagle.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/video/omap/lcd_omap3beagle.c b/drivers/video/omap/lcd_omap3beagle.c
index ca75cc2..ac715f9 100644
--- a/drivers/video/omap/lcd_omap3beagle.c
+++ b/drivers/video/omap/lcd_omap3beagle.c
@@ -26,7 +26,6 @@
#include <linux/i2c/twl.h>
...
| Mar 25, 10:22 am 2010 |
| Andrea Gelmini | [PATCH 13/16] Tools perf builtin-trace.c: duplicated includes
tools/perf/builtin-trace.c: util/exec_cmd.h and util/trace-event.h are included more than once.
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
tools/perf/builtin-trace.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c
index 407041d..3c699c5 100644
--- a/tools/perf/builtin-trace.c
+++ b/tools/perf/builtin-trace.c
@@ -59,9 +59,6 @@ static int cleanup_scripting(void)
#include "perf.h"
#include ...
| Mar 25, 10:22 am 2010 |
| Andrea Gelmini | [PATCH 11/16] XFS xfs_trace.c: duplicated include
fs/xfs/linux-2.6/xfs_trace.c: xfs_attr_sf.h is included more than once.
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
fs/xfs/linux-2.6/xfs_trace.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/fs/xfs/linux-2.6/xfs_trace.c b/fs/xfs/linux-2.6/xfs_trace.c
index 5a10760..cb840e0 100644
--- a/fs/xfs/linux-2.6/xfs_trace.c
+++ b/fs/xfs/linux-2.6/xfs_trace.c
@@ -41,7 +41,6 @@
#include "xfs_alloc.h"
#include "xfs_bmap.h"
#include ...
| Mar 25, 10:22 am 2010 |
| Alex Elder | Re: [PATCH 11/16] XFS xfs_trace.c: duplicated include
Looks good. -Alex
--
| Mar 25, 11:37 am 2010 |
| Andrea Gelmini | [PATCH 05/16] Docs hpet_example.c: duplicated includes
Documentation/timers/hpet_example.c: fcntl.h is included more than once.
Documentation/timers/hpet_example.c: signal.h is included more than once.
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
Documentation/timers/hpet_example.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/Documentation/timers/hpet_example.c b/Documentation/timers/hpet_example.c
index f9ce2d9..4bfafb7 100644
--- a/Documentation/timers/hpet_example.c
+++ ...
| Mar 25, 10:22 am 2010 |
| Andrea Gelmini | [PATCH 02/16] ARM mach-mx3: duplicated include
arch/arm/mach-mx3/mach-pcm037.c: linux/fsl_devices.h is included more than once.
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
arch/arm/mach-mx3/mach-pcm037.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-mx3/mach-pcm037.c b/arch/arm/mach-mx3/mach-pcm037.c
index 11f5315..a550ae9 100644
--- a/arch/arm/mach-mx3/mach-pcm037.c
+++ b/arch/arm/mach-mx3/mach-pcm037.c
@@ -35,7 +35,6 @@
#include <linux/can/platform/sja1000.h>
#include ...
| Mar 25, 10:22 am 2010 |
| Andrea Gelmini | [PATCH 03/16] ARM mach-mx3: duplicated include
arch/arm/mach-mx3/mx31lite-db.c: linux/platform_device.h is included more than once.
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
arch/arm/mach-mx3/mx31lite-db.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-mx3/mx31lite-db.c b/arch/arm/mach-mx3/mx31lite-db.c
index ccd8742..16c955e 100644
--- a/arch/arm/mach-mx3/mx31lite-db.c
+++ b/arch/arm/mach-mx3/mx31lite-db.c
@@ -28,7 +28,6 @@
#include <linux/types.h>
#include <linux/init.h>
...
| Mar 25, 10:22 am 2010 |
| Andrea Gelmini | [PATCH 01/16] ARM mach-at91: duplicated include
arch/arm/mach-at91/board-sam9m10g45ek.c: mach/hardware.h is included more than once
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
arch/arm/mach-at91/board-sam9m10g45ek.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-at91/board-sam9m10g45ek.c b/arch/arm/mach-at91/board-sam9m10g45ek.c
index 98f9f4b..ee80059 100644
--- a/arch/arm/mach-at91/board-sam9m10g45ek.c
+++ b/arch/arm/mach-at91/board-sam9m10g45ek.c
@@ -25,7 +25,6 @@
#include ...
| Mar 25, 10:22 am 2010 |
| Mathieu Desnoyers | Re: [PATCH 2.6.29.x - 2.6.31.1] module: fix __module_ref ...
(should really have CC'd lkml, here it is)
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
--
| Mar 25, 8:35 am 2010 |
| Bjorn Helgaas | [PATCH 0/2] x86/PCI: truncate _CRS windows with _LEN > _ ...
These patches fix a "pci=use_crs" regression and print a little more
debug information for resource allocation conflicts.
---
Bjorn Helgaas (2):
x86/PCI: for host bridge address space collisions, show conflicting resource
x86/PCI: truncate _CRS windows with _LEN > _MAX - _MIN + 1
arch/x86/pci/acpi.c | 22 ++++++++++++++++++----
1 files changed, 18 insertions(+), 4 deletions(-)
--
| Mar 25, 8:28 am 2010 |
| Bjorn Helgaas | [PATCH 1/2] x86/PCI: for host bridge address space colli ...
With insert_resource_conflict(), we can learn what the actual conflict is,
so print that info for debugging purposes.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
---
arch/x86/pci/acpi.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/arch/x86/pci/acpi.c b/arch/x86/pci/acpi.c
index 6e22454..75ac3f8 100644
--- a/arch/x86/pci/acpi.c
+++ b/arch/x86/pci/acpi.c
@@ -122,7 +122,7 @@ setup_resource(struct acpi_resource *acpi_res, void *data)
struct ...
| Mar 25, 8:28 am 2010 |
| Bjorn Helgaas | [PATCH 2/2] x86/PCI: truncate _CRS windows with _LEN > _ ...
Yanko's GA-MA78GM-S2H (BIOS F11) reports the following resource in a PCI
host bridge _CRS:
[07] 32-Bit DWORD Address Space Resource
Min Relocatability : MinFixed
Max Relocatability : MaxFixed
Address Minimum : CFF00000 (_MIN)
Address Maximum : FEBFFFFF (_MAX)
Address Length : 3EE10000 (_LEN)
This is invalid per spec (ACPI 4.0, 6.4.3.5) because it's a fixed size,
fixed location descriptor, but _LEN != _MAX - _MIN + 1.
Based ...
| Mar 25, 8:28 am 2010 |
| Jesse Barnes | Re: [PATCH 1/2] x86/PCI: for host bridge address space c ...
On Thu, 25 Mar 2010 09:28:24 -0600
Pushed these two to my for-linus branch, thanks.
--
Jesse Barnes, Intel Open Source Technology Center
--
| Mar 25, 11:20 am 2010 |
| Paulius Zaleckas | [PATCH v2] MTD: Fix Orion NAND driver compilation with A ...
We must tell GCC to use even register for variable passed
to ldrd instruction. Without this patch GCC 4.2.1 puts this
variable to r2/r3 on EABI and r3/r4 on OABI, so force it to
r2/r3. This does not change anything when EABI and OABI
compilation works OK.
Without this patch and with OABI I get:
CC drivers/mtd/nand/orion_nand.o
/tmp/ccMkwOCs.s: Assembler messages:
/tmp/ccMkwOCs.s:63: Error: first destination register must be even -- `ldrd r3,[ip]'
make[5]: *** ...
| Mar 25, 8:25 am 2010 |
| Nicolas Pitre | Mar 25, 9:26 am 2010 | |
| Jamie Lokier | Re: [PATCH v2] MTD: Fix Orion NAND driver compilation wi ...
It's probably worth including the people who weighed in on the
The "register...asm" looks fine, but it occurs to me the constraints
are too weak (and they were before), so GCC could optimise that to the
wrong behaviour.
The "volatile" prevents GCC deleting the asm if it's output isn't
used, but it doesn't stop GCC from reordering the asms, for example if
it decides to unroll the loop. It probably won't reorder in that
case, but it could. The result would be out of order values ...
| Mar 25, 1:46 pm 2010 |
| Phillip Susi | Missing BLKPG functions
blkpg.h describes a number of functions including get_all_partitions()
and test_partition_in_use() but it seems that only two are actually
implemented ( add and delete partition ). I am working on getting
parted to make use of BLKPG instead of BLKRRPART so it can work on disks
that have partitions in use, and it would be very helpful if the other
functions to enumerate the existing partitions with their start offset
and length were implemented. Is there any chance of this being done any
time ...
| Mar 25, 8:04 am 2010 |
| Linus Walleij | [PATCH 1/2] DMAENGINE: generic slave control
Convert the device_terminate_all() operation on the
DMA engine to a generic device_control() operation
which can now optionally support also pausing and
resuming DMA on a certain channel. Implemented for the
COH 901 318 DMAC as an example.
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Cc: Maciej Sosnowski <maciej.sosnowski@intel.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Li Yang <leoli@freescale.com>
Cc: Guennadi Liakhovetski ...
| Mar 25, 8:02 am 2010 |
| Dan Williams | Re: [PATCH 1/2] DMAENGINE: generic slave control
I'd prefer ENXIO here since it may be a valid command, just not
implemented in this specific driver.
Here is the important bits from build_dma.sh:
drivers/dma/ipu/ipu_idmac.c: In function '__idmac_control':
drivers/dma/ipu/ipu_idmac.c:1512: warning: control reaches end of non-void function
drivers/dma/fsldma.c: In function 'fsl_dma_device_control':
drivers/dma/fsldma.c:788: warning: 'return' with no value, in function returning non-void
drivers/dma/ppc4xx/adma.c:3944: error: expected ...
| Mar 25, 4:30 pm 2010 |
| Linus Walleij | [PATCH 2/2] DMAENGINE: generic channel status
Convert the device_is_tx_complete() operation on the
DMA engine to a generic device_tx_status()operation which
can return three states, DMA_TX_RUNNING, DMA_TX_COMPLETE,
DMA_TX_PAUSED.
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Cc: Maciej Sosnowski <maciej.sosnowski@intel.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Li Yang <leoli@freescale.com>
Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: ...
| Mar 25, 8:03 am 2010 |
| Mark Brown | Re: [PATCH 2/2] DMAENGINE: generic channel status
FWIW (I've never actually used DMAENGINE...)
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
--
| Mar 25, 8:07 am 2010 |
| Guennadi Liakhovetski | Re: [PATCH 2/2] DMAENGINE: generic channel status
[snip]
General: you converted all drivers to the new .device_tx_status() API, but
since they don't implement "residue," you left it uninitialised
everywhere. Wouldn't it be better to set it to 0 or total length,
In the original proposal by Dan Williams the last member was "unsigned
long pos." I don't think, even on 64-bit systems anyone would kick off a >
4GB transfer, but who knows... And - I don't particularly like the name
"pos," but I do like the idea of returning bytes transfered ...
| Mar 25, 1:58 pm 2010 |
| Dan Williams | Re: [PATCH 2/2] DMAENGINE: generic channel status
On Thu, Mar 25, 2010 at 1:58 PM, Guennadi Liakhovetski
Agree that it should not be uninitialized. At the same time I do not
want to require drivers that don't need it to go through the hassle of
looking up a byte count, so perhaps all but the drivers that want this
Things like copy_from_user() and the scsi subsystem return residue, so
only for consistency with other areas would I side with the "bytes
left" camp.
Ack to all your other comments.
--
Dan
--
| Mar 25, 3:00 pm 2010 |
| Guennadi Liakhovetski | Re: [PATCH 2/2] DMAENGINE: generic channel status
Why not assign one of the two - 0 if the transfer is complete (DMA_SUCCESS
status returned) or whatever max count otherwise? Except I do think this
might confuse some users - seeing a residue larger than the total transfer
length...
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
| Mar 25, 3:37 pm 2010 |
| Linus Walleij | Re: [PATCH 2/2] DMAENGINE: generic channel status
The total length is a bit hard to know without understanding all drivers
I'm afraid, but I can sure add txtstatus->residue = 0; everywhere,
As Dan says consistency with other systems suggests something
Good you spotted this! Thanks.
Linus
--
| Mar 25, 4:18 pm 2010 |
| Linus Walleij | [PATCH 0/2] DMAENGINE: generic slave, generic status
This patch set will enable generic functions for controlling
slave transfers, e.g. the ability to pause and resume transfers,
as well as the ability to read a wider status including not only
the current and last transfer cookie but also the residual
bytes left on a channel.
This was discussed by Dan and Guennadi some while back and now
I implemented it.
I did my best to read my own code over and over again so I
didn't break anything, but please review again.
I need help: does someone have ...
| Mar 25, 8:01 am 2010 |
| Dan Williams | Re: [PATCH 0/2] DMAENGINE: generic slave, generic status
I can check this out with my dmaengine build system. I have attached
the script and the defconfigs that I use. Yes, it does require a small
arsenal of cross-compilers.
--
Dan
| Mar 25, 8:20 am 2010 |
| kartikeyan sadasivuni | disabling kernel preemption from user space
Hi,
I have a system where bootloader supports
core0 running linux (control plane).
core1 running application without OS (a data plane app).
(core0 and core1 share some physical memory)
Because of this setup and application requirements
I want to ocassionally disable preemption of linux kernel
for very small periods from user space process.
Is the following valid solution to achive this ?
I will load a kernel module foo.ko which supports the following
ioctl's from user ...
| Mar 25, 7:55 am 2010 |
| Vitaliy Gusev | [PATCH] bsdacct: delete timer with sync intension
acct_exit_ns --> acct_file_reopen deletes timer without
check timer execution on other CPUs. So acct_timeout() can
change an unmapped memory.
Signed-off-by: Vitaliy Gusev <vgusev@openvz.org>
---
kernel/acct.c | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/kernel/acct.c b/kernel/acct.c
index a6605ca..6ac80ca 100644
--- a/kernel/acct.c
+++ b/kernel/acct.c
@@ -353,17 +353,18 @@ restart:
void acct_exit_ns(struct pid_namespace *ns)
{
- struct ...
| Mar 25, 7:35 am 2010 |
| John Kacur | Re: [PATCH] trace-cmd: Add BUILDING and INSTALL instruct ...
That is an oddity, I tried to show a general case.
We could append more info about that special case if you wish.
--
| Mar 25, 7:23 am 2010 |
| Steven Rostedt | Re: [PATCH] trace-cmd: Add BUILDING and INSTALL instruct ...
Yeah, it was the default case ;-)
The general case would probably be better to:
make prefix=/usr
-- Steve
--
| Mar 25, 7:46 am 2010 |
| info | Irish 2010 Grant Winner
£1,000,000Pounds has been awarded to you in the U.KPROMO.send your details as follows:
Names,,,,,,,,,
Tel,,,,,,,,,,,
Age,,,,,,,,,,,
Address,,,,,,,,,,,,
Occupation,,,,,,,,,,,
Country,,,,,,,,,,,,,,
Email:bnlclaims2010@live.co.uk
--
| Mar 25, 7:05 am 2010 |
| Peter Zijlstra | [PATCH 0/3] Fix ptrace debugctlmsr stomping and kill ptr ...
ptrace was stomping all over debugctlmsr and since ptrace-bts was never used
kill that and reimplement ptrace block-step to not trample on the msr.
--
| Mar 25, 6:51 am 2010 |
| Peter Zijlstra | [PATCH 1/3] perf, x86: clean up debugctlmsr bit definitions
Move all debugctlmsr thingies into msr-index.h
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
---
arch/x86/include/asm/msr-index.h | 13 ++++++++-----
arch/x86/kernel/cpu/perf_event_intel_ds.c | 23 +++++++----------------
arch/x86/kernel/cpu/perf_event_intel_lbr.c | 7 ++-----
3 files changed, 17 insertions(+), 26 deletions(-)
Index: linux-2.6/arch/x86/include/asm/msr-index.h
===================================================================
--- ...
| Mar 25, 6:51 am 2010 |
| Peter Zijlstra | [PATCH 3/3] x86, ptrace: Fix block-step
Implement ptrace-block-step using TIF_BLOCKSTEP which will set
DEBUGCTLMSR_BTF when set for a task while preserving any other
DEBUGCTLMSR bits.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
---
arch/x86/include/asm/processor.h | 4 ++--
arch/x86/include/asm/thread_info.h | 4 +++-
arch/x86/kernel/kprobes.c | 14 ++++++++++++--
arch/x86/kernel/process.c | 11 +++++++++++
arch/x86/kernel/step.c | 24 ++++++++++++++++++++----
...
| Mar 25, 6:51 am 2010 |
| Peter Zijlstra | [PATCH 2/3] x86, ptrace, bts: Delete the never used ptra ...
TIF_DEBUGCTLMSR is trampling all over that MSR without regard for
other uses (perf) and doesn't provide the flexibility needed for perf.
Its users are ptrace-block-step and ptrace-bts, since ptrace-bts was
never used and ptrace-block-step can be implemented using a much
simpler approach axe all of it.
Cc: Markus Metzger <markus.t.metzger@intel.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
---
arch/x86/Kconfig.cpu | 20 ...
| Mar 25, 6:51 am 2010 |
| Steven Rostedt | Re: [PATCH] trace-cmd: Add BUILDING and INSTALL instruct ...
Thanks,
Did you rebase your repo or do I need to pull in the other patches from
the mbox?
Looks good, but I would use the example of this:
make prefix=~
make prefix=~ install
The above would install the executables into your home directory ~/bin
and the plugins into ~/.trace-cmd/plugins
--
| Mar 25, 6:31 am 2010 |
| JosephChan | [Patch 1/1 v2] pata_via: HDD of VT6410/6415/6330 cannot ...
When using VT6410/6415/6330 chips on some VIA's platforms, the HDD connects to VT6410/6415/6330 cannot be detected.
It is because the driver detects wrong via_isa_bridge ID, and then cause the this issue happen.
This patch will fix this problem.
Signed-off-by: Joseph Chan<josephchan@via.com.tw>
--- a/drivers/ata/pata_via.c 2010-03-16 06:00:01.000000000 -0400
+++ b/drivers/ata/pata_via.c 2010-03-25 08:47:15.000000000 -0400
@@ -576,6 +576,10 @@
u8 rev = isa->revision;
...
| Mar 25, 5:51 am 2010 |
| Karsten Keil | Re: [PATCH 1/4] isdn: Cleanup Sections in PCMCIA driver ...
Acked-by: <keil@b1-systems.de>
Thank you for fixing this.
l
--
| Mar 25, 5:13 am 2010 |
| Wolfram Sang | Re: [PATCH 1/4] isdn: Cleanup Sections in PCMCIA driver ...
I stand corrected, missed that for prototypes. Sorry for the noise.
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
| Mar 25, 7:17 am 2010 |
| Karsten Keil | Re: [PATCH 2/4] isdn: Cleanup Sections in PCMCIA driver teles
Acked-by: <keil@b1-systems.de>
Thank you for fixing this.
--
| Mar 25, 5:14 am 2010 |
| Wolfram Sang | Re: [PATCH 1/4] isdn: Cleanup Sections in PCMCIA driver ...
Hi Henrik,
thanks for the work. Please, just keep the placement of those attributes
Right.
(I think checkpatch checks for this, too)
Regards,
Wolfram
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
| Mar 25, 5:16 am 2010 |
| Henrik Kretzschmar | [PATCH 1/4] isdn: Cleanup Sections in PCMCIA driver sedlbauer
Compiling this driver gave a section mismatch,
so I reviewed the init/exit paths of the driver
and made the correct changes.
WARNING: drivers/isdn/hisax/built-in.o(.text+0x558d6): Section mismatch
in reference from the function sedlbauer_config() to the function
.devinit.text:hisax_init_pcmcia()
The function sedlbauer_config() references
the function __devinit hisax_init_pcmcia().
This is often because sedlbauer_config lacks a __devinit
annotation or the annotation of hisax_init_pcmcia is ...
| Mar 25, 5:05 am 2010 |
| Henrik Kretzschmar | [PATCH 2/4] isdn: Cleanup Sections in PCMCIA driver teles
Compiling this driver gave a section mismatch,
so I reviewed the init/exit paths of the driver
and made the correct changes.
WARNING: drivers/isdn/hisax/built-in.o(.text+0x56bfb): Section mismatch
in reference from the function teles_cs_config() to the function
.devinit.text:hisax_init_pcmcia()
The function teles_cs_config() references
the function __devinit hisax_init_pcmcia().
This is often because teles_cs_config lacks a __devinit
annotation or the annotation of hisax_init_pcmcia is ...
| Mar 25, 5:05 am 2010 |
| Henrik Kretzschmar | [PATCH 3/4] isdn: Cleanup Sections in PCMCIA driver avma1
Compiling this driver gave a section mismatch,
so I reviewed the init/exit paths of the driver
and made the correct changes.
WARNING: drivers/isdn/hisax/built-in.o(.text+0x56512): Section mismatch
in reference from the function avma1cs_config() to the function
.devinit.text:hisax_init_pcmcia()
The function avma1cs_config() references
the function __devinit hisax_init_pcmcia().
This is often because avma1cs_config lacks a __devinit
annotation or the annotation of hisax_init_pcmcia is ...
| Mar 25, 5:05 am 2010 |
| Henrik Kretzschmar | [PATCH 4/4] isdn: Cleanup Sections in PCMCIA driver elsa
Compiling this driver gave a section mismatch,
so I reviewed the init/exit paths of the driver
and made the correct changes.
WARNING: drivers/isdn/hisax/built-in.o(.text+0x55e37): Section mismatch
in reference from the function elsa_cs_config() to the function
.devinit.text:hisax_init_pcmcia()
The function elsa_cs_config() references
the function __devinit hisax_init_pcmcia().
This is often because elsa_cs_config lacks a __devinit
annotation or the annotation of hisax_init_pcmcia is ...
| Mar 25, 5:05 am 2010 |
| Karsten Keil | Re: [PATCH 3/4] isdn: Cleanup Sections in PCMCIA driver avma1
Acked-by: <keil@b1-systems.de>
Thank you for fixing this.
--
| Mar 25, 5:15 am 2010 |
| Karsten Keil | Re: [PATCH 4/4] isdn: Cleanup Sections in PCMCIA driver elsa
Acked-by: <keil@b1-systems.de>
Thank you for fixing this.
--
| Mar 25, 5:16 am 2010 |
| Henrik Kretzschmar | Re: [PATCH 1/4] isdn: Cleanup Sections in PCMCIA driver ...
Hi there,
Imho should these functions be reorderd, so that no prototypes are required in a driver file.
If somebody wishes, I would do that for those.
For the prototypes I was following init.h, heres a snippet:
* Usage:
* For functions:
*
* You should add __init immediately before the function name, like:
*
* static void __init initme(int x, int y)
* {
* extern int z; z = x * y;
* }
*
* If the function has a prototype somewhere, you can also add
* __init between ...
| Mar 25, 7:05 am 2010 |
| Henrik Kretzschmar | Re: [PATCH 1/4] isdn: Cleanup Sections in PCMCIA driver ...
No, checkpatch doesn't claim about that.
Greets, Henrik
--
| Mar 25, 7:08 am 2010 |
| Dominik Brodowski | Re: [PATCH 1/4] isdn: Cleanup Sections in PCMCIA driver ...
Karsten, will you carry these fixes upstream, or shall I do?
Best,
Dominik
--
| Mar 25, 10:02 am 2010 |
| David Miller | Re: [PATCH 1/4] isdn: Cleanup Sections in PCMCIA driver ...
From: Dominik Brodowski <linux@dominikbrodowski.net>
I'll apply them.
--
| Mar 25, 11:45 am 2010 |
| David Miller | Re: [PATCH 1/4] isdn: Cleanup Sections in PCMCIA driver ...
From: David Miller <davem@davemloft.net>
BTW, please CC: netdev on ISDN patches in the future.
I'll add some material to the MAINTAINERS if there isn't
a mention about this there already.
--
| Mar 25, 11:55 am 2010 |
| David Miller | Re: [PATCH 1/4] isdn: Cleanup Sections in PCMCIA driver ...
From: Karsten Keil <isdn@linux-pingi.de>
Thanks for reviewing Karsten.
Please put your proper name in your ACK lines in the
future, they should look just like Signed-off-by: lines.
I fixed this up when committing, thanks again.
--
| Mar 25, 11:58 am 2010 |
| Jonathan Cameron | [ANNOUNCE] IIO (Industrial input / output) mailing list.
Dear All,
A fair bit of IIO related discussion was occurring off list and with
increasing amounts of driver development it was decided a specific
list would be useful.
To that end we now have
linux-iio@vger.kernel.org
subscribe by sending an email with a body of
subscribe linux-iio
to majordomo@vger.kernel.org
archive at:
http://marc.info/?l=linux-iio&r=1&w=2
Thanks to David and Hank for setting these up.
For now any more general discussions should be posted to both ...
| Mar 25, 5:04 am 2010 |
| Richard Kennedy | [PATCH] trace: reorder struct ring_buffer_per_cpu to rem ...
Reorder structure to remove 8 bytes of padding on 64 bit builds.
This shrinks the size to 128 bytes so allowing allocation from a smaller
slab & needed one fewer cache lines.
Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
----
patch against 2.6.34-rc2
compiled & booted on x86_64
regards
Richard
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c
index 05a9f83..421db5e 100644
--- a/kernel/trace/ring_buffer.c
+++ b/kernel/trace/ring_buffer.c
@@ -422,6 +422,7 ...
| Mar 25, 4:27 am 2010 |
| Steven Rostedt | Re: [PATCH] trace: reorder struct ring_buffer_per_cpu to ...
Thanks!
Just curious, did you use Arnaldo's pahole utility to find this?
--
| Mar 25, 6:38 am 2010 |
| Richard Kennedy | Re: [PATCH] trace: reorder struct ring_buffer_per_cpu to ...
No, but something similar I guess. I wrote my own tool that parses the
debug data & filters out the interesting results ;)
Richard
--
| Mar 25, 6:44 am 2010 |
| Zdenek Kabelac | INFO: suspicious rcu_dereference_check()
Hi
I've enabled rcu correctness for my todays 2.6.34-rc2 kernel.
I'm getting this INFO: from my kvm guest (which uses host's nfs
exported directory.)
This
===================================================
[ INFO: suspicious rcu_dereference_check() usage. ]
---------------------------------------------------
fs/nfs/delegation.c:348 invoked rcu_dereference_check() without protection!
other info that might help us debug this:
rcu_scheduler_active = 1, debug_locks = 0
2 locks held ...
| Mar 25, 3:48 am 2010 |
| Trond Myklebust | Re: INFO: suspicious rcu_dereference_check()
It is a 100% bogus warning. There are tentative patches floating around
to fix the above warning, but they haven't been merged yet.
In the meantime, please ignore...
Cheers
Trond
--
| Mar 25, 8:36 am 2010 |
| Andrea Gelmini | [PATCH] GFS2 docs update
Now http://sources.redhat.com/cluster/ is redirected to
http://sources.redhat.com/cluster/wiki/
Also fixed tabs in the end.
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
---
Documentation/filesystems/gfs2.txt | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Documentation/filesystems/gfs2.txt b/Documentation/filesystems/gfs2.txt
index 5e3ab8f..0b59c02 100644
--- a/Documentation/filesystems/gfs2.txt
+++ b/Documentation/filesystems/gfs2.txt
@@ ...
| Mar 25, 3:04 am 2010 |
| Steven Whitehouse | Re: [PATCH] GFS2 docs update
Hi,
Now in the GFS2 -nmw git tree. Thanks,
Steve.
--
| Mar 25, 3:37 am 2010 |
| Xiao Guangrong | sched_wakeup_new and sched_kthread_stop events cause gre ...
We have done sysbench test for ftrace's performance and it looks sched_wakeup_new
and sched_kthread_stop events can cause great overload.
When we only enable sched_wakeup_new and sched_kthread_stop events, sysbench.threads
shows the overload is 10%, sysbench.mutex shows the overload is 7.5%.
The more weird thing is that we found the sched_kthread_stop event is never called
in this test, the test steps as follow:
echo > debugfs/tracing/set_event
echo 1 > ...
| Mar 25, 2:36 am 2010 |
| Steven Rostedt | Re: sched_wakeup_new and sched_kthread_stop events cause ...
Strange? So if you did:
cat debugfs/tracing/trace | wc -l
Would be worth running perf against this test, to see where the issues
are occurring.
-- Steve
--
| Mar 25, 6:35 am 2010 |
| Patrick McHardy | Re: [PATCH] Netfilter: Code cleanup on net/netfilter
I've already applied your patches to remove moduleparam.h.
Please base your patches on
git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-next-2.6.git
--
| Mar 25, 3:33 am 2010 |
| wzt.wzt | [PATCH] Netfilter: Code cleanup on net/netfilter
Fix some coding styles and remove moduleparam.h
Signed-off-by: Zhitong Wang <zhitong.wangzt@alibaba-inc.com>
---
net/ipv4/netfilter/nf_nat_h323.c | 1 -
net/ipv4/netfilter/nf_nat_standalone.c | 3 +--
net/ipv4/netfilter/nf_nat_tftp.c | 1 -
net/netfilter/nf_conntrack_proto.c | 2 --
4 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/net/ipv4/netfilter/nf_nat_h323.c b/net/ipv4/netfilter/nf_nat_h323.c
index 7e8e6fc..d4c0618 100644
--- ...
| Mar 25, 2:21 am 2010 |
| Alex Shi | hackbench regression due to commit 9dfc6e68bfe6e
The hackbench benchmark dropped about 3~7% on our 2 sockets NHM machine
on 34-rc1 kernel. We find it is due to commit 9dfc6e68bfe6e,
commit 9dfc6e68bfe6ee452efb1a4e9ca26a9007f2b864
Author: Christoph Lameter <cl@linux-foundation.org>
Date: Fri Dec 18 16:26:20 2009 -0600
SLUB: Use this_cpu operations in slub
The hackbench is prepared hundreds pair of processes/threads. And each
of pair of processes consists of a receiver and a sender. After all
pairs created and ready with a few ...
| Mar 25, 1:40 am 2010 |
| Christoph Lameter | Re: hackbench regression due to commit 9dfc6e68bfe6e
The number of frees is different? From 81 mio to 141 mio? Are you sure it
I hope this is the same load?
What debugging options did you use? We are now using per cpu operations in
the hot paths. Enabling debugging for per cpu ops could decrease your
performance now. Have a look at a dissassembly of kfree() to verify that
there is no instrumentation.
--
| Mar 25, 7:49 am 2010 |
| UBS International Ho ... | (No subject)
UBS International Holdings BV
Herengracht 600
NL-1017 CJ Amsterdam, Netherlands.
www.ubs.com/investmentbank
Greetings,
I am an investment consultant working with UBS International Holdings BV
in the Netherlands. I will be happy to work a transaction of $8.5million
out with you if you have a corporate or personal bank Account. If you are
interested, get back to me via my private email for further informations;
hhbeuker@live.nl
I look forward to hearing from you as soon as possible and ...
| Mar 24, 5:01 pm 2010 |
| Stephen Rothwell | linux-next: Tree for March 25
Hi all,
Changes since 20100324:
Dropped tree: tmio-mmc (long unresolved conflicts and unable to fetch)
My fixes tree contains:
a patch for a pktcdvd build error from Arnd Bergmann
a revert of the commit that broke virtual consoles on PowerPC
The input tree lost its build failure.
The kgdb tree has its build failure back for which I have applied a merge
fixup patch.
The wireless tree lost its build ...
| Mar 24, 11:38 pm 2010 |
| Randy Dunlap | [PATCH 1/3 -next] drm: fix build error when SYSRQ is disabled
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix build error when CONFIG_MAGIC_SYSRQ is not enabled:
drivers/gpu/drm/drm_fb_helper.c:915: error: 'sysrq_drm_fb_helper_restore_op' undeclared (first use in this function)
drivers/gpu/drm/drm_fb_helper.c:929: error: 'sysrq_drm_fb_helper_restore_op' undeclared (first use in this function)
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: David Airlie <airlied@linux.ie>
---
drivers/gpu/drm/drm_fb_helper.c | 2 ++
1 file changed, 2 ...
| Mar 25, 11:29 am 2010 |
| Randy Dunlap | [PATCH 3/3 -next] xen: fix build when SYSRQ is disabled
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix build error when CONFIG_MAGIC_SYSRQ is not enabled:
drivers/xen/manage.c:223: error: implicit declaration of function 'handle_sysrq'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Chris Wright <chrisw@sous-sol.org>
---
drivers/xen/manage.c | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
--- linux-next-20100325.orig/drivers/xen/manage.c
+++ ...
| Mar 25, 11:29 am 2010 |
| Jeremy Fitzhardinge | Re: [PATCH 3/3 -next] xen: fix build when SYSRQ is disabled
Yep, looks fine.
Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
--
| Mar 25, 11:40 am 2010 |
| Naoya Horiguchi | [PATCH] [BUGFIX] pagemap: fix pfn calculation for hugepa ...
When we look into pagemap using page-types with option -p, the value
of pfn for hugepages looks wrong (see below.)
This is because pte was evaluated only once for one vma
although it should be updated for each hugepage. This patch fixes it.
$ page-types -p 3277 -Nl -b huge
voffset offset len flags
7f21e8a00 11e400 1 ___U___________H_G________________
7f21e8a01 11e401 1ff ________________TG________________
^^^
7f21e8c00 11e400 1 ...
| Mar 24, 10:58 pm 2010 |
| James Morris | Re: [PATCH] TPM: workaround to enforce PCR updates acros ...
Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next
--
James Morris
<jmorris@namei.org>
--
| Mar 25, 3:36 pm 2010 |
| Rajiv Andrade | [PATCH] TPM: workaround to enforce PCR updates across suspends
Add a workaround for TPM's which fail to flush last written
PCR values in a TPM_SaveState, in preparation for suspend.
Signed-off-by: David Safford <safford@watson.ibm.com>
Acked-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
diff -u -r a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
--- a/Documentation/kernel-parameters.txt 2010-02-24 13:52:17.000000000 -0500
+++ b/Documentation/kernel-parameters.txt 2010-03-10 15:23:29.701436428 -0500
@@ -98,6 +98,7 @@
...
| Mar 24, 8:55 pm 2010 |
| Nikolaus Schulz | [PATCH] fat: fix buffer overflow in vfat_create_shortname()
When using the string representation of a random counter as part of the base
name, ensure that it is no longer than 4 bytes.
Since we are repeatedly decrementing the counter in a loop until we have found a
unique base name, the counter may wrap around zero; therefore, it is not enough
to mask its higher bits before entering the loop, this must be done inside the
loop.
Signed-off-by: Nikolaus Schulz <microschulz@web.de>
Cc: stable@kernel.org
---
fs/fat/namei_vfat.c | 6 +++---
1 files ...
| Mar 24, 8:50 pm 2010 |
| OGAWA Hirofumi | Re: [PATCH] fat: fix buffer overflow in vfat_create_shor ...
This logic seems to still be strange after applying this patch. However,
anyway, your patch is much better off than current one. So, I'll apply
this in the next merge window.
Or should we apply this immediately?
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
--
| Mar 24, 10:30 pm 2010 |
| Nikolaus Schulz | Re: [PATCH] fat: fix buffer overflow in vfat_create_shor ...
Given that this fixes a stack corruption which triggers the gcc stack
smashing protection and thus basically a crash, I vote for not
--
| Mar 25, 5:24 am 2010 |
| OGAWA Hirofumi | Re: [PATCH] fat: fix buffer overflow in vfat_create_shor ...
Um..., where is a stack corruption? sprintf() overflow? But, it's
actually snprintf(), not sprintf()...
Thanks.
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
--
| Mar 25, 5:33 am 2010 |
| OGAWA Hirofumi | Re: [PATCH] fat: fix buffer overflow in vfat_create_shor ...
Whoops, it was really sprintf().
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
--
| Mar 25, 5:52 am 2010 |
| Dave Airlie | [git pull] drm fixes
Some nouveau updates + misc drm core fixes,
radeon kms: mostly fixes, however a cleanup to the ugly asic tables to
avoid drift between C prototypes moves some stuff around, and I've merged
Jerome's GPU recovery code, as I'd much rather users had some of hope of
recovering from their GPU locking up than a dead box. It seems to work
for quite a lot of people that have tested it, and it won't make a GPU
lockup problem worse. This also finally fixes HDMI audio on rv7xx cards.
The following ...
| Mar 24, 8:35 pm 2010 |
| Pekka Enberg | Re: [git pull] drm fixes
Hi Dave,
Are there any i915 fixes pending? I tried 2.6.34-rc2 few days ago and
all I got was a blank screen at start up. The driver is pretty busted
for 2.6.33 also, I'm getting random screen corruption and the
occasional blank screen (which is "fixed" by suspend/resume).
I'm unfortunately busy with working on something else so I don't have
time right now to debug the thing. Just wanted to know if you're aware
of the quality problems with i915 and if there are any fixes pending.
...
| Mar 24, 11:52 pm 2010 |
| Dave Airlie | Re: [git pull] drm fixes
I leave i915 up to Eric after -rc1, we found it hard to sync our
schedules before,
I'm sure he has some stuff in his tree.
Dave.
--
| Mar 25, 12:44 am 2010 |
| Joonyoung Shim | Re: [PATCH v2] PL330: Add PL330 DMA controller driver
OK. i will use put_unaligned.
Thanks.
--
| Mar 25, 4:48 am 2010 |
| Joonyoung Shim | Re: [PATCH v2] PL330: Add PL330 DMA controller driver
Why desc_pool_virt should be aligned more than 16bit?
--
| Mar 25, 3:05 am 2010 |
| Joonyoung Shim | [PATCH v2] PL330: Add PL330 DMA controller driver
The PL330 is currently the dma controller using at the S5PC1XX arm SoC.
This supports DMA_MEMCPY and DMA_SLAVE.
The datasheet for the PL330 can find below url:
http://infocenter.arm.com/help/topic/com.arm.doc.ddi0424a/DDI0424A_dmac_pl330_r0p0_trm...
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
---
Change log:
v2: Convert into an amba_device driver.
Code clean and update from v1 patch review.
drivers/dma/Kconfig | 7 +
drivers/dma/Makefile | 1 +
...
| Mar 24, 8:17 pm 2010 |
| jassi brar | Re: [PATCH v2] PL330: Add PL330 DMA controller driver
On Thu, Mar 25, 2010 at 12:17 PM, Joonyoung Shim
[CC'ing Russell and Ben as stakeholders]
Dear Maintainers
I too have been writing a driver for PL330 after taking into account the
suggestions of Russell, Ben and other participants of the thread
http://lists.infradead.org/pipermail/linux-arm-kernel/2010-February/009856.html
If you don't think this driver conflicts with the theme of the thread,
may I ask you
to please put this driver on hold until you checkout my implementation
of ...
| Mar 24, 10:34 pm 2010 |
| Marc Zyngier | Re: [PATCH v2] PL330: Add PL330 DMA controller driver
On Thu, 25 Mar 2010 12:17:15 +0900
desc_pool_virt is a virtual address (from dma_alloc_coherent). In such
case, write[bwl] seems to be the wrong interface. I suggest the
following code:
M.
--
I'm the slime oozin' out from your TV set...
--
| Mar 24, 10:44 pm 2010 |
| Linus Walleij | Re: [PATCH v2] PL330: Add PL330 DMA controller driver
Looks good to me now so:
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Linus Walleij
--
| Mar 25, 1:26 am 2010 |
| Linus Walleij | Re: [PATCH v2] PL330: Add PL330 DMA controller driver
Please post the code as it looks today even if it's not compiling
instead of asking others
to hold their patches back. It will be obvious from what you have if
there is some special
use you're covering. Perhaps Joonyoung can simply port over the stuff
you need to
this driver if you show your code.
Yours,
Linus Walleij
--
| Mar 25, 1:30 am 2010 |
| Joonyoung Shim | Re: [PATCH v2] PL330: Add PL330 DMA controller driver
Right. The write[bwl] is api for address ioremapped of io device. I will
PL330 DMA controller fetches variable length instructions that consist of
--
| Mar 25, 2:01 am 2010 |
| Marc Zyngier | Re: [PATCH v2] PL330: Add PL330 DMA controller driver
On Thu, 25 Mar 2010 18:01:00 +0900, Joonyoung Shim
I'm not too concerned about the device side of things. I'm more worried
about the CPU access when writing the 'imm' value to memory.
Consider desc_pool_virt 16bit aligned when entering the function. Writing
the opcode makes it unaligned and then writing the 'imm' value will result
as an unaligned access.
M.
--
Who you jivin' with that Cosmik Debris?
--
| Mar 25, 2:32 am 2010 |
| Marc Zyngier | Re: [PATCH v2] PL330: Add PL330 DMA controller driver
On Thu, 25 Mar 2010 19:05:47 +0900, Joonyoung Shim
There is reason for desc_pool_virt to be 16bit aligned. It's just that you
have 50% chance that it will.
In such case, you will write 'imm' to a non 16bit-aligned address. In my
book, that's bad.
Same for pl330_dmamov(), which tries to write a 32bit value without
checking the proper alignment.
In such case, please use the put_unaligned macro to handle the possible
unaligned access.
M.
--
Who you jivin' with that Cosmik ...
| Mar 25, 3:32 am 2010 |
| jassi brar | Re: [PATCH v2] PL330: Add PL330 DMA controller driver
On Thu, Mar 25, 2010 at 5:30 PM, Linus Walleij
My approach is to write a separate PL330 core driver as the backend which
can be reused by any DMA API implementer driver. That will avoid
having two copies
of the PL330 driver, among other benefits. And if this patch is accepted, there
_will_ exist two copies of the PL330 driver -- one in drivers/dma/pl330_dmac.c
and another in arch/arm/plat-samsung/. Only the former will be lying unused
until some other SoC vendor decided to use PL330, because S3C ...
| Mar 25, 5:17 am 2010 |
| Dan Williams | Re: [PATCH v2] PL330: Add PL330 DMA controller driver
This is the wrong attitude. If it were not for a simple oversight
Joonyoung's driver would already be upstream for the past two kernel
releases. So you need to work together to improve that driver to
incorporate what you need.
It sounds like you just need to add an extension for the arch specific
dma api. At first glance this can mimic the approach taken by
Nobuhiro-san with the shdma driver.
--
Dan
--
| Mar 25, 8:13 am 2010 |
| Linus Walleij | Re: [PATCH v2] PL330: Add PL330 DMA controller driver
Why not just post it on the list? I'm curious! Since I'm working on a PrimeCell
DMA API I would love to look at PrimeCell DMA engine drivers.
Yours,
Linus Walleij
--
| Mar 25, 8:20 am 2010 |
| jassi brar | Re: [PATCH v2] PL330: Add PL330 DMA controller driver
Nothing wrong in attitude here.
Giving feedback on the code only comes after one is convinced with the
overall approach taken. The last time I raised the PL330 driver issue,
most people were not enthusiastic with this drivers/dma/ approach.
I wasn't active mainline discussions when the driver was originally
submitted a few months ago.
And now my replies are not very 'polite' because theres a lot going on
I actually plan more than that.
Apart from inefficient design, JoonYoung's driver has made ...
| Mar 25, 3:27 pm 2010 |
| jassi brar | Re: [PATCH v2] PL330: Add PL330 DMA controller driver
On Fri, Mar 26, 2010 at 12:20 AM, Linus Walleij
The amount of code that will be modified or taken out of drivers/dma/pl330_dmac
will so much that I will be left only with constrained data structures in
the file to do tricks to make it work with the PL330 engine driver.
I am not very keen on authoring the driver/dma/ driver but neither am I
I'll post in a day or two when the PL330 core driver takes come shape
closer to what it is supposed to look.
That will help me getting suggestions for ...
| Mar 25, 3:36 pm 2010 |
| Dan Williams | Re: [PATCH v2] PL330: Add PL330 DMA controller driver
Ok, I'll rely on acked-by's from the interested parties once your
driver is out as I do not have a vested interest in this hardware,
just the dmaengine framework issues.
--
Dan
--
| Mar 25, 4:12 pm 2010 |
| jassi brar | Re: [PATCH v2] PL330: Add PL330 DMA controller driver
Fair enough. Thank you.
--
| Mar 25, 4:59 pm 2010 |
| hayfeng Lee | x86_64 virtual memory map
Hi,folks.
Recently I'm studying some things of x86_64 on Linux. And the virsion
is 2.6.18.8. From the document of Documentation/x86_64/mm.txt,I found
the mapping method for x86_64 virtual memory map. I want to know ,why
use this method for virtual memory mapping?
-----------------------------------------------------------------------------------------------
1
2 <previous description obsolete, deleted>
3
4 Virtual memory map with 4 level page tables:
5
6 0000000000000000 - ...
| Mar 24, 7:20 pm 2010 |
| Jens Axboe | Re: [PATCH][v2] cfq-iosched: Add additional blktrace log ...
Definitely makes sense, thanks I'll queue it up.
--
Jens Axboe
--
| Mar 25, 7:44 am 2010 |
| Divyesh Shah | [PATCH][v2] cfq-iosched: Add additional blktrace log mes ...
These have helped us debug some issues we've noticed in earlier IO
controller versions and should be useful now as well. The extra logging
covers:
- idling behavior. Since there are so many conditions based on which we decide
to idle or not, this patch adds a log message for some conditions that we've
found useful.
- workload slices and current prio and workload type
Changelog from v1:
o moved log message from cfq_set_active_queue() to __cfq_set_active_queue()
o changed queue_count to ...
| Mar 24, 6:38 pm 2010 |
| David Howells | [PATCH] FRV: Extend gdbstub to support more features of gdb
Extend gdbstub to support more features of gdb remote protocol to keep gdb-7
and emacs gud mode happy:
(*) The D command. Detach debugger.
(*) The H command. Handle setting the target thread by ignoring it.
(*) The qAttached command. Indicate we 'attached' to an existing process.
(*) The qC command. Indicate that the current thread ID is 0.
(*) The qOffsets command. Indicate that no relocation has been done.
(*) The qSymbol:: command. Indicate that we're not interested in ...
| Mar 24, 6:13 pm 2010 |
| Alejandro Riveira =? ... | Re: Hardware Interrupt Balancing
El Wed, 24 Mar 2010 18:11:36 -0700
Maybe you just need to run irqbalance http://www.irqbalance.org/
--
| Mar 25, 3:36 am 2010 |
| James Lamanna | Hardware Interrupt Balancing
Hi,
I have a Dual Xeon (single core each w/HT) machine and I noticed the
other day that interrupts are not
being balanced across the 2 processors:
CPU0 CPU1 CPU2 CPU3
0: 306 0 0 3254413993 IO-APIC-edge timer
1: 0 0 0 13468 IO-APIC-edge i8042
8: 0 0 0 3 IO-APIC-edge rtc
9: 0 0 0 0 IO-APIC-level acpi
12: 0 ...
| Mar 24, 6:11 pm 2010 |
| Steven Rostedt | [PATCH 0/2][GIT PULL][v2.6.34] tracing: fixes
Ingo,
Please pull the latest tip/tracing/urgent tree, which can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git
tip/tracing/urgent
Li Zefan (2):
tracing: Reduce overhead of module tracepoints
tracing: Fix lockdep warning in global_clock()
----
include/linux/module.h | 6 ++----
include/trace/events/module.h | 14 +++++++-------
kernel/module.c | 3 +--
kernel/trace/trace_clock.c | 4 ++--
4 ...
| Mar 24, 6:02 pm 2010 |
| Steven Rostedt | [PATCH 2/2] tracing: Fix lockdep warning in global_clock()
From: Li Zefan <lizf@cn.fujitsu.com>
# echo 1 > events/enable
# echo global > trace_clock
------------[ cut here ]------------
WARNING: at kernel/lockdep.c:3162 check_flags+0xb2/0x190()
...
---[ end trace 3f86734a89416623 ]---
possible reason: unannotated irqs-on.
...
There's no reason to use the raw_local_irq_save() in trace_clock_global.
The local_irq_save() version is fine, and does not cause the bug in lockdep.
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Li ...
| Mar 24, 6:02 pm 2010 |
| Steven Rostedt | [PATCH 1/2] tracing: Reduce overhead of module tracepoints
From: Li Zefan <lizf@cn.fujitsu.com>
Remove the @refcnt argument, because it has side-effects, and
arguments with side-effects are not skipped by the jump over
disabled instrumentation, so it adds overhead even when the
tracepoints are disabled.
Tested-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
LKML-Reference: <4BA97FA7.6040406@cn.fujitsu.com>
Signed-off-by: Steven Rostedt ...
| Mar 24, 6:02 pm 2010 |
| Liang Li | [PATCH] x86: let 'reservetop' functioning right
When specify 'reservetop=0xabc000' kernel parameter, kernel will hang
on boot due to a early_ioremap bug that relate to commit 8827247ff.
The root cause of boot failure problem is the value of 'slot_virt[i]'
was initialized in setup_arch->early_ioremap_init. But later in
setup_arch, the function 'parse_early_param' will modify 'FIXADDR_TOP'
when 'reservetop=0xbadc0de' being specified.
The simplest fix might be use __fix_to_virt(idx0) to get updated value
of 'FIXADDR_TOP' in '__early_ioremap' ...
| Mar 24, 5:54 pm 2010 |
| GeunSik Lim | Re: Re: [PATCH] cpuset: Fix documentation punctuation
Nict catch. It seems good to me at least. :)
Acked-by: Geunsik Lim <geunsik.lim@samsung.com>
------- Original Message -------
Sender : Randy Dunlap<rdunlap@xenotime.net>
Date : 2010-03-25 06:58 (GMT+09:00)
Title : Re: [PATCH] cpuset: Fix documentation punctuation
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Jiri, would you merge this, please?
thanks,
--
~Randy
---------------------------------------------------------------------------
GeunSik Lim, ...
| Mar 24, 5:26 pm 2010 |
| Steven Rostedt | Re: [PATCH 5/5] trace-cmd: Simplify Makefile, and remove ...
I'm fine with all the patches but this one. Maybe it's a matter of
opinion, but one thing that I've learned is to make things easy for
users. I point people to this repo for kernelshark. If they do make, and
don't get it, I want them to know that they can do in with make gui, and
not expect them to have to look at other files. Yes I consider people
lazy.
Maybe this is OK, but I would like to hear other opinions on this
subject. A README and INSTALL maybe fine instead.
Thanks,
--
| Mar 24, 5:24 pm 2010 |
| John Kacur | Re: [PATCH 5/5] trace-cmd: Simplify Makefile, and remove ...
If you don't like this, I could just submit the README changes
but I would at least recommend that we change the messages
so they don't like like Makefile errors.
For example: REMINDER: You can make the gui by typing make gui
--
| Mar 24, 5:31 pm 2010 |
| Steven Rostedt | Re: [PATCH 5/5] trace-cmd: Simplify Makefile, and remove ...
How about:
NOTE: to build the gui, type make gui
-- Steve
--
| Mar 24, 5:41 pm 2010 |
| Divyesh Shah | [PATCH] cfq-iosched: Add additional blktrace log message ...
These extra logging messages have helped us debug some issues we've noticed in
earlier IO controller versions and should be useful now as well. The extra
logging covers:
- idling behavior. Since there are so many conditions based on which we decide
to idle or not, this patch adds a log message for some conditions that we've
found useful.
- workload slices and current prio and workload type
Signed-off-by: Divyesh Shah<dpshah@google.com>
---
block/cfq-iosched.c | 17 +++++++++++++++--
1 ...
| Mar 24, 5:19 pm 2010 |
| Vivek Goyal | Re: [PATCH] cfq-iosched: Add additional blktrace log mes ...
Divyesh, __cfq_set_active_queue(), is already logging message
"set_active". Why don't you simply extend that to also print prio and
Instead of queue_count, probably st->count=%d will be better.
Rest of it looks ok to me.
--
| Mar 24, 6:00 pm 2010 |
| Vivek Goyal | Re: [PATCH] Expose the statistics in blkio.time and blki ...
Ok, root group is created when request queue is being initialized and
device information like major/minor number is not available. This is
not the cleanest solution but can't think of something better right now.
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Thanks
--
| Mar 24, 5:52 pm 2010 |
| Sergei Shtylyov | Re: [PATCH 2/2] ARM: pcmcia: fix checkpatch.pl issues in ...
Hello.
I'd disagree in this case. Anybody will hardly grep for "mask:
%s%s%s%s%s%sflags: %s%s%s%s%s%s".
WBR, Sergei
--
| Mar 25, 3:19 am 2010 |
| Dominik Brodowski | Re: [PATCH 2/2] ARM: pcmcia: fix checkpatch.pl issues in ...
Russell,
do you prefer me pushing these patches upstream (possibly even for -rc3), or
do you wish to take these patches?
Best,
Dominik
--
| Mar 25, 10:04 am 2010 |
| Marcelo Jimenez | Re: [PATCH 2/2] ARM: pcmcia: fix checkpatch.pl issues in ...
On Thu, Mar 25, 2010 at 14:04, Dominik Brodowski
If possible, please take a look at my other ARM patches, I have
submitted a total of nine, but got feedback in only two of them (this
Regards,
Marcelo.
--
| Mar 25, 10:47 am 2010 |
| Valdis.Kletnieks | Re: [PATCH 2/2] ARM: pcmcia: fix checkpatch.pl issues in ...
However, egrep 'mask: .*flags: ' is quite plausible.
| Mar 25, 11:26 am 2010 |
| Olaf van der Spek | Re: execve() returns ENOENT when ld-linux.so isn't found
That sounds closer to the actual error than ENOENT.
ENOENT: The file filename or a script or ELF interpreter does not
exist, or a shared library needed for file or interpreter cannot be
found.
ENOEXEC: An executable is not in a recognized format, is for the wrong
architecture, or has some other format error that means it cannot be
executed.
ENOENT shouldn't be overloaded like this, as it's common meaning is:
file not found. So it shouldn't be returned if the argument to execve
is actually ...
| Mar 25, 12:29 pm 2010 |
| Luca Barbieri | Re: execve() returns ENOENT when ld-linux.so isn't found
POSIX 2008 says, for exec*:
[ENOENT]
A component of path or file does not name an existing file or path
or file is an empty string.
[ENOEXEC]
The new process image file has the appropriate access permission
but has an unrecognized format.
[EINVAL]
The new process image file has appropriate privileges and has a
recognized executable binary format, but the system does not support
execution of a file with this format.
None of these perfectly fit, but EINVAL seems the ...
| Mar 25, 2:00 pm 2010 |
| Emmanuel Benisty | Re: mmotm 2010-03-24-14-48 uploaded
hi Andrew,
build fails with:
drivers/net/wireless/iwlwifi/iwl-rx.c: In function ‘iwl_good_ack_health’:
drivers/net/wireless/iwlwifi/iwl-rx.c:647: error: ‘struct iwl_priv’
has no member named ‘_agn’
drivers/net/wireless/iwlwifi/iwl-rx.c: In function ‘iwl_rx_reply_rx’:
drivers/net/wireless/iwlwifi/iwl-rx.c:1224: warning: ‘noise’ is
deprecated (declared at include/net/mac80211.h:557)
drivers/net/wireless/iwlwifi/iwl-rx.c:1226: warning: ‘noise’ is
deprecated (declared at ...
| Mar 25, 8:50 am 2010 |
| Randy Dunlap | Re: mmotm 2010-03-24-14-48 uploaded
Patch (for error) is here:
http://marc.info/?l=linux-wireless&m=126946621910346&w=2
--
~Randy
--
| Mar 25, 9:07 am 2010 |
| Emmanuel Benisty | Re: mmotm 2010-03-24-14-48 uploaded
works. thanks Randy.
--
| Mar 25, 9:18 am 2010 |
| Paul Menage | Re: [PATCH] cpuset: Fix documentation punctuation
Acked-by: Paul Menage <menage@google.com>
Thanks,
--
| Mar 24, 5:48 pm 2010 |
| Jiri Kosina | Re: [PATCH] cpuset: Fix documentation punctuation
Yup, applied, thanks.
--
Jiri Kosina
SUSE Labs, Novell Inc.
--
| Mar 25, 2:12 am 2010 |
| Arnd Bergmann | Re: [GIT, RFC] Killing the Big Kernel Lock
Sure, that is certainly the plan.
Regarding the ptrace bits, this is one of a handful of places where the BKL
was put in by someone a really long time ago but with the rest of the
series applied, it becomes evident that there is nothing whatsoever that
it serializes with, so removing the BKL here does not make the situation
worse. It could still be a bug that needs to be fixed by adding a new
Let me give you three separate diffstats. One is for the trivial pushdown of
the BKL into all the ...
| Mar 25, 3:26 am 2010 |
| Jiri Kosina | Re: [GIT, RFC] Killing the Big Kernel Lock
config USB
tristate "Support for Host-side USB"
depends on USB_ARCH_HAS_HCD && BKL
Well, that's very interesting definition of "obscure" :)
--
Jiri Kosina
SUSE Labs, Novell Inc.
--
| Mar 25, 5:55 am 2010 |
| Arnd Bergmann | Re: [GIT, RFC] Killing the Big Kernel Lock
That's why I said /mostly/ obscure modules. There are soundcore, usb-core, drm,
vfat and a few other very common ones, along with many obscure ones.
Arnd
--
| Mar 25, 6:06 am 2010 |
| Arnd Bergmann | Re: [GIT, RFC] Killing the Big Kernel Lock
FWIW, this is the full list of 148 modules that require the BKL in an x86 allmodconfig,
which is probably the configuration with the largest code ...
| Mar 25, 6:38 am 2010 |
| Dan Carpenter | Re: [GIT, RFC] Killing the Big Kernel Lock
There is a typo in this one:
commit 12c8fcce56c0de4fdcacf048fe723c8778af940d
Author: Arnd Bergmann <arnd@relay.de.ibm.com>
Date: Wed Mar 24 20:08:55 2010 +0100
block: replace BKL with global mutex
It doesn't seem to interact with much else, so give
this a try.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
diff --git a/kernel/trace/blktrace.c b/kernel/trace/blktrace.c
index d9d6206..9c1277a 100644
--- a/kernel/trace/blktrace.c
+++ b/kernel/trace/blktrace.c
[ ...
| Mar 25, 6:40 am 2010 |
| Arnd Bergmann | Re: [GIT, RFC] Killing the Big Kernel Lock
Fixed now, thanks for reporting!
Arnd
--
| Mar 25, 7:14 am 2010 |
| =?UTF-8?Q?Am=C3=A9ri ... | Re: Somebody take a look please! (some kind of kernel bug?)
(Cc'ing linux-mm)
--
| Mar 24, 8:29 pm 2010 |
| KAMEZAWA Hiroyuki | Re: Somebody take a look please! (some kind of kernel bug?)
On Thu, 25 Mar 2010 11:29:25 +0800
Hmm..here is summary of corruption (from log), but no idea.
==
process's address pte pnf->pte->page
00000037b4008000 2bf1e025 -> PG_reserved
00000037b400a000 d900000000 -> bad swap
00000037b400c000 2bfe8025 -> PG_reserved
00000037b400d000 12bfe9025 -> belongs to some other files' page cache
00000037b400e000 ff00000000 -> bad swap
00000037b400f000 5400000000 -> bad swap
...
00000037b4019000 ff00000000 -> bad swap
==
All ptes are ...
| Mar 24, 11:31 pm 2010 |
| Janos Haar | Re: Somebody take a look please! (some kind of kernel bug?)
----- Original Message -----
From: "KAMEZAWA Hiroyuki" <kamezawa.hiroyu@jp.fujitsu.com>
To: "Américo Wang" <xiyou.wangcong@gmail.com>
Cc: "Janos Haar" <janos.haar@netcenter.hu>; <linux-kernel@vger.kernel.org>;
<linux-mm@kvack.org>
Sent: Thursday, March 25, 2010 7:31 AM
No, the bug, what i have sent was from 2.6.32.10. (you can check it from the
messages file in the link)
The story begins about marc 9-10 but unfortunately the system not all the
time was able to write down the messages ...
| Mar 25, 1:54 am 2010 |
| Jens Axboe | Re: [PATCH] cfq-iosched: Do not merge queues of BE and I ...
Thanks, applied.
--
Jens Axboe
--
| Mar 25, 7:45 am 2010 |
| Vivek Goyal | Re: [PATCH] cfq-iosched: Do not merge queues of BE and I ...
Looks good to me.
Acked-by: Vivek Goyal <vgoyal@redhat.com>
--
| Mar 24, 6:08 pm 2010 |
| Oleg Nesterov | Re: [RFC,PATCH 2/2] cputimers/proc: do_task_stat()->thre ...
First of all, let me reply to myself. I see that I wasn't clear at all.
This patch does the first step to remove one reason for ->siglock
(modification of ->prev_Xtime). But this is very minor, I guess we
could change thread_group_times() to take signal->cputimer->lock.
The goal was to call thread_group_cputime() lockless under rcu lock
(either directly, or via thread_group_times(), this doesn't matter)
to avoid while_each_thread() under ->siglock.
And in this case /proc/pid/stat can't ...
| Mar 25, 5:12 am 2010 |
| Peter Zijlstra | Re: [RFC,PATCH 2/2] cputimers/proc: do_task_stat()->thre ...
IIRC top can give very funny results if you break it hard enough, it
likes to give 9999% cputime if the thing goes backwards over the sample
interval.
But I'm not sure your race is large enough to ever show up like that, so
it might all just work out, but in general it does tend to require
monotonic times.
--
| Mar 25, 5:19 am 2010 |
| Robert Hancock | Re: Major Linux sound bugs
This isn't a kernel issue. Usually this is due to those programs
incorrectly accessing device-specific ALSA devices like "hw:0", etc.
rather than just using the "default" PCM device. Doing this bypasses
software mixing and requires exclusive access to the sound device.
--
| Mar 24, 5:51 pm 2010 |
| Thomas Gleixner | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
Hmm, not sure. Have not measured IRQ handler run times for quite a
Right, but that's not the problem here. We talk about a (hopefully)
well written interrupt handler which runs for a very short
time. What's the point of running it with interrupts enabled ?
Nothing, we just run into stack overflow problems. So what's better:
an unreliable and ugly hackaround or just avoiding the possible stack
overflow in the first place ?
Thanks,
tglx
--
| Mar 25, 4:16 am 2010 |
| Andi Kleen | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
Sorry it's the same CPU, not the same vector. Yes the reference
to same vector was misleading.
"
Multiple vectors on a multi port NIC pointing to the same CPU,
all hitting the irq stack until it overflows.
Real maximum nesting is all IRQs running with interrupts on pointing
to the same CPU. Enough from multiple busy IRQ sources and you go boom.
-Andi
--
ak@linux.intel.com -- Speaking for myself only.
--
| Mar 24, 5:36 pm 2010 |
| Thomas Gleixner | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
"misleading" is an euphemism at best ...
So there are several questions:
1) Why are those multiple vectors all hitting the same cpu at the same
time ? How many of them are firing at the same time ?
2) What kind of scenario is that ? Massive traffic on the card or some
corner case ?
3) Why does the NIC driver code not set IRQF_DISABLED in the first
place? AFAICT the network drivers just kick off NAPI, so whats the
Which leads to the general question why we have that ...
| Mar 24, 6:46 pm 2010 |
| Andi Kleen | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
I think the idea was to minimize irq latency for other interrupts
But yes defaulting to IRQF_DISABLED would fix it too, at some
My understanding was that traditionally the irq handlers were
allowed to nest and the "fast" non nest case was only added for some
Ok glad to give you advertisement time for your pet project...
Anyways if such a thing was done it would be a long term project
I can't, just as much as I cannot enforce they won't crash or not loop
forever or something. ...
| Mar 25, 2:37 am 2010 |
| Alan Cox | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
Anyone you've forgotten to offend ?
We have IRQF_DISABLED and stuff using that model because for something
like ten years the Linux kernel had no real sane notion of handing stuff
off to worker threads or threaded irq support and also because there were
so many errata around IRQ masking as well as all the evil business
with interrupt delivery being asynchronous to the PCI or ISA transactions
on some CPUs (eg you could write the irq mask register on the device,
read it back to ensure it ...
| Mar 25, 3:50 am 2010 |
| Alan Cox | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
> time. What's the point of running it with interrupts enabled ?
The underlying question you posed was why don't we kill off the running
with irqs enabled cases. That requires more work but should definitely
I think you are trying to have a debate when we are in agreement anyway.
I don't btw think the workaround is 'unreliable', ugly as sin yes but the
logic appears sound.
Alan
--
| Mar 25, 4:59 am 2010 |
| Andi Kleen | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
Thanks.
I'm tempted to just ignore it in this case, but in theory it might
still have troubles if there are a lot of interrupts to the same CPU.
I've only had a report on a very large system with a very high interrupt
rate on a very fast NIC though, so presumably it's not too common.
Anyways this patch will fix the problem for all drivers that do
not explicitely enable interrupts, which is the overwhelming majority.
-Andi
--
ak@linux.intel.com -- Speaking for myself only.
--
| Mar 25, 4:57 am 2010 |
| Andi Kleen | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
The NIC handlers can do quite some work under high traffic.
I don't think that's a accurate description of the patch at all.
Besides I believe it's reliable in all cases that matter.
-Andi
--
ak@linux.intel.com -- Speaking for myself only.
--
| Mar 25, 5:00 am 2010 |
| Andi Kleen | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
I believe it's more like that you have a lot of them (even with interrupt
mitigation and NAPI polling) and they have to scale up the work to handle
high bandwidths, so it ends up with a lot of time in them anyways,
ending with skew in the timers and similar issues.
Anyways my goal here was simply to have a least intrusive fix, not
Yes it could work out this. Or it could not. I'm not sure, so I chose
Ok so you're just proposing to always set IRQF_DISABLED?
If you can force everyone to ...
| Mar 25, 5:11 am 2010 |
| Thomas Gleixner | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
Timekeeping is an absolute non issue here. The time keeping code can
Oh it's safe because it solves the problem on that particular machine
and workload?
No, it's not safe at all.
- it does not prevent a driver reenabling interrupts
- it will cause real large latencies when the interrupt which
happens to trigger that check is one of the long running
ones. Are you going to deal with the "oh we see >500us" latencies
bugreports ?
- worst case it'll brick ...
| Mar 25, 6:17 am 2010 |
| Andi Kleen | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
Well in this case it's simply because it has 4 ports and they are all
active and have a lot of MSI-X vectors for each stream.
Even if you had the perfect interrupt handler that ran in
one cycle, if you had enough of them in parallel from different ports
Well it's simply the current state of affairs today. I'm merely
attempting to make the current state slightly safer without breaking
I'm not sure I fully understand your suggestion.
Is your suggestion to only set IRQF_DISABLED that ...
| Mar 25, 6:32 am 2010 |
| Thomas Gleixner | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
Well, I'd agree if those stack overflows would be a massive reported
problem.
Right now they happen with a weird test case which points out a
trouble spot. Multi vector NICs under heavy load. So why not go there
and change the handful of drivers to run their handlers with irqs
disabled?
Band aids are the last resort if we can't deal with a problem by other
sane means. And this problem falls not into that category, it can be
solved in the affected drivers with zero ...
| Mar 25, 7:16 am 2010 |
| Andi Kleen | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
At least the people who reported it to me thought it was a massive
Ok, but afaik it's not that small a number: MSI-X support is getting
more and more wide spread. It's pretty universal in the 10+GbitE space
for space and starts getting deployed for block too.
-Andi
--
ak@linux.intel.com -- Speaking for myself only.
--
| Mar 25, 8:38 am 2010 |
| Alan Cox | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
How about - because it can happen anyway ? It's merely a lot less likely
and if it is occuring at random in very obscure situations the chances
are it doesn't produce a nice neat report that it occurred either. Your
assertion that this is the only case it is seen appears unbacked by
Thomas - you can't complain about Andi's patches being inadequate and
then suggest an ever more incomplete 'solution'. Absolute minimum we need
to WARN() in that situation so that kerneloops.org can gather ...
| Mar 25, 9:06 am 2010 |
| Linus Torvalds | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
So historically _all_ interrupts allow nesting, except for what used to be
called "fast" irq handlers. Notably the serial line, which especially on
chips without buffering needs really low latencies.
So that's where the irq handler code comes from: a "fast" interrupt will
not ever enable the CPU interrupts at all, and can run without ever doing
the whole "mask and ACK" code. But no, we absolutely MUST NOT make regular
interrupt handlers be that kind of fast handlers (ie IRQF_DISABLED ...
| Mar 25, 9:13 am 2010 |
| Linus Torvalds | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
Btw, it was even more extreme than that. The fast irq handlers got a
totally separate kernel entry point, and wouldn't save all registers, only
the compiler-clobbered ones. Which is why they then had no "struct
pt_regs" etc.
And yes, it really mattered. Then later we got so bloated that it wasn't
much of an issue - and just made everything more complicated.
Linus
--
| Mar 25, 9:17 am 2010 |
| Ingo Molnar | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
* Linus Torvalds <torvalds@linux-foundation.org> wrote:
I think the patch as posted solves a real problem, but also perpetuates a bad
situation.
At minimum we should print a (one-time) warning that some badness occured.
That would push us either in the direction of improving drivers, or towards
improving the generic code.
Thanks,
Ingo
--
| Mar 25, 9:27 am 2010 |
| Ingo Molnar | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
Furthermore, applying that patch as-is would not just cause us to do nothing
about it in the future, it would also add a rather fragile looking piece of
logic. I.e. it's a sweep-under-the-rug thing pretty much IMO.
So i think Thomas is quite right wrt. ugliness of the patch but missed the
other important fact that this can occur in a lot of places with high enough
IRQ parallelism and cannot be fixed one by one.
Thanks,
Ingo
--
| Mar 25, 9:33 am 2010 |
| Thomas Gleixner | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
For the MSI ones it definitely works as they can not be shared. I'm
just not sure whether we can just enforce that for MSI.
Thanks,
tglx
--
| Mar 25, 9:52 am 2010 |
| Peter Zijlstra | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
FWIW lockdep forces IRQF_DISABLED and yells when anybody does
local_irq_enable() while in hardirq context, I haven't seen any such
splats in a long while, except from the ARM people who did funny things
with building their own threaded interrupts or somesuch.
So I'm sure there's some devices, like IDE PIO and the curious 8390, and
maybe some other drivers that aren't as common, but I don't think the
situation is quite as bad as some people paint it.
--
| Mar 25, 10:47 am 2010 |
| Linus Torvalds | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
The thing is, that won't show the drivers that just simply _expect_
other interrupts to happen.
The SCSI situation, iirc, used to be that certain error conditions simply
caused a delay loop (reset? I forget) that depended on 'jiffies'. So there
was no 'local_irq_enable()' involved, nor did it even happen under any
normal load - only in error situations.
Now, I think (and sincerely) that the SCSI situation is likely long since
fixed, but we have thousands and thousands of drivers, ...
| Mar 25, 11:01 am 2010 |
| Peter Zijlstra | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
I recently found a few in drivers/net/ there's all kinds of funny stuff
in there.. not sure how common the matching hardware is though.
One thing we could do is instrument jiffies to yell when its used from
hardirq context and fix up these things.
But yeah, there's funky hardware around, but I think we should provide
more incentives to keep modern hardware drivers saner.
--
| Mar 25, 11:21 am 2010 |
| Peter Zijlstra | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
Also, Arjan mentioned he wanted to sweep the kernel for jiffies users
and convert them to timer interfaces..
--
| Mar 25, 11:23 am 2010 |
| Andi Kleen | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
What should a driver do to prevent that? I don't see what it could do
short of castrating itself (like refusing to use multiple ports)
As Linus says the driver doesn't know if setting IRQF_DISABLED is safe.
-Andi
--
ak@linux.intel.com -- Speaking for myself only.
--
| Mar 25, 11:27 am 2010 |
| Ingo Molnar | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
Yes, but that kind of crap should not go unnoticed if it triggers (which may
be rare): in form of a hard lockup. We had that lockdep behavior of disabling
irqs in all handlers forever, ever since it went upstream four years ago.
So we had 3 separate mechanisms in the past 3-4 years:
- lockdep [which disables irqs in all handlers, indiscriminately]
- dynticks [which found in-irq jiffies loops]
- -rt [which found hardirqs-off loops]
That should have weeded out most of that kind of ...
| Mar 25, 11:29 am 2010 |
| Andi Kleen | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
% linux-2.6> gid jiffies | wc -l
7569
Good luck.
-Andi
--
ak@linux.intel.com -- Speaking for myself only.
--
| Mar 25, 11:44 am 2010 |
| Ingo Molnar | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
Dynticks found most of the loop-for-jiffies-in-handlers cruft: an IRQ handler
hitting the idle loop and then spinning for jiffies, with dynticks enabled,
would spin forver because there's no timer irq.
That is because in dynticks mode we dont reactivate the tick when we go into
an irq handler (that has hit the idle task). So any looping on jiffies will
loop forever. We only reactivate the tick when we go out of idle.
We had a few bugs of that kind in the early days of dynticks - they ...
| Mar 25, 12:01 pm 2010 |
| Linus Torvalds | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
If we do this, then we should just remove all the IRQF_DISABLED code in
kernel/irq/manage.c too, and basically make IRQF_DISABLED a clear no-op
(still leave it around as a #define, to not break any users).
It won't make it any harder to revert if it causes problems, and that way
there will be no crazy dead code (and comments) left around.
And I just checked: even the 8250 serial driver doesn't use IRQF_DISABLED
any more, so doing that shouldn't cause any latency issues (sure, the ...
| Mar 25, 12:10 pm 2010 |
| David Miller | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
From: Linus Torvalds <torvalds@linux-foundation.org>
FWIW, I'm currently using IRQF_DISABLED for virtual network
device interrupts on sparc64 as a workaround for some stack
overflow issues.
This change will just force me to work harder to find out a better way
to fix the problem, so don't let my issue hold this back, it's just
an FYI...
--
| Mar 25, 12:42 pm 2010 |
| Linus Torvalds | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
You missed the point of the patch.
It makes _all_ interrupts act like IRQF_DISABLED. So it actually fixes
your issue, by making IRQF_DISABLE a no-op - not because it doesn't exist
any more, but because the non-IRQF_DISABLED case would not exist any more.
Linus
--
| Mar 25, 1:40 pm 2010 |
| Ingo Molnar | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
I think IRQF_DISABLED is the sanest method to run IRQs: it's the most atomic,
thus most cache-efficient, it doesnt nest, and it's also a tiny bit faster to
The patch i sent basically hardcodes IRQF_DISABLED - so it should fix your
problem automatically. IRQF_DISABLED will become an unconditional thing, and
we can then also remove it.
Ingo
--
| Mar 25, 1:51 pm 2010 |
| Linus Torvalds | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
Btw, if we really do decide that everybody is IRQF_DISABLED, that really
should make the whole mask-and-ack issue for the irq controllers go away.
We'd still need it, but only for the very special IDE controller case and
others who _explicitly_ re-enable interrupts. Those would really have to
cause the irq to be masked so that we don't get issues with recursive irqs
of the same kind.
Linus
--
| Mar 25, 1:53 pm 2010 |
| Thomas Gleixner | Re: [PATCH] Prevent nested interrupts when the IRQ stack ...
So what's the point ? Is the irq handler of that card so long running,
that it causes trouble ? If yes, then this needs to be fixed. If no,
What's the cost? Nothing at all. There is no f*cking difference between:
IRQ1 10us
IRQ2 10us
IRQ3 10us
IRQ4 10us
and
IRQ1 2us
IRQ2 2us
IRQ3 2us
IRQ4 10us
IRQ3 8us
IRQ2 8us
IRQ1 8us
The system is neither running a task nor a softirq for 40us in both
cases.
So what's the point of running a well written (short) ...
| Mar 25, 4:09 am 2010 |
| Thomas Renninger | Re: [PATCH 0/5] powernow-k8: Core Performance Boost and ...
Beside the one (Intel/AMD) duplicate APERF/MPERF cpuid check which
I expect can get unified, looks fine to me.
Thanks,
Thomas
--
| Mar 25, 2:50 am 2010 |
| Thomas Renninger | Re: [PATCH 3/5] cpufreq: Add APERF/MPERF support for AMD ...
Can you put this into:
arch/x86/kernel/cpu/common.c (or wherever it fits in general x86 cpu init code)
and remove this (arch/x86/kernel/cpu/intel.c):
if (c->cpuid_level > 6) {
unsigned ecx = cpuid_ecx(6);
if (ecx & 0x01)
set_cpu_cap(c, X86_FEATURE_APERFMPERF);
}
an x86 maintainer might want to double check, but I expect this should work
for all x86 machines?
Thomas
--
| Mar 25, 2:43 am 2010 |
| Borislav Petkov | Re: [PATCH 3/5] cpufreq: Add APERF/MPERF support for AMD ...
From: Thomas Renninger <trenn@suse.de>
Date: Thu, Mar 25, 2010 at 10:43:04AM +0100
Yes, it should. However, there's the remote, far-fetched possibility
that other x86 vendors besides AMD and Intel, might have/plan to have
CPUID, base function 6, ECX[1] defined as a completely different feature
flag. And then it becomes ugly.
Besides, this is, strictly speaking, not x86 generic code but AMD- and
Intel-generic (huh, is there something like that? :)) code.
So, IMO, this is a judgement call ...
| Mar 25, 4:06 am 2010 |
| Valdis.Kletnieks | Re: [PATCH 3/5] cpufreq: Add APERF/MPERF support for AMD ...
So is > or >= the correct comparator here?
| Mar 25, 12:55 pm 2010 |
| Thomas Renninger | Re: [PATCH 3/5] cpufreq: Add APERF/MPERF support for AMD ...
This one: >= is correct (for both).
I double checked, there is one Intel CPU type
having a cpuid_level of 6, but this would not support aperf/mperf, thus
above is still fine.
The remaining question is what Borislav said:
are there other x86 CPU vendors who could use this differently.
I very much expect there are not.
IMO you should resubmit this one or the whole series with this change
and Dave should just push this in his tree and queue it up, there was enough
time to ...
| Mar 25, 1:59 pm 2010 |
| Borislav Petkov | Re: [PATCH 3/5] cpufreq: Add APERF/MPERF support for AMD ...
From: Thomas Renninger <trenn@suse.de>
Agreed. ">" won't work on machines which have base cpuidlevel == 6 (like
The problem here is that the patches touch both cpufreq and x86 code.
Hmmm...
--
Regards/Gruss,
Boris.
--
Advanced Micro Devices, Inc.
Operating Systems Research Center
--
| Mar 25, 3:16 pm 2010 |
| KOSAKI Motohiro | Re: [PATCH] oom killer: break from infinite loop
I like this patch very much.
Thanks, Anfei!
--
| Mar 24, 7:51 pm 2010 |
| Bjorn Helgaas | Re: [Bugme-new] [Bug 15621] New: BUG: unable to handle k ...
My pci=use_crs patches change the contents of the iomem_resource tree,
and it's possible they broke some assumptions PCMCIA was making, so
you might see if "pci=nocrs" makes any difference. If it does, please
attach an acpidump and the entire dmesg logs with and without that option.
--
| Mar 25, 9:51 am 2010 |
| Dominik Brodowski | Re: [Bugme-new] [Bug 15621] New: BUG: unable to handle k ...
... and /proc/iomem as well as /proc/ioports , please.
--
| Mar 25, 10:01 am 2010 |
| Pekka Enberg | Re: [PATCH] slub: Potential stack overflow
Christoph, does this look OK to you? I think Eric has all your later
--
| Mar 25, 12:29 pm 2010 |
| Christoph Lameter | Re: [PATCH] slub: Potential stack overflow
Yes just dont know how to add an Ack given that there is already a
signoff.
--
| Mar 25, 2:03 pm 2010 |
| Joel Becker | Re: [PATCH 1/8] x86: do not free zero sized per cpu areas
Tested-by: Joel Becker <joel.becker@oracle.com>
I ran into this when moving my paravirt_ops PVMs to 2.6.34-rc1.
I turned on CONFIG_NO_BOOTMEM to try it because it was the default. I
had to put earlyprintk=xen on the command line to debug the problem.
My boots hung after:
...
(early) Local APIC disabled by BIOS -- you can enable it with "lapic"
(early) APIC: disable apic facility
(early) APIC: switched to apic NOOP
(early) Allocating PCI resources starting at 78000000 (gap: ...
| Mar 25, 3:29 pm 2010 |
| Nick Piggin | Re: [PATCH 1/2] mm/vmalloc: Export purge_vmap_area_lazy()
You want vm_unmap_aliases(), which also flushes entries in the
per-cpu vmap allocator (and is already exported for other code
that has similar problems).
Thanks,
Nick
--
| Mar 24, 10:28 pm 2010 |
| Benjamin Herrenschmidt | Re: [PATCH 1/2] mm/vmalloc: Export purge_vmap_area_lazy()
Ok, I missed that one. I'll update my patch. Thanks.
Cheers,
Ben.
--
| Mar 25, 1:25 am 2010 |
| MJ embd | Re: [PATCH 1/2] mm/vmalloc: Export purge_vmap_area_lazy()
On Wed, Mar 24, 2010 at 1:26 PM, Benjamin Herrenschmidt
Are you talking about KVM or any other hypervisor ?
--
| Mar 25, 1:39 am 2010 |
| Naoya Horiguchi | Re: [PATCH -mmotm] [BUGFIX] pagemap: fix pfn calculation ...
I think there is misunderstanding on this part.
I would add this instead:
- Without this patch, hugetlb_entry() callback is called once per vma,
OK. I fixed it.
Thanks,
Naoya Horiguchi
--
| Mar 24, 10:55 pm 2010 |
| Grzegorz Nosek | Re: Testing lxc 0.6.5 in Fedora 13
No, not really. Attaching from outside to a shell running in a container
and running a command yields:
| rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
| pipe([3, 4]) = 0
| clone(Process 2581 attached (waiting for parent)
| Process 190 attached
Without the patch the order of reported pids is reversed (and at least
with the patched kernel the outside pid is consistently reported first)
| child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, ...
| Mar 25, 2:33 pm 2010 |
| Harro Haan | Re: [patch v3 2/3] at91_udc HW glitch
According to the following post it did not solve the problem:
"There are references to syncronization issues between clock domains
in documentation and source code. These references describe required
delays when setting or clearing bits in CSR until the bit actually
changes and the required delays between writing CSR and reading the
data register. Incorporating the delays suggested in datasheet to code
did not change anything, so I dug ...
| Mar 25, 5:03 am 2010 |
| Anti Sullin | Re: [patch v3 2/3] at91_udc HW glitch
Another read is still needed after verifying that the flag is changed.
We are writing a bit that does not have a register behind it. It just
triggers the acknowledge that the data has been read.
We could poll if the corresponding data ready flag is cleared to check
if the write has propagated. But this leads to another problem:
the reads do not seem to be re-syncronized between clock domains.
We just get what is there at the moment the read is performed. This
means that even if the "data ...
| Mar 25, 6:09 am 2010 |
| Nigel Cunningham | Re: [linux-pm] [RFC 03/15] PM / Hibernate: separate block_io
Hi again.
On further reflection, how about "std" (suspend to disk)? I think that's
less ugly than the 'hib' suggestion :)
Regards,
Nigel
--
| Mar 24, 7:35 pm 2010 |
| Pavel Machek | Re: [RFC 03/15] PM / Hibernate: separate block_io
hib_ certainly sounds better.
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Mar 25, 7:29 am 2010 |
| Rafael J. Wysocki | Re: [linux-pm] [RFC 03/15] PM / Hibernate: separate block_io
But it also decodes as "standard" if someone is not in the right context. :-)
If the "bio" part of the name is not essential (ie. there's no conflicting name
already), we could call it simply hibernate_read_page().
Rafael
--
| Mar 25, 1:12 pm 2010 |
| Nigel Cunningham | Re: [linux-pm] [RFC 03/15] PM / Hibernate: separate block_io
Hi.
Yeah. So we're going with hibernate or hib_ if it needs abbreviating?
Nigel
--
| Mar 25, 1:13 pm 2010 |
| Rafael J. Wysocki | Re: [linux-pm] [RFC 03/15] PM / Hibernate: separate block_io
I'd just use "hibernate" without abbreviating if reasonably possible.
We can also use "image_" in some cases I guess.
Rafael
--
| Mar 25, 1:33 pm 2010 |
| Nigel Cunningham | Re: [linux-pm] [RFC 03/15] PM / Hibernate: separate block_io
Hi.
k.
Nigel
--
| Mar 25, 1:36 pm 2010 |
| Rafael J. Wysocki | Re: [RFC 04/15] PM / Hibernate: move the first_sector ou ...
Yes, it looks good.
Rafael
--
| Mar 25, 2:26 pm 2010 |
| Rafael J. Wysocki | Re: [RFC 11/15] PM / Hibernate: add chunk i/o support
Please don't do that. Fail the operation instead. You can also use WARN_ON
or WARN if you _really_ want the user to notice the failure.
I'd split the above into two functions, one for writing and the other for
reading.
Doing the same with sws_rw_buffer() (under a better name), for the sake of
--
| Mar 25, 3:38 pm 2010 |
| Pavel Machek | what the patches do Re: [RFC 10/15] PM / Hibernate: user ...
Ok, I guess that now I see what you are doing.... adding interface
layer between /dev/snapshot and core hibernation code.
To recap, 2.6.33 hibernation looks like:
core hibernation
/\
/ \
swsusp /dev/snapshot
swap \
writing -------- read/write/ioctl interface
\
s2disk
and after your patches, we'd get
core hibernation
/\
---------- sws_module_ops ...
| Mar 24, 10:30 pm 2010 |
| Nigel Cunningham | Re: what the patches do Re: [RFC 10/15] PM / Hibernate: ...
Hi.
On 25/03/10 16:30, Pavel Machek wrote:
Just picking up on that bracketed part: Can we flag the userland
interface (and uswsusp) as being planned for eventual removal now... or
at least agree to work toward that?
I'm asking because if we're going to make a go of getting the in-kernel
code in much better shape, and we have Rafael, Jiri and I - and you? -
all pulling in the same direction to improve it, there's going to come a
point (hopefully not too far away) where uswsusp is just ...
| Mar 24, 10:42 pm 2010 |
| Nigel Cunningham | Re: [linux-pm] what the patches do Re: [RFC 10/15] PM / ...
Hi again.
I realised after sending this that the " - and you? - " was ambiguous. I
wasn't meaning to suggest that you might pull in a different direction,
but rather uncertainty as to whether you might help with the effort -
it's been a while (AFAIR) since you've done any hibernaton patches.
Humble apologies for the ambiguity!
Nigel
--
| Mar 24, 11:12 pm 2010 |
| Rafael J. Wysocki | Re: what the patches do Re: [RFC 10/15] PM / Hibernate: ...
We're not dropping user space interfaces used by every distro I know of.
Rafael
--
| Mar 25, 1:14 pm 2010 |
| Nigel Cunningham | Re: what the patches do Re: [RFC 10/15] PM / Hibernate: ...
Hi.
So what's your long term plan then?
Regards,
Nigel
--
| Mar 25, 1:21 pm 2010 |
| Rafael J. Wysocki | Re: what the patches do Re: [RFC 10/15] PM / Hibernate: ...
First, improve the in-kernel thing, second, switch people to it, _then_ remove
the s2disk interface (after we're reasonably sure it's not used by any major
distro) and _finally_ simplify things after it's been removed.
Does that sound reasonable?
Rafael
--
| Mar 25, 1:29 pm 2010 |
| Nigel Cunningham | Re: what the patches do Re: [RFC 10/15] PM / Hibernate: ...
Hi.
Well, that's pretty much what I was thinking too - improve then remove.
I was just suggesting that we flag now that this is our plan, so it
doesn't come as a surprise to anyone later and we can proceed more
quickly than might otherwise be the case. I'm imagining it won't take
long to get uswsusp features into the kernel code.
Regards,
Nigel
--
| Mar 25, 1:35 pm 2010 |
| Rafael J. Wysocki | Re: what the patches do Re: [RFC 10/15] PM / Hibernate: ...
I think it's too early for that at this point.
Rafael
--
| Mar 25, 2:13 pm 2010 |
| Pavel Machek | Re: what the patches do Re: [RFC 10/15] PM / Hibernate: ...
I'd really prefer to keep s2disk interface. It allows advanced stuff
like internet suspend resume (yep someone is doing it), crazy stuff
like multiple resumes from same image for fast booting (yep, some
embedded people are doing that) and might-be-useful stuff like
s2both...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Mar 25, 2:26 pm 2010 |
| Nigel Cunningham | Re: [linux-pm] what the patches do Re: [RFC 10/15] PM / ...
Hi.
Neither of those are impossible with in-kernel code, so I'd argue that
there's no need to keep the s2disk interface long-term. Userspace
helpers might be necessary for the first one (to manage the network
interface), but I already have multiple-resumes-from-the-same-image
support in TuxOnice (and more 'crazy stuff' like support for resuming a
different image after writing one - that can be used to switch to an
initramfs containing the binaries needed to power down a ...
| Mar 25, 2:49 pm 2010 |
| Rafael J. Wysocki | Re: what the patches do Re: [RFC 10/15] PM / Hibernate: ...
The user space interface does things that the in-kernel one doesn't really care
for, so I don't think that would be a good thing to do. I admit it's a bit
like this right now (snapshot_[read|write]_next() do some things to satisfy
the user space interface's needs), but I don't really think it should go any
further than that.
Moreover, the Jiri's approach allows us to handle other types of storage as
well as swap using uniform interface.
Rafael
--
| Mar 25, 3:21 pm 2010 |
| Rafael J. Wysocki | Re: [RFC 08/15] PM / Hibernate: add user module_ops
Quite frankly, I don't really understand the purpose of this change in this
particular form. It looks like it may be folded into one of the subsequent
changes just fine.
--
| Mar 25, 3:07 pm 2010 |
| Rafael J. Wysocki | Re: [RFC 13/15] PM / Hibernate: split snapshot_write_next
Again, good idea, but the same comments as for the previous patch apply here too.
Rafael
--
| Mar 25, 3:46 pm 2010 |
| Rafael J. Wysocki | Re: [RFC 07/15] PM / Hibernate: add sws_modules_ops
I agree with Pavel that these names are not exactly self-documenting.
Would it make sense to use names like reader_start(), reader_finish() and
Also one might think of adding a data pointer to this structure that will
be passed to the callbacks. This way it would be easier to think of our
storage spaces as objects, each with a set of methods and a pointer to
the data they operate on.
Rafael
--
| Mar 25, 3:02 pm 2010 |
| Rafael J. Wysocki | Re: [RFC 05/15] PM / Hibernate: group swap ops
Looks good.
--
| Mar 25, 2:28 pm 2010 |
| Pavel Machek | Re: [RFC 09/15] PM / Hibernate: user, implement user_ops ...
Locks are the only sane choice here. Open coding them is not an option.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Mar 25, 2:36 pm 2010 |
| Rafael J. Wysocki | Re: [RFC 09/15] PM / Hibernate: user, implement user_ops ...
No, please use them, at least in a prototype version.
We can always optimize things out later, but doing optimizations upfront
doesn't really work well from my experience.
So, if you'd use a lock somewhere, please use it, or maybe use a completion if
that fits the design better. In the majority of cases it's not as heavy wieght
as it seems at first sight.
Rafael
--
| Mar 25, 3:14 pm 2010 |
| Rafael J. Wysocki | Re: [RFC 12/15] PM / Hibernate: split snapshot_read_next
-> That's hardly readable. You could define something like
HIBERNATE_WRITING and HIBERNATE_READING and pass one of them instead of the '1'.
Or something.
Likewise in a few places below.
[Or even better IMO, define hibernate_write_buffer_init() and
Rafael
--
| Mar 25, 3:44 pm 2010 |
| Pavel Machek | Re: [RFC 02/15] PM / Hibernate: snapshot cleanup
Well, if Al likes the vfs changes... why not.
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Mar 24, 10:29 pm 2010 |
| Rafael J. Wysocki | Re: [RFC 15/15] PM / Hibernate: move non-swap code to sn ...
Quite frankly, I'd keep memory management in snapshot.c and move this stuff
to a separate file.
I have a plan to move snapshot.c to mm (perhaps under a different name) in
future, so that the mm people don't overlook it when they redesign things. ;-)
--
| Mar 25, 3:50 pm 2010 |
| Rafael J. Wysocki | Re: [RFC 06/15] PM / Hibernate: swap, remove swap_map_ha ...
The whole thing boils down to whether or not there may be more than one
swap map in use at a time.
Perhaps it's better to use a static pointer, though?
And I don't really know at this point how exactly this change is going to make
your life easier down the road. Care to elaborate?
Rafael
--
| Mar 25, 2:35 pm 2010 |
| Rafael J. Wysocki | Re: [RFC 14/15] PM / Hibernate: dealign swsusp_info
Fine by me.
--
| Mar 25, 3:46 pm 2010 |
| Johannes Weiner | Re: [rfc 5/5] mincore: transparent huge page support
Stupid me. I knew that, I just hadn't internalized it enough to do it
right :)
Btw, unless I miss something else, this is the same in follow_page()?
diff --git a/mm/memory.c b/mm/memory.c
index 22ee158..6c26042 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -1301,18 +1301,14 @@ struct page *follow_page(struct vm_area_struct *vma, unsigned long address,
}
if (pmd_trans_huge(*pmd)) {
spin_lock(&mm->page_table_lock);
- if (likely(pmd_trans_huge(*pmd))) {
- if ...
| Mar 24, 5:07 pm 2010 |
| Andrea Arcangeli | Re: [rfc 5/5] mincore: transparent huge page support
And then again inside. We have to re-check it inside to be safe,
What I want to do in mincore is to call something like
So it would miss one needed check inside the lock and it could lead to
call follow_trans_huge_pmd with a not huge pmd which is invalid.
Also note, touching with C language stuff that can change under you
like we do in the first check outside the lock (and isn't marked
volatile) may have unpredictable results in theory. But in practice we
do stuff like this all the ...
| Mar 24, 5:42 pm 2010 |
| Johannes Weiner | Re: [rfc 5/5] mincore: transparent huge page support
Wait, there _is_ an unlocked fast-path pmd_trans_huge()
in mincore_pmd_range(), maybe you missed it?
This function is never called if the pmd is not huge.
So the above is the _second check_ under lock to get a stable
read on the entry that could be splitting or already have been
split while we checked locklessly.
--
| Mar 24, 6:23 pm 2010 |
| Giel van Schijndel | Re: [PATCH 4/4] [RFC] hwmon: f71882fg: Add watchdog API ...
In this particular case I most definitely think it's worth resurrecting.
Using your patch (I had to change the IORESOURCE_MUXED constant's value
though) I can completely solve the I/O sharing issue for the f71882fg +
watchdog case with only a single line modification to the f71882fg
driver.
One question regarding your patch though: how will it function when
driver (A) locks an I/O region using request_region() then driver (B)
comes along and tries to lock it using request_muxed_region()? ...
| Mar 25, 1:54 am 2010 |
| Giel van Schijndel | Re: [PATCH 4/4] [RFC] hwmon: f71882fg: Add watchdog API ...
Using Alan's patch and the one following the dashed line I can implement
(and have already done so) a separate watchdog driver for the Fintek
F71808E.
Should I just ask for this patch to be applied together with Alan's?
Then submit the new driver? (I'm a bit new to the non-technical aspects
of Linux kernel development).
========================================================================
hwmon: f71882fg: use a muxed resource lock for the Super I/O port
Sleep while acquiring a ...
| Mar 25, 3:40 am 2010 |
| Alan Cox | Re: [PATCH 4/4] [RFC] hwmon: f71882fg: Add watchdog API ...
I'd expect to see a submission of three patches I think
1. Patch adding the muxed resource support
2. Patch making the hwmon driver use it
3. Patch adding the new driver which needs it
and then we have a few other bits of code that probably should adopt it,
but that is a separate matter and other maintainers can do that bit.
Alan
--
| Mar 25, 5:50 am 2010 |
| Hans de Goede | Re: [PATCH 4/4] [RFC] hwmon: f71882fg: Add watchdog API ...
Hi Giel,
What Alan said :)
Although I'm not sure what the proper place is to post this entire set,
I guess linux-kernel itself, with lm_sensors in the CC.
Regards,
Hans
--
| Mar 25, 6:06 am 2010 |
| Giel van Schijndel | [PATCH 1/3] resource: shared I/O region support
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
This patch was originally written by Alan Cox [1]. I only updated it to
apply correctly to Linus' current tree and changed IORESOURCE_MUXED's
value from 0x00200000 to 0x00400000 because the former has already been
taken in use since.
[1] https://patchwork.kernel.org/patch/32397/
Patch after this line:
========================================================================
SuperIO devices share regions and use lock/unlock operations to ...
| Mar 25, 6:17 am 2010 |
| Giel van Schijndel | [PATCH 3/3] [RFC] watchdog: f71808e_wdt: new watchdog dr ...
Add a new watchdog driver for the Fintek F71808E Super I/O chip.
---
drivers/watchdog/Kconfig | 11 +
drivers/watchdog/Makefile | 1 +
drivers/watchdog/f71808e_wdt.c | 726 ++++++++++++++++++++++++++++++++++++++++
3 files changed, 738 insertions(+), 0 deletions(-)
create mode 100644 drivers/watchdog/f71808e_wdt.c
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index bdcdbd5..653896f 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ ...
| Mar 25, 6:17 am 2010 |
| Giel van Schijndel | [PATCH 2/3] hwmon: f71882fg: use a muxed resource lock f ...
Sleep while acquiring a resource lock on the Super I/O port. This should
prevent collisions from causing the hardware probe to fail with -EBUSY.
Signed-off-by: Giel van Schijndel <me@mortis.eu>
---
drivers/hwmon/f71882fg.c | 28 +++++++++++++++-------------
1 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/drivers/hwmon/f71882fg.c b/drivers/hwmon/f71882fg.c
index 7857ed3..e09416d 100644
--- a/drivers/hwmon/f71882fg.c
+++ b/drivers/hwmon/f71882fg.c
@@ -113,7 +113,7 @@ ...
| Mar 25, 6:17 am 2010 |
| Alan Cox | Re: [PATCH 1/3] resource: shared I/O region support
On Thu, 25 Mar 2010 14:17:41 +0100
needs a set_current_state(TASK_UNINTERRUPTIBLE); here
(error from my original test patch that I noticed re-reviewing it)
--
| Mar 25, 8:57 am 2010 |
| Giel van Schijndel | Re: [PATCH 1/3] resource: shared I/O region support
Always fun reviewing your own code ;-)
New patch attached.
One question though. I did some reading in
Documentation/memory-barriers.txt and think it is correct *not* to call
set_current_state(TASK_INTERRUPTIBLE) after schedule() finishes. Could
you confirm or deny that?
Patch after this line:
resource: shared I/O region support
SuperIO devices share regions and use lock/unlock operations to chip
select. We therefore need to be able to request a resource and wait for
it to be freed ...
| Mar 25, 11:03 am 2010 |
| Alan Cox | Re: [PATCH 1/3] resource: shared I/O region support
After the schedule() returns we will be in TASK_RUNNING which is where we
And you'll want a
--
--
"Alan, I'm getting a bit worried about you."
-- Linus Torvalds
--
| Mar 25, 11:16 am 2010 |
| Hans de Goede | Re: [PATCH 2/3] hwmon: f71882fg: use a muxed resource lo ...
Hi,
Looks good to me (assuming the previous patch in the series gets applied).
Acked-by: Hans de Goede <hdegoede@redhat.com>
Regards,
--
| Mar 25, 2:10 pm 2010 |
| Tejun Heo | Re: [git patches] libata fixes
Oh, the original patch which caused the problem never saw the light of
the day before 2.6.34-rc1 so there's no stable kernel to push the
patch into.
Thanks.
--
tejun
--
| Mar 25, 9:21 am 2010 |
| Mel Gorman | Re: [PATCH 11/11] Do not compact within a preferred zone ...
Heh, one of those sites is currently in dispute. Specifically, the patch
that replaces congestion_wait() with a waitqueue that is woken when
watermarks are reached. I wrote that comment around about the same time
that patch was being developed which is why I found the situation
In this case, a strong possibility is number of pages freed since deferral.
It's not perfect though because heavy memory pressure would mean those
pages are getting allocated again and the compaction is still not ...
| Mar 25, 2:40 am 2010 |
| Mel Gorman | Re: [PATCH 07/11] Memory compaction core
I don't think so. There are two points where zone-related locks are
held.
zone->lock is held in isolate_freepages() while it gets the free pages
necessary for migration to complete. The size of the list of pages
being migrated is constrained by COMPACT_CLUSTER_MAX so it is bounded
by that. Worst case scenario is the zone is almost fully
scanned.
zone->lru_lock is held in isolate_migratepages) while it gets pages for
migration. It's released if COMPACT_CLUSTER_MAX pages are
isolated. ...
| Mar 25, 2:13 am 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH 10/11] Direct compact when a high-order alloc ...
On Wed, 24 Mar 2010 11:40:57 +0000
Thank you for clarification.
"at each failure" means "At each fauilure of smooth allocation of contiguous
pages of requested order", I'm sorry for short words.
And yes, compact_finished() causes the loop to exit in good cases.
At first look, my concern was that you use
if (order)
rather than
if (order >= PAGE_ALLOC_COSTLY_ORDER)
if order=1, dropping _old_ file cache isn't very bad.
Because migration modifies LRU order, frequent compaction may add too ...
| Mar 24, 5:30 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH 10/11] Direct compact when a high-order alloc ...
On Wed, 24 Mar 2010 13:48:16 -0700
If your concern is a race with memory hotplug, I have no concern about that
because memory hotplug makes a range of pages as "not for use" before starting.
If your concern is "code sharing", shared codes between memory hotplug and
compaction is "migrate_pages()".
Other parts are independent from each other.
IIUC.
Memory Hotremove does
1. select a range for removal [start ....end)
2. mark free pages as "not for use" by migrate_type
3. move all used ...
| Mar 24, 5:57 pm 2010 |
| Mel Gorman | Re: [PATCH 10/11] Direct compact when a high-order alloc ...
FWIW, if a workload is increasing compact_stall rapidly, it should be
Multiple requesters of order 1,2,3 do happen but there is also an expectation
that the allocator can satisfy many of them without resorting to compaction
or reclaim.
Again, if compact_stall is rising rapidly it needs investigating. Such a
situation today is likely to be hitting lumpy reclaim a lot and that is
I think you mean to drain the PCP lists while compaction is happening
but is it justified? It's potentially ...
| Mar 25, 2:48 am 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH 10/11] Direct compact when a high-order alloc ...
On Thu, 25 Mar 2010 09:48:26 +0000
Ah, sorry for my short word again. I mean draining "local" pcp list because
a thread which run direct-compaction freed pages. IPI is not necessary and
overkill.
Thanks,
-Kame
--
| Mar 25, 2:50 am 2010 |
| Mel Gorman | Re: [PATCH 10/11] Direct compact when a high-order alloc ...
Ah, I see now. There are two places that pages get freed. release_freepages()
at the end of compaction when it's too late for compact_finished() to be
helped and within migration itself. Migration frees with either
free_page() or more commonly put_page() with put_page() being the most
frequently used. As free_page() is called on failure to migrate (rare),
there is little help in changing it and I'd rather not modify how
put_page() works.
I could add a variant of drain_local_pages() that ...
| Mar 25, 3:16 am 2010 |
| Mel Gorman | Re: [PATCH 10/11] Direct compact when a high-order alloc ...
I dropped both inlines. Both have only one caller and should be
Not at this time. I'd need to go through migration and make it atomic-safe
first. It's doing things like taking the page table lock which is not
interrupt-safe. It's possible that migration can distinguish between atomic
I assume you mean memory hot-remove as I cannot see any problems with
memory hot-add.
Kamezawa mostly covers this but I did miss one
possibility. suitable_migration_target() will return true if a block ...
| Mar 25, 3:21 am 2010 |
| Boaz Harrosh | Re: [PATCH] ocfs2: Skip check for mandatory locks when u ...
If you reverse the order of these then you'd optimize away
the call to __mandatory_lock(inode). As it is now, it will
Boaz
--
| Mar 25, 7:05 am 2010 |
| Stephen Rothwell | Re: linux-next: build failure after merge of the kgdb tree
Hi Jason, Dmitry,
I got this again today (I stopped reverting the input tree commits that I
was reverting for another build problem). The patch below still seems to
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
| Mar 24, 9:43 pm 2010 |
| Dmitry Torokhov | Re: linux-next: build failure after merge of the kgdb tree
Yes, I of __sysrq_enabled is not global anymore...
I am not sure I like kgdb enabling sysrq functonality on its own, I'd rather
Thanks.
--
Dmitry
--
| Mar 24, 9:59 pm 2010 |
| Tom Zanussi | Re: [PATCH] perf/scripts: tuple was set from long in bot ...
Hi,
Yeah, something like that - thanks for noticing it and providing the
patch. After looking at the Python implementation, I modified your
patch as below...
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 ...
| Mar 24, 10:42 pm 2010 |
| Rafi Rubin | Re: [PATCH 1/2] HID: N-trig Add set feature commands to driver
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I think there's a large rift in perspective here.
Micki: what is your motivation for pushing your code to the mainline
kernel. Nobody is stopping you from publishing your own driver stack
on your website, as you do with some of your windows drivers and
other vendors (nvidia for example) do with their linux drivers.
There is much to be said for engaging the community and I think you,
your company, and your customers would profit from healthy ...
| Mar 24, 5:25 pm 2010 |
| Matt Helsley | Re: [C/R ARM][PATCH 1/3] ARM: Rudimentary syscall interfaces
Yes, that's possible. I was thinking we could still use your thread info
field but only store to it when we know it will be useful for c/r rather
than for each syscall. Personally, I'd rather avoid passing the extra
^shouldn't this be:
(again, not familiar with ARM so my understanding is:
I guess swi is "syscall word immediate".
The syscall nr is embedded in the instruction as an immediate
value and you're getting a copy of that instruction using the value of
the pc register just ...
| Mar 24, 6:11 pm 2010 |
| Matt Helsley | Re: [C/R ARM][PATCH 1/3] ARM: Rudimentary syscall interfaces
Oops, made my own mistake. I think the address of the kmap'd instruction
would be:
ptr + (instr_addr & ~PAGE_MASK)
Cheers,
-Matt Helsley
--
| Mar 24, 6:17 pm 2010 |
| Oren Laadan | Re: [C/R ARM][PATCH 1/3] ARM: Rudimentary syscall interfaces
In c/r, we only need it at restart when a task calls it on itself.
However the interface itself of get_syscall_nr() can be called by
any task on another task.
(In fact, I think that for the most part, saving the syscall number
at checkpoint time may be better than figuring out at restart time).
Oren.
--
| Mar 24, 6:35 pm 2010 |
| Christoffer Dall | Re: [C/R ARM][PATCH 1/3] ARM: Rudimentary syscall interfaces
Yes. Thanks for pointing it out.
--
| Mar 25, 3:29 am 2010 |
| Christoffer Dall | Re: [C/R ARM][PATCH 1/3] ARM: Rudimentary syscall interfaces
So, as Oren is saying, the point was to make the syscall_get_nr(..)
work according to the interface specified in
include/asm-generic/syscall.h.
Considering it's unknown how we will deal with checkpoint/restart
across CONFIG_ARM_THUMB, CONFIG_OABI_COMPAT etc., I also think it's a
better idea to checkpoint the syscall number at checkpoint and for the
restore, place architecture specific hooks to get the syscall number
instead of calling syscall_get_nr(...) directly. In this way we ...
| Mar 25, 3:34 am 2010 |
| Florian Fainelli | Re: [PATCH 0/4 v3] RDC321x southbridge and GPIO support
Thank you!
--
| Mar 25, 5:06 am 2010 |
| Samuel Ortiz | Re: [PATCH 0/4 v3] RDC321x southbridge and GPIO support
Hi Florian,
All 4 (I took v2 for the watchdog) patches applies, thanks.
Cheers,
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
| Mar 25, 4:27 am 2010 |
| Samuel Ortiz | Re: [PATCH 0/4 v3] RDC321x southbridge and GPIO support
Nevermind, I had to take v3 version for the watchdog, although I couldnt find
it in my inbox.
Cheers,
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
| Mar 25, 4:35 am 2010 |
| Srikar Dronamraju | Re: [PATCH v1 7/10] Uprobes Implementation
Ulrich,
Can you please comment if a slot in TLS can be used for storing and
executing an instruction? Are there any additional issues that we need
to take care of? Are there architectures that dont support TLS?
--
Thanks and Regards
Srikar
--
| Mar 25, 12:56 am 2010 |
| Srikar Dronamraju | Re: [PATCH v1 7/10] Uprobes Implementation
Yes, when we allow two or more probes to co-exist at a probepoint, we
double scribble as in two apps writing to the same address? Uprobes
handles this by failing into insert probes at location where there is a
breakpoint already inserted. So if both apps were to use the uprobes
interface, then they could co-operate and co-exist. (This would need the
feature in uprobes to have multiple probes per probepoint which is
Yes, thats certainly possible. However lets consider the case when we
allow ...
| Mar 25, 1:41 am 2010 |
| Jean Delvare | Re: [PATCH] i2c: Fix bus-level power management callbacks
Hi Rafael,
Mark, you contributed the initial runtime PM support for the i2c
subsystem, I thought you would have comments on Rafael's
I am a little surprised to see changes to a generic header file here,
how is the i2c subsystem so special that we have needs other subsystems
I fail to see why the functions above are outside of the #ifdef
CONFIG_PM_SLEEP scope. They are only called by functions which are
inside the #ifdef CONFIG_PM_SLEEP scope, so you'll get a build-time
warning if ...
| Mar 25, 1:57 am 2010 |
| Mark Brown | Re: [PATCH] i2c: Fix bus-level power management callbacks
Very few subsystems actually support runtime PM thus far - I think it's
I'm in a similar position - the code looks fine except I'm not 100% sure
I follow all the possible ifdefs and I've never actually used hibernate
(s2disk isn't supported on ARM) but for what it's worth:
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
--
| Mar 25, 2:28 am 2010 |
| Rafael J. Wysocki | Re: [PATCH] i2c: Fix bus-level power management callbacks
Thanks!
Rafael
--
| Mar 25, 1:16 pm 2010 |
| Konrad Rzeszutek Wilk | Re: [PATCH] swiotlb v0.6: seperation of physical/virtual ...
- and testing, which warrants:
Tested-by: Sander Eikelenboom <linux@eikelenboom.it>
To my happy surprise, I've found that Mr. Sander Eikelenboom and Mr. Albert Herranz
had been using these patches.
I've asked whether Mr. Sander wouldn't mind chiming in and he said he
would gladly add 'Tested-by: Sander Eikelenboom <linux@eikelenboom.it>'
to the patches. I haven't asked Mr. Albert since he is busy making his
set of patches for the Wii controller ready.
Mr. Sander's long summary (a bit ...
| Mar 25, 6:56 am 2010 |
| Albert Herranz | Re: [PATCH] swiotlb v0.6: seperation of physical/virtual ...
Actually, I'm waiting now for some USB core changes to settle down before sending again a patch series.
What I've tested (successfully) so far are these patches from your master branch in the tree:
git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb-2.6.git
swiotlb: EXPORT_SYMBOL_GPL functions + variables that are defined in the header file.
swiotlb: Make swiotlb bookkeeping functions visible in the header file.
swiotlb: Make all bookkeeping functions and variables have same ...
| Mar 25, 4:01 pm 2010 |
| Anton Blanchard | Re: [PATCH 4/7] hvc_console: Fix race between hvc_close ...
Looks good, tests OK on my POWER5 box. Thanks!
--
| Mar 25, 4:30 pm 2010 |
| Tomasz Grzegurzko | Re: Memory Loss
Hi,
I've given this a go, it seems to run fine (no slowness issues
reported yet..). Memory available has gone up. I'll let it run for a
few days and see how it goes..
# free -m
total used free shared buffers cached
Mem: 42337 11397 30940 0 36 5520
-/+ buffers/cache: 5840 36497
# cat /proc/mtrr
reg00: base=0x000000000 ( 0MB), size= 2048MB, count=1: write-back
reg01: base=0x100000000 ( 4096MB), ...
| Mar 25, 2:42 am 2010 |
| Li Zefan | Re: [PATCH 3/3] perf events: Change perf parameter --pid ...
Seems this patch causes seg faults:
# ./perf sched record
Segmentation fault
# ./perf kmem record
Segmentation fault
# ./perf timechart record
Segmentation fault
--
| Mar 25, 1:02 am 2010 |
| Zhang, Yanmin | Re: [PATCH 3/3] perf events: Change perf parameter --pid ...
Thanks for reporting it. Arnaldo, could you pick up below patch?
Zefan, Could you try it?
mmap_array[][][] is not reset to 0 after malloc. Below patch against
tip/master of March 24th fixes it with a zalloc.
Reported-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Zhang Yanmin <yanmin_zhang@linux.intel.com>
---
diff -Nraup linux-2.6_tip0324/tools/perf/builtin-record.c linux-2.6_tip0324_perfkvm/tools/perf/builtin-record.c
--- linux-2.6_tip0324/tools/perf/builtin-record.c 2010-03-25 ...
| Mar 25, 1:47 am 2010 |
| Li Zefan | Mar 25, 1:56 am 2010 | |
| Arnaldo Carvalho de Melo | Re: [PATCH 3/3] perf events: Change perf parameter --pid ...
Sure thing, will stash them in today's push to Ingo, thanks!
- Arnaldo
--
| Mar 25, 7:13 am 2010 |
| Dan Williams | Re: [PATCH 2/4] dmaengine: Xilinx MPMC Kconfig/make
On Wed, Mar 17, 2010 at 9:26 AM, Steven J. Magnani
NET_DMA is actively harmful for platforms with a non-io-coherent
caches. So it should not default to y on Microblaze.
--
| Mar 24, 5:46 pm 2010 |
| Li Zefan | Re: [BUG] perf: hard lockup when using perf-sched
Thanks! Then who's going to fix this...
--
| Mar 25, 1:04 am 2010 |
| Mike Galbraith | Re: [BUG] perf: hard lockup when using perf-sched
Well, that kinda depends on whether I figure out how the heck it's all
supposed to work before somebody else whacks it or not.
ATM, I've instrumented, know _what's_ happening, but find myself saying
"wtf?" a lot, especially wrt handle->locked. The act of attempting to
lock a handle declares it unlocked, turning perf_output_unlock() into a
noop, which looks a bit strange. We're spinning on those "unlocked"
locks, all left genuinely locked by one CPU. I just whacked the thing,
and am very ...
| Mar 25, 2:27 am 2010 |
| Peter Zijlstra | Re: [BUG] perf: hard lockup when using perf-sched
Yeah, that perf_output_{un,}lock() stuff is a pain..
handle->locked should indicate if we're the outer most context
the problem this stuff is solving is that of publishing the data head
pointer, suppose two concurrent writers:
head = 0;
A: reserve N bytes
write content
commit
B: reserve M bytes
write content
commit
Now, if B happens during A, and B completes before A is done, B's commit
would expose a head pointer of N+M bytes, even though the first N ...
| Mar 25, 2:54 am 2010 |
| Zhang, Yanmin | Re: [RFC] Unify KVM kernel-space and user-space code int ...
I spent a couple of days to investigate why sshfs/fuse doesn't work well with
procfs and sysfs. Just after my patch against fuse is ready almost, I found
fuse already supports such access by direct I/O. With parameter -o direct_io,
it could work well.
Here is an example to mount / from a guest os.
#sshfs -p 5551 -o direct_io localhost:/ guestmount
We can read files and write files if permission is ok.
I will go ahead to support multiple guest os instance statistics ...
| Mar 25, 2:00 am 2010 |
| Peter Zijlstra | Re: [PATCH 0/6] sched/cpusets fixes, more changes are needed
I think I do all those :-)
I was still looking at removing the TASK_WAKING check from
task_rq_lock() since now we do set_task_cpu() under rq->lock again so it
should be good again.
Hmm, except for sched_fork() that still does set_task_cpu() without
holding rq->lock, but that is before the child gets exposed so there
should not be any concurrency.
--
| Mar 25, 3:22 am 2010 |
| Oleg Nesterov | Re: [PATCH 0/6] sched/cpusets fixes, more changes are needed
The parent P does do_fork(), copy_process returns the new child C with
TASK_WAKING at PF_STARTING set.
do_fork() clears PF_STARTING, but TASK_WAKING is still set, and C is
already visible to the user-space
An rt-thread X preempts P and calls ttwu() (say, it sends a signal to C)
ttwu() loops in task_rq_lock() "forever", because TASK_WAKING is still
OK, that is what I meant. Now, why sched_fork() can't just set TASK_RUNNING ?
This way the "spurious" wakeup can do nothing with the new ...
| Mar 25, 8:46 am 2010 |
| Oleg Nesterov | Re: [PATCH 0/6] sched/cpusets fixes, more changes are needed
IOW, something like the (unchecked, uncompiled) patch below.
What do you think?
Oleg.
--- x/kernel/sched.c
+++ x/kernel/sched.c
@@ -912,7 +912,7 @@ static inline void finish_lock_switch(st
*/
static inline int task_is_waking(struct task_struct *p)
{
- return unlikely((p->state == TASK_WAKING) && !(p->flags & PF_STARTING));
+ return unlikely(p->state == TASK_WAKING);
}
/*
@@ -2568,11 +2568,10 @@ void sched_fork(struct task_struct *p, i
__sched_fork(p);
/*
- * We ...
| Mar 25, 9:02 am 2010 |
| Oleg Nesterov | Re: [PATCH 0/6] sched/cpusets fixes, more changes are needed
Argh, sorry for noise...
When I reread this thread, suddenly finally I noticed you mentioned
_twice_ your patch does this too ;) Not to mention the patch itself
Still, what do you think?
Oleg.
--
| Mar 25, 9:10 am 2010 |
| Peter Zijlstra | Re: [PATCH 0/6] sched/cpusets fixes, more changes are needed
Yeah, such a smaller patch might work too, but I was trying to remove
some more of the complexity we grown.
Being able to fully remove that TASK_WAKING check from task_rq_lock()
and only have it in set_cpus_allowed_ptr() would reduce some fast-path
logic.
You patch add a memory barrier and an unlock_wait(), which, while
seemingly correct, are harder to parse than the modified locking.
(Ideally we'd protect ->cpus_allowed using a per-task lock, but adding
more atomics ops to ttwu() is to ...
| Mar 25, 10:29 am 2010 |
| Oleg Nesterov | Re: [PATCH 0/6] sched/cpusets fixes, more changes are needed
Yes, lock + set WAKING + unlock is simpler and cleaner, but this
doesn't matter.
I think your patch should address all problems.
Oleg.
--
| Mar 25, 12:15 pm 2010 |
| Miao Xie | Re: [PATCH 1/6] kill the broken and deadlockable cpuset_ ...
The problem what you said don't exist, because the kernel already move T to
the active cpu when preparing to turn off a CPU.
Thanks!
Miao
--
| Mar 24, 8:00 pm 2010 |
| Oleg Nesterov | Re: [PATCH 1/6] kill the broken and deadlockable cpuset_ ...
we need cpuset_lock() to move T. please look at _cpu_down().
OK.
A task T holds callback_mutex, and it is bound to CPU 1.
_cpu_down(cpu => 1) is called by the task X.
_cpu_down()->stop_machine() spawns rt-threads for each cpu,
a thread running on CPU 1 preempts T and calls take_cpu_down()
which removes CPU 1 from online/active masks.
X continues, and does raw_notifier_call_chain(CPU_DEAD), this
calls migration_call(CPU_DEAD), and _this_ is what move the
tasks from the dead ...
| Mar 25, 3:14 am 2010 |
| Miao Xie | Re: [PATCH 1/6] kill the broken and deadlockable cpuset_ ...
But when the kernel want to offline a cpu, it does
raw_notifier_call_chain(CPU_DOWN_PREPARE)
at first. this calls cpuset_track_online_cpus() to update cpuset's cpus
and task->cpus_allowed, and then moves the task running on the dying cpu
to the other online cpu. At that time, rt-threads for each cpu have not
been created.
And when the kernel does migration_call(CPU_DEAD), the rt-threads already
exit. the task that holds callback_mutex can run as normal.
--
| Mar 25, 5:27 am 2010 |
| Oleg Nesterov | Re: [PATCH 1/6] kill the broken and deadlockable cpuset_ ...
First of let me note that it is wrong to call scan_for_empty_cpusets()
at CPU_DOWN_PREPARE state. _cpu_down() can fail after that but we can't
revert the result of remove_tasks_in_empty_cpuset().
No, it doesn't track task->cpus_allowed afaics. It only checks
cpumask_empty(cp->cpus_allowed) and does nothing otherwise.
And it is quite possible that the task belongs to some cpuset cs, bound
It can't afaics, please see above.
That said, let me remind. I read this code only once a long ...
| Mar 25, 5:59 am 2010 |
| Tejun Heo | Re: nvidia controller failed command, possibly related t ...
Hello,
nv reset code has received several changes during that time frame one
of which being avoiding hardreset unless it's a hotplug situation.
This was necessary because some controllers fail to re-recognize the
attached drive after a hardreset. This decision was made as losing
drives which can be recovered by SRST is less dangerous than losing
drives which require hardreset after a failure. NV reset protocols
are very messed up and at this point I don't think it's possible to
make it ...
| Mar 24, 5:29 pm 2010 |
| Bjorn Helgaas | Re: Regression in i915 on 2.6.34-rc1
Ping! If you haven't seen the last bugzilla update, I'd really like an
acpidump and some details about what machine this is.
Thanks,
Bjorn
--
| Mar 24, 9:04 pm 2010 |
| KOSAKI Motohiro | Re: [PATCH 06/11] Export fragmentation index via /proc/e ...
Sorry, My example was wrong. new example is here.
free_pages: 4
requested: 2
free_blocks_total: 4
theory: 1 - (TotalFree/SizeRequested)/BlocksFree
= 1 - (4/2)/4 = 0.5
code : 1000 - ((1000 + 4*1000/2))/4 = 1000 - (1000 + 2000)/4 = 1000/4 = 250
I don't think this is three decimal picking up code. This seems might makes
lots compaction invocation rather than theory.
--
| Mar 25, 4:20 am 2010 |
| KOSAKI Motohiro | Re: [PATCH 06/11] Export fragmentation index via /proc/e ...
Let's consider extream case.
free_pages: 1
requested: 1
free_blocks_total: 1
frag_index = 1000 - ((1000 + 1*1000/1))/1 = -1000
This is not your intension, I guess.
Probably we don't need any round_up/round_down logic. because fragmentation_index
is only used "if (fragindex >= 0 && fragindex <= 500)" check in try_to_compact_pages().
--
| Mar 24, 7:47 pm 2010 |
| KOSAKI Motohiro | Re: [PATCH 04/11] Allow CONFIG_MIGRATION to be set witho ...
ok... I don't oppose it anymore. Let's dive into Kconfig select hell ;)
--
| Mar 24, 8:28 pm 2010 |
| Mel Gorman | Re: [PATCH 06/11] Export fragmentation index via /proc/e ...
Why not?
See this comment
/* Fragmentation index only makes sense when a request would fail */
In your example, there is a free page of the requested size so the allocation
would succeed. In this case, fragmentation index does indeed go negative
This isn't about rounding, it's about having a value that normally is
between 0 and 1 expressed as a number between 0 and 1000 because we
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of ...
| Mar 25, 1:47 am 2010 |
| Mel Gorman | Re: [PATCH 06/11] Export fragmentation index via /proc/e ...
Ok, I cannot apologise for this enough.
Since that paper was published, further work showed that the equation could
be much improved. As part of that, I updated the equation to the following;
double index = 1 - ( (1 + ((double)info->free_pages / requested)) / info->free_blocks_total);
or when approximated to three decimal places
int index = 1000 - ( (1000 + ( info->free_pages * 1000 / requested)) / info->free_blocks_total);
Your analysis of the paper is perfect. ...
| Mar 25, 7:11 am 2010 |
| KOSAKI Motohiro | Re: [PATCH 10/11] Direct compact when a high-order alloc ...
_If_ this is useful page, you are right. but please remember, In typical
I think this is explained why vmscan and compaction shouldn't be separated.
If this compaction is trigged only order-9 allocation, I don't oppose it at all.
Also PAGE_ALLOC_COSTLY_ORDER is probably acceptable. I agree huge page
allocation made lots trouble. but low order and the system
have lots no longer used page case, your logic is worse than current.
I worry about it.
My point is, We have to consider to ...
| Mar 25, 4:08 am 2010 |
| KOSAKI Motohiro | Re: [PATCH 10/11] Direct compact when a high-order alloc ...
I fully agree this.
--
| Mar 25, 4:22 am 2010 |
| Mel Gorman | Re: [PATCH 10/11] Direct compact when a high-order alloc ...
But we don't *know* that for sure. Lumpy reclaim for example can take an
unused clean page that happened to be surrounded by active hot pages and
throw out the whole lot.
I am not against integrating compaction with lumpy reclaim ultimately,
but I think we should have a good handle on the simple case first before
altering reclaim. In particular, I have concerns about how to efficiently
select pageblocks to migrate to when integrated with lumpy reclaim and how it
should be decided when to ...
| Mar 25, 8:11 am 2010 |
| KOSAKI Motohiro | Re: [PATCH 02/11] mm,migration: Do not try to migrate un ...
Hmmm...
I haven't understand your mention because I guess I was wrong.
probably my last question was unclear. I mean,
1) If we still need SLAB_DESTROY_BY_RCU, why do we need to add refcount?
Which difference is exist between normal page migration and compaction?
2) If we added refcount, which race will solve?
IOW, Is this patch fix old issue or compaction specific issue?
--
| Mar 24, 7:49 pm 2010 |
| Mel Gorman | Re: [PATCH 02/11] mm,migration: Do not try to migrate un ...
The processes typically calling migration today own the page they are moving
The process exiting and the last anon_vma being dropped while compaction
Strictly speaking, it's an old issue but in practice it's impossible to
trigger because the process migrating always owns the page. Compaction
moves pages belonging to arbitrary processes.
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software ...
| Mar 25, 1:32 am 2010 |
| KOSAKI Motohiro | Re: [PATCH 02/11] mm,migration: Do not try to migrate un ...
Do you mean current memroy hotplug code is broken???
I think compaction need refcount, hotplug also need it. both they migrate another
task's page.
but , I haven't seen hotplug failure. Am I missing something? or the compaction
have its specific race situation?
--
| Mar 25, 1:56 am 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH 02/11] mm,migration: Do not try to migrate un ...
On Thu, 25 Mar 2010 08:32:35 +0000
Kosaki-san,
IIUC, the race in memory-hotunplug was fixed by this patch [2/11].
But, this behavior of unmap_and_move() requires access to _freed_
objects (spinlock). Even if it's safe because of SLAB_DESTROY_BY_RCU,
it't not good habit in general.
After direct compaction, page-migration will be one of "core" code of
memory management. Then, I agree to patch [1/11] as our direction for
keeping sanity and showing direction to more updates. Maybe ...
| Mar 25, 2:02 am 2010 |
| KOSAKI Motohiro | Re: [PATCH 02/11] mm,migration: Do not try to migrate un ...
But Christoph seems oppose to remove SLAB_DESTROY_BY_RCU. then refcount
is meaningless now. I agree you if we will remove SLAB_DESTROY_BY_RCU
in the future.
--
| Mar 25, 2:09 am 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH 02/11] mm,migration: Do not try to migrate un ...
On Thu, 25 Mar 2010 18:09:34 +0900 (JST)
removing rcu_read_lock/unlock in unmap_and_move() and removing
SLAB_DESTROY_BY_RCU is different story.
Thanks,
-Kame
--
| Mar 25, 2:08 am 2010 |
| Mel Gorman | Re: [PATCH 02/11] mm,migration: Do not try to migrate un ...
I hadn't considered the memory hotplug case but you're right, it's possible
it's at risk.
While compaction can trigger this problem reliably, it's not exactly easy
to trigger. I was triggering it under very heavy memory load with a large
number of very short lived processes (specifically, an excessive compile-based
load). It's possible that memory hotplug has not been tested under similar
It's worth double-checking.
--
Mel Gorman
Part-time Phd Student Linux ...
| Mar 25, 2:18 am 2010 |
| Mel Gorman | Re: [PATCH 02/11] mm,migration: Do not try to migrate un ...
Christoph is opposed to removing it because of cache-hotness issues more
so than use-after-free concerns. The refcount is needed with or without
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| Mar 25, 2:21 am 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH 02/11] mm,migration: Do not try to migrate un ...
On Thu, 25 Mar 2010 09:21:32 +0000
I wonder a code which the easiest to be read will be like following.
==
if (PageAnon(page)) {
struct anon_vma anon = page_lock_anon_vma(page);
/* to take this lock, this page must be mapped. */
if (!anon_vma)
goto uncharge;
increase refcnt
page_unlock_anon_vma(anon);
}
....
==
and
==
void anon_vma_free(struct anon_vma *anon)
{
/*
* To increase refcnt of anon-vma, anon_vma->lock should be held by
* ...
| Mar 25, 2:41 am 2010 |
| KOSAKI Motohiro | Re: [PATCH 02/11] mm,migration: Do not try to migrate un ...
This seems very good and acceptable to me. This refcnt usage
obviously reduce rcu-lock holding time.
I still think no refcount doesn't cause any disaster. but I agree
this is forward step patch.
--
| Mar 25, 2:59 am 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH 02/11] mm,migration: Do not try to migrate un ...
On Thu, 25 Mar 2010 18:59:25 +0900 (JST)
BTW, by above change and the change in patch [2/11],
"A page turnd to be SwapCache and free unmapped but not freed"
page will be never migrated.
Mel, could you change the check as this ??
if (PageAnon(page)) {
rcu_read_lock();
if (!page_mapcount(page)) {
rcu_read_unlock();
if (!PageSwapCache(page))
goto uncharge;
/* unmapped swap cache can be migrated */
} else {
...
}
.....
} else
Thx,
-Kame
--
| Mar 25, 3:12 am 2010 |
| Mel Gorman | Re: [PATCH 02/11] mm,migration: Do not try to migrate un ...
There were minor changes in how the rcu_read_lock is taken and released
based on other comments. With your suggestion, the block now looks like;
if (PageAnon(page)) {
rcu_read_lock();
rcu_locked = 1;
/*
* If the page has no mappings any more, just bail. An
* unmapped anon page is likely to be freed soon but
* worse,
* it's possible its anon_vma disappeared between ...
| Mar 25, 6:39 am 2010 |
| Christoph Lameter | Re: [PATCH 02/11] mm,migration: Do not try to migrate un ...
The issue is only performance. If we can preserve the cache hotness in a
different way (or do things in a completely different manner) then its
fine.
--
| Mar 25, 7:35 am 2010 |
| Minchan Kim | Re: [PATCH 02/11] mm,migration: Do not try to migrate un ...
Hi, Kame.
Which case do we have PageAnon && (page_mapcount == 0) && PageSwapCache ?
With looking over code which add_to_swap_cache, I found somewhere.
1) shrink_page_list
I think this case doesn't matter by isolate_lru_xxx.
2) shmem_swapin
It seems to be !PageAnon
3) shmem_writepage
It seems to be !PageAnon.
4) do_swap_page
page_add_anon_rmap increases _mapcount before setting page->mapping to anon_vma.
So It doesn't matter.
I think following codes in unmap_and_move ...
| Mar 25, 8:29 am 2010 |
| Minchan Kim | Re: [PATCH 02/11] mm,migration: Do not try to migrate un ...
I agree kosaki's opinion.
I guess Mel met the problem before this patch.
Apparently, It had a problem like Mel's description.
But we can close race window by this patch.
so we don't need to new ref counter.
At least, rcu_read_lock prevent anon_vma's free.
so we can hold spinlock of anon_vma although it's not good habit.
About reusing anon_vma by SLAB_XXX_RCU, page_check_address and
I agree. (use one locking rule)
I don't mean that we have to remove SLAB_XXX_RCU.
I want to ...
| Mar 25, 9:16 am 2010 |
| David Rientjes | [patch v2] 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 with numa=fake=64M on systems with more than 64GB of RAM.
A total of 1022 nodes were initialized.
Successfully builds with no additional warnings on x86_64 allyesconfig.
Signed-off-by: David Rientjes <rientjes@google.com>
---
The BUILD_BUG_ON() in drivers/base/node.c has been fixed in Linus' -git
(see 12ee3c0), so CONFIG_NODES_SHIFT of 10 no ...
| Mar 25, 3:39 pm 2010 |
| Miguel Ojeda | Re: [PATCH] intel-agp.c: Fix crash when accessing nonexi ...
On Wed, Mar 24, 2010 at 7:14 PM, Andrew Morton
Yes. In addition, applying the patch I provided also fixes it in current code.
Current code:
--
| Mar 25, 9:55 am 2010 |
| Rajiv Andrade | Re: [tpmdd-devel] [PATCH] TPM: Provide a tpm_tis OF driver
Just a minor comment
Why not
+#ifdef CONFIG_OF
+ return of_register_platform_driver(&tis_of_driver);
+#elif CONFIG_PNP
+ return pnp_register_driver(&tis_pnp_driver);
+#endif
?
Other than this it looks nice.
Acked-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Thanks,
Rajiv
--
| Mar 24, 9:20 pm 2010 |
| Jason Gunthorpe | Re: [tpmdd-devel] [PATCH] TPM: Provide a tpm_tis OF driver
AFAIK they are not exclusive options? I can't imagine anyone building
a kernel with both, but the rest of the patch is designed to allow
Thanks - who can pick this up to feed it upstream?
Jason
--
| Mar 24, 10:23 pm 2010 |
| Miao Xie | Re: [PATCH V2 4/4] cpuset,mm: update task's mems_allowed ...
Hi, Nick Piggin
I have made a new patch which uses seqlock to protect mems_allowed and mempolicy.
please review it.
title: [PATCH -mmotm] cpuset,mm: use seqlock to protect task->mempolicy and mems_allowed
Before applying this patch, cpuset updates task->mems_allowed by setting all
new bits in the nodemask first, and clearing all old unallowed bits later.
But in the way, the allocator can see an empty nodemask, though it is infrequent.
The problem is following:
The size of nodemask_t is ...
| Mar 25, 3:23 am 2010 |
| Miao Xie | Re: [PATCH V2 4/4] cpuset,mm: update task's mems_allowed ...
Sorry! Please ignore this patch, because I sent an old version. I'll send the new one later.
Regards!
Miao
--
| Mar 25, 5:56 am 2010 |
| Miao Xie | [PATCH] [PATCH -mmotm] cpuset,mm: use seqlock to protect ...
Hi, Nick Piggin
I have made a new patch which uses seqlock to protect mems_allowed and mempolicy.
please review it.
Subject: [PATCH] [PATCH -mmotm] cpuset,mm: use seqlock to protect task->mempolicy and mems_allowed (v2)
Before applying this patch, cpuset updates task->mems_allowed by setting all
new bits in the nodemask first, and clearing all old unallowed bits later.
But in the way, the allocator can see an empty nodemask, though it is infrequent.
The problem is following:
The size of ...
| Mar 25, 6:33 am 2010 |
| Thomas Chou | Re: [PATCHv3 2/2] serial: Add driver for the Altera UART
Maybe we can add pointers to functions for the DCD/DTR in the struct
altera_uart_platform_uart. Then board config file can define them if
they implement these pins, NULL/0 otherwise.
struct altera_uart_platform_uart {
...
int (*getppdcd)(...); /* get DCD status */
...
};
static unsigned int altera_uart_get_mctrl(struct uart_port *port)
{
...
if (port->getppdcd)
sigs |= (port->getppdcd(...)) ? TIOCM_CD : 0);
- Thomas
--
| Mar 24, 5:54 pm 2010 |
| Robert Richter | Re: [PATCH 3/9] oprofile, perf, x86: introduce new funct ...
Andi,
so far it does not seem this reservation patches will go upstream. So
we still do not have a solution of how to share the pmu with perf. The
current approach is a global pmu lock. I don't think this is a good
solution and we already see questions on the oprofile mailing list why
counters are not available to use. This will become much worse if perf
is using counters permanently in the kernel (e.g. the perf nmi
watchdog). This will make oprofile unusable.
Fixed counter reservation is ...
| Mar 25, 8:52 am 2010 |
| Andi Kleen | Re: [PATCH 3/9] oprofile, perf, x86: introduce new funct ...
There's the current reservation
code which has some issues and is butt ugly, but does its job mostly.
The only real problem I have with it is that it doesn't support fixed counters.
That's not very hard to fix (patches posted), but of course requires
some basic cooperation from impartial maintainers. I think extending
NMI watchdog is not on by default luckily.
Anyways I don't really understand what the problem with just
allocating counters properly in perf_events like everyone ...
| Mar 25, 12:33 pm 2010 |
| Gui Jianfeng | Re: [PATCH 1/2 V3] io-controller: Add a new interface "w ...
Hi Jens,
This patchset seems to get lost. Just for reminding. Any comments?
Thanks,
--
| Mar 24, 11:28 pm 2010 |
| David Howells | Re: [2.6.33-rc5] Weird deadlock when shutting down
I see this now, with full backtrace:
=======================================================
[ INFO: possible circular locking dependency detected ]
2.6.34-rc2-cachefs #115
-------------------------------------------------------
halt/2291 is trying to acquire lock:
(s_active#31){++++.+}, at: [<ffffffff81104950>] sysfs_addrm_finish+0x31/0x5a
but task is already holding lock:
(&per_cpu(cpu_policy_rwsem, cpu)){+++++.}, at: [<ffffffff812a3a92>] lock_policy_rwsem_write+0x4a/0x7b
which lock ...
| Mar 25, 4:28 am 2010 |
| Mauro Carvalho Chehab | Re: [RFC] What are the goals for the architecture of an ...
I got some progress about the IR redesign.
I didn't followed the exact order of the tasks, but I think I've reached an interesting
point where it is now possible to merge lirc_dev driver and to add the decoders to ir-core.
I've setup an experimental tree with upstream+V4L/DVB development and some patches
I did for IR. The RFC patches are available at:
http://git.linuxtv.org/mchehab/ir.git
Done. Patch were already merged upstream.
The current_protocol attribute shows the protocol(s) ...
| Mar 25, 7:42 am 2010 |
| Pavel Machek | Re: [RFC] What are the goals for the architecture of an ...
....
What about
struct keycode_table_entry {
unsigned keycode;
int len;
char scancode[];
}
? gcc extension, but commonly used around kernel.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Mar 25, 11:32 am 2010 |
| Mauro Carvalho Chehab | Re: [RFC] What are the goals for the architecture of an ...
Seems fine. Maybe we could just use "char *scancode" to avoid using a
gcc extension on a public interface.
--
Cheers,
Mauro
--
| Mar 25, 12:00 pm 2010 |
| previous day | today | next day |
|---|---|---|
| March 24, 2010 | March 25, 2010 | March 26, 2010 |
