Re: [dm-devel] Re: [PATCH] Implement barrier support for single device DM devices

2008-02-18 Thread Michael Tokarev
Jeremy Higdon wrote: [] > I'll put it even more strongly. My experience is that disabling write > cache plus disabling barriers is often much faster than enabling both > barriers and write cache enabled, when doing metadata intensive > operations, as long as you have a drive that is good at

Re: [mm] [PATCH 2/4] Add the soft limit interface v2

2008-02-18 Thread Li Zefan
Li Zefan 写道: > Balbir Singh wrote: >> A new configuration file called soft_limit_in_bytes is added. The parsing >> and configuration rules remain the same as for the limit_in_bytes user >> interface. >> >> A global list of all memory cgroups over their soft limit is maintained. >> This list is

Re: tbench regression in 2.6.25-rc1

2008-02-18 Thread Eric Dumazet
Zhang, Yanmin a écrit : On Mon, 2008-02-18 at 12:33 -0500, [EMAIL PROTECTED] wrote: On Mon, 18 Feb 2008 16:12:38 +0800, "Zhang, Yanmin" said: I also think __refcnt is the key. I did a new testing by adding 2 unsigned long pading before lastuse, so the 3 members are moved to next cache line.

Re: [PATCH 1/3] Fix Unlikely(x) == y

2008-02-18 Thread Adrian Bunk
On Tue, Feb 19, 2008 at 08:46:03AM +1100, Michael Ellerman wrote: > On Mon, 2008-02-18 at 16:13 +0200, Adrian Bunk wrote: > > On Mon, Feb 18, 2008 at 03:01:35PM +0100, Geert Uytterhoeven wrote: > > > On Mon, 18 Feb 2008, Adrian Bunk wrote: > > > > > > > > This means it generates faster code with

Re: NULL pointer in kmem_cache_alloc with 2.6.25-rc1

2008-02-18 Thread Pekka Enberg
Hi Yanmin, > On Fri, 2008-02-15 at 08:42 -0800, Christoph Lameter wrote: > > > Kernel panic at line 1637 in file mm/slub.c because > > > object=c->freelist=NULL. > > > > H. freelist should never be NULL. Could you rerun the test and boot with > > slub_debug to make sure that there is no

Re: [PATCH 0/8][for -mm] mem_notify v6

2008-02-18 Thread KOSAKI Motohiro
Hi Paul, Thank you for wonderful interestings comment. your comment is really nice. I was HPC guy with large NUMA box at past. I promise i don't ignroe hpc user. but unfortunately I didn't have experience of use CPUSET because at that point, it was under development yet. I hope discuss you

linux-next: Tree for Feb 19

2008-02-18 Thread Stephen Rothwell
Hi all, I have created today's linux-next tree at git://git.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git. You can see which trees have been included by looking in the Next/Trees file in the source. There are also quilt-import.log and merge.log files in the Next directory. Between

Re: tbench regression in 2.6.25-rc1

2008-02-18 Thread Eric Dumazet
Zhang, Yanmin a écrit : On Mon, 2008-02-18 at 11:11 +0100, Eric Dumazet wrote: On Mon, 18 Feb 2008 16:12:38 +0800 "Zhang, Yanmin" <[EMAIL PROTECTED]> wrote: On Fri, 2008-02-15 at 15:22 -0800, David Miller wrote: From: Eric Dumazet <[EMAIL PROTECTED]> Date: Fri, 15 Feb 2008 15:21:48 +0100

Re: [mm] [PATCH 2/4] Add the soft limit interface v2

2008-02-18 Thread Li Zefan
Balbir Singh wrote: > A new configuration file called soft_limit_in_bytes is added. The parsing > and configuration rules remain the same as for the limit_in_bytes user > interface. > > A global list of all memory cgroups over their soft limit is maintained. > This list is then used to reclaim

Re: [PATCH] Fix building lguest as module.

2008-02-18 Thread Ingo Molnar
* Tony Breeds <[EMAIL PROTECTED]> wrote: > +#endif > + > +#if defined(CONFIG_LGUEST) || defined(CONFIG_LGUEST_MODULE) > + BLANK(); hm. Rusty's original fix is now upstream. I've done a delta to your patch, find the fix is below. Ingo -> Subject: lguest: fix build

Re: Linux 2.6.25-rc2

2008-02-18 Thread Pekka Enberg
On Feb 19, 2008 8:54 AM, Torsten Kaiser <[EMAIL PROTECTED]> wrote: > > > [ 5282.056415] [ cut here ] > > > [ 5282.059757] kernel BUG at lib/list_debug.c:33! > > > [ 5282.062055] invalid opcode: [1] SMP > > > [ 5282.062055] CPU 3 > > > > hm. Your crashes do seem to span

Re: [dm-devel] Re: [PATCH] Implement barrier support for single device DM devices

2008-02-18 Thread Jeremy Higdon
On Tue, Feb 19, 2008 at 09:16:44AM +1100, David Chinner wrote: > On Mon, Feb 18, 2008 at 04:24:27PM +0300, Michael Tokarev wrote: > > First, I still don't understand why in God's sake barriers are "working" > > while regular cache flushes are not. Almost no consumer-grade hard drive > > supports

Re: [RFC][PATCH] the proposal of improve page reclaim by throttle

