Re: [PATCH] m68k: Atari SCSI driver update_timeout removal

2007-06-04 Thread Christoph Hellwig
On Sun, Jun 03, 2007 at 12:55:04PM +0200, Geert Uytterhoeven wrote: > From: Michael Schmitz <[EMAIL PROTECTED]> > > Atari SCSI driver fixes: remove update_timeout kludge Looks good. James, can you send this on for 2.6.22 so the accidentally added cludge doesn't end up in any release version? > S

[PATCH] h8300 zImage support update.

2007-06-04 Thread Yoshinori Sato
- Add missing files - Add Makefile target - Change image base - Style fix Signed-off-by: Yoshinori Sato <[EMAIL PROTECTED]> diff --git a/arch/h8300/Makefile b/arch/h8300/Makefile index b2d896a..53b5c1e 100644 --- a/arch/h8300/Makefile +++ b/arch/h8300/Makefile @@ -61,10 +61,11 @@ archmrproper: a

Re: [RFD] BIO_RW_BARRIER - what it means for devices, filesystems, and dm/md.

2007-06-04 Thread Tejun Heo
Jens Axboe wrote: > On Sat, Jun 02 2007, Tejun Heo wrote: >> Hello, >> >> Jens Axboe wrote: Would that be very different from issuing barrier and not waiting for its completion? For ATA and SCSI, we'll have to flush write back cache anyway, so I don't see how we can get performance

nfsroot and locking

2007-06-04 Thread Michel Lespinasse
Hi, I have a quick question about nfsroot in linux: Is there any way to use nfsv3 in the nfsroot (nolock is OK there), and then mount other directories with locking enabled ? The default nfs options when using nfsroot are to use nfsv2 without locking. After booting, one can mount other filesystem

Re: libata & no PCI: dma_[un]map_single undefined

2007-06-04 Thread Christoph Hellwig
On Sun, Jun 03, 2007 at 05:40:10PM -0700, David Miller wrote: > From: Meelis Roos <[EMAIL PROTECTED]> > Date: Sun, 3 Jun 2007 23:23:33 +0300 (EEST) > > > I accidentally enabled libata config options on my Sun Ultra 1 (sparc64, > > UP, no PCI, only SBUS): > > > > MODPOST 440 modules > > ERROR:

Re: [RFC][PATCH -mm 1/2] PM: Introduce hibernation and suspend notifiers

2007-06-04 Thread Rafael J. Wysocki
On Monday, 4 June 2007 00:59, Pavel Machek wrote: > On Mon 2007-06-04 00:38:53, Rafael J. Wysocki wrote: > > On Sunday, 3 June 2007 18:41, Pavel Machek wrote: > > > Hi! > > > > > > > From: Rafael J. Wysocki <[EMAIL PROTECTED]> > > > > > > > > Make it possible to register hibernation and suspend n

Re: [RFC] Documentation/CodingStyle: Add rules for goto labels

2007-06-04 Thread WANG Cong
On Sun, Jun 03, 2007 at 11:59:26PM -0700, Jeremy Fitzhardinge wrote: >WANG Cong wrote: >> I just wonder, if a goto label is nested in a while/for/if/switch block, >> aligning it in >> the first column maybe a bit ugly. (I know mostly it is not in any >> while/for/if/switch block.) >> > >In gen

Re: A kexec approach to hibernation

2007-06-04 Thread Rafael J. Wysocki
Hi, On Monday, 4 June 2007 07:22, Nigel Cunningham wrote: > Hi. > > I can see that the idea of writing a kernel image from using another > kernel sounds nice and clean initially, but the more we get into the > details (yes, I am listening, even though I said nothing before now), > the more it's s

Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core

2007-06-04 Thread Ingo Molnar
* Andrew Morton <[EMAIL PROTECTED]> wrote: > I must say that it's not really clear to me why this fdmap thing was > created. Exactly what problem is it solving, and what properties is > it designed to have? > > Could not a (prehaps suitably modified) IDR tree have adequately > provided those

Re: [PATCH] sendfile removal

2007-06-04 Thread Jens Axboe
On Mon, Jun 04 2007, Fengguang Wu wrote: > Hi Jens, > > This is another try, still not in a comfortable state though. > //Busy waiting is possible for interleaved reads. A few random comments... Adding an internal flag is fine, but please put it at the upper end of the spectrum. So, use (1 << 31

Re: [2.6.22-rc3][ACPI?] Resume from s2r doesn't work.

2007-06-04 Thread Rafael J. Wysocki
On Sunday, 3 June 2007 23:20, Olaf Dietsche wrote: > "Rafael J. Wysocki" <[EMAIL PROTECTED]> writes: > > > Second, you can use PM_TRACE (Documentation/power/s2ram.txt) to find the > > place where it really fails. > > First I augmented my minimal config kernel with some TRACE_RESUME()s: > > --- a

Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core

2007-06-04 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > i think this sums it up: > > http://www.uwsg.iu.edu/hypermail/linux/kernel/0705.3/2490.html i mean this mail started it: http://linux.derkeiler.com/Mailing-Lists/Kernel/2007-05/msg13070.html > and some more, with a benchmark as well: > > http://

Re: A kexec approach to hibernation

