| From | Subject | Date |
|---|---|---|
| Jan Kundrát | boot device order troubleshooting without an initrd
Hi folks,
I'm looking for a way to pass a correct "root" parameter to the kernel
from the bootloader, independently on the number of attached disks. My
machine (VIA EPIA SN-1800) has four SATA ports and one CF card slot. The
CF slot is visible as an IDE device. The BIOS is configured for booting
from the CF card, and Grub2 has absolutely no problems booting the kernel.
The problem I'm facing is that if there are no SATA disks attached, my
CF card gets called /dev/sda, while if I attach two SATA ...
| Apr 18, 3:29 pm 2010 |
| Arjan van de Ven | Re: boot device order troubleshooting without an initrd
On Mon, 19 Apr 2010 00:29:54 +0200
so the problem is that the boot order you want is pretty much opposite
from what "normal" people want.
AHCI sata before CF slots is pretty much the right thing and what most
people will use.... most people will have their OS on AHCI SATA, and
occasionally stick in some photo card or whatever.... and they'd ask
the flipside question basically.
We could have pretty evil things in the kernel, so that we'd deal with
multiple root= lines in the kernel, one ...
| Apr 18, 4:51 pm 2010 |
| stefani | [PATCH 0/4] enhanced reimplemention of the kfifo API
From: Stefani Seibold <stefani@seibold.net>
This is a complete reimplementation of the new kfifo API, which is now
really generic, type save and type definable.
The API is still stable, no code which use the current kfifo API must
be modified!
Here are the results of the text section usage:
Example 1:
kfifo_put/_get kfifo_in/out current kfifo
dynamic allocated 0x000002a8 0x00000291 0x00000299
in place 0x00000291 ...
| Apr 18, 2:05 pm 2010 |
| stefani | [PATCH 4/4] add example files to the kernel sample directory
From: Stefani Seibold <stefani@seibold.net>
This patch add four examples to the kernel sample directory.
It shows how to handle:
- a byte stream fifo
- a integer type fifo
- a dynamic record sized fifo
- the fifo DMA functions
Signed-off-by: Stefani Seibold <stefani@seibold.net>
---
samples/Kconfig | 10 ++
samples/Makefile | 2 +-
samples/kfifo/Makefile | 1 +
samples/kfifo/bytestream-example.c | 163 ...
| Apr 18, 2:05 pm 2010 |
| stefani | [PATCH 1/4] fix kfifo miss use of nozami.c
From: Stefani Seibold <stefani@seibold.net>
User of the kernel fifo should never bypass the API and directly access
the fifo structure. Otherwise it will be very hard to maintain the API.
Signed-off-by: Stefani Seibold <stefani@seibold.net>
---
drivers/char/nozomi.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/char/nozomi.c b/drivers/char/nozomi.c
index a663800..d578449 100644
--- a/drivers/char/nozomi.c
+++ b/drivers/char/nozomi.c
@@ -1741,8 ...
| Apr 18, 2:05 pm 2010 |
| stefani | [PATCH 2/4] remove the old non generic API
From: Stefani Seibold <stefani@seibold.net>
This patch simple remove the whole kfifo.c and kfifo.h files. The next
patch will replace it with the new generic kfifo API.
Signed-off-by: Stefani Seibold <stefani@seibold.net>
---
include/linux/kfifo.h | 615 -------------------------------------------------
kernel/kfifo.c | 445 -----------------------------------
2 files changed, 0 insertions(+), 1060 deletions(-)
delete mode 100644 include/linux/kfifo.h
delete mode 100644 ...
| Apr 18, 2:05 pm 2010 |
| stefani | [PATCH 3/4] add the new generic kfifo API
From: Stefani Seibold <stefani@seibold.net>
Replace the old kfifo API files kfifo.c and kfifo.h with the new generic
version and fix the kerneldoc API template file.
Signed-off-by: Stefani Seibold <stefani@seibold.net>
---
Documentation/DocBook/kernel-api.tmpl | 1 -
include/linux/kfifo.h | 844 +++++++++++++++++++++++++++++++++
kernel/kfifo.c | 602 +++++++++++++++++++++++
3 files changed, 1446 insertions(+), 1 deletions(-)
create mode 100644 ...
| Apr 18, 2:05 pm 2010 |
| stefani | [PATCH 1/4] fix kfifo miss use of nozami.c
From: Stefani Seibold <stefani@seibold.net>
User of the kernel fifo should never bypass the API and directly access
the fifo structure. Otherwise it will be very hard to maintain the API.
Signed-off-by: Stefani Seibold <stefani@seibold.net>
---
drivers/char/nozomi.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/char/nozomi.c b/drivers/char/nozomi.c
index a663800..d578449 100644
--- a/drivers/char/nozomi.c
+++ b/drivers/char/nozomi.c
@@ -1741,8 ...
| Apr 18, 1:54 pm 2010 |
| stefani | [PATCH 0/4] enhanced reimplemention of the kfifo API
From: Stefani Seibold <stefani@seibold.net>
This is a complete reimplementation of the new kfifo API, which is now
really generic, type save and type definable.
The API is still stable, no code which use the current kfifo API must
be modified!
Here are the results of the text section usage:
Example 1:
kfifo_put/_get kfifo_in/out current kfifo
dynamic allocated 0x000002a8 0x00000291 0x00000299
in place 0x00000291 ...
| Apr 18, 1:54 pm 2010 |
| stefani | [PATCH 4/4] add example files to the kernel sample directory
From: Stefani Seibold <stefani@seibold.net>
This patch add four examples to the kernel sample directory.
It shows how to handle:
- a byte stream fifo
- a integer type fifo
- a dynamic record sized fifo
- the fifo DMA functions
Signed-off-by: Stefani Seibold <stefani@seibold.net>
---
samples/Kconfig | 10 ++
samples/Makefile | 2 +-
samples/kfifo/Makefile | 1 +
samples/kfifo/bytestream-example.c | 163 ...
| Apr 18, 1:54 pm 2010 |
| stefani | [PATCH 3/4] add the new generic kfifo API
From: Stefani Seibold <stefani@seibold.net>
Replace the old kfifo API files kfifo.c and kfifo.h with the new generic
version and fix the kerneldoc API template file.
Signed-off-by: Stefani Seibold <stefani@seibold.net>
---
Documentation/DocBook/kernel-api.tmpl | 1 -
include/linux/kfifo.h | 844 +++++++++++++++++++++++++++++++++
kernel/kfifo.c | 602 +++++++++++++++++++++++
3 files changed, 1446 insertions(+), 1 deletions(-)
create mode 100644 ...
| Apr 18, 1:54 pm 2010 |
| stefani | [PATCH 2/4] remove the old non generic API
From: Stefani Seibold <stefani@seibold.net>
This patch simple remove the whole kfifo.c and kfifo.h files. The next
patch will replace it with the new generic kfifo API.
Signed-off-by: Stefani Seibold <stefani@seibold.net>
---
include/linux/kfifo.h | 615 -------------------------------------------------
kernel/kfifo.c | 445 -----------------------------------
2 files changed, 0 insertions(+), 1060 deletions(-)
delete mode 100644 include/linux/kfifo.h
delete mode 100644 ...
| Apr 18, 1:54 pm 2010 |
| Frederic Weisbecker | [PATCH] tracing: Dump either the oops's cpu source or al ...
The ftrace_dump_on_oops kernel parameter, sysctl and sysrq let one
dump every cpu buffers when an oops or panic happens.
It's nice when you have few cpus but it may take ages if have many,
plus you miss the real origin of the problem in all the cpu traces.
Sometimes, all you need is to dump the cpu buffer that triggered the
opps, most of the time it is our main interest.
This patch modifies ftrace_dump_on_oops to handle this choice.
The ftrace_dump_on_oops kernel parameter, when it comes ...
| Apr 18, 1:50 pm 2010 |
| Stefani Seibold | [PATCH] Fix a huge latency problem in the MTD CFI and LP ...
From: Stefani Seibold <stefani@seibold.net>
The use of a memcpy() during a spinlock operation will cause very long
thread context switch delays if the flash chip bandwidth is low and the
data to be copied large, because a spinlock will disable preemption.
For example: A flash with 6,5 MB/s bandwidth will cause under ubifs,
which request sometimes 128 KB (the flash erase size), a preemption delay of
20 milliseconds. High priority threads will not be served during this
time, regardless whether ...
| Apr 18, 1:46 pm 2010 |
| Russell King | Fix "undefined reference to `anon_inode_getfd'"
Fix:
fs/built-in.o: In function `sys_inotify_init1':
summary.c:(.text+0x347a4): undefined reference to `anon_inode_getfd'
found by kautobuild with arms bcmring_defconfig, which ends up with
INOTIFY_USER enabled (through the 'default y') but leaves ANON_INODES
unset. However, inotify_user.c uses anon_inode_getfd().
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
---
fs/notify/inotify/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/notify/inotify/Kconfig ...
| Apr 18, 1:25 pm 2010 |
| Joe Perches | Re: is there any chance of cleaning up the "inline" chaos?
Heave to, have at it.
$ git grep -w "inline" * | wc -l
35526
$ git grep -w "__inline__" * | wc -l
872
$ git grep -w "__inline" * | wc -l
17
It looks like __inline is almost exclusively in staging
and should be easy to fix/change
__inline__ is spread around all over the place
$ git grep -wl __inline__ * | wc -l
265
It could be converted over time or in a single sweep
like the recent slab changes.
--
| Apr 18, 1:41 pm 2010 |
| Robert P. J. Day | is there any chance of cleaning up the "inline" chaos?
i mean, how many different definitions of inline are necessary?
#if !defined(CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING) || \
!defined(CONFIG_OPTIMIZE_INLINING) || (__GNUC__ < 4)
# define inline inline __attribute__((always_inline))
# define __inline__ __inline__ __attribute__((always_inline))
# define __inline __inline __attribute__((always_inline))
#endif
rday
--
========================================================================
Robert ...
| Apr 18, 1:06 pm 2010 |
| Gene Heskett | Module.symvers file
Greetings all;
I just found that a make all in 2.6.34-rc4 will generate the Module.symvers
file. But my normal build and install does not.
What do I need to add to my regular 'makeit' file in order to have this file
built by a normal build?
Thanks.
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Over the shoulder supervision is more a need of the manager than the
programming ...
| Apr 18, 12:46 pm 2010 |
| Dan Carpenter | [patch] pcmcia: fix error handling in cm4000_cs.c
In the original code we used -ENODEV as the number of bytes to
copy_to_user() and we didn't release the locks.
Signed-off-by: Dan Carpenter <error27@gmail.com>
diff --git a/drivers/char/pcmcia/cm4000_cs.c b/drivers/char/pcmcia/cm4000_cs.c
index c9bc896..90b199f 100644
--- a/drivers/char/pcmcia/cm4000_cs.c
+++ b/drivers/char/pcmcia/cm4000_cs.c
@@ -1026,14 +1026,16 @@ static ssize_t cmm_read(struct file *filp, __user char *buf, size_t count,
xoutb(0, REG_FLAGS1(iobase)); /* clear ...
| Apr 18, 12:07 pm 2010 |
| Harald Welte | Re: [patch] pcmcia: fix error handling in cm4000_cs.c
Hi Dan,
Acked-by: Harald Welte <laforge@gnumonks.org>
--
- Harald Welte <laforge@gnumonks.org> http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)
--
| Apr 18, 1:04 pm 2010 |
| Arjan van de Ven | [PATCH 1/7] sched: add a comment to get_cpu_idle_time_us()
From 6f9df3bc6571d6545c552151f408d69265e15f92 Mon Sep 17 00:00:00 2001
From: Arjan van de Ven <arjan@linux.intel.com>
Date: Sun, 18 Apr 2010 10:25:19 -0700
Subject: [PATCH 1/7] sched: add a comment to get_cpu_idle_time_us()
The exported function get_cpu_idle_time_us() has no comment
describing it; add a kerneldoc comment
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
---
kernel/time/tick-sched.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git ...
| Apr 18, 12:00 pm 2010 |
| Arjan van de Ven | [PATCH 0/7] Fix performance issue with ondemand governor
There have been various reports of the ondemand governor causing some
serious performance issues, one of the latest ones from Andrew.
There are several fundamental issues with ondemand (being worked on),
but the report from Andrew can be fixed relatively easily.
The fundamental issue is that ondemand will go to a (too) low CPU
frequency for workloads that alternatingly disk and CPU bound...
--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for ...
| Apr 18, 11:59 am 2010 |
| Arjan van de Ven | [PATCH 2/7] sched: introduce a function to update the id ...
From 166b7526ccfea8b44626b6023ff5b0a8eb869bb3 Mon Sep 17 00:00:00 2001
From: Arjan van de Ven <arjan@linux.intel.com>
Date: Sun, 18 Apr 2010 10:33:02 -0700
Subject: [PATCH 2/7] sched: introduce a function to update the idle statistics
Currently, two places update the idle statistics (and more to
come later in this series).
This patch creates a helper function for updating these statistics.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
---
kernel/time/tick-sched.c | 29 ...
| Apr 18, 12:01 pm 2010 |
| Arjan van de Ven | [PATCH 4/7] sched: fold updating of the last update time ...
From e75d6cd203e43ea4c5e9919f19e2882c066491b8 Mon Sep 17 00:00:00 2001
From: Arjan van de Ven <arjan@linux.intel.com>
Date: Sun, 18 Apr 2010 10:47:02 -0700
Subject: [PATCH 4/7] sched: fold updating of the last update time into update_ts_time_stats()
This patch folds the updating of the last_update_time into the
update_ts_time_stats() function, and updates the callers.
This allows for further cleanups that are done in the next patch.
Signed-off-by: Arjan van de Ven ...
| Apr 18, 12:02 pm 2010 |
| Arjan van de Ven | [PATCH 5/7] sched: eliminate the ts->idle_lastupdate field
From 526a9f347d5a953f37b67b4b2afb39d7b4d77a92 Mon Sep 17 00:00:00 2001
From: Arjan van de Ven <arjan@linux.intel.com>
Date: Sun, 18 Apr 2010 10:49:30 -0700
Subject: [PATCH 5/7] sched: eliminate the ts->idle_lastupdate field
Now that the only user of ts->idle_lastupdate is update_ts_time_stats(),
the entire field can be eliminated.
In update_ts_time_stats(), idle_lastupdate is first set to "now",
and a few lines later, the only user is an if() statement that
assigns a variable either to "now" ...
| Apr 18, 12:02 pm 2010 |
| Arjan van de Ven | [PATCH 7/7] ondemand: Solve the big performance issue wi ...
From 27966bedabea83c4f3ae77507eceb746b1f6ebae Mon Sep 17 00:00:00 2001
From: Arjan van de Ven <arjan@linux.intel.com>
Date: Sun, 18 Apr 2010 11:15:56 -0700
Subject: [PATCH 7/7] ondemand: Solve the big performance issue with ondemand during disk IO
The ondemand cpufreq governor uses CPU busy time (e.g. not-idle time) as
a measure for scaling the CPU frequency up or down.
If the CPU is busy, the CPU frequency scales up, if it's idle, the CPU
frequency scales down. Effectively, it uses the CPU ...
| Apr 18, 12:03 pm 2010 |
| Arjan van de Ven | [PATCH 6/7] sched: introduce get_cpu_iowait_time_us()
From c4dd11703034f2ecbc3180603663fab14c292d7c Mon Sep 17 00:00:00 2001
From: Arjan van de Ven <arjan@linux.intel.com>
Date: Sun, 18 Apr 2010 10:57:43 -0700
Subject: [PATCH 6/7] sched: introduce get_cpu_iowait_time_us()
For the ondemand cpufreq governor, it is desired that the iowait
time is microaccounted in a similar way as idle time is.
This patch introduces the infrastructure to account and expose
this information via the get_cpu_iowait_time_us() function.
Signed-off-by: Arjan van de ...
| Apr 18, 12:03 pm 2010 |
| Arjan van de Ven | [PATCH 3/7] sched: update the idle statistics in get_cpu ...
From 60851b131900af03bf013afef69f3bcdbb04f1d6 Mon Sep 17 00:00:00 2001
From: Arjan van de Ven <arjan@linux.intel.com>
Date: Sun, 18 Apr 2010 10:41:30 -0700
Subject: [PATCH 3/7] sched: update the idle statistics in get_cpu_idle_time_us()
Right now, get_cpu_idle_time_us() only reports the idle statistics
upto the point the CPU entered last idle; not what is valid right now.
This patch adds an update of the idle statistics to get_cpu_idle_time_us(),
so that calling this function always returns ...
| Apr 18, 12:01 pm 2010 |
| Farid Hammane | [PATCH] i2c-dev: fix all coding style issues in i2c-dev.c
This patch fixes all coding style issues found by checkpatch.pl.
Signed-off-by: Farid Hammane <farid.hammane@gmail.com>
---
drivers/i2c/i2c-dev.c | 30 +++++++++++++++---------------
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/drivers/i2c/i2c-dev.c b/drivers/i2c/i2c-dev.c
index f4110aa..a22b16c 100644
--- a/drivers/i2c/i2c-dev.c
+++ b/drivers/i2c/i2c-dev.c
@@ -35,7 +35,7 @@
#include <linux/i2c.h>
#include <linux/i2c-dev.h>
#include <linux/jiffies.h>
-#include ...
| Apr 18, 11:38 am 2010 |
| =?UTF-8?q?L=2E=20Alb ... | [PATCH] drivers/net/usb: Add new driver ipheth
From: Diego Giagio <diego@giagio.com>
Add new driver to use tethering with an iPhone device. After initial submission,
apply fixes to fit the new driver into the kernel standards.
There are still a couple of minor (almost cosmetic-level) issues, but the driver
is fully functional right now.
Signed-off-by: L. Alberto Giménez <agimenez@sysvalve.es>
---
This time I've cleared the authorship as requested by David. Diego is the
original author of the code, although Daniel Borca has contributed ...
| Apr 18, 11:35 am 2010 |
| Jonathan Corbet | [RFC] Initial OLPC Viafb merge (V2)
The following patches are the beginning of an effort to move work done for
the OLPC XO 1.5 machine into the mainline. What's here is basic support
for the VX855 chipset, I2C, and the OLPC panel display. What's coming in
the future is a reworking of the viafb driver into something resembling a
proper multifunction device, GPIO support, and camera support. But I'd
like to start here.
CHANGES FROM THE FIRST POSTING include fixes in response to a number of
Florian's comments and the removal of ...
| Apr 18, 11:21 am 2010 |
| Jonathan Corbet | [PATCH 01/11] [FB] viafb: Fix various resource leaks dur ...
From: Harald Welte <laforge@gnumonks.org>
The current code executed from module_init() in viafb does not have
proper error checking and [partial] resoure release paths in case
an error happens half way through driver initialization.
This patch adresses the most obvious of those issues, such as a
leftover i2c bus if module_init (and thus module load) fails.
[jc: fixed merge conflicts]
[jc: also restored -ENOMEM return on ioremap() fail]
Cc: Florian Tobias Schandinat ...
| Apr 18, 11:21 am 2010 |
| Jonathan Corbet | [PATCH 05/11] viafb: Unify duplicated set_bpp() code
As suggested by Florian: make both mode-setting paths use the same code.
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: ScottFang@viatech.com.cn
Cc: JosephChan@via.com.tw
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
---
drivers/video/via/accel.c | 78 +++++++++++++++++++--------------------------
1 files changed, 33 insertions(+), 45 deletions(-)
diff --git a/drivers/video/via/accel.c b/drivers/video/via/accel.c
index a52147c..7c1d9c4 100644
--- ...
| Apr 18, 11:21 am 2010 |
| Jonathan Corbet | [PATCH 06/11] viafb: Determine type of 2D engine and sto ...
From: Harald Welte <laforge@gnumonks.org>
This will help us for the upcoming support for 2D acceleration using
the M1 engine.
[jc: fixed merge conflicts]
Signed-off-by: Harald Welte <HaraldWelte@viatech.com>
---
drivers/video/via/chip.h | 8 ++++++++
drivers/video/via/hw.c | 15 +++++++++++++++
2 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/drivers/video/via/chip.h b/drivers/video/via/chip.h
index 8c06bd3..d9b6e06 100644
--- a/drivers/video/via/chip.h
+++ ...
| Apr 18, 11:21 am 2010 |
| Jonathan Corbet | [PATCH 11/11] suppress verbose debug messages: change p ...
From: Paul Fox <pgf@laptop.org>
[jc: no signoff, added my own]
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: ScottFang@viatech.com.cn
Cc: JosephChan@via.com.tw
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
---
drivers/video/via/via_i2c.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/video/via/via_i2c.c b/drivers/video/via/via_i2c.c
index 8f8e0bf..fe5535c 100644
--- a/drivers/video/via/via_i2c.c
+++ b/drivers/video/via/via_i2c.c
@@ ...
| Apr 18, 11:21 am 2010 |
| Jonathan Corbet | [PATCH 10/11] viafb: rework the I2C support in the VIA f ...
From: Harald Welte <laforge@gnumonks.org>
This patch changes the way how the various I2C busses are used internally
inside the viafb driver: Previosuly, only a single i2c_adapter was created,
even though two different hardware I2C busses are accessed: A structure member
in a global variable was modified to indicate the bus to be used.
Now, all existing hardware busses are registered with the i2c core, and the
viafb_i2c_{read,write}byte[s]() function take the adapter number as function
call ...
| Apr 18, 11:21 am 2010 |
| Jonathan Corbet | [PATCH 09/11] viafb: Do not probe for LVDS/TMDS on OLPC XO-1.5
From: Chris Ball <cjb@laptop.org>
The i2c transactions involved in detecting LVDS (9 seconds) and TMDS
(16 seconds) add an extra 25 seconds to viafb load time on the XO-1.5.
[jc: minor merge conflict fixed, removed ifdefs]
Signed-off-by: Chris Ball <cjb@laptop.org>
---
drivers/video/via/hw.c | 7 +++++++
drivers/video/via/lcd.c | 7 +++++++
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/drivers/video/via/hw.c b/drivers/video/via/hw.c
index 4aff0f7..bd5d5ce ...
| Apr 18, 11:21 am 2010 |
| Jonathan Corbet | [PATCH 08/11] viafb: Add 1200x900 DCON/LCD panel modes f ...
From: Chris Ball <cjb@laptop.org>
[jc: extensive merge conflict fixes]
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: ScottFang@viatech.com.cn
Cc: JosephChan@via.com.tw
Signed-off-by: Chris Ball <cjb@laptop.org>
---
drivers/video/via/hw.c | 1 +
drivers/video/via/ioctl.h | 2 +-
drivers/video/via/lcd.c | 9 +++++++++
drivers/video/via/lcd.h | 2 ++
drivers/video/via/share.h | 7 +++++++
drivers/video/via/viamode.c | 14 ++++++++++++++
6 ...
| Apr 18, 11:21 am 2010 |
| Jonathan Corbet | [PATCH 07/11] viafb: complete support for VX800/VX855 ac ...
This patch is a painful merge of change
a90bab567ece3e915d0ccd55ab00c9bb333fa8c0 (viafb: Add support for 2D
accelerated framebuffer on VX800/VX855) in the OLPC tree, originally by
Harald Welte. Harald's changelog read:
The VX800/VX820 and the VX855/VX875 chipsets have a different 2D
acceleration engine called "M1". The M1 engine has some subtle
(and some not-so-subtle) differences to the previous engines, so
support for accelerated framebuffer on those chipsets was disabled
...
| Apr 18, 11:21 am 2010 |
| Jonathan Corbet | [PATCH 04/11] viafb: Retain GEMODE reserved bits
Commit c3e25673843153ea75fda79a47cf12f10a25ca37 (viafb: 2D engine rewrite)
changed the setting of the GEMODE register so that the reserved bits are no
longer preserved. Fix that; at the same time, move this code to its own
function and restore the use of symbolic constants.
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: ScottFang@viatech.com.cn
Cc: JosephChan@via.com.tw
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
---
drivers/video/via/accel.c | 49 ...
| Apr 18, 11:21 am 2010 |
| Jonathan Corbet | [PATCH 03/11] viafb: Unmap the frame buffer on initializ ...
This was part of Harald's "make viafb a first-class citizen using
pci_driver" patch, but somehow got dropped when that patch went into
mainline.
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: ScottFang@viatech.com.cn
Cc: JosephChan@via.com.tw
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
---
drivers/video/via/viafbdev.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/video/via/viafbdev.c b/drivers/video/via/viafbdev.c
index ...
| Apr 18, 11:21 am 2010 |
| Jonathan Corbet | [PATCH 02/11] viafb: use proper pci config API
From: Harald Welte <laforge@gnumonks.org>
This patch alters viafb to use the proper Linux in-kernel API to access
PCI configuration space, rather than poking at I/O ports by itself.
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: ScottFang@viatech.com.cn
Cc: JosephChan@via.com.tw
Signed-off-by: Harald Welte <HaraldWelte@viatech.com>
---
drivers/video/via/hw.c | 62 +++++++++++++++++++++++++----------------
drivers/video/via/hw.h | 4 +-
...
| Apr 18, 11:21 am 2010 |
| Christoph Hellwig | XFS status update for March 2010
The merge window for Linux 2.6.34 closed in the first week of March,
with the important XFS features already landing in February. Not
surprisingly the XFS merge activity in March has been rather slow,
with only about a dozen bug fixes patches making it towards Linus'
tree in that time.
On the other hand active development for the 2.6.35 merge window has
been very active. Most importantly there was a lot of work on the
transaction and log subsystems. Starting with a large patchset to
clean ...
| Apr 18, 11:01 am 2010 |
| Jan Kiszka | uml: pthreads instead of manual clone()?
Hi Jeff,
is there (still) any reason to use explicit clone() instead of pthreads
to spawn UML kernel threads?
While playing with a patch to finally move os_nsecs to proper
CLOCK_MONOTONIC, I noticed some subtle side-effect: We need to link
against librt for clock_gettime, but that indirectly drags in
libpthread. Now gdb gets unhappy when you try to debug the UML kernel.
It assumes that pthreads are used, but fails to find their IDs and
terminates the session. So the obvious approach appears ...
| Apr 18, 10:50 am 2010 |
| Manfred Spraul | [RFC PATCH 0/3] ipc/sem.c: Optimization for reducing spi ...
Hi,
The following series of patches tries to fix the spinlock contention
reported by Chris Manson: His benchmark exposes problems of the current
code:
- In the worst case, the algorithm used by update_queue() is O(N^2).
Bulk wake-up calls can enter this worst case.
The patch series fix that.
Note that the benchmark app doesn't expose the problem, it just should
be fixed: Real world apps might do the wake-ups in another order
than perfect FIFO.
- The part of the code that runs ...
| Apr 18, 10:07 am 2010 |
| Manfred Spraul | [PATCH 1/3] [PATCH] ipc/sem.c: Optimize update_queue() f ...
The SysV semaphore code allows to perform multiple operations on
all semaphores in the array as atomic operations.
After a modification, update_queue() checks which of the waiting
tasks can complete.
The algorithm that is used to identify the tasks is O(N^2) in the
worst case.
The patch fixes that for the case of an array where all sleeping
tasks are single sembuf operations and a multi-sembuf operation
is used to wake up multiple tasks.
---
ipc/sem.c | 112 ...
| Apr 18, 10:07 am 2010 |
| Manfred Spraul | [PATCH 3/3] [PATCH] ipc/sem.c: cacheline align the ipc s ...
This patch cacheline aligns the spinlock for sysv semaphores:
Without the patch, the spinlock and sem_otime [written by
every semop that modified the array] and sem_base [read in the
hot path of try_atomic_semop()] can be in the same cacheline.
---
include/linux/sem.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/include/linux/sem.h b/include/linux/sem.h
index 8a4adbe..f2961af 100644
--- a/include/linux/sem.h
+++ b/include/linux/sem.h
@@ -79,6 +79,7 @@ struct ...
| Apr 18, 10:07 am 2010 |
| Manfred Spraul | [PATCH 2/3] [PATCH] ipc/sem.c: move wake_up_process out ...
For the sysv sem code, waking up a tasks consists out of two steps:
- the right tasks must be identified.
- they must be woken up.
Right now, both steps run while the array spinlock is held.
This patch reorders the code and moves the actual wake_up_process()
behind the point where the spinlock is dropped.
---
ipc/sem.c | 111 +++++++++++++++++++++++++++++++++++++++++++-----------------
1 files changed, 79 insertions(+), 32 deletions(-)
diff --git a/ipc/sem.c b/ipc/sem.c
index ...
| Apr 18, 10:07 am 2010 |
| Jan Kiszka | [PATCH] uml: Fix build breakage after slab.h changes
We now have to to include linux/slab.h explicitly for kmalloc & friends.
Files that build against host headers already get their prototypes via
um_malloc.h, linux/slab.h may even be unavailable.
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
---
arch/um/drivers/line.c | 1 +
arch/um/os-Linux/helper.c | 1 -
2 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/um/drivers/line.c b/arch/um/drivers/line.c
index 64cda95..7a656bd 100644
--- a/arch/um/drivers/line.c
+++ ...
| Apr 18, 9:37 am 2010 |
| Tejun Heo | Re: [PATCH] uml: Fix build breakage after slab.h changes
Hello,
Hmmm... my test um build was okay but I don't know much about details
of um builds. I suppose this patch will go through um tree?
Thanks.
--
tejun
--
| Apr 18, 2:24 pm 2010 |
| Ben Gamari | [REGRESSION 2.6.34] Suspend fails in pm_test=processor o ...
Hey all,
It seems that something in the 2.6.34 merge cycle has broken suspend to RAM on
my Dell Latitude D830. While suspend has been rock solid for several release
cycles, as of 2.6.34-rc4 it locks up on suspend. All of the pm_test options up
to processor work fine, precluding a driver issue. Unfortunately, I've been
unable to get any useful output from the serial console during suspend. I'll
try bisecting and report back when I have more details. Let me know what else
I can do to ...
| Apr 18, 7:53 am 2010 |
| Mathieu Desnoyers | [PATCH] introduce sys_membarrier(): process-wide memory ...
Here is an implementation of a new system call, sys_membarrier(), which
executes a memory barrier on all threads of the current process. It can be used
to distribute the cost of user-space memory barriers asymmetrically by
transforming pairs of memory barriers into pairs consisting of sys_membarrier()
and a compiler barrier. For synchronization primitives that distinguish between
read-side and write-side (e.g. userspace RCU, rwlocks), the read-side can be
accelerated significantly by moving the ...
| Apr 18, 6:40 am 2010 |
| Linus Torvalds | Re: [RFC patch] CFS fix place entity spread issue (v2)
Hmm. I tested this patch with my favourite non-scientific desktop load
test: do web browsing while doing a kernel compile with "make -j16" (after
doing a "git clean -dqfx" and "ccache -C" to get rid of old object files
and ccache).
This is on a dual-core (with SMT, so 4 threads) Core i5, so "make -j16"
overcommits the CPU's quite a bit.
And quite frankly, I think your patch makes things much worse. I don't
have numbers, but it felt much choppier and slower to do scrolling in ...
| Apr 18, 1:21 pm 2010 |
| Mathieu Desnoyers | Re: [RFC patch] CFS fix place entity spread issue (v2)
Degradation of this particular workload is expected, because the nature of the
large CFS spread issue favors Xorg: it gets litterally minutes of available
vruntime, while most other threads (e.g. kernel build, audio playing, etc..)
suffer from this.
I'll try to play a bit with this (I got plenty of time to kill at the airport
today, missed my connecting flight back from San Francisco). Ideally, we might
want to try to find a way to ensure that place_entity() is kind to sleepers, but
without ...
| Apr 18, 3:59 pm 2010 |
| Mathieu Desnoyers | [RFC patch] CFS fix place entity spread issue (v2)
CFS fix place entity spread issue (v2)
Huge CFS vruntime spread (18 minutes) has been observed with LTTng while simply
running Xorg on a uniprocessor machine. Detailed explanation in my ELC2010
presentation at:
http://www.efficios.com/elc2010
(includes slides, ad-hoc CFS instrumentation patches and wakeup latency test
program)
Changelog since v1:
* Keep max(se->vruntime, vruntime). It's needed to ensure that tasks already
within the spread window do not get an extra unfair vruntime ...
| Apr 18, 6:13 am 2010 |
| Linus Torvalds | Re: [RFC patch] CFS fix place entity spread issue (v2)
In that case, I think your patch is fundamentally incorrect.
I care a _whole_ lot more about "usable desktop" than I care about some
inane "available vruntime". If the current behavior breaks your vruntime
rules, then the current behaviour is clearly _correct_.
Linus
--
| Apr 18, 4:23 pm 2010 |
| Jean Delvare | Re: [PATCH] i2c-core: fix some coding style issues in i2 ...
Hi Farid,
Ironically, your patch itself triggers 5 checkpatch errors. I'll fix
them. Thanks for the patch, consider it applied.
--
Jean Delvare
--
| Apr 18, 3:53 am 2010 |
| Farid Hammane | [PATCH] i2c-core: fix some coding style issues in i2c-core.c
This is a patch to the i2c-core.c file that fixes up coding style issues found by the checkpatch.pl tool
Signed-off-by: Farid Hammane <farid.hammane@gmail.com>
---
drivers/i2c/i2c-core.c | 86 ++++++++++++++++++++++++------------------------
1 files changed, 43 insertions(+), 43 deletions(-)
diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c
index 3202a86..582a53c 100644
--- a/drivers/i2c/i2c-core.c
+++ b/drivers/i2c/i2c-core.c
@@ -1187,10 +1187,10 @@ ...
| Apr 18, 1:41 am 2010 |
| Jonathan Campbell | Re: open sockets from task_struct
(reposted because I remember kernel.org mentioning that HTML email is
verboten or something like that---Sorry!)
I know that on the user-space side any open handles can be seen in the
/proc/<pid>/fd directory (<pid> is whatever process you're interested in).
Assuming you're talking about reading this from kernel space, I'd look
at what the procfs filesystem is doing and learn from that.
Sockets and block/char devices are listed like any other file, the list
--
| Apr 18, 12:30 am 2010 |
| ratheesh k | open sockets from task_struct
I have task_struct structure , how to find all the opened files ? how
to find opened sockets ?
Thanks,
Ratheesh
--
| Apr 18, 12:06 am 2010 |
| Jonathan Campbell | Re: open sockets from task_struct
Get the Linux kernel source and look at what the procfs filesystem is
doing to get that information. Look under fs/proc.
fs/proc/base.c(2508) seems to contain the inode structures for
/proc/pid/fd and /proc/pid/fdinfo, locate the inode operations
structure and locate the functions. Drill down through the function
calls and you'll eventually find how to read what
file handles are open. A quick glance tells me that the calls go several
layers deep including a call through a function pointer ...
| Apr 18, 1:12 am 2010 |
| Mathieu Desnoyers | [RFC patch] CFS fix place entity spread issue
Huge CFS vruntime spread (18 minutes) has been observed with LTTng while simply
running Xorg on a uniprocessor machine, 2.6.33.2 kernel. Detailed explanation in
my ELC2010 presentation at:
http://www.efficios.com/elc2010
(includes slides, ad-hoc CFS instrumentation patches and wakeup latency test
program)
I've torn the CFS scheduler apart in the past days to figure out what is causing
this weird behavior, and the culprit seems to be place_entity(). The problem
appears to be the cumulative ...
| Apr 17, 11:27 pm 2010 |
| Guillaume Knispel | Pending interrupts not always replayed
Hi,
From reading the code (kernel/irq stuffs), it seems that at least some
handle_edge_irq based interrupts are not replayed when enabling if
desc->chip->retrigger == NULL and on a platform where
CONFIG_HARDIRQS_SW_RESEND is not set (which for now is only defined for
(some?) arm and avr32). Depending on the pic this problem might
be masked if multiple interrupts are received between disable_irq and
enable_irq (maybe other conditions exist with controllers i don't know).
I happen to program a ...
| Apr 17, 8:34 pm 2010 |
| Guillaume Knispel | Re: Pending interrupts not always replayed
On Sun, 18 Apr 2010 05:34:39 +0200
A follow up on this issue and on my CONFIG_HARDIRQS_SW_RESEND tests:
I've basically done this:
Index: linux-2.6.22.18/arch/powerpc/Kconfig
===================================================================
--- linux-2.6.22.18.orig/arch/powerpc/Kconfig 2010-04-18 15:22:24.000000000 +0200
+++ linux-2.6.22.18/arch/powerpc/Kconfig 2010-04-18 15:23:21.000000000 +0200
@@ -35,6 +35,10 @@
bool
default y
+config HARDIRQS_SW_RESEND
+ ...
| Apr 18, 7:46 am 2010 |
| Thomas Gleixner | Re: Pending interrupts not always replayed
So you are having a level interrupt device and the irq line is handled
by an edge type handler ? Why not configuring the irq line for level
and in the first place ?
Thanks,
tglx
--
| Apr 18, 12:14 pm 2010 |
| Sanjoy Mahajan | Re: [Bug #15544] black screen upon S3 resume, syslog has ...
Just 10 minutes ago I had a similar or maybe an identical problem: When
the laptop woke up from (S3) sleep, the screen was very dim and almost
black, although everything else seemed normal -- e.g. I could use my Fn
key bindings in twm, switch windows, type, switch to a console, etc..
The screen was so dim that I could barely see the outlines of the emacs
and xpdf windows. Restarting xdm (and therefore the X server) didn't
restore the brightness. But it probably is not a hardware ...
| Apr 17, 7:19 pm 2010 |
| Parag Warudkar | Atombios Execution timeout
Hi Jerome,
On my laptop with a HD3650 GPU, during resume from RAM I get the
below errors -
[ 80.484213] [drm:atom_op_jump] *ERROR* atombios stuck in loop for more
than 1sec aborting
[ 80.484218] [drm:atom_execute_table_locked] *ERROR* atombios stuck
executing FA30 (len 493, WS 0, PS 4) @ 0xFA71
[ 81.497547] [drm:atom_op_jump] *ERROR* atombios stuck in loop for more
than 1sec aborting
[ 81.497552] [drm:atom_execute_table_locked] *ERROR* atombios stuck
executing FA30 (len 493, ...
| Apr 17, 7:04 pm 2010 |
| Nix | Re: 2.6.34rc4 NFS writeback regression (bisected): clien ...
tip-of-tree includes that commit, and it's still happening for me there.
(Just verified again.)
(The exported filesystem is coming from a box running 2.6.33 atop ext4,
in case it matters.)
--
| Apr 18, 12:27 pm 2010 |
| Trond Myklebust | Re: 2.6.34rc4 NFS writeback regression (bisected): clien ...
OK. Next question is how these files are being written. If you 'strace'
the process, do you see ordinary write() calls being used, or is the
file perhaps being written via mmap()?
--
| Apr 18, 1:13 pm 2010 |
| Nix | Apr 18, 1:03 pm 2010 | |
| Trond Myklebust | Re: 2.6.34rc4 NFS writeback regression (bisected): clien ...
Did you test with commit b80c3cb628f0ebc241b02e38dd028969fb8026a2 (NFS:
Ensure that writeback_single_inode() calls write_inode() when syncing)?
That fixed the above problem on my setup.
Cheers
Trond
--
| Apr 18, 12:21 pm 2010 |
| Trond Myklebust | Re: 2.6.34rc4 NFS writeback regression (bisected): clien ...
That shouldn't matter.
--
| Apr 18, 12:59 pm 2010 |
| Nix | Re: 2.6.34rc4 NFS writeback regression (bisected): clien ...
(strace output is at
<http://www.esperi.org.uk/~nix/temporary/strace-kdelibs-nfs-EBUSY.log.lzma>
if you want to look for yourself, but it's about 70Mb unlzmaed, so I can
understand if you run very fast in the opposite direction...)
The files are all ELF object files:
build/CMakeFiles/CMakeTmp/CMakeFiles/cmTryCompileExec.dir/.nfs000000000031c7510000159b: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), stripped
... which means they're being written by gas, and that writes them ...
| Apr 18, 2:09 pm 2010 |
| Matt | Re: Network activity after route changes
Depending on your routing configuration the change may be causing the
problem. Have you tried flushing the route cache (as opposed to the main
routing table)?
# ip route flush table cache
matt
--
| Apr 18, 9:45 am 2010 |
| Oleg Kutkov | Network activity after route changes
Hello.
I try to send and receive ethernet packets on very low level in my
kernel module.
When i change (add or delete entry) routin table (via route command) my
network is freeze for ~15 seconds and my application can't send and
receive any packets.
Is it normal or bug somewhere in my application?
Can i change this behavior of route system? Maybe change some timeouts,
or immediately flush route (rt_flush() ?) table?
Thanks.
--
| Apr 18, 4:15 am 2010 |
| Eric Dumazet | Re: Network activity after route changes
I guess its a bug in your module, since user apps dont experience this
interesting phenomena :)
--
| Apr 18, 5:07 am 2010 |
| Dave Airlie | Re: [regression,bisected] Missing boot messages with VES ...
Can you diff dmesg with/without this?
It shouldn't do anything unless you have multiple framebuffer drivers.
--
| Apr 18, 2:10 pm 2010 |
| Paul E. McKenney | Re: [patch 0/5] rcu head debugobjects
Thank you, Mathieu, queued up for 2.6.35!
Thanx, Paul
--
| Apr 17, 5:48 pm 2010 |
| Paul E. McKenney | Re: [PATCH] srcu: add missing header file
Good catch!!! Queued for 2.6.35.
--
| Apr 17, 6:06 pm 2010 |
| Brown, Len | RE: [PATCH 0/2] Change some config options to be automat ...
Matthew Garrett maintains the platform-x86 directory.
Cheers,
-Len
| Apr 17, 7:00 pm 2010 |
| Karsten Keil | Re: [PATCH] gigaset: include cleanup cleanup
I think David Miller will take it.
Karsten
--
| Apr 18, 6:31 am 2010 |
| David Miller | Re: [PATCH] gigaset: include cleanup cleanup
From: Tejun Heo <tj@kernel.org>
I'll take it into net-2.6, no worries.
--
| Apr 18, 2:13 am 2010 |
| Tejun Heo | Re: [PATCH] gigaset: include cleanup cleanup
Hello,
Acked-by: Tejun Heo <tj@kernel.org>
Hmm... through which tree should this go through? I can route it
through percpu but maybe taking the usual isdn patch path would be
better?
Thanks.
--
tejun
--
| Apr 17, 7:16 pm 2010 |
| Sascha Hauer | Re: [PATCHv4 2.6.34-rc4 5/7] mxc: Add generic USB HW ini ...
The sense of this funtion is to make the interface configuration,
especially the receiver type configurable with the flags parameter to
this function. This all looks very specific to your board, flags is
completely unused.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 ...
| Apr 17, 7:07 pm 2010 |
| Paul E. McKenney | Re: [PATCH RFC tip/core/rcu 02/16] rcu: make dead code r ...
True, I could put a #ifdef CONFIG_NO_HZ around that leg of the switch
statement. Or am I still missing your point?
Thanx, Paul
--
| Apr 17, 6:12 pm 2010 |
| Josh Triplett | Re: [PATCH RFC tip/core/rcu 02/16] rcu: make dead code r ...
No, you got it exactly. Hence my suggesting that all the other
alternatives (the if with a break, or with __builtin_unreachable) seemed
excessive just to try to convince the compiler to infer what an ifdef
would tell it explicitly. :)
- Josh Triplett
--
| Apr 17, 8:53 pm 2010 |
| Paul E. McKenney | Re: [PATCH RFC tip/core/rcu 02/16] rcu: make dead code r ...
Which is exactly the purpose of the "if" statement comparing the two
constants, right? ;-)
Thanx, Paul
--
| Apr 18, 6:42 am 2010 |
| Josh Triplett | Re: [PATCH RFC tip/core/rcu 02/16] rcu: make dead code r ...
Right, which also seems excessive compared to an ifdef, since it serves
the same purpose but more confusingly. ;)
- Josh Triplett
--
| Apr 18, 2:12 pm 2010 |
| Paul E. McKenney | Re: [PATCH RFC tip/core/rcu 02/16] rcu: make dead code r ...
Well, I must confess that it confused me when I added the spin_unlock()...
Thanx, Paul
--
| Apr 18, 2:54 pm 2010 |
| Pekka Enberg | Re: [PATCH 3/6] change alloc function in alloc_slab_page
Minchan's patch is a continuation of this patch:
http://git.kernel.org/?p=linux/kernel/git/penberg/slab-2.6.git;a=commit;h=6484eb3e2a81...
--
| Apr 18, 11:49 am 2010 |
| Minchan Kim | Re: [PATCH 2/6] change alloc function in pcpu_alloc_pages
Hi, Christoph.
I don't want to force using '_node' postfix on UMA users.
Maybe they don't care getting page from any node and event don't need to
alloc_pages_node have multiple meaning as you said. So some of users
Yes, now it's totally different.
On UMA, It's any node but on NUMA, local node.
My concern is following as.
alloc_pages_node means any node but it has nid argument.
Why should user of alloc_pages who want to get page from any node pass
nid argument? It's rather ...
| Apr 18, 8:54 am 2010 |
| Minchan Kim | Re: [PATCH 2/6] change alloc function in pcpu_alloc_pages
Hi, Lee.
Thanks for good information. :)
--
Kind regards,
Minchan Kim
--
| Apr 18, 8:55 am 2010 |
| Tejun Heo | Re: [PATCH 2/6] change alloc function in pcpu_alloc_pages
Yeah, then, remove alloc_pages_any_node(). I can't really see the
point of any_/exact_node. alloc_pages() and alloc_pages_node() are
The name is fine. Just clean up the users and make the intended usage
clear in documentation and implementation (ie. trigger a big fat
warning) and make all the callers use named constants instead of -1
for special meanings.
Thanks.
--
tejun
--
| Apr 18, 2:22 pm 2010 |
| Christoph Hellwig | Re: [PATCH 1/2] mm: add context argument to shrinker callback
Any chance we can still get this into 2.6.34? It's really needed to fix
a regression in XFS that would be hard to impossible to work around
inside the fs. While it touches quite a few places the changes are
trivial and well understood.
--
| Apr 17, 5:15 pm 2010 |
| Andrew Morton | Re: [PATCH] mm: disallow direct reclaim page writeback
There are two issues here: stack utilisation and poor IO patterns in
direct reclaim. They are different.
The poor IO patterns thing is a regression. Some time several years
ago (around 2.6.16, perhaps), page reclaim started to do a LOT more
dirty-page writeback than it used to. AFAIK nobody attempted to work
out why, nor attempted to try to fix it.
Doing writearound in pageout() might help. The kernel was in fact was
doing that around 2.5.10, but I took it out again because it ...
| Apr 17, 5:32 pm 2010 |
| Christoph Hellwig | Re: [PATCH] mm: disallow direct reclaim page writeback
I just know that we XFS guys have been complaining about it a lot..
But that was mostly a tuning issue - before writeout mostly happened
from pdflush. If we got into kswapd or direct reclaim we already
As Chris mentioned currently btrfs and ext4 do not actually do delalloc
conversions from this path, so for typical workloads the amount of
writeout that can happen from this path is extremly limited. And unless
we get things fixed we will have to do the same for XFS. I'd be much
more happy ...
| Apr 18, 12:05 pm 2010 |
| Sorin Faibish | Re: [PATCH] mm: disallow direct reclaim page writeback
On Sat, 17 Apr 2010 20:32:39 -0400, Andrew Morton
I for one am looking very seriously at this problem together with Bruce.
We plan to have a discussion on this topic at the next LSF meeting
--
Best Regards
Sorin Faibish
Corporate Distinguished Engineer
Network Storage Group
EMC²
where information lives
Phone: 508-435-1000 x 48545
Cellphone: 617-510-0422
Email : sfaibish@emc.com
--
| Apr 18, 12:10 pm 2010 |
| Sorin Faibish | Re: [PATCH] mm: disallow direct reclaim page writeback
On Sun, 18 Apr 2010 15:05:26 -0400, Christoph Hellwig <hch@infradead.org>
I know also that the ext3 and reisefs guys complained about this issue
--
Best Regards
Sorin Faibish
Corporate Distinguished Engineer
Network Storage Group
EMC²
where information lives
Phone: 508-435-1000 x 48545
Cellphone: 617-510-0422
Email : sfaibish@emc.com
--
| Apr 18, 12:11 pm 2010 |
| Andrew Morton | Re: [PATCH] mm: disallow direct reclaim page writeback
Right. It's intended that the great majority of writeout be performed
by the fs flusher threads and by the write()r in balance_dirty_pages().
Writeout off the LRU is supposed to be a rare emergency case.
Yeah, but it's all bandaids. The first thing we should do is work out
why writeout-off-the-LRU increased so much and fix that.
Handing writeout off to separate threads might be used to solve the
stack consumption problem but we shouldn't use it to "solve" ...
| Apr 18, 9:31 am 2010 |
| Christoph Hellwig | Re: [PATCH] mm: disallow direct reclaim page writeback
I think both of them are really serious issue. Exposing the whole
stack and lock problems with direct reclaim are a bit of a positive
side-effect os the writeout tuning messup. Without it the problems
would still be just as harmfull, just happenening even less often and
thus getting even less attention.
--
| Apr 18, 12:35 pm 2010 |
| Sorin Faibish | Re: [PATCH] mm: disallow direct reclaim page writeback
On Sun, 18 Apr 2010 17:30:36 -0400, James Bottomley
Let's work together to get this done. This is a very good idea. I will try
to bring some facts about the current state by instrumenting the kernel
to sample with higher time granularity the dirty pages dynamics. This will
allow us expose better the problem or lack of. :)
--
Best Regards
Sorin Faibish
Corporate Distinguished Engineer
Network Storage Group
EMC²
where information lives
Phone: 508-435-1000 x ...
| Apr 18, 4:34 pm 2010 |
| Minchan Kim | Re: vmalloc performance
I voted "free area cache".
I tested below patch in my machine.
The result is following as.
1) vanilla
elapsed time # search of rbtree
vmalloc took 49121724 us 5535
vmalloc took 50675245 us 5535
vmalloc took 48987711 us 5535
vmalloc took 54232479 us 5535
vmalloc took 50258117 us 5535
vmalloc took 49424859 us 5535
3) Steven's patch
elapsed time # search of rbtree
vmalloc took 11363341 us 62
vmalloc took 12798868 us 62
vmalloc took 13247942 us 62
vmalloc took ...
| Apr 18, 8:14 am 2010 |
| Roland Dreier | Re: [PATCH] ummunotify: fix umn-test build
Eric, sorry for not seeing this earlier, but it looks like the last
patch I emailed out did not include all the tiny changes I made prior to
asking Linus to pull this (which he ended up not doing). For example
this fix to the include Kbuild file was there.
You could look at:
http://git.kernel.org/?p=linux/kernel/git/roland/infiniband.git;a=commit;h=cfe60a43c34...
to see what was actually in my pull request. There may be other trivial
tweaks worth ...
| Apr 18, 7:38 am 2010 |
| Marcin Slusarz | [PATCH] vga16fb, drm: vga16fb->drm handoff
More generic approach below - it should work for all drm drivers.
Unfortunately vga16fb handoff has 2 other issues:
- It can be compiled as module, so it can be loaded after KMS driver (and
nothing prevents it right now)
- vga16fb registration error path is iounmapping memory which was not
ioremapped.
I'm going to fix it soon.
---
From: Marcin Slusarz <marcin.slusarz@gmail.com>
Subject: [PATCH] vga16fb, drm: vga16fb->drm handoff
let vga16fb claim 0xA0000+0x10000 region as its ...
| Apr 18, 2:57 pm 2010 |
| Michael Neuling | Re: [PATCH 1/5] sched: fix capacity calculations for SMT4
Thanks for the explanation. Your last example makes perfect sense for
I get some gain numbers but obviously the workloads makes a huge
difference. From a scheduler perspective, I assume an
average/representative gain is best rather than an optimistic or
pessimistic one?
We'll have different gains for SMT2 and SMT4, so we could change the
gain dynamically based on which SMT mode we are in. Does that seem like
Yes for an average workload, 4 SMT threads are slower than 2 ...
| Apr 18, 2:34 pm 2010 |
| James Bottomley | Re: [PATCH 01/13] powerpc: Add rcu_read_lock() to gup_fa ...
Yes ... I was thinking of two specific cases: one is wrong programming
of lock acquisition where the system deadlocks; the other is doing silly
things like taking a mutex around an event loop instead of inside it so
incoming events prevent forward progress and the system livelocks, but
there are many other ways of producing deadlocks and livelocks. I just
couldn't think of a concise way of saying all of that but I didn't want
a statement about mutexes to give the impression that anything ...
| Apr 18, 11:55 am 2010 |
| James Bottomley | Re: [PATCH 01/13] powerpc: Add rcu_read_lock() to gup_fa ...
This isn't quite right. mutex critical sections must guarantee eventual
forward progress against the class of other potential acquirers of the
mutex otherwise the system will become either deadlocked or livelocked.
James
--
| Apr 17, 8:06 pm 2010 |
| Paul E. McKenney | Re: [PATCH 01/13] powerpc: Add rcu_read_lock() to gup_fa ...
If I understand you correctly, you are saying that it is OK for a given
critical section for a given mutex to fail to make forward progress if
nothing else happens to acquire that mutex during that time. I would
agree, at least I would if you were to further add that the soft-lockup
checks permit an additional 120 seconds of failure to make forward progress
even if something -is- attempting to acquire that mutex.
By my standards, 120 seconds is a reasonable approximation to infinity,
hence ...
| Apr 18, 6:55 am 2010 |
| Jonathan Corbet | Re: [PATCH 07/16] viafb: Add 1200x900 DCON/LCD panel mod ...
On Fri, 09 Apr 2010 23:27:30 +0200
OK, I'm certainly exposing my relative lack of understanding of
framebuffer issues (I'm here to add a camera driver, remember? :),
but...is this really something that older chipsets can't handle? Or is
If it's really not acceptable, then it will stay out, but I would
rather get it merged. I will leave it in the series for now; it can
come out later if need be.
Thanks,
jon
--
| Apr 18, 10:39 am 2010 |
| Florian Tobias Schan ... | Re: [PATCH 05/16] viafb: Determine type of 2D engine and ...
Yes, if you feel too uncomfortable with changing it and agree that the
whole stuff should be made more maintainable later on I am okay with
> better a step at a time rather than trying to do the whole thing at once.
This is indeed very true.
Thanks,
Florian Tobias Schandinat
--
| Apr 18, 11:05 am 2010 |
| Jonathan Corbet | Re: [PATCH 05/16] viafb: Determine type of 2D engine and ...
[Getting back to the older stuff...]
On Fri, 09 Apr 2010 22:34:16 +0200
I've spent a bit of time looking at this. What's really needed is a
better way of abstracting the chip types so that we can maybe get rid
of all those switch statements throughout the driver. For the purposes
of getting this work in, I'm not quite prepared to make that change,
though I could certainly consider doing it in the future.
In the absence of that, the only course of action which makes sense is
to simply ...
| Apr 18, 10:34 am 2010 |
| Florian Tobias Schan ... | Re: [PATCH 07/16] viafb: Add 1200x900 DCON/LCD panel mod ...
It's not the chipsets that are incapable (AFAIK) it's just that the
patch is only adding the right PLL values for frequency generation for
VX855 and set the values for all other chipsets to 0. Yeah that means
this panel size wasn't supported before (by the driver). 0 is certainly
not what we want and I think about replacing this whole fixed table with
the formulas used in VIAs OpenSource X driver (although those are a bit
more complicated I expected when I looked at unichrome). However ...
| Apr 18, 11:24 am 2010 |
| Harald Welte | Re: [PATCH 05/16] viafb: Determine type of 2D engine and ...
Hi!
i agree with that step by step strategy.
I always felt conservative about making too big changes. After all, it is hard
to find people who actually own and use all those various models of graphics
chips, and even more so: who want to try + test recent mainline and check for
regressions :(
VIA's resources are extremely limited, and they can barely complete the work
required for new products... I know it's unfortunate, but VIA is a very small
company.
Regards,
Harald
--
- ...
| Apr 18, 11:00 am 2010 |
| Bernd Petrovitsch | Re: Can we remove the Zone_DMA?
That doesn't imply that the "old" systems and hardware vanishes (even
PC-104 has an ISA bus. And it is far from dead and currently deployed
for new systems.
Bernd
--
Bernd Petrovitsch Email : bernd@petrovitsch.priv.at
LUGA : http://www.luga.at
--
| Apr 18, 4:04 am 2010 |
| previous day | today | next day |
|---|---|---|
| April 17, 2010 | April 18, 2010 | April 19, 2010 |
