Re: [PATCH 40] drivers/atm/iphase.c: mostly kmalloc + memset conversion to kzalloc

2007-07-31 Thread David Miller
From: Mariusz Kozlowski <[EMAIL PROTECTED]> Date: Tue, 31 Jul 2007 20:18:55 +0200 > Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> Patch doesn't apply, perhaps there are some changes to this driver in the -mm tree. - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: Multiple CD-ROM Drives

2007-07-31 Thread Cal Peake
On Mon, 30 Jul 2007, Brian D. McGrew wrote: > Using FC5 with a 2.6.15 kernel my system (Dell Optiplex) see both > drives. > > Using the 2.6.16.16 kernel that I've built I see no CD-ROM drives. > > What could I have missed in the configuration? Maybe send your working and broken configs to be

Re: [PATCH] Use ERESTARTNOHAND if poll() is interrupted by a signal

2007-07-31 Thread Oleg Nesterov
On 07/31, Manfred Spraul wrote: > > Mainline has the same problem: poll() returns to user space if it's > interrupted by SIGSTOP/SIGCONT. > >I guess the consequences of the thing-which-this-fixes aren't huge, s I ca > >queue this up for 2.6.24, after Oleg's >

[PATCH] expand /proc/interrupts to include missing vectors, v4

2007-07-31 Thread Joe Korty
[ v3-v4 changelog: s/irq_spur_counts/irq_spurious_counts/g (Andrew Morton) tweaked documentation (Andi Kleen) moved increments before irq_exit as appropriate (Andi Kleen) whitespace cleanup (Andi Kleen) ] Add missing IRQs and IRQ descriptions to /proc/interrupts, version 4.

Re: [PATCH 39] net/ipv4/ip_options.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread David Miller
From: Mariusz Kozlowski <[EMAIL PROTECTED]> Date: Tue, 31 Jul 2007 20:16:59 +0200 > Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> Applied, but note that this patch changes behavior, previously only the ip_options structure base was cleared out, but now the whole memory region is cleared.

Re: [PATCH 20] net/decnet/dn_route.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread David Miller
From: Mariusz Kozlowski <[EMAIL PROTECTED]> Date: Tue, 31 Jul 2007 19:33:33 +0200 > Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> Patch applied, thanks. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo

Re: [PATCH 03] drivers/sbus/char/bbc_envctrl.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread David Miller
From: Mariusz Kozlowski <[EMAIL PROTECTED]> Date: Tue, 31 Jul 2007 18:56:07 +0200 > Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> Patch applied. - 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: [PATCH 04] drivers/sbus/char/bbc_i2c.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread David Miller
From: Mariusz Kozlowski <[EMAIL PROTECTED]> Date: Tue, 31 Jul 2007 18:58:05 +0200 > Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> Patch applied, thanks. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo

Re: LinuxPPS & spinlocks

2007-07-31 Thread Satyam Sharma
Hi, On Tue, 31 Jul 2007, Rodolfo Giometti wrote: > Sorry for wasting your time. :'( Maybe you can provide your solution > for PPS support and get it included into kernel tree so we can use it > and live happy! :) Please stop embarrassing me (and yourself). Sorry, I did lose my patience

Re: Inclusion of vmware mptbase regression fix

