Re: pci/pcie/aer/aerdrv_acpi.c: inconsequent NULL checking

2008-02-19 Thread Adrian Bunk
On Tue, Feb 19, 2008 at 09:47:58PM -0800, Greg KH wrote: > On Tue, Feb 19, 2008 at 09:29:02PM +0200, Adrian Bunk wrote: > > The Coverity checker spotted the following inconsequent NULL checking > > introduced by commit 3c75e23784e6ed5f4841de43d0750fd9b37bafcb: > > > > <-- snip --> > > > > ...

Re: [PATCH] mm: fix dma_poor_create

2008-02-19 Thread Yinghai Lu
On Tuesday 19 February 2008 10:52:30 pm Ingo Molnar wrote: > > * Yinghai Lu <[EMAIL PROTECTED]> wrote: > > > dev_to_node could return node that without RAM. So check it before use > > it in kmalloc_node > > > - retval = kmalloc_node(sizeof(*retval), GFP_KERNEL, dev_to_node(dev)); > > +

Re: linux-next: Tree for Feb 20

2008-02-19 Thread Frank Seidel
Stephen Rothwell wrote: > That would work. Chris has the right idea, though. Just set up > linux-next as a remote on any existing clone of Linus' tree and the > "fetch" will forcibly update the linux-next/master branch (remember to > not have that branch checked out when you fetch). > > If you

Re: 2.6.25-rc1 xen pvops regression

2008-02-19 Thread H. Peter Anvin
Ian Campbell wrote: On Mon, 2008-02-18 at 02:40 -0800, Joel Becker wrote: On Sun, Feb 17, 2008 at 06:49:21PM +, Ian Campbell wrote: x86/xen: Do not scan for DMI unless the DMI region is reserved by e820. This fixed it. I'm now booting successfully. Thank you! Excellent.

Re: Huawei E220 and usb storage

2008-02-19 Thread Norbert Preining
On Do, 14 Feb 2008, Pete Zaitcev wrote: > that you did, after taking care of detection and initialization. > Look at his dmesg in comment #44 in this: Yes, that looks very similar. > > - changing the penultimage argument in the usb_stor_huawei_e220_init > > function from 0x1 to 0 stopped this

2.6.25-rc2: ohci1394 problem

2008-02-19 Thread Thomas Meyer
Hi. With 2.6.25-rc2 my kernel log consists mainly of: "ohci1394: fw-host0: Unhandled interrupt(s) 0xfc7cfe0c ohci1394: fw-host0: Unrecoverable error! ohci1394: fw-host0: Async Rsp Tx Context died: ctrl[f0002a00] cmdptr[f0002a00] ohci1394: fw-host0: Iso Recv 3 Context died: ctrl[d4000d0e]

Re: linux-next: Tree for Feb 20

2008-02-19 Thread Jeff Garzik
Greg KH wrote: On Wed, Feb 20, 2008 at 04:34:57PM +1100, Stephen Rothwell wrote: 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.

Re: tbench regression in 2.6.25-rc1

2008-02-19 Thread Eric Dumazet
Zhang, Yanmin a écrit : On Tue, 2008-02-19 at 08:40 +0100, Eric Dumazet wrote: 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

Re: Integration of SCST in the mainstream Linux kernel

2008-02-19 Thread Erez Zilber
Bart Van Assche wrote: > On Feb 18, 2008 10:43 AM, Erez Zilber <[EMAIL PROTECTED]> wrote: > >> If you use a high value for FirstBurstLength, all (or most) of your data >> will be sent as unsolicited data-out PDUs. These PDUs don't use the RDMA >> engine, so you miss the advantage of IB. >>

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

2008-02-19 Thread Willy Tarreau
On Tue, Feb 19, 2008 at 10:28:46AM +0100, Andi Kleen wrote: > > Sometimes, for performance critical paths, I would like gcc to be dumb and > > follow *my* code and not its hard-coded probabilities. > > If you really want that, simple: just disable optimization @) already tried. It fixed some

Re: 2.6.25-rc2 hangs after "Suspending console(s)"

2008-02-19 Thread Tino Keitel
On Tue, Feb 19, 2008 at 09:52:22 +0100, Tino Keitel wrote: > On Mon, Feb 18, 2008 at 20:49:04 +0100, Pavel Machek wrote: > > On Mon 2008-02-18 01:28:15, Tino Keitel wrote: > > > Hi folks, > > > > > > with 2.6.25-rc2, my Mac mini Core Duo hangs at suspend. The last > > > message on the console is

Re: SMP-related kernel memory leak

2008-02-19 Thread Bart Van Assche
On Feb 19, 2008 7:18 PM, Oliver Pinter <[EMAIL PROTECTED]> wrote: > On 2/19/08, Bart Van Assche <[EMAIL PROTECTED]> wrote: > > I noticed that the amount of memory used by the Linux kernel steadily > > increases over time on SMP systems (x86 architecture, 32-bit kernel). > > This problem disappears

Re: 2.6.25-rc2-mm1 (x64 thermal build failure)