2008-02-18 Thread KOSAKI Motohiro
Hi Nick, > Yeah this is definitely needed and a nice result. > > I'm worried about a) placing a global limit on parallelism, and b) > placing a limit on parallelism at all. sorry, i don't understand yet. a) and b) have any relation? > > I think it should maybe be a per-zone thing... > > What

[mm] [PATCH 4/4] Add soft limit documentation v2

2008-02-18 Thread Balbir Singh
Add documentation for the soft limit feature. Changelog v2 (Thanks to the review by Randy Dunlap) 1. Change several misuses of it's to its 2. Fix spelling errors and punctuation Signed-off-by: Balbir Singh <[EMAIL PROTECTED]> --- Documentation/controllers/memory.txt | 18 +-

[mm] [PATCH 3/4] Reclaim from groups over their soft limit under memory pressure v2

2008-02-18 Thread Balbir Singh
Changelog v2 1. Take reference on mem->css in pushback (YAMAMOTO Takshi) 2. Move away from trying to reclaim nr_pages over soft limit to swap cluster at a time (KAMEZAWA Hiroyuki) The global list of all cgroups over their soft limit is scanned under memory pressure. We call

[mm] [PATCH 2/4] Add the soft limit interface v2

2008-02-18 Thread Balbir Singh
A new configuration file called soft_limit_in_bytes is added. The parsing and configuration rules remain the same as for the limit_in_bytes user interface. A global list of all memory cgroups over their soft limit is maintained. This list is then used to reclaim memory on global pressure. A

Re: NULL pointer in kmem_cache_alloc with 2.6.25-rc1

2008-02-18 Thread Zhang, Yanmin
On Fri, 2008-02-15 at 08:42 -0800, Christoph Lameter wrote: > On Fri, 15 Feb 2008, Zhang, Yanmin wrote: > > > On my 16-core tigerton, kernel panic when I ran hackbench process testing. > > See > > below log. > > > > > Kernel panic at line 1637 in file mm/slub.c because object=c->freelist=NULL.

[mm] [PATCH 1/4] Modify resource counters to add soft limit support v2

2008-02-18 Thread Balbir Singh
Changelog v2 1. Remove memory controller specific comments from resource counters The resource counter member limit is split into soft and hard limits. The same locking rule apply for both limits. Signed-off-by: Balbir Singh <[EMAIL PROTECTED]> --- include/linux/res_counter.h | 32

[mm][PATCH 0/4] Add soft limits to the memory controller v2

2008-02-18 Thread Balbir Singh
This patchset implements the basic changes required to implement soft limits in the memory controller. A soft limit is a variation of the currently supported hard limit feature. A memory cgroup can exceed it's soft limit provided there is no contention for memory. These patches were tested on a

LILO fatal error after going from 2.6.22 to 2.6.24.2

2008-02-18 Thread Rasmus Andersen
Hello, I have just upgraded from 2.6.22 to 2.6.24.2 and after booting into the new kernel and seeing that everything went right, I wanted to make the new kernel the default boot kernel. But running LILO I got Fatal: Linux experimental device 0x04x needs to be defined. Check 'man lilo.conf'

Re: Linux 2.6.25-rc2