2007-07-31 Thread James Bottomley
On Tue, 2007-07-31 at 20:24 +0200, Maarten Bressers wrote: > Hi Petr, > > The patch you posted for the MPT Fusion driver regression with VMware > 5.5.4 (http://lkml.org/lkml/2007/3/23/345) was used to fix a Gentoo > kernel bug (http://bugs.gentoo.org/show_bug.cgi?id=185272). > > Have you

Re: Section mismatch warnings

2007-07-31 Thread Sam Ravnborg
On Tue, Jul 31, 2007 at 09:45:22PM +0200, Gabriel C wrote: > Hi Sam , > > me again. I got some more mismatch warnings with a randconfig ( > http://194.231.229.228/git-current/randconfig-auto-14 ) > > > ... > > > MODPOST vmlinux.o > WARNING: vmlinux.o(.text+0x8adb): Section mismatch:

Re: Reboot hang

2007-07-31 Thread Rene Herman
On 07/31/2007 10:28 PM, kriko wrote: I experience hangs on reboot. Precisely hang occurs when I reboot from linux. Does it matter at all if you add "reboot=b" (other options w, c, h) as a comand line parameter? Rene. - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

[RFC][PATCH] Get rid of dead code in net/ipv4/fib_semantics.c

2007-07-31 Thread Michal Piotrowski
Hi, File /home/devel/linux-rdc/net/ipv4/fib_semantics.c line 525 Unknown CONFIG option! CONFIG_IP_ROUTE_PERVASIVE Regards, Michal -- LOG http://www.stardust.webpages.pl/log/ Signed-off-by: Michal Piotrowski <[EMAIL PROTECTED]> --- linux-rdc-clean/net/ipv4/fib_semantics.c2007-07-31

[PATCH 1/1 #2] Char: cyclades, fix some -W warnings

2007-07-31 Thread Jiri Slaby
Andrew Morton wrote: > On Sun, 29 Jul 2007 22:01:24 +0200 (CEST) Jiri Slaby <[EMAIL PROTECTED]> > wrote: > > cyclades, fix some -W warnings > > > > drivers/char/cyclades.c: In function 'cyz_handle_cmd': > drivers/char/cyclades.c:1704: warning: passing argument 2 of 'cyz_handle_rx' > from

[RFC][PATCH] Get rid of dead code in sound/arm/sa11xx-uda1341.c

2007-07-31 Thread Michal Piotrowski
Hi, File /home/devel/linux-rdc/sound/arm/sa11xx-uda1341.c line 82 Unknown CONFIG option! CONFIG_H3600_HAL File /home/devel/linux-rdc/sound/arm/sa11xx-uda1341.c line 103 Unknown CONFIG option! CONFIG_H3600_HAL File /home/devel/linux-rdc/sound/arm/sa11xx-uda1341.c line 241 Unknown CONFIG option!

[RFC][PATCH] Get rid of dead code in net/wanrouter/wanmain.c

2007-07-31 Thread Michal Piotrowski
Hi, File /home/devel/linux-rdc/net/wanrouter/wanmain.c line 569 Unknown CONFIG option! CONFIG_WANPIPE_MULTPPP File /home/devel/linux-rdc/net/wanrouter/wanmain.c line 590 Unknown CONFIG option! CONFIG_WANPIPE_MULTPPP File /home/devel/linux-rdc/net/wanrouter/wanmain.c line 663 Unknown CONFIG

Re: [PATCH 1/2] RT: Preemptible Function-Call-IPI Support

2007-07-31 Thread Gregory Haskins
On Tue, 2007-07-31 at 10:26 -0400, Gregory Haskins wrote: > >>> On Tue, Jul 31, 2007 at 5:25 AM, in message <[EMAIL PROTECTED]>, > Ingo Molnar <[EMAIL PROTECTED]> wrote: > > > > as far as the prioritization of function calls goes, _that_ makes sense, > > but it should not be a separate API

[RFC][PATCH] Get rid of dead code in sound/pci/ac97/ac97_patch.c

2007-07-31 Thread Michal Piotrowski
Hi, File /home/devel/linux-rdc/sound/pci/ac97/ac97_patch.c line 484 Unknown CONFIG option! CONFIG_TOUCHSCREEN_WM9705 Regards, Michal -- LOG http://www.stardust.webpages.pl/log/ Signed-off-by: Michal Piotrowski <[EMAIL PROTECTED]> --- linux-rdc-clean/sound/pci/ac97/ac97_patch.c 2007-07-09

/proc/$pid/pagemap troubles

2007-07-31 Thread Dave Hansen
Since the pagemap code has a little header on it to help describe the format, I wrote a little c program to parse its output. I get some strange results. If I do this: fd = open("/proc/1/pagemap", O_RDONLY); count = read(fd, , 1); count will always be 4. hexdump gets

[RFC][PATCH] Use correct config option in arch/i386/kernel/alternative.c

2007-07-31 Thread Michal Piotrowski
Hi, File /home/devel/linux-rdc/arch/i386/kernel/alternative.c line 382 Unknown CONFIG option! CONFIG_MCE File /home/devel/linux-rdc/arch/i386/kernel/alternative.c line 420 Unknown CONFIG option! CONFIG_MCE Regards, Michal -- LOG http://www.stardust.webpages.pl/log/ Signed-off-by: Michal

Re: [patch] sched: yield debugging

2007-07-31 Thread Ingo Molnar
* Tim Chen <[EMAIL PROTECTED]> wrote: > Here's a summary of Volanomark performance numbers: > Variant 0 is 80% down from 2.6.22 > Variant 1 is 20% down from 2.6.22 (this is indeed helped) > Variant 2 is 89% down from 2.6.22 ok, good! Could you try the updated debug patch below? I've done two

Re: [PATCH] - SN: Add support for CPU disable

2007-07-31 Thread Luca Tettamanti
Hi, I've a couple of comments on the patch: John Keller <[EMAIL PROTECTED]> ha scritto: > Index: linux-2.6/arch/ia64/sn/kernel/huberror.c > === > --- linux-2.6.orig/arch/ia64/sn/kernel/huberror.c 2007-07-31 >

Re: [PATCH] Use ERESTARTNOHAND if poll() is interrupted by a signal

2007-07-31 Thread Manfred Spraul
Andrew Morton wrote: On Sun, 29 Jul 2007 19:05:05 +0200 Manfred Spraul <[EMAIL PROTECTED]> wrote: Hi Andrew, poll() returns -EINTR if a signal is pending. EINTR is a bad choice: it means that poll returns to user space if the task is stopped by SIGSTOP/SIGCONT or by the freezer. select()

Reboot hang

2007-07-31 Thread kriko
I have a problem that I cannot solve by myself. I experience hangs on reboot. Precisely hang occurs when I reboot from linux. Bios show up its screen normally, but after it is done initializing devices it wont start booting from them (boot prio: dvd-rom, hd). It just sits there on summary

Re: [PATCH] expand /proc/interrupts to include missing vectors, v3

2007-07-31 Thread Joe Korty
On Tue, Jul 31, 2007 at 07:02:01PM +0200, Andi Kleen wrote: Hi Andi, Thanks for the review. I implemented many of your suggestions and for the rest, here mention why not, in case you want to respond further. Regards, Joe > Joe Korty <[EMAIL PROTECTED]> writes: > > A threshold interrupt occurs

Re: [patch 2/4] Expose Power Management Policy option to users

2007-07-31 Thread Kristen Carlson Accardi
On Wed, 01 Aug 2007 02:48:42 +0900 Tejun Heo <[EMAIL PROTECTED]> wrote: > Hello, Kristen. > > Kristen Carlson Accardi wrote: > > On Tue, 31 Jul 2007 23:45:25 +0900 > > Tejun Heo <[EMAIL PROTECTED]> wrote: > > > >> Anyways, I don't really think this attribute belongs to SCSI sysfs > >>

[PATCH 12/14] CacheFiles: Get the SID under which the CacheFiles module should operate

2007-07-31 Thread David Howells
Get the SID under which the CacheFiles module should operate so that the SELinux security system can control the accesses it makes. Signed-Off-By: David Howells <[EMAIL PROTECTED]> --- include/linux/security.h | 20 security/dummy.c |7 +++

[PATCH 14/14] NFS: Use local caching

2007-07-31 Thread David Howells
The attached patch makes it possible for the NFS filesystem to make use of the network filesystem local caching service (FS-Cache). To be able to use this, an updated mount program is required. This can be obtained from: http://people.redhat.com/steved/cachefs/util-linux/ To mount an

[PATCH 10/14] CacheFiles: Add an act-as SID override in task_security_struct

2007-07-31 Thread David Howells
Add an act-as SID to task_security_struct that is equivalent to fsuid/fsgid in task_struct. This permits a task to perform operations as if it is the overriding SID, without changing its own SID as that might be needed to control access to the process by ptrace, signals, /proc, etc. This is

[PATCH 11/14] CacheFiles: Permit an inode's security ID to be obtained

2007-07-31 Thread David Howells
Permit an inode's security ID to be obtained by the CacheFiles module. This is then used as the SID with which files and directories will be created in the cache. Signed-Off-By: David Howells <[EMAIL PROTECTED]> --- include/linux/security.h | 13 + security/dummy.c |6

[PATCH 09/14] CacheFiles: Permit a process's create SID to be overridden

2007-07-31 Thread David Howells
Make it possible for a process's file creation SID to be temporarily overridden by CacheFiles so that files created in the cache have the right label attached. Without this facility, files created in the cache will be given the current file creation SID of whatever process happens to have invoked

[PATCH 08/14] CacheFiles: Export things for CacheFiles

2007-07-31 Thread David Howells
Export a number of functions for CacheFiles's use. Signed-Off-By: David Howells <[EMAIL PROTECTED]> --- fs/file_table.c |1 + fs/super.c |2 ++ kernel/auditsc.c |2 ++ 3 files changed, 5 insertions(+), 0 deletions(-) diff --git a/fs/file_table.c b/fs/file_table.c index

[PATCH 07/14] CacheFiles: Permit the page lock state to be monitored

2007-07-31 Thread David Howells
Add a function to install a monitor on the page lock waitqueue for a particular page, thus allowing the page being unlocked to be detected. This is used by CacheFiles to detect read completion on a page in the backing filesystem so that it can then copy the data to the waiting netfs page.

[PATCH 05/14] CacheFiles: Add missing copy_page export for ia64

2007-07-31 Thread David Howells
This one-line patch fixes the missing export of copy_page introduced by the cachefile patches. This patch is not yet upstream, but is required for cachefile on ia64. It will be pushed upstream when cachefile goes upstream. Signed-off-by: Prarit Bhargava <[EMAIL PROTECTED]> Signed-Off-By: David

[PATCH 06/14] CacheFiles: Add a hook to write a single page of data to an inode

2007-07-31 Thread David Howells
Add an address space operation to write one single page of data to an inode at a page-aligned location (thus permitting the implementation to be highly optimised). This is used by CacheFiles to store the contents of netfs pages into their backing file pages. Supply a generic implementation for

[PATCH 03/14] FS-Cache: Provide an add_wait_queue_tail() function

2007-07-31 Thread David Howells
Provide an add_wait_queue_tail() function to add a waiter to the back of a wait queue instead of the front. Signed-off-by: David Howells <[EMAIL PROTECTED]> --- include/linux/wait.h |1 + kernel/wait.c| 18 ++ 2 files changed, 19 insertions(+), 0 deletions(-) diff

[PATCH 01/14] FS-Cache: Release page->private after failed readahead

2007-07-31 Thread David Howells
The attached patch causes read_cache_pages() to release page-private data on a page for which add_to_page_cache() fails or the filler function fails. This permits pages with caching references associated with them to be cleaned up. The invalidatepage() address space op is called (indirectly) to

[PATCH 02/14] FS-Cache: Recruit a couple of page flags for cache management

2007-07-31 Thread David Howells
Recruit a couple of page flags to aid in cache management. The following extra flags are defined: (1) PG_fscache (PG_owner_priv_2) The marked page is backed by a local cache and is pinning resources in the cache driver. (2) PG_fscache_write (PG_owner_priv_3) The marked page

[PATCH 00/14] Permit filesystem local caching

2007-07-31 Thread David Howells
These patches add local caching for network filesystems such as NFS and AFS. This is a preview, so expect bugs. FS-Cache now runs fully asynchronously as required by Trond Myklebust for NFS. -- A tarball of the patches is available at:

Re: request for patches: showing mount options

2007-07-31 Thread Miklos Szeredi
> >> After a successful mount, the NFS mount command tucks some options into > >> /etc/mtab that reflect which mountd was used for the mount, and what > >> protocol version and port was used for the mount request. Those options > >> are not passed to the kernel, and do not appear in

Re: [Patch 09/16] Remove unnecessary kmalloc casts in the pci subsystem.

2007-07-31 Thread David Miller
From: Christian Borntraeger <[EMAIL PROTECTED]> Date: Tue, 31 Jul 2007 15:53:28 +0200 > Am Dienstag, 31. Juli 2007 schrieb [EMAIL PROTECTED]: > > --- a/drivers/pci/rom.c > > +++ b/drivers/pci/rom.c > > @@ -185,7 +185,7 @@ void __iomem *pci_map_rom_copy(struct pc > >

[PATCH] PowerPC: Fix num_cpus calculation in smp_call_function_map()

2007-07-31 Thread Kevin Corry
[POWERPC]: Fix num_cpus calculation in smp_call_function_map(). In smp_call_function_map(), num_cpus is set to the number of online CPUs minus one. However, if the CPU mask does not include all CPUs (except the one we're running on), the routine will hang in the first while() loop until the 8

RE: [PATCH 10] drivers/block/cpqarray.c: better error handling and kmalloc + memset conversion to k[cz]alloc

2007-07-31 Thread Miller, Mike (OS Dev)
> -Original Message- > From: Mariusz Kozlowski [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 31, 2007 12:12 PM > To: linux-kernel@vger.kernel.org > Cc: [EMAIL PROTECTED]; Andrew Morton; ISS > StorageDev; [EMAIL PROTECTED] > Subject: [PATCH 10] drivers/block/cpqarray.c: better error

Re: [PATCH] documentation fixes

2007-07-31 Thread Cal Peake
On Tue, 31 Jul 2007, Ph. Marek wrote: > Hello everybody, > > here are some small documentation fixes - mostly typing errors. > > Please take a look at the last chunk - I think that klibc.bkbits.net > is no longer the current version, but I'm not sure whether the > other link is better.

Re: [-mm patch] USB: make dev_attr_authorized_default static

2007-07-31 Thread Inaky Perez-Gonzalez
On Sunday 29 July 2007 07:58, Adrian Bunk wrote: > -DEVICE_ATTR(authorized_default, 0644, > - usb_host_authorized_default_show, > - usb_host_authorized_default_store); > +static DEVICE_ATTR(authorized_default, 0644, > > + usb_host_authorized_default_show, Ack,

Re: Time Problems with 2.6.23-rc1-gf695baf2

2007-07-31 Thread Eric Sesterhenn / Snakebyte
* Venki Pallipadi ([EMAIL PROTECTED]) wrote: > Can you check the test patch below (over latest git) and let me know whether > it > resolves the issue. > the patch fixes the issue for me, thanks a lot. Eric > Enable C3 without bm control only for CST based C3. > > Signed-off-by: Venkatesh

[PATCH] pata_sis: fix MWDMA for <= UDMA66 chipsets and UDMA for UDMA33 chipsets

2007-07-31 Thread Bartlomiej Zolnierkiewicz
* Fix MWDMA timings setup in sis_old_set_dmamode() and sis_66_set_dmamode(). The old timings were overclocked (even worse behavior than sis5513 IDE driver which depends on BIOS to program correct timings), the new timings are taken from the datasheet (they match timings from ATA spec). *

Re: 2.6.23-rc1-mm1 - seems OK on Dell Latitude D820, except for tpm_tis

2007-07-31 Thread Bjorn Helgaas
On Tuesday 31 July 2007 12:48:29 pm [EMAIL PROTECTED] wrote: > Scratch that. When I wrote the first note, I was at home, and the TPM chip > did its PNP thing and became 00:0e. I failed to notice that in my reply, > I was at work, and the printer port on the docking station became 00:0e and > the

Re: [patch 2/4] Expose Power Management Policy option to users

2007-07-31 Thread Kristen Carlson Accardi
On Wed, 01 Aug 2007 03:02:55 +0900 Tejun Heo <[EMAIL PROTECTED]> wrote: > Kristen Carlson Accardi wrote: > > I think what you are saying is that you'd like a way to use your HIPM > > and DIPM without ALPM on the AHCI driver. Fine - it's really easy > > to add these levels later - if they don't

Gericom Webboy Laptop Mouse/Touchpad

2007-07-31 Thread Daniel Mierswa
Hi there, i'm having troubles getting my mouse and/or touchpad to work with 2.6.21.5 (and older ones). It's putting the following line into dmesg everytime the laptop gets lots of I/O or cpu load. "psmouse.c: Wheel Mouse at isa0060/serio4/input0 lost synchronization, throwing 2 bytes away."

Re: [patch 00/26] 2.6.21.7 -stable review

2007-07-31 Thread Greg KH
On Tue, Jul 31, 2007 at 12:50:54PM +0200, Stefan Richter wrote: > Greg KH wrote: > > Rolled up patch is at: > > kernel.org/pub/linux/kernel/v2.6/stable-testing/patch-2.6.21.7-rc1.gz >^^ >stable-review

Re: [PATCH 28] drivers/net/wan/hdlc_fr.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Krzysztof Halasa
Mariusz Kozlowski <[EMAIL PROTECTED]> writes: > +++ linux-2.6.23-rc1-mm1-b/drivers/net/wan/hdlc_fr.c 2007-07-30 > 00:25:40.0 +0200 > @@ -212,14 +212,13 @@ static pvc_device* add_pvc(struct net_de > pvc_p = &(*pvc_p)->next; > } > > - pvc =

Re: Section mismatch warnings

2007-07-31 Thread Gabriel C
Hi Sam , me again. I got some more mismatch warnings with a randconfig ( http://194.231.229.228/git-current/randconfig-auto-14 ) ... MODPOST vmlinux.o WARNING: vmlinux.o(.text+0x8adb): Section mismatch: reference to .init.text:register_cpu (between 'arch_register_cpu' and 'text_poke')

[PATCH] - SN: Add support for CPU disable

2007-07-31 Thread John Keller
Add additional support for CPU disable on SN platforms. Correctly setup the smp_affinity mask for I/O error IRQs. Restrict the use of the feature to Altix 4000 and 450 systems running with a CPU disable capable PROM, and do not allow disabling of CPU 0. Signed-off-by: John Keller <[EMAIL

Re: LinuxPPS & spinlocks

2007-07-31 Thread Rodolfo Giometti
On Wed, Aug 01, 2007 at 12:19:48AM +0530, Satyam Sharma wrote: > That's just absolute bullshit. ... > I'm sorry to say this, Rodolfo, but _all_ your arguments above are > *totally* nonsensical and factually incorrect -- and I have had enough of > trying to talk sense to you, it's been ~15 mails

Re: Question: Scheduler 'Exit' or modularization of scheduler?

2007-07-31 Thread Peter Zijlstra
May I suggest people read the archives before posting? This stuff has to end,... - 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

Question: Scheduler 'Exit' or modularization of scheduler?

2007-07-31 Thread Paul Robinson
There has been a considerable amount of talk and many news articles on some websites because of the inclusion of the CFS scheduler either as a replacement for the old scheduler or instead of using the SD scheduler, some people apparently feel that one or the other of these is not right in some

[PATCH 51] drivers/media/video/msp3400-driver.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/media/video/msp3400-driver.c | 28945 -> 28898 (-47 bytes) drivers/media/video/msp3400-driver.o | 125620 -> 125320 (-300 bytes) drivers/media/video/msp3400-driver.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-)

[PATCH 52] include/asm-m32r/thread_info.h: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> include/asm-m32r/thread_info.h |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- linux-2.6.23-rc1-mm1-a/include/asm-m32r/thread_info.h 2007-07-26 13:07:41.0 +0200 +++

Re: [PATCH -mm] Introduce U16_MAX and U32_MAX

2007-07-31 Thread Jan Engelhardt
On Jul 31 2007 11:57, Andrew Morton wrote: >> --- a/include/linux/kernel.h >> +++ b/include/linux/kernel.h >> @@ -30,6 +30,9 @@ extern const char linux_proc_banner[]; >> #define LLONG_MIN (-LLONG_MAX - 1) >> #define ULLONG_MAX (~0ULL) >> >> +#define U16_MAX ((u16) ~0U) >>

Re: [PATCH -mm] Introduce U16_MAX and U32_MAX

2007-07-31 Thread Satyam Sharma
On Tue, 31 Jul 2007, Andrew Morton wrote: > On Tue, 31 Jul 2007 21:56:12 +0530 (IST) > Satyam Sharma <[EMAIL PROTECTED]> wrote: > > > --- a/include/linux/kernel.h > > +++ b/include/linux/kernel.h > > @@ -30,6 +30,9 @@ extern const char linux_proc_banner[]; > > #define LLONG_MIN (-LLONG_MAX -

Re: Time Problems with 2.6.23-rc1-gf695baf2

2007-07-31 Thread Venki Pallipadi
On Tue, Jul 31, 2007 at 05:38:08PM +0200, Eric Sesterhenn / Snakebyte wrote: > * Pallipadi, Venkatesh ([EMAIL PROTECTED]) wrote: > > This means things should work fine with processor.max_cstate=2 boot > > option > > as well. Can you please double check that. > > yes, system boots fine with this

Re: [PATCH -mm] Introduce strtol_check_range()

2007-07-31 Thread Andrew Morton
On Tue, 31 Jul 2007 22:04:10 +0530 (IST) Satyam Sharma <[EMAIL PROTECTED]> wrote: > [ checkpatch.pl doesn't particularly like this patch, but I wanted to be > consistent with the rest of lib/vsprintf.c and include/linux/kernel.h. ] I tend to think that it isn't worth being consistent with

Re: Inclusion of vmware mptbase regression fix

2007-07-31 Thread Jan Engelhardt
On Jul 31 2007 20:24, Maarten Bressers wrote: >Hi Petr, > >The patch you posted for the MPT Fusion driver regression with VMware >5.5.4 (http://lkml.org/lkml/2007/3/23/345) was used to fix a Gentoo >kernel bug (http://bugs.gentoo.org/show_bug.cgi?id=185272). > >Have you received word from

Re: [PATCH -mm] Introduce U16_MAX and U32_MAX

2007-07-31 Thread Andrew Morton
On Tue, 31 Jul 2007 21:56:12 +0530 (IST) Satyam Sharma <[EMAIL PROTECTED]> wrote: > --- a/include/linux/kernel.h > +++ b/include/linux/kernel.h > @@ -30,6 +30,9 @@ extern const char linux_proc_banner[]; > #define LLONG_MIN(-LLONG_MAX - 1) > #define ULLONG_MAX (~0ULL) > > +#define

[PATCH 50] drivers/message/fusion/mptctl.c: mostly kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
This patch does kmalloc + memset conversion to kzalloc and simplifies mptctl_probe(). Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/message/fusion/mptctl.c | 82092 -> 81884 (-208 bytes) drivers/message/fusion/mptctl.o | 201784 -> 200648 (-1136 bytes)

Re: [PATCH 48] include/asm-mips/thread_info.h: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Ralf Baechle
On Tue, Jul 31, 2007 at 08:48:41PM +0200, Mariusz Kozlowski wrote: Thanks, applied. - 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

Re: kexec/kdump: docs fix, stale urls?

2007-07-31 Thread Bernhard Walle
* Vivek Goyal <[EMAIL PROTECTED]> [2007-07-31 12:30]: > > This URL is still current. Maybe you can add the git tree at http://git.kernel.org/?p=linux/kernel/git/horms/kexec-tools-testing.git which is very up to date. Thanks, Bernhard - To unsubscribe from this list: send the line

[PATCH 49] drivers/mmc/core/mmc_ops.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/mmc/core/mmc_ops.c | 7957 -> 7924 (-33 bytes) drivers/mmc/core/mmc_ops.o | 101732 -> 101744 (+12 bytes) drivers/mmc/core/mmc_ops.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---

[PATCH 48] include/asm-mips/thread_info.h: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> include/asm-mips/thread_info.h |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- linux-2.6.23-rc1-mm1-a/include/asm-mips/thread_info.h 2007-07-26 13:07:40.0 +0200 +++

Re: 2.6.23-rc1-mm1 - seems OK on Dell Latitude D820, except for tpm_tis

2007-07-31 Thread Valdis . Kletnieks
On Mon, 30 Jul 2007 19:53:19 EDT, [EMAIL PROTECTED] said: > > > Just for the record, I see this in /sys: > > > > > > % cat /sys/bus/pnp/devices/00:0e/id > > > BCM0102 > > > PNP0c31 > > > > What's in /sys/bus/pnp/devices/00:0e/resources? > > % cat /sys/bus/pnp/devices/00:0e/resources > state =

Inclusion of vmware mptbase regression fix

2007-07-31 Thread Maarten Bressers
Hi Petr, The patch you posted for the MPT Fusion driver regression with VMware 5.5.4 (http://lkml.org/lkml/2007/3/23/345) was used to fix a Gentoo kernel bug (http://bugs.gentoo.org/show_bug.cgi?id=185272). Have you received word from upstream (kernel devs) yet as to whether your patch will

Re: early_printk accessing __log_buf

2007-07-31 Thread Andrew Morton
On Tue, 31 Jul 2007 03:47:59 -0400 "Mike Frysinger" <[EMAIL PROTECTED]> wrote: > attached > -mike > > > [linux-log_buf_read.patch application/octet-stream (2.4KB)] Please sort out the email thing if you plan on sending more kernel patches? Incremental: From: Andrew Morton <[EMAIL

Re: LinuxPPS & spinlocks

2007-07-31 Thread Satyam Sharma
On Tue, 31 Jul 2007, Rodolfo Giometti wrote: > On Tue, Jul 31, 2007 at 03:31:22AM +0530, Satyam Sharma wrote: > > Yup, this would avoid races, but then we will lose events. Why is that > > acceptable, when better alternative (above) exists? > > Because is better lossign events then recording

Re: [PATCH 24] include/asm-frv/thread_info.h: kmalloc + memset conversion to kzalloc

2007-07-31 Thread David Howells
Acked-By: David Howells <[EMAIL PROTECTED]> - 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/

[PATCH 47] drivers/scsi/megaraid.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
This patch does kmalloc + memset conversion to kzalloc and adds missing check for kzaloc return value. Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/megaraid.c | 116109 -> 116094 (-15 bytes) drivers/scsi/megaraid.o | 257872 -> 257772 (-100 bytes) drivers/scsi/megaraid.c

Re: [patch 2/4] Expose Power Management Policy option to users

2007-07-31 Thread Tejun Heo
Arjan van de Ven wrote: >> They were hardware problems. I don't think any amount of proper >> implementation can fix them. I have one DVD RAM somewhere in my pile of >> hardware which locks up solidly if any link PS mode is used and had a > > and the AHCI ALPM code decides to use power savings

Re: inotify and /proc/

2007-07-31 Thread Diego Calleja
El Mon, 30 Jul 2007 22:25:21 -0500, Joseph Pingenot <[EMAIL PROTECTED]> escribió: > More background, please? > > What's the way to check for a process exiting without spinning? I don't know if it's useful for you, but CONFIG_CONNECTOR and CONFIG_PROC_EVENTS will report process

[PATCH 46] drivers/scsi/lpfc/lpfc_scsi.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/lpfc/lpfc_scsi.c | 42769 -> 42721 (-48 bytes) drivers/scsi/lpfc/lpfc_scsi.o | 191332 -> 191240 (-92 bytes) drivers/scsi/lpfc/lpfc_scsi.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---

[PATCH 45] drivers/scsi/lpfc/lpfc_init.c: kmalloc + memset conversion to kcalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/lpfc/lpfc_init.c | 65932 -> 65881 (-51 bytes) drivers/scsi/lpfc/lpfc_init.o | 219760 -> 219616 (-144 bytes) drivers/scsi/lpfc/lpfc_init.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---

[PATCH 44] drivers/scsi/lpfc/lpfc_debugfs.c: kmalloc + memset conversion to kcalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/lpfc/lpfc_debugfs.c | 13809 -> 13716 (-93 bytes) drivers/scsi/lpfc/lpfc_debugfs.o | 146124 -> 146124 (0 bytes) drivers/scsi/lpfc/lpfc_debugfs.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) ---

[PATCH 43] fs/reiser4/ktxnmgrd.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> fs/reiser4/ktxnmgrd.c | 5314 -> 5277 (-37 bytes) fs/reiser4/ktxnmgrd.o | 131624 -> 131496 (-128 bytes) fs/reiser4/ktxnmgrd.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- linux-2.6.23-rc1-mm1-a/fs/reiser4/ktxnmgrd.c

[PATCH 42] fs/jbd2/journal.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> fs/jbd2/journal.c | 66771 -> 66719 (-52 bytes) fs/jbd2/journal.o | 199193 -> 199049 (-144 bytes) fs/jbd2/journal.c |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) --- linux-2.6.23-rc1-mm1-a/fs/jbd2/journal.c2007-07-26

[PATCH 41] drivers/net/irda/irda-usb.c: mostly kmalloc + memset conversion to k[cz]alloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/net/irda/irda-usb.c | 59694 -> 59541 (-153 bytes) drivers/net/irda/irda-usb.o | 170588 -> 169256 (-1332 bytes) drivers/net/irda/irda-usb.c | 24 ++-- 1 file changed, 10 insertions(+), 14 deletions(-) ---

[PATCH 40] drivers/atm/iphase.c: mostly kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/atm/iphase.c | 111508 -> 111431 (-77 bytes) drivers/atm/iphase.o | 254740 -> 254260 (-480 bytes) drivers/atm/iphase.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) ---

[PATCH 39] net/ipv4/ip_options.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> net/ipv4/ip_options.c | 15425 -> 15368 (-57 bytes) net/ipv4/ip_options.o | 133668 -> 133588 (-80 bytes) net/ipv4/ip_options.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) --- linux-2.6.23-rc1-mm1-a/net/ipv4/ip_options.c

Re: [PATCH] argv_split: allow argv_split to handle NULL pointer in argcp parameter gracefully

2007-07-31 Thread Neil Horman
On Tue, Jul 31, 2007 at 11:06:52PM +0530, Satyam Sharma wrote: > > > On Tue, 31 Jul 2007, Neil Horman wrote: > > > As Jeremy and I had discussed in a previous thread, it would be nice if the > > argv_split library function could gracefully handle a NULL pointer in the > > argcp > > parameter,

[PATCH 38] drivers/char/ip2/ip2main.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/char/ip2/ip2main.c | 104398 -> 104346 (-52 bytes) drivers/char/ip2/ip2main.o | 210710 -> 210702 (-8 bytes) drivers/char/ip2/ip2main.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) ---

[PATCH 37] arch/i386/kernel/io_apic.c: kmalloc + memset conversion to k[cz]alloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> arch/i386/kernel/io_apic.c | 70761 -> 70562 (-199 bytes) arch/i386/kernel/io_apic.o | 197654 -> 197030 (-624 bytes) arch/i386/kernel/io_apic.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) ---

[PATCH 36] arch/x86_64/kernel/io_apic.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> arch/x86_64/kernel/io_apic.c | 56080 -> 56038 (-42 bytes) arch/x86_64/kernel/io_apic.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- linux-2.6.23-rc1-mm1-a/arch/x86_64/kernel/io_apic.c 2007-07-26 13:07:47.0

[PATCH 35] fs/reiser4/plugin/inode_ops_rename.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> fs/reiser4/plugin/inode_ops_rename.c | 28474 -> 28344 (-130 bytes) fs/reiser4/plugin/inode_ops_rename.o | 142600 -> 142476 (-124 bytes) fs/reiser4/plugin/inode_ops_rename.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) ---

[PATCH 34] fs/autofs4/inode.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> fs/autofs4/inode.c | 10467 -> 10435 (-32 bytes) fs/autofs4/inode.o | 98576 -> 98552 (-24 bytes) fs/autofs4/inode.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- linux-2.6.23-rc1-mm1-a/fs/autofs4/inode.c 2007-07-26

[PATCH 33] fs/reiser4/init_super.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> fs/reiser4/init_super.c | 19283 -> 19246 (-37 bytes) fs/reiser4/init_super.o | 155348 -> 155152 (-196 bytes) fs/reiser4/init_super.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---

PATCH 32] drivers/mtd/inftlmount.c: kmalloc + memset conversion to kcalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/mtd/inftlmount.c | 23841 -> 23803 (-38 bytes) drivers/mtd/inftlmount.o | 47196 -> 46956 (-240 bytes) drivers/mtd/inftlmount.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---

Re: [patch 2/4] Expose Power Management Policy option to users

2007-07-31 Thread Tejun Heo
Kristen Carlson Accardi wrote: > I think what you are saying is that you'd like a way to use your HIPM > and DIPM without ALPM on the AHCI driver. Fine - it's really easy > to add these levels later - if they don't make sense at the sysfs interface > we can add module params to specify the

[PATCH 31] drivers/scsi/ide-scsi.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/scsi/ide-scsi.c | 34642 -> 34536 (-106 bytes) drivers/scsi/ide-scsi.o | 171728 -> 171524 (-204 bytes) drivers/scsi/ide-scsi.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) ---

[PATCH 30] drivers/ide/arm/icside.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Is this a bug? In original verison memset cleared sizeof(state) bytes instead of sizeof(*state). If it was intentional then this patch is invalid. If not intentional -> valid :) Please review. Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/ide/arm/icside.c | 18883 -> 18849 (-34

[PATCH] balance_dirty_pages - exit loop when no more pages available

2007-07-31 Thread richard kennedy
exit loop in balance_dirty_pages when no more pages available to write On a bdi that has very little traffic balance_dirty_pages can loop needlessly waiting until do_writepages has written enough pages. do_writepages will return encountered_congestion==0 && nr_to_write > 0 when it has completed

Re: [PATCH 2.6.23 1/2] Make the iw_cxgb3 module parameters writable.

2007-07-31 Thread Steve Wise
Roland Dreier wrote: ugh, missed these before my last merge... anyway: why do we want to parameters writable? a good changelog tells me what, why and how, and this changelog just covered the "what". Also, I assume you've checked that it's OK for these variables to change at any time? I

Re: [RFC 12/26] ext2 white-out support

2007-07-31 Thread Mark Williamson
> Really the only sane way of keeping track of whiteouts seems some external > store. We did an experiment with Unionfs, and moving the whiteout handling > to effectively a "library" that did all the dirty work cleaned up the code > considerably [2,3]. What about keeping track of whiteouts in a

<    1   2   3   4   5   6   7   8   9   10   >