2008-02-19 Thread Thomas Petazzoni
Le Tue, 19 Feb 2008 15:21:29 -0800, Andrew Morton <[EMAIL PROTECTED]> a écrit : > ug, sorry, if I'd realised it was like this I'd have said "don't > bother". Apart from the obvious problem, this means that people will > keep breaking CONFIG_DMI=n all the time, because they will forget the >

Re: Linux 2.6.25-rc2

2008-02-19 Thread Pekka Enberg
On 2/20/2008, "Zhang, Yanmin" <[EMAIL PROTECTED]> wrote: > Kernel with the reverting patch is ok. > I ran reboot/hackbench for more than 10 times on every one of my 3 x86-64 > machines, and kernel didn't crash. Great, Linus reverted the patch yesterday. Thanks for testing! -- To unsubscribe

Re: tbench regression in 2.6.25-rc1

2008-02-19 Thread Zhang, Yanmin
On Tue, 2008-02-19 at 08:40 +0100, Eric Dumazet wrote: > 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 > >>>

Re: linux-next: Tree for Feb 20

2008-02-19 Thread Stephen Rothwell
Hi Greg, On Tue, 19 Feb 2008 21:50:55 -0800 Greg KH <[EMAIL PROTECTED]> wrote: > > What's the best way to constantly follow this tree? I had cloned it a > while ago, but now if I 'git pull' it wants to merge things, which isn't > right. > > I'm guessing that this is constantly being rebased?

Re: Linux 2.6.25-rc2

2008-02-19 Thread Zhang, Yanmin
On Wed, 2008-02-20 at 10:08 +0800, Zhang, Yanmin wrote: > On Wed, 2008-02-20 at 08:36 +0800, Zhang, Yanmin wrote: > > On Tue, 2008-02-19 at 17:52 +0200, Pekka Enberg wrote: > > > Ingo Molnar wrote: > > > > * Pekka Enberg <[EMAIL PROTECTED]> wrote: > > > > > > > >>> Yes, this can happen. Are you

Re: [PATCH] mm: fix dma_poor_create

2008-02-19 Thread Ingo Molnar
* Yinghai Lu <[EMAIL PROTECTED]> wrote: > dev_to_node could return node that without RAM. So check it before use > it in kmalloc_node > - retval = kmalloc_node(sizeof(*retval), GFP_KERNEL, dev_to_node(dev)); > + node = dev_to_node(dev); > + if (node == -1 || !node_online(node)) > +

Re: tsc breaks atkbd suspend

2008-02-19 Thread Thomas Gleixner
On Tue, 19 Feb 2008, Len Brown wrote: > On Tuesday 19 February 2008 11:51, Thomas Gleixner wrote: > > On Tue, 19 Feb 2008, Ingo Molnar wrote: > > > * Pavel Machek <[EMAIL PROTECTED]> wrote: > > > > > > > TSC is used even on machines when CONFIG_X86_TSC is not set (X86_TSC > > > > means

Re: [PATCH] documentation: fix firmware_sample_firmware_class to build

2008-02-19 Thread Greg KH
On Mon, Feb 18, 2008 at 04:22:16PM -0800, Randy Dunlap wrote: > From: Randy Dunlap <[EMAIL PROTECTED]> > > Fix firmware_sample_firmware_class module to build without error. > sysfs.h already has the function prototypes and has them correctly. > >

Re: [PATCH] UIO: introduce sysfs_ops for map_attr_ktype

2008-02-19 Thread Greg KH
On Tue, Feb 19, 2008 at 01:55:05AM -0800, Brandon Philips wrote: > This fixes two bugs with UIO that cropped up recently in -rc1 > > 1) WARNING: at fs/sysfs/file.c:334 sysfs_open_file when trying to open >a map addr/size file - complaining about missing sysfs_ops for ktype > > 2)

Re: [2.6.25 patch] fix broken error handling in ieee80211_sta_process_addba_request()