2008-02-18 Thread Torsten Kaiser
On Feb 19, 2008 7:11 AM, Ingo Molnar <[EMAIL PROTECTED]> wrote: > * Torsten Kaiser <[EMAIL PROTECTED]> wrote: > > On Feb 15, 2008 10:23 PM, Linus Torvalds <[EMAIL PROTECTED]> wrote: > > > > > > Ok, > > > this kernel is a winner. > > > > Sadly not for me: > > [ 5282.056415] [ cut here

Re: tbench regression in 2.6.25-rc1

2008-02-18 Thread Zhang, Yanmin
On Mon, 2008-02-18 at 12:33 -0500, [EMAIL PROTECTED] wrote: > On Mon, 18 Feb 2008 16:12:38 +0800, "Zhang, Yanmin" said: > > > I also think __refcnt is the key. I did a new testing by adding 2 unsigned > > long > > pading before lastuse, so the 3 members are moved to next cache line. The > >

Re: Linux 2.6.25-rc2

2008-02-18 Thread Torsten Kaiser
On Feb 19, 2008 12:54 AM, Linus Torvalds <[EMAIL PROTECTED]> wrote: > > > On Sat, 16 Feb 2008, Torsten Kaiser wrote: > > > > [ 5282.056415] [ cut here ] > > [ 5282.059757] kernel BUG at lib/list_debug.c:33! > > Is there any chance that you could try to bisect this, if it's

Re: [PATCH, RFC] kthread: (possibly) a missing memory barrier in kthread_stop()

2008-02-18 Thread Nick Piggin
On Tuesday 19 February 2008 10:03, Dmitry Adamushko wrote: > Hi, > > > [ description ] > > Subject: kthread: add a memory barrier to kthread_stop() > > 'kthread' threads do a check in the following order: > - set_current_state(TASK_INTERRUPTIBLE); > - kthread_should_stop(); > > and

[PATCH] serial: remove double initializer

2008-02-18 Thread Harvey Harrison
Commit: 02c9b5cf9acd8a85313b892dc5196ccf133d4884 serial: add ADDI-DATA GmbH Communication cardsin8250_pci.c and pci_ids.h Added a second initializer, perhaps sopmething else was intended? Signed-off-by: Harvey Harrison <[EMAIL PROTECTED]> --- drivers/serial/8250_pci.c |7 --- 1 files

Re: [PATCH 1/3] Fix Unlikely(x) == y

2008-02-18 Thread Nick Piggin
On Tuesday 19 February 2008 16:58, Willy Tarreau wrote: > On Tue, Feb 19, 2008 at 01:33:53PM +1100, Nick Piggin wrote: > > > Note in particular the last predictors; assuming branch ending > > > with goto, including call, causing early function return or > > > returning negative constant are not

[PATCH] bttv: struct member initialized twice

2008-02-18 Thread Harvey Harrison
fixes sparse warning: drivers/media/video/bt8xx/bttv-driver.c:3391:3: warning: Initializer entry defined twice drivers/media/video/bt8xx/bttv-driver.c:3392:3: also defined here Signed-off-by: Harvey Harrison <[EMAIL PROTECTED]> --- drivers/media/video/bt8xx/bttv-driver.c |1 - 1 files

Re: Linux 2.6.25-rc2

2008-02-18 Thread Ingo Molnar
* Torsten Kaiser <[EMAIL PROTECTED]> wrote: > On Feb 15, 2008 10:23 PM, Linus Torvalds <[EMAIL PROTECTED]> wrote: > > > > Ok, > > this kernel is a winner. > > Sadly not for me: > [ 5282.056415] [ cut here ] > [ 5282.059757] kernel BUG at lib/list_debug.c:33! > [

Re: [PATCH 0/7] Single RQ group scheduling

2008-02-18 Thread Mike Galbraith
On Mon, 2008-02-18 at 10:55 +0100, Peter Zijlstra wrote: > This is my current queue for single RQ group scheduling. I took these out for a brief maxcpus=1 spin yesterday, and noticed something. Running 4 copies of chew-max, one as a user, the context switch rate was high (~1800/s). I increased

Re: [RFC] bitmap onto and fold operators for mempolicy extensions

2008-02-18 Thread Paul Jackson
David wrote: > So what is the MPOL_F_RELATIVE_NODES behavior? Is it a combination of > nodes_onto() and nodes_fold()? MPOL_F_RELATIVE_NODES should always combination of nodes_onto() and nodes_fold(). The reason I say that is consistency with the end cases. That is, we need fold in the case

Re: PCIE ASPM support hangs my laptop pretty often

2008-02-18 Thread Shaohua Li
On Wed, 2008-02-06 at 01:40 +0800, Дамјан Георгиевски wrote: > I've patched my kernel with the PCIe ASPM and after setting > echo powersave > /sys/module/pcie_aspm/parameters/policy > > I started to experience random hangs of my laptop. > Hardware info: > Thinkpad x60s 1704-5UG > also tested on

Re: [PATCH 1/3] Fix Unlikely(x) == y

2008-02-18 Thread Willy Tarreau
On Tue, Feb 19, 2008 at 01:33:53PM +1100, Nick Piggin wrote: > > Note in particular the last predictors; assuming branch ending > > with goto, including call, causing early function return or > > returning negative constant are not taken. Just these alone > > are likely 95+% of the unlikelies in

Re: Optiarc DVD RW AD-5200A audio playing

2008-02-18 Thread Borislav Petkov
On Tue, Feb 19, 2008 at 12:18:48AM +0100, Bartlomiej Zolnierkiewicz wrote: > On Monday 18 February 2008, Stefan Bader wrote: > > Borislav Petkov wrote: > > > On Sat, Feb 16, 2008 at 04:24:01PM +0100, Bartlomiej Zolnierkiewicz wrote: > > >> Hi, > > >> > > >> On Saturday 16 February 2008, Borislav

Re: keyboard dead with 45b5035

2008-02-18 Thread Pierre Ossman
On Mon, 18 Feb 2008 21:50:12 +0100 Pierre Ossman <[EMAIL PROTECTED]> wrote: > On Mon, 18 Feb 2008 20:50:01 +0100 > "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote: > > > On Monday, 18 of February 2008, Pierre Ossman wrote: > > > The patch "[RTNETLINK]: Send a single notification on device state >

Question about synchronous write on SSD

2008-02-18 Thread Kyungmin Park
Hi, Don't you remember the topic "solid state drive access and context switching" [1]. I want to measure it is really better performance on SSD? To write it on ssd synchronously, I hacked the 'generic_make_request()' [2] and got following results. # echo 3 > /proc/sys/vm/drop_caches # tiotest

[RFC][PATCH] the proposal of improve page reclaim by throttle

2008-02-18 Thread KOSAKI Motohiro
background current VM implementation doesn't has limit of # of parallel reclaim. when heavy workload, it bring to 2 bad things - heavy lock contention - unnecessary swap out abount 2 month ago, KAMEZA Hiroyuki proposed the patch of page reclaim

Re: [bootup crash, -git] Re: patch pci-pcie-aspm-support.patchadded to gregkh-2.6 tree

2008-02-18 Thread Shaohua Li
On Sun, 2008-02-03 at 02:51 +0800, Greg KH wrote: > On Sat, Feb 02, 2008 at 11:55:06AM +0100, Ingo Molnar wrote: > > > > * [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > This is a note to let you know that I've just added the patch > titled > > > > > > Subject: PCI: PCIE ASPM support

Re: [dm-devel] Re: [PATCH] Implement barrier support for single device DM devices

2008-02-18 Thread David Chinner
On Tue, Feb 19, 2008 at 02:56:43AM +, Alasdair G Kergon wrote: > On Tue, Feb 19, 2008 at 09:16:44AM +1100, David Chinner wrote: > > Surely any hardware that doesn't support barrier > > operations can emulate them with cache flushes when they receive a > > barrier I/O from the filesystem >

Re: [RFC] [PATCH] Fix b43 driver build for arm

2008-02-18 Thread Sam Ravnborg
> > > > It is a consistencycheck between host and target > > layout of data. > > You need to pad the structure so it becomes 8 byte in size. > > Ok, I looked at the code and it is hightly questionable to me that this > check does work in a crosscompile environment (which the ARM build > most

[PATCH] [RFC] Smack update for file capabilities

2008-02-18 Thread Casey Schaufler
From: Casey Schaufler <[EMAIL PROTECTED]> This patch assumes "Smack unlabeled outgoing ambient packets - v4" which is one reason it's RFC. Update the Smack LSM to allow the registration of the capability "module" as a secondary LSM. Integrate the new hooks required for file based capabilities.

Re: [RFC] [PATCH] Fix b43 driver build for arm

2008-02-18 Thread Gordon Farquharson
On Feb 18, 2008 5:01 PM, Michael Buesch <[EMAIL PROTECTED]> wrote: > > On Tuesday 19 February 2008 00:42:12 Sam Ravnborg wrote: > > On Tue, Feb 19, 2008 at 12:17:04AM +0100, Michael Buesch wrote: > > > On Tuesday 19 February 2008 00:00:58 Russell King wrote: > > > > > > Why can't we have an array

Re: My system stops during startup with curretn git tree of 2.6.25-rc2

2008-02-18 Thread David Miller
From: Laszlo Attila Toth <[EMAIL PROTECTED]> Date: Mon, 18 Feb 2008 18:03:47 +0100 > Hello, > > Rafael J. Wysocki wrote: > > On Monday, 18 of February 2008, Laszlo Attila Toth wrote: > > > > > > All in all, I gather you wanted me to test the patch below. :-) > > > > Yes, that helps. > >

Re: [PATCH 1/3] Fix Unlikely(x) == y

2008-02-18 Thread Nick Piggin
On Tuesday 19 February 2008 13:40, Arjan van de Ven wrote: > On Tue, 19 Feb 2008 13:33:53 +1100 > > Nick Piggin <[EMAIL PROTECTED]> wrote: > > Actually one thing I don't like about gcc is that I think it still > > emits cmovs for likely/unlikely branches, which is silly (the gcc > > developers

Re: [PATCH 2/2] bluetooth : do not move child device other than rfcomm

2008-02-18 Thread David Miller
From: Dave Young <[EMAIL PROTECTED]> Date: Mon, 18 Feb 2008 15:58:05 +0800 > hci conn child devices other than rfcomm tty should not be moved here. > This is my lost, thanks for Barnaby's reporting and testing. > > Signed-off-by: Dave Young <[EMAIL PROTECTED]> Applied, thanks Dave. -- To

Re: [PATCH 1/2] bluetooth : put hci dev after del conn

2008-02-18 Thread David Miller
From: Dave Young <[EMAIL PROTECTED]> Date: Mon, 18 Feb 2008 15:55:55 +0800 > Move hci_dev_put to del_conn to avoid hci dev going away before hci conn. This looks correct so I have applied it. > Signed-off-by: Dave Young <[EMAIL PROTECTED]> Please remove the extraneous space at the end of your

[RFC 11/11] split out libfs/aops.c from libfs.c

2008-02-18 Thread Arnd Bergmann
Consolidate all address space manipulation code in libfs in a single source file. Signed-off-by: Arnd Bergman <[EMAIL PROTECTED]> Index: linux-2.6/fs/libfs.c === --- linux-2.6.orig/fs/libfs.c +++ /dev/null @@ -1,116 +0,0 @@ -/* - *

[RFC 10/11] split out libfs/inode.c from libfs.c

2008-02-18 Thread Arnd Bergmann
Consolidate all inode manipulation code in libfs in a single source file. Signed-off-by: Arnd Bergman <[EMAIL PROTECTED]> Index: linux-2.6/fs/libfs.c === --- linux-2.6.orig/fs/libfs.c +++ linux-2.6/fs/libfs.c @@ -12,78 +12,6 @@

[RFC 03/11] slim down debugfs

2008-02-18 Thread Arnd Bergmann
With most of debugfs now copied to generic code in libfs, we can remove the original copy and replace it with thin wrappers around libfs. Signed-off-by: Arnd Bergmann <[EMAIL PROTECTED]> Index: linux-2.6/fs/Kconfig === ---

[RFC 07/11] split out libfs/file.c from libfs.c

2008-02-18 Thread Arnd Bergmann
Consolidate all file manipulation code in libfs in a single source file. Signed-off-by: Arnd Bergmann <[EMAIL PROTECTED]> Index: linux-2.6/fs/libfs.c === --- linux-2.6.orig/fs/libfs.c +++ linux-2.6/fs/libfs.c @@ -421,165 +421,6 @@

[RFC 00/11] possible debugfs/libfs consolidation

2008-02-18 Thread Arnd Bergmann
I noticed that there is a lot of duplication in pseudo file systems, so I started looking into how to consolidate them. I ended up with a largish rework of the structure of libfs and moving almost all of debugfs in there as well. As an example, I also have patches that reduce debugfs, securityfs

[RFC 08/11] split out libfs/dentry.c from libfs.c

2008-02-18 Thread Arnd Bergmann
Consolidate all dentry manipulation code in libfs in a single source file. Signed-off-by: Arnd Bergmann <[EMAIL PROTECTED]> Index: linux-2.6/fs/libfs.c === --- linux-2.6.orig/fs/libfs.c +++ linux-2.6/fs/libfs.c @@ -12,188 +12,6 @@

[RFC 01/11] add generic versions of debugfs file operations

2008-02-18 Thread Arnd Bergmann
The file operations in debugfs are rather generic and can be used by other file systems, so it can be interesting to include them in libfs, with more generic names, and exported to modules. This patch adds a new copy of these operations to libfs, so that the debugfs version can later be cut down.

[RFC 05/11] slim down usbfs

2008-02-18 Thread Arnd Bergmann
Half of the usbfs code is the same as debugfs, so we can replace it now with calls to the generic libfs versions. Signed-off-by: Arnd Bergmann <[EMAIL PROTECTED]> Index: linux-2.6/drivers/usb/core/inode.c === ---

[RFC 09/11] split out libfs/super.c from libfs.c

2008-02-18 Thread Arnd Bergmann
Consolidate all super block manipulation code in libfs in a single source file. Signed-off-by: Arnd Bergman <[EMAIL PROTECTED]> Index: linux-2.6/fs/libfs.c === --- linux-2.6.orig/fs/libfs.c +++ linux-2.6/fs/libfs.c @@ -12,63 +12,6 @@

[RFC 04/11] slim down securityfs

2008-02-18 Thread Arnd Bergmann
With the new simple_fs_type in place, securityfs practically becomes a nop and we just need to leave code around to manage its mount point. Signed-off-by: Arnd Bergmann <[EMAIL PROTECTED]> Index: linux-2.6/security/inode.c === ---

[RFC 06/11] split out linux/libfs.h from linux/fs.h

2008-02-18 Thread Arnd Bergmann
With libfs turning into a larger subsystem, it makes sense to have a separate header that is not included by the low-level vfs code. Signed-off-by: Arnd Bergmann <[EMAIL PROTECTED]> Index: linux-2.6/fs/debugfs/inode.c === ---

[RFC 02/11] introduce simple_fs_type

2008-02-18 Thread Arnd Bergmann
There is a number of pseudo file systems in the kernel that are basically copies of debugfs, all implementing the same boilerplate code, just with different bugs. This adds yet another copy to the kernel in the libfs directory, with generalized helpers that can be used by any of them. The most

Re: 2.6.24-sha1: RIP [] iov_iter_advance+0x38/0x70

2008-02-18 Thread Nick Piggin
On Wednesday 13 February 2008 09:27, Alexey Dobriyan wrote: > On Tue, Feb 12, 2008 at 02:04:30PM -0800, Andrew Morton wrote: > > > [ 4057.31] Pid: 7035, comm: ftest03 Not tainted > > > 2.6.24-25f666300625d894ebe04bac2b4b3aadb907c861 #2 [ 4057.31] RIP: > > > 0010:[] [] > > >

Re: [PATCH] correct inconsistent ntp interval/tick_length usage

2008-02-18 Thread Roman Zippel
Hi, On Mon, 18 Feb 2008, john stultz wrote: > If we are building a train station, and each train car is 60ft, it > doesn't make much sense to build 1000ft stations, right? Instead you'll > do better if you build a 1020ft station. That would assume trains are always 60ft long, which is the basic

Re: [PATCH 4/5] x86_64: check msr to get mmconfig for amd family 10h opteron v3

2008-02-18 Thread Yinghai Lu
On Feb 15, 2008 1:31 AM, Yinghai Lu <[EMAIL PROTECTED]> wrote: > From: Yinghai Lu <[EMAIL PROTECTED]> > > so even booting kernel with acpi=off or even MCFG is not there, we still can > use MMCONFIG. > > Signed-off-by: Yinghai Lu <[EMAIL PROTECTED]> > Cc: Thomas Gleixner <[EMAIL PROTECTED]> > Cc:

[PATCH] Fix building lguest as module.

2008-02-18 Thread Tony Breeds
On Mon, Feb 04, 2008 at 07:11:10AM +1100, Rusty Russell wrote: > Lguest guest support and host support are separate config options: they used > to be tied together. Sort out which parts of asm-offsets are needed for Guest > and Host. With rusty's patch applied the errors still persist in some

Re: Status of storage autosuspend

2008-02-18 Thread Alan Stern
On Mon, 18 Feb 2008, Pavel Machek wrote: > > Should we ignore this issue and submit the patches anyway? > > I think you should. "Easy" (and clean) solution to that issue is to > just return -EPERM from SG_IOCTL if autosuspend is configured in ;-). :-) Okay, I'll update the patches to

Re: NULL pointer in kmem_cache_alloc with 2.6.25-rc1

2008-02-18 Thread Zhang, Yanmin
On Mon, 2008-02-18 at 08:52 -0800, Arjan van de Ven wrote: > On Mon, 18 Feb 2008 04:59:18 -0800 > Andrew Morton <[EMAIL PROTECTED]> wrote: > > > On Fri, 15 Feb 2008 14:47:01 +0800 "Zhang, Yanmin" > > <[EMAIL PROTECTED]> wrote: > > > > > Call Trace: > > > [] ? __alloc_skb+0x31/0x121 > > > [] ?

Re: [lm-sensors] [PATCH v2] adt7473: New driver for Analog Devices ADT7473 sensor chip

2008-02-18 Thread Mark M. Hoffman
Hi Darrick: * Darrick J. Wong <[EMAIL PROTECTED]> [2008-02-18 13:33:23 -0800]: > adt7473: New driver for Analog Devices ADT7473 sensor chip > > This driver reports voltage, temperature and fan sensor readings > on an ADT7473 chip. > > Signed-off-by: Darrick J. Wong <[EMAIL PROTECTED]> > --- >

Re: [dm-devel] Re: [PATCH] Implement barrier support for single device DM devices

2008-02-18 Thread Alasdair G Kergon
On Tue, Feb 19, 2008 at 09:16:44AM +1100, David Chinner wrote: > Surely any hardware that doesn't support barrier > operations can emulate them with cache flushes when they receive a > barrier I/O from the filesystem My complaint about having to support them within dm when more than one

[PATCH 4/4] [PATCH] remove goto statement

2008-02-18 Thread Glauber Costa
This patch removes goto statements in favour of plain returns in places that had nothing left behind that would justify such construction --- drivers/acpi/processor_core.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/processor_core.c

Re: tbench regression in 2.6.25-rc1

2008-02-18 Thread Zhang, Yanmin
On Mon, 2008-02-18 at 11:11 +0100, Eric Dumazet wrote: > On Mon, 18 Feb 2008 16:12:38 +0800 > "Zhang, Yanmin" <[EMAIL PROTECTED]> wrote: > > > On Fri, 2008-02-15 at 15:22 -0800, David Miller wrote: > > > From: Eric Dumazet <[EMAIL PROTECTED]> > > > Date: Fri, 15 Feb 2008 15:21:48 +0100 > > > > >

Re: [dm-devel] Re: [PATCH] Implement barrier support for single device DM devices

2008-02-18 Thread Alasdair G Kergon
On Mon, Feb 18, 2008 at 08:52:10AM -0500, Ric Wheeler wrote: > I understand that. Most of the time, dm or md devices are composed of > uniform components which will uniformly support (or not) the cache flush > commands used by barriers. As a dm developer, it's "almost none of the time" because

LSI Logic MegaRAID SATA 150-4 / LSI Logic New Generation RAID Device Drivers (MEGARAID_NEWGEN) problems (megaraid abort: scsi cmd:14600, do now own)

2008-02-18 Thread David M. Strang
Greetings - A couple months back I purchased a LSI Logic MegaRAID ATA 150-4 controller, as well as 3 Seagate 500GB SATA-II hard drives to use in my system. Previously, I was using a pair of WD4000YR's in software raid, which seemed to work well. I've just not gotten around to working on

Re: [PATCH 1/3] Fix Unlikely(x) == y

2008-02-18 Thread Arjan van de Ven
On Tue, 19 Feb 2008 13:33:53 +1100 Nick Piggin <[EMAIL PROTECTED]> wrote: > > Actually one thing I don't like about gcc is that I think it still > emits cmovs for likely/unlikely branches, which is silly (the gcc > developers seem to be in love with that instruction). If that goes > away, then

Re: [PATCH] Implement barrier support for single device DM devices

2008-02-18 Thread Alasdair G Kergon
On Fri, Feb 15, 2008 at 04:07:54PM +0300, Michael Tokarev wrote: > Alasdair G Kergon wrote: > > On Fri, Feb 15, 2008 at 01:08:21PM +0100, Andi Kleen wrote: > >> Implement barrier support for single device DM devices > > Thanks. We've got some (more-invasive) dm patches in the works that > >

Re: [PATCH 1/3] Fix Unlikely(x) == y

2008-02-18 Thread Nick Piggin
On Tuesday 19 February 2008 01:39, Andi Kleen wrote: > Arjan van de Ven <[EMAIL PROTECTED]> writes: > > you have more faith in the authors knowledge of how his code actually > > behaves than I think is warranted :) > > iirc there was a mm patch some time ago to keep track of the actual > unlikely

Re: [PATCH 5/5] signal(ia64_ia32): add a signal stack overflow check

2008-02-18 Thread Shi Weihua
The similar check has been added to x86_32(i386) in commit id 83bd01024b1fdfc41d9b758e5669e80fca72df66. So we add this check to ia64_ia32 and improve it a liitle bit in that we need to check for stack overflow only when the signal is on stack. Signed-off-by: Shi Weihua <[EMAIL PROTECTED]> ---

Re: [PATCH 4/5] signal(ia64): add a signal stack overflow check

2008-02-18 Thread Shi Weihua
The similar check has been added to x86_32(i386) in commit id 83bd01024b1fdfc41d9b758e5669e80fca72df66. So we add this check to ia64 and improve it a liitle bit in that we need to check for stack overflow only when the signal is on stack. Signed-off-by: Shi Weihua <[EMAIL PROTECTED]> --- The

[PATCH] capabilities: implement per-process securebits

2008-02-18 Thread Andrew G. Morgan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew Here is the patch to add per-process securebits again. This version includes Serge's argument type fix (thanks), but is otherwise unchanged from the one posted a couple of weeks back. It is against Linus' tree as of a the 15th. This change

Re: [PATCH 3/5] signal(x86_ia32): add a signal stack overflow check

2008-02-18 Thread Shi Weihua
The similar check has been added to x86_32(i386) in commit id 83bd01024b1fdfc41d9b758e5669e80fca72df66. So we add this check to x86_ia32 and improve it a liitle bit in that we need to check for stack overflow only when the signal is on stack. Signed-off-by: Shi Weihua <[EMAIL PROTECTED]> ---

Re: [PATCH 4/4] remove goto statement

2008-02-18 Thread Li Zefan
Glauber Costa wrote: > Li Zefan wrote: >> Glauber Costa 写道: >>> This patch removes goto statements in favour of plain returns >>> in places that had nothing left behind that would justify >>> such construction >>> --- >>> drivers/acpi/processor_core.c |4 ++-- >>> 1 files changed, 2

Re: [PATCH 2/5] signal(x86_64): add a signal stack overflow check

2008-02-18 Thread Shi Weihua
The similar check has been added to x86_32(i386) in commit id 83bd01024b1fdfc41d9b758e5669e80fca72df66. So we add this check to x86_64 and improve it a liitle bit in that we need to check for stack overflow only when the signal is on stack. Signed-off-by: Shi Weihua <[EMAIL PROTECTED]> --- The

Re: [PATCH 1/5] signal(x86_32): Improve the signal stack overflow check

2008-02-18 Thread Shi Weihua
We need to check for stack overflow only when the signal is on stack. So we can improve the patch "http://lkml.org/lkml/2007/11/27/101; as following. Signed-off-by: Shi Weihua <[EMAIL PROTECTED]> --- The previous patch has a comment mistake. Now I correct it. --- ---

Re: [PATCH 4/4] remove goto statement

2008-02-18 Thread Glauber Costa
Li Zefan wrote: > Glauber Costa 写道: >> This patch removes goto statements in favour of plain returns >> in places that had nothing left behind that would justify >> such construction >> --- >> drivers/acpi/processor_core.c |4 ++-- >> 1 files changed, 2 insertions(+), 2 deletions(-) >> >>

Re: [PATCH] queue usb USB_CDC_GET_ENCAPSULATED_RESPONSE message

2008-02-18 Thread David Brownell
On Monday 18 February 2008, Jan Altenberg wrote: > Hi all, > > commit 0cf4f2de0a0f4100795f38ef894d4910678c74f8 introduced a bug, which > prevents sending an USB_CDC_GET_ENCAPSULATED_RESPONSE message. This > breaks the RNDIS initialization (especially / only Windoze machines > dislike this

Re: [PATCH][BLUETOOTH] add HCI_BROKEN_ISOC for 0e5e:6622 (bugzilla #9027)

2008-02-18 Thread SDiZ
(resending this as i have got no reply in the last week) Marcel Holtmann wrote: > Hi, This patch fix bugzilla #9027. ``Syslog flooded with "hci_scodata_packet: hci0 SCO packet for unknown connection handle 92" message" see http://bugzilla.kernel.org/show_bug.cgi?id=9027

Re: [PATCH] documentation: move spidev_fdx example to its own source file

2008-02-18 Thread David Brownell
On Monday 18 February 2008, Randy Dunlap wrote: > From: Randy Dunlap <[EMAIL PROTECTED]> > > cc: [EMAIL PROTECTED] > cc: [EMAIL PROTECTED] > > Move sample source code to its own source file so that it can be used > easier and build-tested/check/maintained by anyone. > > (Makefile changes are in

Re: [PATCH 1/5] signal(x86_32): Improve the signal stack overflow check

2008-02-18 Thread Shi Weihua
[EMAIL PROTECTED] wrote:: > On Mon, 18 Feb 2008 18:22:05 +0800, Shi Weihua said: > >> -/* >> - * If we are on the alternate signal stack and would overflow it, don't. >notice > this ^ >> - * Return an always-bogus

Re: [PATCH 4/5] signal(ia64): add a signal stack overflow check

2008-02-18 Thread Shi Weihua
Matthew Wilcox wrote:: > On Mon, Feb 18, 2008 at 06:26:23PM +0800, Shi Weihua wrote: >> +if (!rbs_on_sig_stack(scr->pt.ar_bspstore)) >> +new_rbs = (current->sas_ss_sp + >> + sizeof(long) - 1) & ~(sizeof(long) -

Re: Linux 2.6.25-rc2 regression: LVM cannot find volume group

2008-02-18 Thread Alasdair G Kergon
On Sat, Feb 16, 2008 at 11:37:37PM +0100, Jiri Slaby wrote: > # CONFIG_SYSFS_DEPRECATED is not set IMHO That should be *set* by default until everyone has had time to update their userspace software to cope with the changed sysfs layout. Alasdair -- [EMAIL PROTECTED] -- To unsubscribe from this

Re: IO queueing and complete affinity w/ threads: Some results

2008-02-18 Thread Nick Piggin
On Mon, Feb 18, 2008 at 02:33:17PM +0100, Andi Kleen wrote: > Jens Axboe <[EMAIL PROTECTED]> writes: > > > and that scrapping the remote > > softirq trigger stuff is sanest. > > I actually liked Nick's queued smp_function_call_single() patch. So even > if it was not used for block I would still

Re: [PATCH 4/4] remove goto statement

2008-02-18 Thread Li Zefan
Glauber Costa 写道: > This patch removes goto statements in favour of plain returns > in places that had nothing left behind that would justify > such construction > --- > drivers/acpi/processor_core.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git

Re: 2.6.25-rc2-mm1

2008-02-18 Thread Kevin Winchester
Steven Rostedt wrote: > > On Mon, 18 Feb 2008, Andrew Morton wrote: > >>> I don't think I've seen anyone else report this, but if I'm wrong, I'm >>> sure someone will point me to the thread. >> No, I think it's new. >> > >> Looks like an ftrace-vs-lockdep problem. >> > > Is there a .config

[PATCH] cifs: remove GLOBAL_EXTERN macro

2008-02-18 Thread Harvey Harrison
Global vaiables should be defined in C files, not in headers. 1) Comment out unused vars GlobalDnotifyRsp_Q GlobalUidList 2) Declare vars in cifsfs.c that need it and change to extern in cifsglob.h 3) Change to extern in cifsglob.h for vars that were already being declared in cifsfs.c 4)

Re: TG3 network data corruption regression 2.6.24/2.6.23.4

2008-02-18 Thread Michael Chan
On Mon, 2008-02-18 at 16:35 -0800, David Miller wrote: > One consequence of Herbert's change is that the chip will see a > different datastream. The initial skb->data linear area will be > smaller, and the transition to the fragmented area of pages will be > quicker. > I see. Perhaps when we

Re: [PATCH] correct inconsistent ntp interval/tick_length usage

2008-02-18 Thread john stultz
On Sat, 2008-02-16 at 05:24 +0100, Roman Zippel wrote: > Hi, > > On Wed, 13 Feb 2008, john stultz wrote: > > > Oh! So your issue is that since time_freq is stored in ppm, or in effect > > a usecs per sec offset, when we add it to something other then 1 second > > we mis-apply what NTP tells us

Re: [PATCH 1/5] signal(x86_32): Improve the signal stack overflow check

2008-02-18 Thread Shi Weihua
Ingo Molnar wrote:: > * Shi Weihua <[EMAIL PROTECTED]> wrote: > >> We need to check for stack overflow only when the signal is on stack. >> So we can improve the patch "http://lkml.org/lkml/2007/11/27/101; as >> following. > > hm, does this address Roland's observations at: > >

Re: [PATCH] documentation: fix firmware_sample_firmware_class to build

2008-02-18 Thread David Rientjes
Change sysfs_remove_bin_file() to have a return value of void in the !CONFIG_SYSFS case, matching the return value of the same function with the opposite configuration. Also moves unnecessary ';' in empty void functions. Cc: Randy Dunlap <[EMAIL PROTECTED]> Signed-off-by: David Rientjes

[git patches] IDE fixes

2008-02-18 Thread Bartlomiej Zolnierkiewicz
Hi, This update fixes all known/open 2.6.25 IDE regressions + few other things: - fix ide-cd cd/dvd burning regression (Kiyoshi Ueda) - fix falconide/macide regressions (Geert Uytterhoeven) - another device needs HPA workaround (Mikko Rapeli) - ht6560b bugfixes (Jan Evert van Grootheest) -

Re: [PATCH] ide-cd: fix missing residual count setting in DMA mode (Was 2.6.25-rc1/2 CD/DVD burning broken)

2008-02-18 Thread Bartlomiej Zolnierkiewicz
On Tuesday 19 February 2008, Kiyoshi Ueda wrote: > Hi, > > On Mon, 18 Feb 2008 23:37:48 +0100, Borislav Petkov wrote: > > On Mon, Feb 18, 2008 at 09:20:41PM +0100, Borislav Petkov wrote: > > > On Mon, Feb 18, 2008 at 01:58:27PM -0500, Kiyoshi Ueda wrote: > > > > Hi Andreas, > > > > > > > > On

Re: linux-next: Tree for Feb 18

2008-02-18 Thread Bartlomiej Zolnierkiewicz
On Monday 18 February 2008, David Miller wrote: > From: Stephen Rothwell <[EMAIL PROTECTED]> > Date: Mon, 18 Feb 2008 19:08:41 +1100 > > > I have created today's linux-next tree at > > git://git.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git. > > The patch below fixes the allmodconfig

Re: [PATCH] next-20080218 build failure at pmac_ide_macio_attach ()

2008-02-18 Thread Bartlomiej Zolnierkiewicz
On Monday 18 February 2008, Kamalesh Babulal wrote: > Hi, > > The next-20080218 kernel build fails on the powerpc(s) > > drivers/ide/ppc/pmac.c: In function ‘pmac_ide_macio_attach’: > drivers/ide/ppc/pmac.c:1094: error: conversion to non-scalar type requested > d

Re: Optiarc DVD RW AD-5200A audio playing

2008-02-18 Thread Bartlomiej Zolnierkiewicz
On Monday 18 February 2008, Stefan Bader wrote: > Borislav Petkov wrote: > > On Sat, Feb 16, 2008 at 04:24:01PM +0100, Bartlomiej Zolnierkiewicz wrote: > >> Hi, > >> > >> On Saturday 16 February 2008, Borislav Petkov wrote: > >>> On Fri, Feb 15, 2008 at 02:53:27PM -0500, Stefan Bader wrote: >

Re: inode leak in 2.6.24?

2008-02-18 Thread Ferenc Wagner
David Chinner <[EMAIL PROTECTED]> writes: > On Sat, Feb 16, 2008 at 12:18:58AM +0100, Ferenc Wagner wrote: > >> 5 days ago I pulled the git tree (HEAD was >> 25f666300625d894ebe04bac2b4b3aadb907c861), added two minor patches >> (the vmsplice fix and the GFS1 exports), compiled and booted the >>

  1   2   3   4   5   6   7   8   9   10   >