2007-06-04 Thread Nigel Cunningham
Hi again. On Mon, 2007-06-04 at 10:05 +0200, Rafael J. Wysocki wrote: > On Monday, 4 June 2007 07:22, Nigel Cunningham wrote: > > Hi. > > > > I can see that the idea of writing a kernel image from using another > > kernel sounds nice and clean initially, but the more we get into the > > details (

Re: [-mm patch] drivers/i2c/chips/ds1682.c: make code static

2007-06-04 Thread Jean Delvare
Hi Adrian, On Sun, 3 Jun 2007 22:54:17 +0200, Adrian Bunk wrote: > This patch makes some needlessly global code static. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> > > --- > > drivers/i2c/chips/ds1682.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > --- linu

[RFC] Documentation/CodingStyle: Add rules for goto labels (-v2)

2007-06-04 Thread WANG Cong
Lindent gets wrong when it meets goto labels. This should be fixed manually. And kernel's CodingStyle doesn't specify the indentation for goto labels explicitly. This patch adds specifications on those things about goto labels in CodingStyle. And it is against -rc3 source tree. Thanks to Al Vi

Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core

2007-06-04 Thread Andrew Morton
On Mon, 4 Jun 2007 10:09:41 +0200 Ingo Molnar <[EMAIL PROTECTED]> wrote: > > * Ingo Molnar <[EMAIL PROTECTED]> wrote: > > > i think this sums it up: > > > > http://www.uwsg.iu.edu/hypermail/linux/kernel/0705.3/2490.html > > i mean this mail started it: > > http://linux.derkeiler.com/Mailin

Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core

2007-06-04 Thread Ingo Molnar
* Andrew Morton <[EMAIL PROTECTED]> wrote: > If we just want some pseudo-private fd space for glibc to use then I'd > have thought that the existing code could be tweaked to do that: > top-down allocation, start at some high offset, etc. But apparently > there's more to it than this. top-dow

Re: stallion driver dmesg notice

2007-06-04 Thread Jiri Slaby
Ingo Korb wrote: > > > Should I test it with an EC8/64-PCI? The /32 (ab)uses an IDE controller > > > chip as PCI interface, the /64 uses a PLX PCI9050. > > > > I don't undestand this. IDE grabs the device? This is possible and if yes, > > I'll fix the IDE driver. > > Yes, IDE (specifically: gene

Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core

2007-06-04 Thread Andrew Morton
On Mon, 4 Jun 2007 10:42:27 +0200 Ingo Molnar <[EMAIL PROTECTED]> wrote: > > * Andrew Morton <[EMAIL PROTECTED]> wrote: > > > If we just want some pseudo-private fd space for glibc to use then I'd > > have thought that the existing code could be tweaked to do that: > > top-down allocation, sta

Re: [Patch 06/18] fs/logfs/compr.c

2007-06-04 Thread Jörn Engel
On Sun, 3 June 2007 23:58:43 +0200, Arnd Bergmann wrote: > On Sunday 03 June 2007, Jörn Engel wrote: > > +#define COMPR_LEVEL 3 > > + > > +static DEFINE_MUTEX(compr_mutex); > > +static struct z_stream_s stream; > > Is there a particular reason to choose '3' as the only compression > level? Should

Re: [Patch 09/18] fs/logfs/gc.c

2007-06-04 Thread Jörn Engel
On Mon, 4 June 2007 00:07:36 +0200, Arnd Bergmann wrote: > On Sunday 03 June 2007, Jörn Engel wrote: > > +static long decay(long t0, long t, long theta) > > +{ > > +   long shift, fac; > > + > > +   if (t >= 32*theta) > > +   return 0; > > + > > +   shift = t/theta; > > +   

[PATCH] sundance: PHY address form 0, only for device ID 0x0200 (IP100A)

2007-06-04 Thread Jesse Huang
From: Jesse Huang <[EMAIL PROTECTED]> Change Logs: Search PHY address form 0, only for device ID 0x0200 (IP100A). Other device are from PHY address 1. Signed-off-by: Jesse Huang <[EMAIL PROTECTED]> --- drivers/net/sundance.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) 5724a7

Re: LogFS take four

2007-06-04 Thread Jörn Engel
On Mon, 4 June 2007 00:18:21 +0200, Arnd Bergmann wrote: > On Sunday 03 June 2007, Jörn Engel wrote: > > > Unchanged: > > o error handling > > > ... > > Won't happen (unless I get convinced to do otherwise): > > o Change LOGFS_BUG() and LOGFS_BUG_ON() to inline functions > > These are macros fo

Re: [Patch 14/18] fs/logfs/segment.c

2007-06-04 Thread Jörn Engel
On Mon, 4 June 2007 00:21:41 +0200, Arnd Bergmann wrote: > On Sunday 03 June 2007, Jörn Engel wrote: > > +static DEFINE_MUTEX(compr_mutex); > > + > > It seems you define a static compre_mutex in both segment.c and in compr.c, > and always lock them both at the same time. Is that a correct observat

Re: [Patch 05/18] fs/logfs/logfs.h

2007-06-04 Thread Jörn Engel
On Sun, 3 June 2007 23:50:55 +0200, Arnd Bergmann wrote: > On Sunday 03 June 2007, Jörn Engel wrote: > > +/** > > + * struct logfs_device_ops - device access operations > > + * > > + * @read:  read from the device > > + * @write: write to the device > > + * @

Re: [Patch 04/18] include/linux/logfs.h

2007-06-04 Thread Jörn Engel
On Sun, 3 June 2007 23:42:25 +0200, Arnd Bergmann wrote: > On Sunday 03 June 2007, Jörn Engel wrote: > > +struct logfs_je_spillout { > > +   __be64  so_segment[0]; > > +}__packed; > > All the on-disk data structures you define in this file have naturally > aligned members, so the __packed attr

[PATCH 1/1] ide: ide-generic, add another device exception

2007-06-04 Thread Jiri Slaby
ide-generic, add another device exception This device is char device and is grabbed by generic ide driver: 00:0b.0 Class : National Semiconductor Corporation 87410 IDE (rev ff) (prog-if ff) Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-

Re: 2.6.22-rc1-mm1 [cannot change thermal trip points]

2007-06-04 Thread Stefan Seyfried
On Thu, May 17, 2007 at 06:35:48PM -0400, Len Brown wrote: > Yes, SuSE enables polling mode by default, but that is just > distro specific "value add" that should eventually be fixed. I will do that for openSUSE FACTORY. -- Stefan Seyfried QA / R&D Team Mobile Devices| "Any

Re: 2.6.22-rc1-mm1 [cannot change thermal trip points]

2007-06-04 Thread Stefan Seyfried
On Tue, May 22, 2007 at 11:06:36AM +0200, Pavel Machek wrote: > We need to ignore trip point updates from BIOS, and we need to poll > thermals when use overrides trip points. That's expected. Plus I've > yet to see platform actually updating the trip points. Thinkpad 600, whenever a trip point i

Re: hisax isdn card (Sedlbauer Speed Fax+) does not get an interrupt

2007-06-04 Thread Thomas Voegtle
Hi Robert, On Thu, 31 May 2007, Robert Hancock wrote: > Thomas Voegtle wrote: > > > > == [...] > > <03>2007 May 30 14:21:40 cbs kern: irq 11: nobody cared (try booting with > > the \"irqpoll\" option) > > <04>2007 May 30 14:

[PATCH] update checkpatch.pl to version 0.03

2007-06-04 Thread Andy Whitcroft
This version brings a host of changes to cure false positives and bugs detected on patches submitted to lkml and -mm. It also brings a number of new tests in response to reviews, of particular note: - catch use of volatile - allow deprecated functions to be listed in feature-removal-schedule

Re: patch-2.6.21.3-rt9 misnamed?

2007-06-04 Thread Joachim Deguara
On Friday 01 June 2007 18:11:11 Matt Mackall wrote: > On Thu, May 31, 2007 at 10:01:09PM +0200, Ingo Molnar wrote: > > * K.R. Foley <[EMAIL PROTECTED]> wrote: > > > Ingo Molnar wrote: > > > > * K.R. Foley <[EMAIL PROTECTED]> wrote: > > > >> Ingo, > > > >> > > > >> I believe that patch-2.6.21.3-rt9

Re: [Patch 05/18] fs/logfs/logfs.h

2007-06-04 Thread Jan Engelhardt
>On Sunday 03 June 2007, Jörn Engel wrote: >> +/** >> + * struct logfs_device_ops - device access operations >> + * >> + * @read:  read from the device >> + * @write: write to the device >> + * @erase: erase part of the device >> + */ >>

Re: [kvm-devel] [BUG] Oops with KVM-27

2007-06-04 Thread Avi Kivity
Luca Tettamanti wrote: Hello, my kernel just exploded :) The host is running 2.6-git-current, with KVM modules from KVM-27 package. kernel is 32bit, SMP, with PREEMPT enabled, no HIGHMEM (but I'm using CONFIG_VMSPLIT_3G_OPT=y). The CPU is a Core2 (hence I'm using kvm-intel). Guest was a Fedora7

Re: RTC_DRV_CMOS can break userspace interface

2007-06-04 Thread Tino Keitel
On Fri, Jun 01, 2007 at 13:54:23 +0100, Matthew Garrett wrote: > On Fri, Jun 01, 2007 at 09:46:06AM +0200, Tino Keitel wrote: > > Yes, you are right. I think this issue should be covered by Kconfig. > > > > However: > > > > $ cat wakealarm > > cat: wakealarm: Input/output error > > > > It worke

[Q] Bio traversal trouble?

2007-06-04 Thread Rene Herman
Hi Jens, list. The new Mitsumi legacy CD-ROM driver seems largely done. Both audio and data work (and the driver's clean) but data does still have a problem that I think needs some input from a block person. I don't have any idea... Audio is fine, and data basically as well. It's performing a

Re: [PATCH] fix race in AF_UNIX

2007-06-04 Thread Miklos Szeredi
> A recv() on an AF_UNIX, SOCK_STREAM socket can race with a > send()+close() on the peer, causing recv() to return zero, even though > the sent data should be received. > > This happens if the send() and the close() is performed between > skb_dequeue() and checking sk->sk_shutdown in unix_stream_

Re: libata & no PCI: dma_[un]map_single undefined

2007-06-04 Thread Geert Uytterhoeven
[ Your email has `m68k' in the body, so I read it :-] On Sun, 3 Jun 2007, David Miller wrote: > diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig > index b4a8d60..7d893a6 100644 > --- a/drivers/ata/Kconfig > +++ b/drivers/ata/Kconfig > @@ -8,6 +8,7 @@ menuconfig ATA > depends on BLOCK

Re: [PATCH] fix race in AF_UNIX

2007-06-04 Thread Miklos Szeredi
(resend, sorry, fscked up the address list) > A recv() on an AF_UNIX, SOCK_STREAM socket can race with a > send()+close() on the peer, causing recv() to return zero, even though > the sent data should be received. > > This happens if the send() and the close() is performed between > skb_dequeue()

[PATCH] update feature-removal-schedule.txt to include deprecated functions

2007-06-04 Thread Andy Whitcroft
Now that deprecated functions are detected out of Documentation/feature-removal-schedule.txt update this to include kernel_thread. Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> --- This was missed from the update to checkpatch.pl version 0.03 patch, and probabally should be f

Re: patch-2.6.21.3-rt9 misnamed?

2007-06-04 Thread Ingo Molnar
* Joachim Deguara <[EMAIL PROTECTED]> wrote: > > Including 2.6.21.3 in your patch will break ketchup. > > ketchup already breaks with the current rt9 patch. we'll release -rt10 probably later today, which will fix this. (it will be named 2.6.21.3-rt10 and will be against 2.6.21.3) Ing

Re: [patch 0/2] m68k 53c700 SCSI

2007-06-04 Thread Christoph Hellwig
On Sun, Jun 03, 2007 at 01:21:36PM +0200, Geert Uytterhoeven wrote: > Hi James, > > Here are the updates for m68k 53c700 SCSI drivers: > [1] m68k: BVME6000 and MVME16x SCSI driver rename > [2] m68k: switch to 53c700 driver As I mentioned in the description for the 53c7xx removal patch I thi

Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core

2007-06-04 Thread Eric Dumazet
On Mon, 4 Jun 2007 01:34:49 -0700 Andrew Morton <[EMAIL PROTECTED]> wrote: > On Mon, 4 Jun 2007 10:09:41 +0200 Ingo Molnar <[EMAIL PROTECTED]> wrote: > > > > > * Ingo Molnar <[EMAIL PROTECTED]> wrote: > > > > > i think this sums it up: > > > > > > http://www.uwsg.iu.edu/hypermail/linux/kernel

WARNING: at mm/slab.c:777 __find_general_cachep() in 2.6.22-rc3

2007-06-04 Thread Biker
While testing 2.6.22-rc3 I sometime get the following message in syslog: WARNING: at mm/slab.c:777 __find_general_cachep() [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] === The system works fine, as far as I can tell, but I thought you might

Re: alpha modpost warnings

2007-06-04 Thread Sam Ravnborg
> > Something for COMMON symbols was fixed for powerpc recently, the warning > is gone there. For PowerPC the symbol was declared .common in the .S file. Sam - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majo

Re: A kexec approach to hibernation

2007-06-04 Thread Pavel Machek
Hi! > >> But kernel threads also rely on userspace, due to e.g. fuse and usermode > >> helpers. > > > Yes, I know that and I think these issues are solvable within the current > > approach. > > It seems like it would be very hard to get writing of an image to a > fuse filesystem working under th

Re: stallion driver dmesg notice

2007-06-04 Thread Ingo Korb
Jiri Slaby <[EMAIL PROTECTED]> writes: > Okay, tty alloc after pci init, attached patch should fix it. Could you > retest? Loads find and seems to work with basic tests (and no character loss, yay!). I'll try 8-link bonded ppp when I've set up a second box. -ik - To unsubscribe from this list:

Re: [PATCH] powernow-k8: depend on acpi-processor for SMP systems

2007-06-04 Thread Pavel Machek
On Thu 2007-05-17 06:24:22, Ed Sweetman wrote: > Pavel Machek wrote: > >Hi! > > > > > >>powernow-k8 uses PSB BIOS tables to read frequency info on UP systems, but > >>on SMP it requires the acpi-processor driver. Kconfig should be updated > >>accordingly to avoid the issues that users are running

Re: [AppArmor 38/45] AppArmor: Module and LSM hooks

2007-06-04 Thread Pavel Machek
On Wed 2007-05-23 18:16:45, Andreas Gruenbacher wrote: > On Tuesday 15 May 2007 11:14, Pavel Machek wrote: > > Why is this configurable? > > The maximum length of a pathname is an arbitrary limit: we don't want to > allocate arbitrary amounts of of kernel memory for pathnames so we introduce >

Re: gmail is a bit too popular..

2007-06-04 Thread David Woodhouse
On Tue, 2007-05-08 at 08:43 +0200, Adrian Bunk wrote: > BTW (not related to gmail): > Are there any news regarding the buggy 451 handling in zmailer I'm > reporting again and again that regularly results in every single > linux-kernel message sent to me being delayed by up to 13 hours? Er, you'

Re: WARNING: at mm/slab.c:777 __find_general_cachep() in 2.6.22-rc3

2007-06-04 Thread Alexey Dobriyan
On 6/4/07, Biker <[EMAIL PROTECTED]> wrote: WARNING: at mm/slab.c:777 __find_general_cachep() [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] Please, enable CONFIG_DEBUG_BUGVERBOSE, or decipher addresses into function calls yourself. - To unsubscribe from this list: sen

Re: lid switch hangs notebook

2007-06-04 Thread Antonio Mignolli
Hi. The problem reported below has not been solved, I tried with the last stable kernel 2.6.21.3. But it seems not to be an ACPI issue, I removed ACPI support from the kernel, and still have the problem. What else could be? On 4/13/07, Bjorn Helgaas <[EMAIL PROTECTED]> wrote: On Thursday 15 Mar

Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware before hibernation/suspend

2007-06-04 Thread Pavel Machek
Hi! > > > The theoretical answer is that it behaves the way we want. The kernel > > > thread does selective resumes in response to device requests. If such > > > a request comes in while the system is asleep it will awaken the > > > system; so it's only logical that a request coming in while

Re: [2.6.21.1] resume doesn't run suspended kernel?

2007-06-04 Thread Pavel Machek
Hi! > > > They are already. > > > > ...but will that place still be safe when we use other version of > > kernel? > > They'll be in the image too, won't they? Failing that, the information > could be stored in the image header. > > > Anyway, pagedirs are on the safe place, right? That means tha

Re: [2.6.21.1] resume doesn't run suspended kernel?

2007-06-04 Thread Nigel Cunningham
Hi. On Mon, 2007-06-04 at 13:02 +0200, Pavel Machek wrote: > Hi! > > > > > They are already. > > > > > > ...but will that place still be safe when we use other version of > > > kernel? > > > > They'll be in the image too, won't they? Failing that, the information > > could be stored in the imag

Re: 2.6.22-rc1-mm1 [cannot change thermal trip points]

2007-06-04 Thread Pavel Machek
On Mon 2007-06-04 11:02:01, Stefan Seyfried wrote: > On Thu, May 17, 2007 at 06:35:48PM -0400, Len Brown wrote: > > > Yes, SuSE enables polling mode by default, but that is just > > distro specific "value add" that should eventually be fixed. > > I will do that for openSUSE FACTORY. Well, I sti

Re: [AppArmor 01/41] Pass struct vfsmount to the inode_create LSM hook

2007-06-04 Thread Pavel Machek
On Fri 2007-06-01 11:00:50, [EMAIL PROTECTED] wrote: > On Fri, 1 Jun 2007, [EMAIL PROTECTED] wrote: > > >On Thu, 24 May 2007 14:47:27 -, Pavel Machek said: > >>Yes, if there's significantly more remote bad guys than local bad > >>guys, and if remote bad guys can't just get some local user firs

Re: 2.6.22-rc1-mm1 [cannot change thermal trip points]

2007-06-04 Thread Pavel Machek
On Thu 2007-05-31 22:46:11, Len Brown wrote: > On Monday 21 May 2007 08:11, Pavel Machek wrote: > > On Thu 2007-05-17 18:42:43, Len Brown wrote: > > > > Something similar happened to me on XE3, yes. > > > > > > > > (Actual values were different; BIOS specified critical temperature at > > > > cca 9

[PATCH] Remove apparently useless, commented apm_get_battery_status().

2007-06-04 Thread Robert P. J. Day
Remove the "#if 0"ed definition of apm_get_battery_status(). Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> Acked-by: Stephen Rothwell <[EMAIL PROTECTED]> --- diff --git a/arch/i386/kernel/apm.c b/arch/i386/kernel/apm.c index 4112afe..5c6da2b 100644 --- a/arch/i386/kernel/apm.c +++ b/arch/

Re: [PATCH] sendfile removal

2007-06-04 Thread Fengguang Wu
On Mon, Jun 04, 2007 at 10:05:35AM +0200, Jens Axboe wrote: > On Mon, Jun 04 2007, Fengguang Wu wrote: > > Hi Jens, > > > > This is another try, still not in a comfortable state though. > > //Busy waiting is possible for interleaved reads. > > A few random comments... > > Adding an internal flag

2.6.22-rc[23]: blinking capslock led, stuck keys?

2007-06-04 Thread Pavel Machek
Hi! I started getting blinking capslock leds in 2.6.22-somewhere. Every 5 seconds or so, capslock led toggles on thinkpad x60. Ouch. I also get some stuck keys I was not getting before. I hope my userland did not go crazy...

Re: [AppArmor 38/45] AppArmor: Module and LSM hooks

2007-06-04 Thread Andreas Gruenbacher
On Monday 04 June 2007 12:55, Pavel Machek wrote: > On Wed 2007-05-23 18:16:45, Andreas Gruenbacher wrote: > > On Tuesday 15 May 2007 11:14, Pavel Machek wrote: > > > Why is this configurable? > > > > The maximum length of a pathname is an arbitrary limit: we don't want to > > allocate arbitrary am

[bug] very high non-preempt latency in context_struct_compute_av()

2007-06-04 Thread Ingo Molnar
a simple ssh login triggers a ~130 msecs non-preemptible latency even with CONFIG_PREEMPT enabled, on a fast Core2Duo CPU (!). the latency is caused by a _very_ long loop in the SELinux code: sshd-4828 0.N.. 465894us : avtab_search_node (context_struct_compute_av) sshd-4828 0.N.. 4658

Re: [AppArmor 38/45] AppArmor: Module and LSM hooks

2007-06-04 Thread Pavel Machek
On Mon 2007-06-04 13:25:30, Andreas Gruenbacher wrote: > On Monday 04 June 2007 12:55, Pavel Machek wrote: > > On Wed 2007-05-23 18:16:45, Andreas Gruenbacher wrote: > > > On Tuesday 15 May 2007 11:14, Pavel Machek wrote: > > > > Why is this configurable? > > > > > > The maximum length of a pathnam

Re: [AppArmor 38/45] AppArmor: Module and LSM hooks

2007-06-04 Thread Andreas Gruenbacher
On Monday 04 June 2007 13:35, Pavel Machek wrote: > On Mon 2007-06-04 13:25:30, Andreas Gruenbacher wrote: > > On Monday 04 June 2007 12:55, Pavel Machek wrote: > > > On Wed 2007-05-23 18:16:45, Andreas Gruenbacher wrote: > > > > On Tuesday 15 May 2007 11:14, Pavel Machek wrote: > > > > > Why is th

Re: [PATCH] Fix roundup_pow_of_two(1)

2007-06-04 Thread Adrian Bunk
On Thu, May 17, 2007 at 11:56:56PM +0200, Rolf Eike Beer wrote: > Fix roundup_pow_of_two(1) > > 1 is a power of two, therefore roundup_pow_of_two(1) should return 1. It does > in case the argument is a variable but in case it's a constant it behaves > wrong and returns 0. Probably nobody ever did

apic related BUG: soft lockup detected on CPU#0!

2007-06-04 Thread Frank van Maarseveen
FYI, 2.6.21.1, tainted with ATI fglrx driver (so maybe take it with a grain of salt): When I attempted to kill -9 an unresponsive looping X server (desktop processes were gone at that time) the system locked up and reported the following: BUG: soft lockup detected on CPU#0! [] show_trace_log_lv

Re: [PATCH 13/22] 2.6.22-rc3 perfmon2 : common core functions

2007-06-04 Thread Stephane Eranian
Andi, On Thu, May 31, 2007 at 05:01:38PM +0200, Andi Kleen wrote: > > + * pmu_desc: subdir containing the PMU register mapping information > > + > > + * reset_stats(W): echo 0 > reset_stats resets the statistics collected > > by perfmon2. > > + stats are available per-cpu in

Re: 2.6.22-rc[23]: blinking capslock led, stuck keys?

2007-06-04 Thread Éric Piel
06/04/2007 01:24 PM, Pavel Machek wrote/a écrit: Hi! I started getting blinking capslock leds in 2.6.22-somewhere. Every 5 seconds or so, capslock led toggles on thinkpad x60. Ouch. Could it be related to commit f038f9a361a764ed013447174b7170073f89cbe9 aka "Add keyboard blink driver" ? Probabl

Re: gmail is a bit too popular..

2007-06-04 Thread Matti Aarnio
On Mon, Jun 04, 2007 at 11:55:32AM +0100, David Woodhouse wrote: > On Tue, 2007-05-08 at 08:43 +0200, Adrian Bunk wrote: > > BTW (not related to gmail): > > Are there any news regarding the buggy 451 handling in zmailer I'm > > reporting again and again that regularly results in every single > >

Re: [PATCH -mm] 1/2: MMCONFIG: validate against ACPI motherboard resources

2007-06-04 Thread Olivier Galibert
On Tue, May 29, 2007 at 10:03:32PM -0600, Robert Hancock wrote: > -Validate that the area is reserved even if we read it from the > chipset directly and not from the MCFG table. This catches the case > where the BIOS didn't set the location properly in the chipset and > has mapped it over other thi

Re: [PATCH] Fix roundup_pow_of_two(1)

2007-06-04 Thread Rolf Eike Beer
Adrian Bunk wrote: > On Thu, May 17, 2007 at 11:56:56PM +0200, Rolf Eike Beer wrote: > > Fix roundup_pow_of_two(1) > > > > 1 is a power of two, therefore roundup_pow_of_two(1) should return 1. It > > does in case the argument is a variable but in case it's a constant it > > behaves wrong and return

Re: RTC_DRV_CMOS can break userspace interface

2007-06-04 Thread Matthew Garrett
On Mon, Jun 04, 2007 at 11:35:18AM +0200, Tino Keitel wrote: (By the way, it helps if you Cc: me - it's easy to lose track of things in the LKML noise) > Here it is: > > state = active > io 0x70-0x77 > options Yes, there's no IRQ listed. Can you try current git? -- Matthew Garrett | [EMAIL PR

[PATCH -mm] Fix /proc/slab_allocators re seq_list_next() conversion

2007-06-04 Thread Alexey Dobriyan
Wrong pointer was used as kmem_cache pointer. [Here /proc/slab_allocators appears as empty file, but it's just me, probably] Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- mm/slab.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/slab.c +++ b/mm/slab.c @@ -4401,7 +440

Re: [PATCH -mm] Fix /proc/slab_allocators re seq_list_next() conversion

2007-06-04 Thread Pavel Emelianov
Alexey Dobriyan wrote: > Wrong pointer was used as kmem_cache pointer. > > [Here /proc/slab_allocators appears as empty file, but it's just me, probably] > > Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> Acked-by: Pavel Emelianov <[EMAIL PROTECTED]> > --- > > mm/slab.c |2 +- > 1 fil

Re: 2.6.22-rc[23]: blinking capslock led, stuck keys?

2007-06-04 Thread Jiri Kosina
On Mon, 4 Jun 2007, Indan Zupancic wrote: > > I also get some stuck keys I was not getting before. I hope my > > userland did not go crazy... > I get that too, and wasn't sure about it either. It happens irregularly, > so it's hard to debug, but often enough to be annoying. What kind of keyboards

Re: A kexec approach to hibernation

2007-06-04 Thread Matthew Garrett
On Mon, Jun 04, 2007 at 12:46:21PM +0200, Pavel Machek wrote: > sync is perfectly safe way of telling the fs to store data on disk. On disk, yes. On the filesystem, no. It's valid for the data to be left in the journal, for instance. -- Matthew Garrett | [EMAIL PROTECTED] - To unsubscribe from

Re: [PATCH 2/2] ehea: Receive SKB Aggregation

2007-06-04 Thread Christoph Raisch
Stephen Hemminger wrote on 31.05.2007 18:37:03: > > > > > > > +static int try_get_ip_tcp_hdr(struct ehea_cqe *cqe, struct sk_buff *skb, > > + struct iphdr **iph, struct tcphdr **tcph) > > +{ > > + int ip_len; > > + > > + /* non tcp/udp packets */ > > + if (!cqe->header_lengt

Re: [PATCH 2/2] ehea: Receive SKB Aggregation

2007-06-04 Thread Christoph Raisch
Christoph Hellwig wrote on 31.05.2007 15:41:18: > I'm still very unhappy with having all this in various drivers. There's > a lot of code that can be turned into generic library functions, and even > more code that could be made generic with some amount of refactoring. Yes, we'd also prefer to

Re: 2.6.22-rc3 hibernate(?) disables SMART on ide

2007-06-04 Thread Alan Cox
> 3) There should be no bad effect from enabling smart, except if the BIOS >insists on not booting because of a bad RAID disk. (That's why I like >to disable it in the BIOS) With a couple of exceptions unfortunately. Belongs in udev and smartd so its controllable and flexible (and also swa

Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core

2007-06-04 Thread Davide Libenzi
On Mon, 4 Jun 2007, Eric Dumazet wrote: > Goals : > 1) libc wants 'private fds' > 2) Latencies of get_unused_fd() for huge processes (more than 100.000 file > handles) > > Point 1) can use a top-down allocation, or use a 'last unused' index. > > > Point 2) Instead of introducing a *complex* la

Re: [PATCH 1/1] ide: ide-generic, add another device exception

2007-06-04 Thread Sergei Shtylyov
Hello. Jiri Slaby wrote: diff --git a/drivers/ide/pci/generic.c b/drivers/ide/pci/generic.c index f2c5a14..0d51a11 100644 --- a/drivers/ide/pci/generic.c +++ b/drivers/ide/pci/generic.c @@ -198,32 +198,41 @@ static ide_pci_device_t generic_chipsets[] __devinitdata = { static int __devinit gen

Re: [PATCH] Fix roundup_pow_of_two(1)

2007-06-04 Thread Jiri Kosina
On Mon, 4 Jun 2007, Adrian Bunk wrote: > > 1 is a power of two, therefore roundup_pow_of_two(1) should return 1. It > > does > > in case the argument is a variable but in case it's a constant it behaves > > wrong and returns 0. Probably nobody ever did it so this was never noticed. > I'm not gett

Re: 2.6.22-rc[23]: blinking capslock led, stuck keys?

2007-06-04 Thread Jiri Kosina
On Mon, 4 Jun 2007, Pavel Machek wrote: > I started getting blinking capslock leds in 2.6.22-somewhere. Every 5 > seconds or so, capslock led toggles on thinkpad x60. Ouch. I also get > some stuck keys I was not getting before. I hope my userland did not go > crazy... Hi Pavel, what does

Re: 2.6.22-rc[23]: blinking capslock led, stuck keys?

2007-06-04 Thread Indan Zupancic
On Mon, June 4, 2007 13:24, Pavel Machek wrote: > I also get some stuck keys I was not getting before. I hope my > userland did not go crazy... I get that too, and wasn't sure about it either. It happens irregularly, so it's hard to debug, but often enough to be annoying. My mouse pointer tends t

Re: gmail is a bit too popular..

2007-06-04 Thread Adrian Bunk
On Mon, Jun 04, 2007 at 11:55:32AM +0100, David Woodhouse wrote: > On Tue, 2007-05-08 at 08:43 +0200, Adrian Bunk wrote: > > BTW (not related to gmail): > > Are there any news regarding the buggy 451 handling in zmailer I'm > > reporting again and again that regularly results in every single > >

Re: [PATCH 1/1] ide: ide-generic, add another device exception

2007-06-04 Thread Jiri Slaby
Sergei Shtylyov napsal(a): > Hello. > > Jiri Slaby wrote: > >> diff --git a/drivers/ide/pci/generic.c b/drivers/ide/pci/generic.c >> index f2c5a14..0d51a11 100644 >> --- a/drivers/ide/pci/generic.c >> +++ b/drivers/ide/pci/generic.c >> @@ -198,32 +198,41 @@ static ide_pci_device_t generic_chipset

Re: [2.6.21.1] SATA freeze

2007-06-04 Thread Tomasz Chmielewski
Fred Moyer wrote: Sounds like SMART is likely disabled on that drive. You can try doing "smartctl -s on /dev/sda" and see if that will turn it on. Sorry - that last post of mine was brain dead. Here's the one with (hopefully) useful data. app2 ~ # smartctl -d ata -a /dev/sda smartctl ve

Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core

2007-06-04 Thread Davide Libenzi
On Mon, 4 Jun 2007, Andrew Morton wrote: > a) Were IDR trees evaluated and if so, why were they rejected? > > b) it's a bit disappointing that this new allocator is only usable for >one specific application. We have a *lot* of places in the kernel which >want allocators of this type. Ma

Re: 2.6.22-rc[23]: blinking capslock led, stuck keys?

2007-06-04 Thread Pavel Machek
On Mon 2007-06-04 14:35:23, Jiri Kosina wrote: > On Mon, 4 Jun 2007, Pavel Machek wrote: > > > I started getting blinking capslock leds in 2.6.22-somewhere. Every 5 > > seconds or so, capslock led toggles on thinkpad x60. Ouch. I also get > > some stuck keys I was not getting before. I hope my u

Re: A kexec approach to hibernation

2007-06-04 Thread Pavel Machek
On Mon 2007-06-04 13:20:54, Matthew Garrett wrote: > On Mon, Jun 04, 2007 at 12:46:21PM +0200, Pavel Machek wrote: > > > sync is perfectly safe way of telling the fs to store data on disk. > > On disk, yes. On the filesystem, no. It's valid for the data to be left > in the journal, for instance.

Re: [AppArmor 38/45] AppArmor: Module and LSM hooks

2007-06-04 Thread Pavel Machek
Hi! > > > You very well know that the vfs has a limit of PATH_MAX characters (4096) > > > for pathnames. This means that at most that many characters can be passed > > > at once. > > What users can do is something like this: > > chdir("some/long/path"); > chdir("some/even/longer/path"); >

Re: 2.6.22-rc[23]: blinking capslock led, stuck keys?

2007-06-04 Thread Jiri Kosina
On Mon, 4 Jun 2007, Pavel Machek wrote: > CONFIG_BLINK=y > OOps. WTF is that? > > config BLINK > tristate "Keyboard blink driver" > help > Driver that when loaded will blink the keyboard LEDs > continuously. > This is useful for debugging and for kernels that cannot >

Re: [PATCH 1/1] ide: ide-generic, add another device exception

2007-06-04 Thread Sergei Shtylyov
Hello. Jiri Slaby wrote: diff --git a/drivers/ide/pci/generic.c b/drivers/ide/pci/generic.c index f2c5a14..0d51a11 100644 --- a/drivers/ide/pci/generic.c +++ b/drivers/ide/pci/generic.c @@ -198,32 +198,41 @@ static ide_pci_device_t generic_chipsets[] __devinitdata = { static int __devinit gener

Re: [PATCH 1/1] ide: ide-generic, add another device exception

2007-06-04 Thread Jiri Slaby
Sergei Shtylyov napsal(a): > Hello. Hi. >Sorry -- I thought it was a part of kernel style, but it appeared to > be my aesthetical preference only. :-) Ok, anyway thanks for reviewing, -- http://www.fi.muni.cz/~xslaby/Jiri Slaby faculty of informatics, masaryk university, brno, c

Re: A kexec approach to hibernation

2007-06-04 Thread Matthew Garrett
On Mon, Jun 04, 2007 at 03:10:00PM +0200, Pavel Machek wrote: > On Mon 2007-06-04 13:20:54, Matthew Garrett wrote: > > On Mon, Jun 04, 2007 at 12:46:21PM +0200, Pavel Machek wrote: > > > > > sync is perfectly safe way of telling the fs to store data on disk. > > > > On disk, yes. On the filesyste

Re: [PATCH] Fix roundup_pow_of_two(1)

2007-06-04 Thread Adrian Bunk
On Mon, Jun 04, 2007 at 02:13:11PM +0200, Rolf Eike Beer wrote: > Adrian Bunk wrote: > > On Thu, May 17, 2007 at 11:56:56PM +0200, Rolf Eike Beer wrote: > > > Fix roundup_pow_of_two(1) > > > > > > 1 is a power of two, therefore roundup_pow_of_two(1) should return 1. It > > > does in case the argume

[PATCH 0/8] RSS controller based on process containers (v3.1)

2007-06-04 Thread Pavel Emelianov
Adds RSS accounting and control within a container. Changes from v3 - comments across the code - git-bisect safe split - lost places to move the page between active/inactive lists Ported above Paul's containers V10 with fixes from Balbir. RSS container includes the per-container RSS accountin

[PATCH 1/8] Resource counters

2007-06-04 Thread Pavel Emelianov
Introduce generic structures and routines for resource accounting. Each resource accounting container is supposed to aggregate it, container_subsystem_state and its resource-specific members within. Signed-off-by: Pavel Emelianov <[EMAIL PROTECTED]> --- diff -upr linux-2.6.22-rc2-mm1.orig/inclu

Re: libata & no PCI: dma_[un]map_single undefined

2007-06-04 Thread Alan Cox
> > CONFIG_PCI=n > > CONFIG_ATA=m > > > > This seems to be a valid configuration since libata can drive non-PCI > > devices too? Yep. > It really makes no sense to allow this on Sparc, there are no > non-PCI Sparc ATA controllers. There are PCMCIA controllers and PCI/PCMCIA/Cardbus adapters fo

  1   2   3   4   5   6   >