2008-02-19 Thread Jarek Poplawski
On 19-02-2008 23:58, Adrian Bunk wrote: ... > --- a/net/mac80211/ieee80211_sta.c > +++ b/net/mac80211/ieee80211_sta.c > @@ -1116,9 +1116,10 @@ static void ieee80211_sta_process_addba_request(struct > net_device *dev, ... > + printk(KERN_ERR "can not allocate reordering buffer

Re: [PATCH 2.6.24] block2mtd: removing a device and typo fixes

2008-02-19 Thread Jörn Engel
On Tue, 19 February 2008 23:33:38 +0100, Arnd Bergmann wrote: > > Given that loop works in this way, I certainly see that as doable, > but then I'd vote for using the existing ioctl semantics of > LOOP_SET_FD and LOOP_DEL_FD on the mtdchar device, which already > comes with an ioctl interface for

Re: [PATCH 0/8] AMD opteron mm config numa etc

2008-02-19 Thread Ingo Molnar
* Greg KH <[EMAIL PROTECTED]> wrote: > > > could make up for system that system have acpi problem or still > > > can mmconf and numa when acpi=off > > > > Greg, any deep objections against these patches? (other than that > > they need a good amount of testing) I personally think that the more

Re: Status of storage autosuspend

2008-02-19 Thread Greg KH
On Mon, Feb 18, 2008 at 10:19:11PM -0500, Alan Stern wrote: > 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

Re: [PCI] duplicate sysfs symbols getting registered in current git

2008-02-19 Thread Greg KH
On Mon, Feb 18, 2008 at 09:52:25PM +0100, Guennadi Liakhovetski wrote: > Booting an x86 SMP PC with todays git-snapshot or just with 2.6.25-rc2 > getting the following warnings (with a bit of context): Can you try enabling CONFIG_DEBUG_KOBJECT and sending the output at boot time from this?

Re: [PATCH 6/8] net: use numa_node in net_devcice->dev instead of parent

2008-02-19 Thread Ingo Molnar
* Yinghai Lu <[EMAIL PROTECTED]> wrote: > > > can you check the 5/8? that will make sure every struct device get > > > numa_node get assigned. > > > > Why do we need to bother with that if the parent will have the > > necessary information for us here? > > less code? > > or some kind of usb

Re: [PATCH 0/2] cgroup map files: Add a key/value map file type to cgroups

2008-02-19 Thread Paul Menage
On Feb 19, 2008 10:14 PM, YAMAMOTO Takashi <[EMAIL PROTECTED]> wrote: > > On Feb 19, 2008 9:48 PM, YAMAMOTO Takashi <[EMAIL PROTECTED]> wrote: > > > > > > it changes the format from "%s %lld" to "%s: %llu", right? > > > why? > > > > > > > The colon for consistency with maps in /proc. I think it

Re: [PATCH] exporting capability code/name pairs (try #6.1)

2008-02-19 Thread Kohei KaiGai
>> Could you also modify the documentation and the sample code to use this >> new field, showing how it is to be used, and testing that it works >> properly at the same time? > > OK, Please wait for a while. [3/3] Add a new example of kobject/attribute The attached patch can provide a new

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

2008-02-19 Thread Shaohua Li
On Tue, 2008-02-19 at 21:42 -0800, Greg KH wrote: > On Wed, Feb 20, 2008 at 01:24:48PM +0800, Shaohua Li wrote: > > > > On Tue, 2008-02-19 at 21:04 -0800, Greg KH wrote: > > > On Wed, Feb 20, 2008 at 12:48:21PM +0800, Shaohua Li wrote: > > > > > > > > On Tue, 2008-02-19 at 20:14 -0800, Greg KH

Re: 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green.

2008-02-19 Thread Jeff Chua
On Feb 20, 2008 12:32 PM, Jesse Barnes <[EMAIL PROTECTED]> wrote: > > On Tuesday, February 19, 2008 6:28 pm Linus Torvalds wrote: > > On Tue, 19 Feb 2008, Jesse Barnes wrote: > > > I found the same poweroff issue on my T61. It turned out to be related > > > to the C state code disabling

Re: [PATCH] exporting capability code/name pairs (try #6.1)

2008-02-19 Thread Kohei KaiGai
[Sorry, I sent a patch with TABs translated into spaces.] In the attached patch, every attribute entry stores its capability identifier in numerical or symbolic representation within private data field of kobj_attribute structure. The rest of them are unchanged. [2/3] Exporting capability

Re: [PATCH] exporting capability code/name pairs (try #6.1)

2008-02-19 Thread Kohei KaiGai
[Sorry, I sent a patch with TABs translated into spaces.] [1/3] Add a private data field within kobj_attribute structure. This patch add a private data field, declared as void *, within kobj_attribute structure. Anyone wants to use sysfs can store their private data to refer at _show() and

Re: linux-next: Tree for Feb 20

2008-02-19 Thread Chris Wedgwood
On Tue, Feb 19, 2008 at 09:50:55PM -0800, Greg KH wrote: > What's the best way to constantly follow this tree? I had cloned it > a while ago, but now if I 'git pull' it wants to merge things, which > isn't right. I would guess: $ git remote add linux-next

Re: [PATCH 0/2] cgroup map files: Add a key/value map file type to cgroups

2008-02-19 Thread YAMAMOTO Takashi
> On Feb 19, 2008 9:48 PM, YAMAMOTO Takashi <[EMAIL PROTECTED]> wrote: > > > > it changes the format from "%s %lld" to "%s: %llu", right? > > why? > > > > The colon for consistency with maps in /proc. I think it also makes it > slightly more readable. can you be a little more specific? i object

Re: 2.6.25-rc2 regression - hang on suspend

2008-02-19 Thread Soeren Sonnenburg
On Wed, 2008-02-20 at 00:50 +0100, Rafael J. Wysocki wrote: > On Tuesday, 19 of February 2008, Soeren Sonnenburg wrote: > > On Tue, 2008-02-19 at 22:06 +0100, Rafael J. Wysocki wrote: > > > On Tuesday, 19 of February 2008, Soeren Sonnenburg wrote: > > > > Hi, > > > > > > Hi, > > > > > > > since

Re: [PATCH 0/2] cgroup map files: Add a key/value map file type to cgroups

2008-02-19 Thread Paul Menage
On Feb 19, 2008 9:48 PM, YAMAMOTO Takashi <[EMAIL PROTECTED]> wrote: > > it changes the format from "%s %lld" to "%s: %llu", right? > why? > The colon for consistency with maps in /proc. I think it also makes it slightly more readable. For %lld versus %llu - I think that cgroup resource APIs are

Re: [PATCH] exporting capability code/name pairs (try #6)

2008-02-19 Thread Greg KH
On Wed, Feb 20, 2008 at 02:38:16PM +0900, Kohei KaiGai wrote: > Greg KH wrote: >> On Wed, Feb 20, 2008 at 01:38:59PM +0900, Kohei KaiGai wrote: > If we can have a private member in kobj_attribute, we can found the >>> content > to be returned in a single step. Ok, again, just send me

Re: [ofa-general] [2.6 patch] infiniband/hw/nes/nes_verbs.c: fix off-by-one

2008-02-19 Thread Adrian Bunk
On Tue, Feb 19, 2008 at 08:23:19PM -0800, Roland Dreier wrote: > Thanks, this is already upstream as 51af33e8 No, 51af33e8 was for a similar same bug 400 lines below this bug... cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had

Re: linux-next: Tree for Feb 20

2008-02-19 Thread David Miller
From: Greg KH <[EMAIL PROTECTED]> Date: Tue, 19 Feb 2008 21:50:55 -0800 > On Wed, Feb 20, 2008 at 04:34:57PM +1100, Stephen Rothwell wrote: > > I will stop making these announcements now unless there is some change to > > the tree or things people should know. There should be a new tree every >

Re: atmel_spi clock polarity

2008-02-19 Thread Atsushi Nemoto
On Mon, 18 Feb 2008 15:31:58 +0100, Haavard Skinnemoen <[EMAIL PROTECTED]> wrote: > > Anyway, I will try your patch in a few days. > > Ok, thanks. If it works, that would be great, but given your > description above I'm not sure if I dare hope for it. Unfortunately it did not work. The clock

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

2008-02-19 Thread Harvey Harrison
On Tue, 2008-02-19 at 18:49 -0800, Roland McGrath wrote: > > I spent some time read you mail carefully and dig into the code again. > > > > And yes, you are right. It's possible that SA_ONSTACK has been cleared > > before the second signal on the same stack comes. > > It's not necessary for

Re: pci/pcie/aer/aerdrv_acpi.c: inconsequent NULL checking

2008-02-19 Thread Greg KH
On Tue, Feb 19, 2008 at 09:29:02PM +0200, Adrian Bunk wrote: > The Coverity checker spotted the following inconsequent NULL checking > introduced by commit 3c75e23784e6ed5f4841de43d0750fd9b37bafcb: > > <-- snip --> > > ... > int aer_osc_setup(struct pcie_device *pciedev) > { > ...

Re: linux-next: Tree for Feb 20

2008-02-19 Thread Greg KH
On Wed, Feb 20, 2008 at 04:34:57PM +1100, Stephen Rothwell wrote: > 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

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

2008-02-19 Thread Greg KH
On Wed, Feb 20, 2008 at 01:24:48PM +0800, Shaohua Li wrote: > > On Tue, 2008-02-19 at 21:04 -0800, Greg KH wrote: > > On Wed, Feb 20, 2008 at 12:48:21PM +0800, Shaohua Li wrote: > > > > > > On Tue, 2008-02-19 at 20:14 -0800, Greg KH wrote: > > > > On Wed, Feb 20, 2008 at 09:36:07AM +0800,

Re: [PATCH 0/2] cgroup map files: Add a key/value map file type to cgroups

2008-02-19 Thread YAMAMOTO Takashi
> These patches add a new cgroup control file output type - a map from > strings to u64 values - and make use of it for the memory controller > "stat" file. > > It is intended for use when the subsystem wants to return a collection > of values that are related in some way, for which a separate

Re: [PATCH] exporting capability code/name pairs (try #6)

2008-02-19 Thread Kohei KaiGai
Greg KH wrote: On Wed, Feb 20, 2008 at 01:38:59PM +0900, Kohei KaiGai wrote: If we can have a private member in kobj_attribute, we can found the content to be returned in a single step. Ok, again, just send me a patch that adds this functionality and we will be very glad to consider it.

linux-next: Tree for Feb 20

2008-02-19 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

[PATCH 0/2] cgroup map files: Add a key/value map file type to cgroups

2008-02-19 Thread menage
These patches add a new cgroup control file output type - a map from strings to u64 values - and make use of it for the memory controller "stat" file. It is intended for use when the subsystem wants to return a collection of values that are related in some way, for which a separate control file

[PATCH 2/2] cgroup map files: Use cgroup map for memcontrol stats file

2008-02-19 Thread menage
Remove the seq_file boilerplate used to construct the memcontrol stats map, and instead use the new map representation for cgroup control files Signed-off-by: Paul Menage <[EMAIL PROTECTED]> --- mm/memcontrol.c | 30 ++ 1 file changed, 6 insertions(+), 24

[PATCH 1/2] cgroup map files: Add cgroup map data type

2008-02-19 Thread menage
Adds a new type of supported control file representation, a map from strings to u64 values. Signed-off-by: Paul Menage <[EMAIL PROTECTED]> --- include/linux/cgroup.h | 19 +++ kernel/cgroup.c| 59 - 2 files changed, 77

Re: [PATCH] [LMB]: Fix lmb_add_region if region should be added at the head

2008-02-19 Thread Kumar Gala
On Feb 19, 2008, at 11:26 PM, David Miller wrote: From: Kumar Gala <[EMAIL PROTECTED]> Date: Tue, 19 Feb 2008 23:16:18 -0600 The for loop above the code I added will move all the existing slots up one. Its just the tail cleanup we are missing. Aha, I see how this works now, thanks! I'll

Re: [PATCH] [LMB]: Fix lmb_add_region if region should be added at the head

2008-02-19 Thread David Miller
From: Kumar Gala <[EMAIL PROTECTED]> Date: Tue, 19 Feb 2008 23:16:18 -0600 > The for loop above the code I added will move all the existing slots > up one. Its just the tail cleanup we are missing. Aha, I see how this works now, thanks! I'll add this to my LMB tree. -- To unsubscribe from

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

2008-02-19 Thread Shaohua Li
On Tue, 2008-02-19 at 21:04 -0800, Greg KH wrote: > On Wed, Feb 20, 2008 at 12:48:21PM +0800, Shaohua Li wrote: > > > > On Tue, 2008-02-19 at 20:14 -0800, Greg KH wrote: > > > On Wed, Feb 20, 2008 at 09:36:07AM +0800, Shaohua Li wrote: > > > > --- linux.orig/include/linux/pci-acpi.h 2008-02-19

Re: [RFC][PATCH 1/7] CGroup API: Add cgroup.api control file

2008-02-19 Thread Paul Menage
On Feb 19, 2008 9:17 PM, Paul Jackson <[EMAIL PROTECTED]> wrote: > > Perhaps my primary concern with these *.api files was that I did not > understand who or what the critical use or user was; who found this > essential, not just nice to have. > Right now, no-one would find it essential. If/when

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

2008-02-19 Thread KOSAKI Motohiro
> Did those jobs share nodes -- sometimes two or more jobs using the same > nodes? I am sure SGI has such users too, though such job mixes make > the runtimes of specific jobs less obvious, so customers are more > tolerant of variations and some inefficiencies, as they get hidden in > the mix.

Re: [RFC][PATCH 1/7] CGroup API: Add cgroup.api control file

2008-02-19 Thread Paul Jackson
Paul M wrote: > I guess it's not essential, I just figured that if we had that > information, it made sense to make it available to userspace. I guess > I'm happy with dropping the actual exposed cgroup.api file for now as > long as we can work towards reducing the number of control files that >

[PATCH] -mm: fix nommu path broken by procfs task exe symlink

2008-02-19 Thread Matt Helsley
Hi Andrew, nommu configurations will not compile because the "mm" variable does not exist. Replace usage of the mm variable and the empty vma->vm_mm field with correct mm pointers. Signed-off-by: Matt Helsley <[EMAIL PROTECTED]> Cc: Mike Frysinger <[EMAIL PROTECTED]> --- Needs testing on a nommu

Re: [PATCH] [LMB]: Fix lmb_add_region if region should be added at the head

2008-02-19 Thread Kumar Gala
On Feb 19, 2008, at 10:45 PM, David Miller wrote: From: Kumar Gala <[EMAIL PROTECTED]> Date: Tue, 19 Feb 2008 22:27:48 -0600 (CST) We introduced a bug in fixing lmb_add_region to handle an initial region being non-zero. Before that fix it was impossible to insert a region at the head of the

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

2008-02-19 Thread Greg KH
On Wed, Feb 20, 2008 at 12:48:21PM +0800, Shaohua Li wrote: > > On Tue, 2008-02-19 at 20:14 -0800, Greg KH wrote: > > On Wed, Feb 20, 2008 at 09:36:07AM +0800, Shaohua Li wrote: > > > --- linux.orig/include/linux/pci-acpi.h 2008-02-19 11:03:51.0 > > > +0800 > > > +++

[PATCH 2/2] Cpusets API: Update cpusets to use cgroup structured file API

2008-02-19 Thread Paul Menage
Many of the cpusets control files are simple integer values, which don't require the overhead of memory allocations for reads and writes. Move the handlers for these control files into cpuset_read_uint() and cpuset_write_uint(). This also has the advantage that the control files show up as "u64"

[PATCH 1/2] Cpusets API: From: Paul Jackson <[EMAIL PROTECTED]>

2008-02-19 Thread Paul Menage
Strip all trailing whitespace in cgroup_write_uint This removes the need for people to remember to pass the -n flag to echo when writing values to cgroup control files. Signed-off-by: Paul Menage <[EMAIL PROTECTED]> --- kernel/cgroup.c |5 + 1 file changed, 1 insertion(+), 4

[PATCH 0/2] Cpusets API: Update Cpusets control files

2008-02-19 Thread Paul Menage
This pair of patches simplifies the cpusets read/write path for the control files that consist of simple integers. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

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

2008-02-19 Thread Shaohua Li
On Tue, 2008-02-19 at 20:14 -0800, Greg KH wrote: > On Wed, Feb 20, 2008 at 09:36:07AM +0800, Shaohua Li wrote: > > --- linux.orig/include/linux/pci-acpi.h 2008-02-19 11:03:51.0 > > +0800 > > +++ linux/include/linux/pci-acpi.h 2008-02-20 09:19:15.0 +0800 > > @@ -47,6 +47,7

Re: [PATCH] exporting capability code/name pairs (try #6)

2008-02-19 Thread Greg KH
On Wed, Feb 20, 2008 at 01:38:59PM +0900, Kohei KaiGai wrote: > >> If we can have a private member in kobj_attribute, we can found the > content > >> to be returned in a single step. > > > > Ok, again, just send me a patch that adds this functionality and we will > > be very glad to consider it.

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

2008-02-19 Thread Paul Jackson
Kosaki-san wrote: > Yes. > Fujitsu HPC middleware watching sum of memory consumption of the job > and, if over-consumption happened, kill process and remove job schedule. Did those jobs share nodes -- sometimes two or more jobs using the same nodes? I am sure SGI has such users too, though such

[PATCH] [RFC] Smack: unlabeled outgoing ambient packets - v2

2008-02-19 Thread Casey Schaufler
From: Casey Schaufler <[EMAIL PROTECTED]> Smack uses CIPSO labeling, but allows for unlabeled packets by specifying an "ambient" label that is applied to incoming unlabeled packets. Because the other end of the connection may dislike IP options, and ssh is one know application that behaves thus,

Re: [PATCH] [LMB]: Fix lmb_add_region if region should be added at the head

2008-02-19 Thread David Miller
From: Kumar Gala <[EMAIL PROTECTED]> Date: Tue, 19 Feb 2008 22:27:48 -0600 (CST) > We introduced a bug in fixing lmb_add_region to handle an initial > region being non-zero. Before that fix it was impossible to insert > a region at the head of the list since the first region always started > at

[PATCH] exporting capability code/name pairs (try #6)

2008-02-19 Thread Kohei KaiGai
Greg KH wrote: On Mon, Feb 18, 2008 at 05:45:46PM +0900, Kohei KaiGai wrote: Greg KH wrote: Also, this code can be cleaned up a lot by just using the basic kobject attributes, and not rolling your own types here. I replaced my own defined capability_attribute by kobj_attribute. It made the

[PATCH] exporting capability code/name pairs (try #6)

2008-02-19 Thread Kohei KaiGai
>> If we can have a private member in kobj_attribute, we can found the content >> to be returned in a single step. > > Ok, again, just send me a patch that adds this functionality and we will > be very glad to consider it. [1/2] Add a private data field within kobj_attribute structure. This

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

2008-02-19 Thread Paul Jackson
Rik wrote: > In that case the user is better off having that job killed and > restarted elsewhere, than having all of the jobs on that node > crawl to a halt due to swapping. > > Paul, is this guess correct? :) Not for the loads I focus on. Each job gets exclusive use of its own dedicated set

Re: 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green.

2008-02-19 Thread Jesse Barnes
On Tuesday, February 19, 2008 6:28 pm Linus Torvalds wrote: > On Tue, 19 Feb 2008, Jesse Barnes wrote: > > I found the same poweroff issue on my T61. It turned out to be related > > to the C state code disabling interrupts when it shouldn't iirc. Booting > > with 'idle=poll' seems to work around

[PATCH] [LMB]: Fix lmb_add_region if region should be added at the head

2008-02-19 Thread Kumar Gala
We introduced a bug in fixing lmb_add_region to handle an initial region being non-zero. Before that fix it was impossible to insert a region at the head of the list since the first region always started at zero. Now that its possible for the first region to be non-zero we need to check to see

Re: [ofa-general] [2.6 patch] infiniband/hw/nes/nes_verbs.c: fix off-by-one

2008-02-19 Thread Roland Dreier
Thanks, this is already upstream as 51af33e8 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [patch] sysfs: small header file cleanup

2008-02-19 Thread Randy Dunlap
David Rientjes wrote: Convert sysfs_remove_bin_file() to have a return type of 'void' for !CONFIG_SYSFS configurations. Also removes unnecessary colons from empty void functions. Cc: Randy Dunlap <[EMAIL PROTECTED]> Reviewed-by: Randy Dunlap <[EMAIL PROTECTED]> Thanks, David.

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

2008-02-19 Thread Greg KH
On Wed, Feb 20, 2008 at 09:36:07AM +0800, Shaohua Li wrote: > --- linux.orig/include/linux/pci-acpi.h 2008-02-19 11:03:51.0 > +0800 > +++ linux/include/linux/pci-acpi.h2008-02-20 09:19:15.0 +0800 > @@ -47,6 +47,7 @@ >

Re: [PATCH] procfs task exe symlink

2008-02-19 Thread Mike Frysinger
On Feb 19, 2008 4:54 PM, Matt Helsley <[EMAIL PROTECTED]> wrote: > On Sat, 2008-02-16 at 07:12 -0500, Mike Frysinger wrote: > > On Feb 6, 2008 8:44 PM, Matt Helsley <[EMAIL PROTECTED]> wrote: > > > The kernel implements readlink of /proc/pid/exe by getting the file from > > > the > > > first

Re: [PATCH] Provide u64 version of jiffies_to_usecs() in kernel/tsacct.c

2008-02-19 Thread Randy Dunlap
Jonathan Lim wrote: It's possible that the values used in and returned from jiffies_to_usecs() are incorrect because of truncation when variables of type u64 are involved. So a function specific to that type is used instead. This version implements a correction to jiffies_64_to_usecs() based

Re: [patch 5/6] mmu_notifier: Support for drivers with revers maps (f.e. for XPmem)

2008-02-19 Thread Nick Piggin
On Wednesday 20 February 2008 14:12, Robin Holt wrote: > For XPMEM, we do not currently allow file backed > mapping pages from being exported so we should never reach this condition. > It has been an issue since day 1. We have operated with that assumption > for 6 years and have not had issues

[BUG] next-20080219 - ide oops while bootup at ide_device_add_all ()

2008-02-19 Thread Kamalesh Babulal
Hi, The next-20080219 kernel oops while booting up on x86_64 box. This bug was fixed in the 2.6.24-git(s) with the patch posted at http://lkml.org/lkml/2008/2/11/350 ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 BUG: unable to handle kernel paging request at 80a37b8d IP: [] ide_device_add_all

Please pull powerpc.git merge branch

2008-02-19 Thread Paul Mackerras
Linus, Please do git pull \ git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git merge to get a few more bug and warning fixes for powerpc. The diffstat is bloated by the defconfig updates -- the actual code changes are only a few dozen lines. Thanks, Paul.

Re: TG3 network data corruption regression 2.6.24/2.6.23.4

2008-02-19 Thread Herbert Xu
On Tue, Feb 19, 2008 at 05:14:26PM -0500, Tony Battersby wrote: > > Update: when I revert Herbert's patch in addition to applying your > patch, the iSCSI performance goes back up to 115 MB/s again in both > directions. So it looks like turning off SG for TX didn't itself cause > the performance

Re: Where to put adapters, /proc is cool

2008-02-19 Thread Valdis . Kletnieks
On Tue, 19 Feb 2008 14:39:45 EST, Karl Dahlke said: > Really, /proc is the only place for these virtual files that interact > directly with the kernel and/or its modules; > I just wanted a fixed place under /proc for adapters to live, > like sys ttys scsi net, and so on. There's an awful lot of

Re: Improve init/Kconfig help descriptions [PATCH 4/9]

2008-02-19 Thread Valdis . Kletnieks
On Wed, 20 Feb 2008 01:38:55 +1100, Nick Andrew said: > + Enable an auditing infrastructure that can be used with another > + kernel subsystem, such as Security-Enhanced Linux (SELinux), > + which requires this option for logging of AVC messages output. > + > + AVC refers

Re: [PATCH v2][POWERPC] Fix initial lmb add region with a non-zero base

2008-02-19 Thread David Miller
From: Kumar Gala <[EMAIL PROTECTED]> Date: Tue, 19 Feb 2008 21:02:04 -0600 > np. Are we trying to get this into 2.6.25 or .26? I'm ambivalent but I would obviously prefer 2.6.25 because it would allow me to proceed more easily with my sparc64 NUMA work as well as get your bug fixes in more

Re: [patch 2/6] mmu_notifier: Callbacks to invalidate address ranges

2008-02-19 Thread Robin Holt
On Wed, Feb 20, 2008 at 02:11:41PM +1100, Nick Piggin wrote: > On Wednesday 20 February 2008 14:00, Robin Holt wrote: > > On Wed, Feb 20, 2008 at 02:00:38AM +0100, Andrea Arcangeli wrote: > > > On Wed, Feb 20, 2008 at 10:08:49AM +1100, Nick Piggin wrote: > > > > > Also, how to you resolve the

Re: [patch 2/6] mmu_notifier: Callbacks to invalidate address ranges

2008-02-19 Thread Nick Piggin
On Wednesday 20 February 2008 14:00, Robin Holt wrote: > On Wed, Feb 20, 2008 at 02:00:38AM +0100, Andrea Arcangeli wrote: > > On Wed, Feb 20, 2008 at 10:08:49AM +1100, Nick Piggin wrote: > > > Also, how to you resolve the case where you are not allowed to sleep? > > > I would have thought either

Re: [patch 5/6] mmu_notifier: Support for drivers with revers maps (f.e. for XPmem)

2008-02-19 Thread Robin Holt
On Wed, Feb 20, 2008 at 10:55:20AM +1100, Nick Piggin wrote: > On Friday 15 February 2008 17:49, Christoph Lameter wrote: > > These special additional callbacks are required because XPmem (and likely > > other mechanisms) do use their own rmap (multiple processes on a series > > of remote Linux

Re: Improve init/Kconfig help descriptions [PATCH 6/9]

2008-02-19 Thread Paul Menage
On Feb 19, 2008 6:54 PM, Nick Andrew <[EMAIL PROTECTED]> wrote: > > config CGROUPS > bool "Control Group support" > help > Control Groups enables processes to be tracked and grouped > into "cgroups". This enables you, for example, to associate >

[PATCH] (linus git 02/19/08) Smack update for file capabilities

2008-02-19 Thread Casey Schaufler
From: Casey Schaufler <[EMAIL PROTECTED]> 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. Signed-off-by: Casey Schaufler <[EMAIL PROTECTED]> --- security/smack/smack_lsm.c | 87

Re: [PATCH 1/7] cgroup: fix and update documentation

2008-02-19 Thread Paul Menage
On Feb 18, 2008 12:39 AM, Li Zefan <[EMAIL PROTECTED]> wrote: > Misc fixes and updates, make the doc consistent with current > cgroup implementation. > > Signed-off-by: Li Zefan <[EMAIL PROTECTED]> Acked-by: Paul Menage <[EMAIL PROTECTED]> Thanks for these cleanups. Paul > --- >

Re: [PATCH 4/7] cgroup: fix memory leak in cgroup_get_sb()

2008-02-19 Thread Paul Menage
On Feb 17, 2008 9:49 PM, Li Zefan <[EMAIL PROTECTED]> wrote: > opts.release_agent is not kfree()ed in all necessary places. > > Signed-off-by: Li Zefan <[EMAIL PROTECTED]> Acked-by: Paul Menage <[EMAIL PROTECTED]> Good catch, although hopefully something that would be extremely rare in practice.

Re: [PATCH 6/7] cgroup: remove duplicate code in find_css_set()

2008-02-19 Thread Paul Menage
On Feb 17, 2008 9:49 PM, Li Zefan <[EMAIL PROTECTED]> wrote: > The list head res->tasks gets initialized twice in find_css_set(). > > Signed-off-by: Li Zefan <[EMAIL PROTECTED]> Acked-by: Paul Menage <[EMAIL PROTECTED]> > --- > kernel/cgroup.c |1 - > 1 files changed, 0 insertions(+), 1

Re: [PATCH v2][POWERPC] Fix initial lmb add region with a non-zero base

2008-02-19 Thread Kumar Gala
On Feb 19, 2008, at 6:30 PM, David Miller wrote: From: Kumar Gala <[EMAIL PROTECTED]> Date: Tue, 19 Feb 2008 13:51:37 -0600 (CST) If we add to an empty lmb region with a non-zero base we will not coalesce the number of regions down to one. This causes problems on ppc32 for the memory

Re: [PATCH 2/7] cgroup: fix comments

2008-02-19 Thread Paul Menage
On Feb 17, 2008 9:49 PM, Li Zefan <[EMAIL PROTECTED]> wrote: > fix: > - comments about need_forkexit_callback > - comments about release agent > - typo and comment style, etc. > > Signed-off-by: Li Zefan <[EMAIL PROTECTED]> > --- > include/linux/cgroup.h |2 +- > kernel/cgroup.c| 44

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

2008-02-19 Thread Shi Weihua
Roland McGrath wrote:: >> I spent some time read you mail carefully and dig into the code again. >> >> And yes, you are right. It's possible that SA_ONSTACK has been cleared >> before the second signal on the same stack comes. > > It's not necessary for SA_ONSTACK to have "been cleared", by which

Re: [patch 2/6] mmu_notifier: Callbacks to invalidate address ranges

2008-02-19 Thread Robin Holt
On Wed, Feb 20, 2008 at 02:00:38AM +0100, Andrea Arcangeli wrote: > On Wed, Feb 20, 2008 at 10:08:49AM +1100, Nick Piggin wrote: > > You can't sleep inside rcu_read_lock()! > > > > I must say that for a patch that is up to v8 or whatever and is > > posted twice a week to such a big cc list, it is

Re: [PATCH 5/7] cgroup: fix subsys bitops

2008-02-19 Thread Paul Menage
On Feb 17, 2008 9:49 PM, Li Zefan <[EMAIL PROTECTED]> wrote: > Cgroup uses unsigned long for subsys bitops, not unsigned long long. > > Signed-off-by: Li Zefan <[EMAIL PROTECTED]> Acked-by: Paul Menage <[EMAIL PROTECTED]> > --- > kernel/cgroup.c |4 ++-- > 1 files changed, 2 insertions(+),

Re: [2.6 patch] scsi/qla4xxx/ql4_isr.c: remove dead code

2008-02-19 Thread Andrew Vasquez
On Tue, 19 Feb 2008, James Bottomley wrote: > On Tue, 2008-02-19 at 18:35 -0800, Andrew Vasquez wrote: > > On Tue, 19 Feb 2008, James Bottomley wrote: > > > > > On Tue, 2008-02-19 at 21:29 +0200, Adrian Bunk wrote: > > > > This patch removes dead code spotted by the Coverity checker. > > > > >

Re: [PATCH 3/7] cgroup: clean up cgroup.h

2008-02-19 Thread Paul Menage
On Feb 17, 2008 9:49 PM, Li Zefan <[EMAIL PROTECTED]> wrote: > - replace old name 'cont' with 'cgrp' (Paul Menage did this cleanup for > cgroup.c in commit bd89aabc6761de1c35b154fe6f914a445d301510) > - remove a duplicate declaration of cgroup_path() > > Signed-off-by: Li Zefan <[EMAIL

  1   2   3   4   5   6   7   8   9   10   >