Re: [patch] rfc: introduce /dev/hugetlb

2007-03-24 Thread Ken Chen
On 3/23/07, Andrew Morton [EMAIL PROTECTED] wrote: a) Ken observes that obtaining private hugetlb memory via hugetlbfs involves fuss. b) the libhugetlbfs maintainers then go off and implement a no-fuss way of doing this. Hmm, what started this thread was libhugetlbfs maintainer

Re: [patch] rfc: introduce /dev/hugetlb

2007-03-24 Thread Andrew Morton
On Sat, 24 Mar 2007 00:11:32 -0700 Ken Chen [EMAIL PROTECTED] wrote: On 3/23/07, Andrew Morton [EMAIL PROTECTED] wrote: a) Ken observes that obtaining private hugetlb memory via hugetlbfs involves fuss. b) the libhugetlbfs maintainers then go off and implement a no-fuss way of

Re: [patch 1/2] hugetlb: add resv argument to hugetlb_file_setup

2007-03-24 Thread Christoph Hellwig
On Fri, Mar 23, 2007 at 03:42:13PM -0700, Ken Chen wrote: rename hugetlb_zero_setup() to hugetlb_file_setup() to better match function name convention like shmem implementation. Also add an argument to the function to indicate whether file setup should reserve hugetlb page upfront or not. I

Re: [patch 2/2] hugetlb: add /dev/hugetlb char device

2007-03-24 Thread Christoph Hellwig
+int hugetlb_zero_setup(struct file *file, struct vm_area_struct *vma) +{ + file = hugetlb_file_setup(vma-vm_end - vma-vm_start, 0); + if (IS_ERR(file)) + return PTR_ERR(file); + + if (vma-vm_file) + fput(vma-vm_file); + vma-vm_file = file; +

Re: [patch] rfc: introduce /dev/hugetlb

2007-03-24 Thread Andrew Morton
On Sat, 24 Mar 2007 07:57:52 +0100 Sam Ravnborg [EMAIL PROTECTED] wrote: But for non-programming reasons, we're just not there yet: people want to program direct to the kernel interfaces simply because of the distribution/coordination problems with libraries. It would be nice to fix

Linux 2.4.35-pre2

2007-03-24 Thread Willy Tarreau
I've just released Linux 2.4.35-pre2. It contains a fix for bug in IPv6 which can be locally triggered. Also contained in this release are the parenthesis fixes from Mariusz Kozlowski. Those are fixes for unbalanced parenthesis in rarely used macros, and I preferred to get them all definitely

Linux 2.4.34.2

2007-03-24 Thread Willy Tarreau
I've just released Linux 2.4.34.2. Only two fixes here, one from Pete Zaitcev to support USB high-speed HID, required by at least an Avocent KVM, and one for a user-triggerable bug in IPv6. The patch and changelog will appear soon at the following locations:

[RFC][PATCH 0/3] A Dynticks Aware Processor Idle PM Governor

2007-03-24 Thread Adam Belay
Hi All, Here is my first take at implementing an idle PM governor that takes full advantage of NO_HZ. I call it the 'menu' governor because it considers the full list of idle states before each entry. I've kept the implementation fairly simple. It attempts to guess the next residency time and

[RFC][PATCH 1/3] cpuidle governor API changes

2007-03-24 Thread Adam Belay
This patch prepares cpuidle for the menu governor. It adds an optional stage after idle state entry to give the governor an opportunity to check why the state was exited. Also it makes sure the idle loop returns after each state entry, allowing the appropriate dynticks code to run. Thanks, Adam

[RFC][PATCH 2/3] export time until next timer interrupt using NOHZ

2007-03-24 Thread Adam Belay
This patch exposes information about the time remaining until the next timer interrupt expires by utilizing the dynticks infrastructure. It also modifies the main idle loop to allow dynticks to handle non-interrupt break events (e.g. DMA). Finally, it exposes sleep ticks information to external

[RFC][PATCH 3/3] add the 'menu' cpuidle governor

2007-03-24 Thread Adam Belay
This patch adds the 'menu' governor, as was described in my first email. Thanks, Adam Kconfig| 11 +++ governors/Makefile |1 governors/menu.c | 152 + 3 files changed, 164 insertions(+) diff -urN

PATCH: tun/tap driver hw address handling

2007-03-24 Thread Brian Braunstein
Hi Max, Here's the patch we discussed at the beginning of the month. Linus, According to Documentation/SubmittingPatches bug fixes or obvious changes should CCed to you, so this is why I have done this. Note: This entire email can be found at

Re: HELP!!! SD and suspend damage i-node.

2007-03-24 Thread Pavel Machek
Hi! I use 2.6.20.2 kernel with ext3 rootfs on 4Gb SD on sharp zaurus sl-750 (PXA255). After suspend/resume filesystem stay clean. But some i-nodes become broken. Some files looks like block device or pipe with strange permissions, owner etc. I'm sure that there is no bad blocks on SD.

Re: [PATCH 2.6.21-rc4] hwmon: HP Mobile Data Protection System 3D ACPI driver

2007-03-24 Thread Yan Burman
Arjan van de Ven wrote: Hi, your code looks very nice and clean, only few comments, see below Thanks +static int mdps_joystick_kthread(void *data) +{ + int x = 0, y = 0, z = 0; + + while (!kthread_should_stop()) { + if (input_3d) { +

Re: PNPACPI probes serial twice, messes up serial console

2007-03-24 Thread Russell King
On Wed, Mar 21, 2007 at 10:40:54AM -0600, Bjorn Helgaas wrote: On Wednesday 21 March 2007 10:37, Russell King wrote: On Wed, Mar 21, 2007 at 10:35:38AM -0600, Bjorn Helgaas wrote: On Tuesday 20 March 2007 08:32, Bjorn Helgaas wrote: On Tuesday 20 March 2007 00:46, Keith Owens wrote:

sata-vsc broken on SGI Prism

2007-03-24 Thread Andreas Schwab
I'm getting this panic when loading sata-vsc on a SGI Prism: Loading sata_vsc ACPI: Unable to derive IRQ for device 0001:00:03.0 ACPI: PCI Interrupt 0001:00:03.0[A]: no GSI FRZ XN request short error. FRZ XN error detail 1A: Command word: 0x11 Supplemental: 0xff Source

Fix sudden warps in mousedev

2007-03-24 Thread Pete Zaitcev
Here's another one of those soon-to-be-obsoleted patches to mousedev. But if it lives just in 2.6.21, it's good, right? It's a pure bugfix. On my laptop with Synaptics, if I lift the finger and place it elsewhere, the pointer sometimes warps dramatically. Here's the evtest trace which illustrates

Re: mm snapshot broken-out-2007-03-24-00-14.tar.gz uploaded

2007-03-24 Thread Michal Piotrowski
Hi, [EMAIL PROTECTED] napisał(a): The mm snapshot broken-out-2007-03-24-00-14.tar.gz has been uploaded to ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-03-24-00-14.tar.gz It contains the following patches against 2.6.21-rc4: Bryan, your patch

Fan control disabled

2007-03-24 Thread Jan Engelhardt
Hello, for some reason, pwm (fan control) is not writable 11:30 linux-si2r:../i2c-1/1-002e # l pwm*_enable -r--r--r-- 1 root root 4096 Mar 24 11:19 pwm1_enable -r--r--r-- 1 root root 4096 Mar 24 11:19 pwm2_enable -r--r--r-- 1 root root 4096 Mar 24 11:19 pwm3_enable 11:30

Re: mm snapshot broken-out-2007-03-24-00-14.tar.gz uploaded

2007-03-24 Thread Michal Piotrowski
On 24/03/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The mm snapshot broken-out-2007-03-24-00-14.tar.gz has been uploaded to ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-03-24-00-14.tar.gz It contains the following patches against 2.6.21-rc4: Please drop

Re: [v4l-dvb-maintainer] [PATCH] DVB: Delete unused header file linux/dvb/version.h.

2007-03-24 Thread Manu Abraham
On 3/23/07, Arjan van de Ven [EMAIL PROTECTED] wrote: On Fri, 2007-03-23 at 16:47 +0100, Marcel Siegert wrote: On Friday 23 March 2007, Robert P. J. Day wrote: Delete the unreferenced header file include/linux/dvb/version.h. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] NACK

Semi-typical watchdog bug re early misc_register()

2007-03-24 Thread Alexey Dobriyan
Hi, Wim. It seems that some watchdog drivers are doing following mistake: rv = misc_register(); if (rv 0) return rv; rv = request_region(); if (rv 0) { misc_deregister(); return rv; } But, right after

Re: Problem with 2.6.20 based kernels on SUSE 9.3

2007-03-24 Thread roland
Waiting for mandatory devices: eth-id-00:01:6c:ad:2b:c9 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 1 0 eth-id-00:01:6c:ad:2b:c9No interface found failedSetting up service network . . . . . . . I had such issues when using suse 9.3 inside vmware very often - typically

[2.6.22 patch] more scheduled OSS driver removal

2007-03-24 Thread Adrian Bunk
This patch contains the scheduled removal of OSS drivers that: - have ALSA drivers for the same hardware without known regressions and - whose Kconfig options have been removed in 2.6.20. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- Due to its size, the patch is available at

[RFC: 2.6 patch] fix ISDN_CAPI-ISDN_DIVAS

2007-03-24 Thread Adrian Bunk
Randy Dunlap reported in kernel Bugzilla #8241 the following compile error with CONFIG_ISDN_CAPI=m, CONFIG_ISDN_DIVAS=y: -- snip -- ... WARNING: DIVA_DIDD_Read [drivers/isdn/hardware/eicon/divacapi.ko] undefined! WARNING: DIVA_DIDD_Read [drivers/isdn/hardware/eicon/diva_mnt.ko] undefined!

[-mm patch] lguest: #if 0 check_bug_kill()

2007-03-24 Thread Adrian Bunk
On Mon, Mar 19, 2007 at 08:56:23PM -0800, Andrew Morton wrote: ... Changes since 2.6.21-rc3-mm1: ... +lguest-use-read-only-pages-rather-than-segments-to-protect-high-mapped-switcher.patch ... x86/x86_64 updates ... check_bug_kill() is no longer used. Signed-off-by: Adrian Bunk [EMAIL

[2.6 patch] #if 0 dmi_name_in_vendors()

2007-03-24 Thread Adrian Bunk
dmi_name_in_vendors() is no longer used. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- drivers/firmware/dmi_scan.c |2 ++ include/linux/dmi.h |2 -- 2 files changed, 2 insertions(+), 2 deletions(-) --- linux-2.6.21-rc4-mm1/include/linux/dmi.h.old2007-03-23

[-mm patch] fs/revoke.c: cleanups (and bugfix for 64bit systems)

2007-03-24 Thread Adrian Bunk
On Mon, Mar 19, 2007 at 08:56:23PM -0800, Andrew Morton wrote: ... Changes since 2.6.21-rc3-mm1: ... +revoke-core-code.patch ... revoke() syscall ... This patch contains the following: - every file should #include the headers containing the prototypes for it's global functions - fix the

[-mm patch] unexport bio_{,un}map_user

2007-03-24 Thread Adrian Bunk
On Mon, Mar 19, 2007 at 08:56:23PM -0800, Andrew Morton wrote: ... Changes since 2.6.21-rc3-mm1: ... git-scsi-misc.patch ... git trees ... bio_{,un}map_user do no longer have any modular users. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- --- linux-2.6.21-rc4-mm1/fs/bio.c.old

[2.6 patch] drivers/spi/: fix section mismatches

2007-03-24 Thread Adrian Bunk
This patch fixes the following section mismatches: -- snip -- WARNING: drivers/built-in.o - Section mismatch: reference to .init.text:spi_register_master from .text between 'spi_bitbang_start' (at offset 0x84e11a) and 'bitbang_work' WARNING: drivers/built-in.o - Section mismatch: reference

Re: [-mm patch] fs/revoke.c: cleanups (and bugfix for 64bit systems)

2007-03-24 Thread Pekka Enberg
On 3/24/07, Adrian Bunk [EMAIL PROTECTED] wrote: This patch contains the following: - every file should #include the headers containing the prototypes for it's global functions - fix the wrong return value of sys_frevoke() gcc was now able to detect - make 2 needlessly global structs static

[PATCH] Delete unused header file math-emu/extended.h.

2007-03-24 Thread Robert P. J. Day
Delete the unreferenced header file include/math-emu/extended.h. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- one more header file that absolutely no one refers to but i'm sure *someone* is going to defend to the death. diff --git a/include/math-emu/extended.h

[PATCH] Delete unused header file media/cs53l32a.h.

2007-03-24 Thread Robert P. J. Day
Delete the unreferenced header file include/media/cs53l32a.h. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- not even the matching *source* file drivers/media/video/cs53l32a.c includes this header file. that would seem a pretty good sign that no one loves it anymore. diff --git

[PATCH] Delete unused header file media/wm8775.h.

2007-03-24 Thread Robert P. J. Day
Delete the unreferenced header file include/media/wm8775.h. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- even the matching source file drivers/media/video/wm8775.c doesn't include this header file. diff --git a/include/media/wm8775.h b/include/media/wm8775.h deleted file mode 100644

Re: [4/5] 2.6.21-rc4: known regressions (v2)

2007-03-24 Thread Thomas Gleixner
Emil, On Fri, 2007-03-23 at 20:22 +0100, Thomas Gleixner wrote: On Fri, 2007-03-23 at 19:50 +0100, Adrian Bunk wrote: Subject: dynticks makes ksoftirqd1 use unreasonable amount of cpu time References : http://bugzilla.kernel.org/show_bug.cgi?id=8100 Submitter : Emil Karlson [EMAIL

Re: [RFC: 2.6 patch] fix ISDN_CAPI-ISDN_DIVAS

2007-03-24 Thread Armin Schindler
On Sat, 24 Mar 2007, Adrian Bunk wrote: Randy Dunlap reported in kernel Bugzilla #8241 the following compile error with CONFIG_ISDN_CAPI=m, CONFIG_ISDN_DIVAS=y: -- snip -- ... WARNING: DIVA_DIDD_Read [drivers/isdn/hardware/eicon/divacapi.ko] undefined! WARNING: DIVA_DIDD_Read

Re: [4/5] 2.6.21-rc4: known regressions (v2)

2007-03-24 Thread Michal Piotrowski
Hi, On 23/03/07, Thomas Gleixner [EMAIL PROTECTED] wrote: On Fri, 2007-03-23 at 19:50 +0100, Adrian Bunk wrote: Subject: soft lockup detected on CPU#0 References : http://lkml.org/lkml/2007/3/3/152 Submitter : Michal Piotrowski [EMAIL PROTECTED] Handled-By : Thomas Gleixner [EMAIL

Re: troubles with DAC960

2007-03-24 Thread Boris Andratzek
Boris Andratzek wrote: Hello members of the kernel-list, I'm new to this and hope I don't misuse the list in any way. Doing the update from debian sarge to etch on my server I ran into the bug documented here: bugzilla.kernel.org/show_bug.cgi?id=7177 I already made some comments there.

[-mm patch] drivers/scsi/constants.c: make 2 functions static

2007-03-24 Thread Adrian Bunk
On Mon, Mar 19, 2007 at 08:56:23PM -0800, Andrew Morton wrote: ... Changes since 2.6.21-rc3-mm1: ... git-scsi-misc.patch ... git trees ... This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- drivers/scsi/constants.c |4 ++-- 1

Re: [PATCH 3/3] Use correct IDE error recovery

2007-03-24 Thread Sergei Shtylyov
Hello. Bartlomiej Zolnierkiewicz wrote: Since I think that it's worth to have it in 2.6.21-final and respin didn't happen I did the required changes myself (it also turned out that I missed few things during initial review), then applied the patch... Please let my know whether you are fine

Invert X or Y axis options for usbtouchscreen

2007-03-24 Thread Ondrej Zary
Hello, this patch adds support for inverting X or Y axis (or both) to the usbtouchscreen driver. Invert Y is needed (together with swap XY) for LeadingTouch screens (at least for some of them). Signed-off-by: Ondrej Zary [EMAIL PROTECTED] -- Ondrej Zary ---

Re: [4/5] 2.6.21-rc4: known regressions (v2)

2007-03-24 Thread Thomas Gleixner
On Sat, 2007-03-24 at 14:59 +0100, Michal Piotrowski wrote: On 23/03/07, Thomas Gleixner [EMAIL PROTECTED] wrote: On Fri, 2007-03-23 at 19:50 +0100, Adrian Bunk wrote: Subject: soft lockup detected on CPU#0 References : http://lkml.org/lkml/2007/3/3/152 Submitter : Michal

Re: [RFC: 2.6 patch] fix ISDN_CAPI-ISDN_DIVAS

2007-03-24 Thread Adrian Bunk
On Sat, Mar 24, 2007 at 02:49:42PM +0100, Armin Schindler wrote: On Sat, 24 Mar 2007, Adrian Bunk wrote: Randy Dunlap reported in kernel Bugzilla #8241 the following compile error with CONFIG_ISDN_CAPI=m, CONFIG_ISDN_DIVAS=y: -- snip -- ... WARNING: DIVA_DIDD_Read

Re: mm snapshot broken-out-2007-03-24-00-14.tar.gz uploaded

2007-03-24 Thread Andrew Morton
On Sat, 24 Mar 2007 12:35:33 +0100 Michal Piotrowski [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] napisał(a): The mm snapshot broken-out-2007-03-24-00-14.tar.gz has been uploaded to ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-03-24-00-14.tar.gz It

error in compilation kernel 2.6.19 - internal compiler error

2007-03-24 Thread Thibaud Hulin
Hello ! I'm triyng to compile the kernel 2.6.19 on Debian Testing 4.0 Unfortunately, I can't success. This is my error message : CC [M] drivers/scsi/lpfc/lpfc_sli.o In file included from drivers/scsi/lpfc/lpfc_sli.c:23: include/linux/pci.h:251: internal compiler error: in build_int_cst_wide,

Re: [rfc][patch] queued spinlocks (i386)

2007-03-24 Thread Nikita Danilov
Nick Piggin writes: On Fri, Mar 23, 2007 at 11:04:18AM +0100, Ingo Molnar wrote: * Nick Piggin [EMAIL PROTECTED] wrote: Implement queued spinlocks for i386. [...] isnt this patented by MS? (which might not worry you SuSE/Novell guys, but it might be a worry for the rest

Re: [PATCH UPDATED][2] cosmetic adaption of drivers/ide/Kconfig concerning SATA

2007-03-24 Thread Patrick Ringl
Bartlomiej Zolnierkiewicz wrote: On Sunday 18 March 2007, Patrick Ringl wrote: Bartlomiej Zolnierkiewicz wrote: Hello, On Sunday 18 March 2007, Patrick Ringl wrote: Hello, Hi, since especially Serial ATA has it's own menu point now, I guess we can change the

Re: [4/5] 2.6.21-rc4: known regressions (v2)

2007-03-24 Thread Michal Piotrowski
On 24/03/07, Thomas Gleixner [EMAIL PROTECTED] wrote: On Sat, 2007-03-24 at 14:59 +0100, Michal Piotrowski wrote: On 23/03/07, Thomas Gleixner [EMAIL PROTECTED] wrote: On Fri, 2007-03-23 at 19:50 +0100, Adrian Bunk wrote: Subject: soft lockup detected on CPU#0 References :

Re: error in compilation kernel 2.6.19 - internal compiler error

2007-03-24 Thread Paolo Ornati
On Sat, 24 Mar 2007 16:45:46 +0100 Thibaud Hulin [EMAIL PROTECTED] wrote: I'm triyng to compile the kernel 2.6.19 on Debian Testing 4.0 Unfortunately, I can't success. This is my error message : CC [M] drivers/scsi/lpfc/lpfc_sli.o In file included from drivers/scsi/lpfc/lpfc_sli.c:23:

Why is NCQ enabled by default by libata? (2.6.20)

2007-03-24 Thread Justin Piszcz
Without NCQ, performance is MUCH better on almost every operation, with the exception of 2-3 items. /usr/sbin/bonnie++ -d /x/bonnie -s 7952 -m p34 -n 16:10:16:64 run.txt; # Average of 3 runs with NCQ on for Quad Raptor ADFD 150 RAID 5 Software RAID:

Re: PATCH: tun/tap driver hw address handling

2007-03-24 Thread Ahmed S. Darwish
Hi Brian, On Sat, Mar 24, 2007 at 01:56:50AM -0700, Brian Braunstein wrote: Linus, According to Documentation/SubmittingPatches bug fixes or obvious changes should CCed to you, so this is why I have done this. IMHO these days patches got reviewed on LKML, then tested enough on the

Re: mm snapshot broken-out-2007-03-24-00-14.tar.gz uploaded

2007-03-24 Thread Michal Piotrowski
On 24/03/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The mm snapshot broken-out-2007-03-24-00-14.tar.gz has been uploaded to ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-03-24-00-14.tar.gz My network doesn't work RTNETLINK answers: Invalid argument git-net*

Re: Why is NCQ enabled by default by libata? (2.6.20)

2007-03-24 Thread Alan Cox
On Sat, 24 Mar 2007 12:38:02 -0400 (EDT) Justin Piszcz [EMAIL PROTECTED] wrote: Without NCQ, performance is MUCH better on almost every operation, with the exception of 2-3 items. It depends on the drive. Generally NCQ is better but some drive firmware isn't too bright and there are probably

Re: [rfc][patch] queued spinlocks (i386)

2007-03-24 Thread Ingo Molnar
* Nikita Danilov [EMAIL PROTECTED] wrote: Indeed, this technique is very well known. E.g., http://citeseer.ist.psu.edu/anderson01sharedmemory.html has a whole section (3. Local-spin Algorithms) on them, citing papers from the 1990 onward. that is a cool reference! So i'd suggest to do

glibc vs 2.6/2.4

2007-03-24 Thread Yakov Lerner
Can I build recent glibc such that it will work both on 2.6 and on 2.4 ? (multithreading-wise, I suppose). I tried to boot recent 2.6-based distro with 2.4 kernel and it did not work. Do I need to set some env.vars maybe (LD_ASSUME_KERNEL ? GNU_LIBPTHREAD_VERSION ?) for glibc when I switch

[PATCH] fix sysfs rom file creation for BIOS ROM shadows

2007-03-24 Thread Jesse Barnes
At one time, if a BIOS ROM shadow was detected for the boot video device (stored at offset 0xc), we'd set a special resource flag, IORESOURCE_ROM_SHADOW, so that the sysfs ROM file code could handle it properly. That broke along the way somewhere though, so current kernels will be missing

Re: mm snapshot broken-out-2007-03-24-00-14.tar.gz uploaded

2007-03-24 Thread Andrew Morton
On Sat, 24 Mar 2007 18:18:42 +0100 Michal Piotrowski [EMAIL PROTECTED] wrote: On 24/03/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The mm snapshot broken-out-2007-03-24-00-14.tar.gz has been uploaded to

Re: [2/5] 2.6.21-rc4: known regressions (v2)

2007-03-24 Thread Ray Lee
Thomas Gleixner wrote: Patch reproduced below, with an acked-by (and, uhm, a couple of spelling fixes in the description -- don't hate me, 'kay?). I know that my English sucks. Your English is fantastic, and far better than my German ever will be, so no worries :-). ~r. - To unsubscribe

Re: [3/5] 2.6.21-rc4: known regressions (v2)

2007-03-24 Thread Thomas Meyer
Eric W. Biederman schrieb: Thomas Meyer [EMAIL PROTECTED] writes: Adrian Bunk schrieb: Subject: second suspend to disk in a row results in an oops (libata?) References : http://lkml.org/lkml/2007/3/17/43 Submitter : Thomas Meyer [EMAIL PROTECTED] Status : unknown

Re: Linux-VServer example results for sharing vs. separate mappings ...

2007-03-24 Thread Herbert Poetzl
On Fri, Mar 23, 2007 at 09:42:35PM -0800, Andrew Morton wrote: On Fri, 23 Mar 2007 20:30:00 +0100 Herbert Poetzl [EMAIL PROTECTED] wrote: Hi Eric! Hi Folks! here is a real world example result from one of my tests regarding the benefit of sharing over separate memory the

Re: [3/5] 2.6.21-rc4: known regressions (v2)

2007-03-24 Thread Eric W. Biederman
Thomas Meyer [EMAIL PROTECTED] writes: Eric W. Biederman schrieb: Thomas Meyer [EMAIL PROTECTED] writes: Adrian Bunk schrieb: Subject: second suspend to disk in a row results in an oops (libata?) References : http://lkml.org/lkml/2007/3/17/43 Submitter : Thomas Meyer [EMAIL

Re: [rfc][patch] queued spinlocks (i386)

2007-03-24 Thread Nikita Danilov
Ingo Molnar writes: * Nikita Danilov [EMAIL PROTECTED] wrote: Indeed, this technique is very well known. E.g., http://citeseer.ist.psu.edu/anderson01sharedmemory.html has a whole section (3. Local-spin Algorithms) on them, citing papers from the 1990 onward. that is a

Re: [PATCH] x86_64: avoid sending LOCAL_TIMER_VECTOR IPI to itself

2007-03-24 Thread Ingo Molnar
* Ray Lee [EMAIL PROTECTED] wrote: Subject: [PATCH] x86_64: avoid sending LOCAL_TIMER_VECTOR IPI to itself Ray Lee reported, that on an UP kernel with noapic command line option set, the box locks hard during boot. i think this bug deserves a bit more attention, because similar problems

Re: [-mm patch] drivers/scsi/constants.c: make 2 functions static

2007-03-24 Thread Douglas Gilbert
Adrian Bunk wrote: On Mon, Mar 19, 2007 at 08:56:23PM -0800, Andrew Morton wrote: ... Changes since 2.6.21-rc3-mm1: ... git-scsi-misc.patch ... git trees ... This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] ---

Re: troubles with DAC960

2007-03-24 Thread Randy Dunlap
On Sat, 24 Mar 2007 15:21:16 +0100 Boris Andratzek wrote: Boris Andratzek wrote: Hello members of the kernel-list, I'm new to this and hope I don't misuse the list in any way. Doing the update from debian sarge to etch on my server I ran into the bug documented here:

Re: [-mm patch] drivers/scsi/constants.c: make 2 functions static

2007-03-24 Thread Adrian Bunk
On Sat, Mar 24, 2007 at 12:11:05PM -0400, Douglas Gilbert wrote: Adrian Bunk wrote: On Mon, Mar 19, 2007 at 08:56:23PM -0800, Andrew Morton wrote: ... Changes since 2.6.21-rc3-mm1: ... git-scsi-misc.patch ... git trees ... This patch makes two needlessly global functions

Re: [3/5] 2.6.21-rc4: known regressions (v2)

2007-03-24 Thread Thomas Meyer
Adrian Bunk schrieb: Subject: second suspend to disk in a row results in an oops (libata?) References : http://lkml.org/lkml/2007/3/17/43 Submitter : Thomas Meyer [EMAIL PROTECTED] Status : unknown The problem is identified: http://lkml.org/lkml/2007/3/22/150 - To unsubscribe

Re: [3/5] 2.6.21-rc4: known regressions (v2)

2007-03-24 Thread Eric W. Biederman
Thomas Meyer [EMAIL PROTECTED] writes: Adrian Bunk schrieb: Subject: second suspend to disk in a row results in an oops (libata?) References : http://lkml.org/lkml/2007/3/17/43 Submitter : Thomas Meyer [EMAIL PROTECTED] Status : unknown The problem is identified:

Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container interface to nsproxy subsystem

2007-03-24 Thread Srivatsa Vaddagiri
On Sat, Mar 24, 2007 at 10:35:37AM +0530, Srivatsa Vaddagiri wrote: +static int ns_create(struct container_subsys *ss, struct container *cont) +{ + struct nscont *ns; + + if (!capable(CAP_SYS_ADMIN)) + return -EPERM; Does this check break existing namespace semantics

Re: I/O memory barriers vs SMP memory barriers

2007-03-24 Thread Benjamin Herrenschmidt
On Fri, 2007-03-23 at 13:43 +, David Howells wrote: [Resend - this time with a comma in the addresses, not a dot] Lennert Buytenhek [EMAIL PROTECTED] wrote: [ background: On ARM, SMP synchronisation does need barriers but device synchronisation does not. The question is that given

Re: Linux-VServer example results for sharing vs. separate mappings ...

2007-03-24 Thread Andrew Morton
On Sat, 24 Mar 2007 19:38:06 +0100 Herbert Poetzl [EMAIL PROTECTED] wrote: On Fri, Mar 23, 2007 at 09:42:35PM -0800, Andrew Morton wrote: On Fri, 23 Mar 2007 20:30:00 +0100 Herbert Poetzl [EMAIL PROTECTED] wrote: Hi Eric! Hi Folks! here is a real world example result from

Re: race condition in dm-crypt?

2007-03-24 Thread Kasper Sandberg
On Fri, 2007-03-23 at 21:41 +0100, Christoph Maier wrote: Jan C. Nordholz wrote: I think I'm experiencing a race condition: Irregularly my kernel runs into an Oops when it tries to initialize my crypt containers. FYI, there are similiar reports on the net, going as far back as May 2006:

Re: [3/5] 2.6.21-rc4: known regressions (v2)

2007-03-24 Thread Thomas Meyer
Eric W. Biederman schrieb: Odd. I would have thought the oops happened in the first resume, not the second. Hmm. It may have something to do with the ``managed'' driver aspect of this as well.. No. I don't think so. The problem is caused by this sequence: (the info is always before

Re: mm snapshot broken-out-2007-03-24-00-14.tar.gz uploaded

2007-03-24 Thread David Miller
From: Andrew Morton [EMAIL PROTECTED] Date: Sat, 24 Mar 2007 10:16:53 -0800 On Sat, 24 Mar 2007 18:18:42 +0100 Michal Piotrowski [EMAIL PROTECTED] wrote: On 24/03/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The mm snapshot broken-out-2007-03-24-00-14.tar.gz has been uploaded to

Re: [rfc][patch] queued spinlocks (i386)

2007-03-24 Thread Andrew Morton
On Fri, 23 Mar 2007 11:32:44 +0100 Nick Piggin [EMAIL PROTECTED] wrote: I'm not as concerned about the contended performance of spinlocks The contended case matters. Back in 2.5.something I screwed up the debug version of one of the locks (rwlock, iirc) - it was simply missing a cpu_relax(),

[PATCH] i386: Prevent early access to TSC to avoid crash on TSCless systems

2007-03-24 Thread Thomas Gleixner
commit f9690982b8c2f9a2c65acdc113e758ec356676a3 removed the check for cpu_khz from sched_clock(), which prevented early access to the TSC by non obvious magic. This is harmless as long as the CPU has a TSC. On TSCless systems this results in an illegal instruction trap. Replace tsc_disabled and

[patch 1/3] fix illogical behavior in balance_dirty_pages()

2007-03-24 Thread Miklos Szeredi
This is a slightly different take on the fix for the deadlock in fuse with dirty balancing. David Chinner convinced me, that per-bdi counters are too expensive, and that it's not worth trying to account the number of pages under writeback, as they will be limited by the queue anyway. From:

[patch 2/3] remove throttle_vm_writeout()

2007-03-24 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] Remove this function. It's purpose was to limit the global number of writeback pages from submitted by direct reclaim. But this is equally well accomplished by limited queue lengths. When this function was added, the device queues had much larger default

[patch 3/3] balance dirty pages from loop device

2007-03-24 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] The function do_lo_send_aops() should call balance_dirty_pages_ratelimited() after each page similarly to generic_file_buffered_write(). Without this, writing the loop device directly (not through a filesystem) is very slow, and also slows the whole system

[patch] add file position info to proc

2007-03-24 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] This patch adds support for finding out the current file position, open flags and possibly other info in the future. These new entries are added: /proc/PID/fdinfo/FD /proc/PID/task/TID/fdinfo/FD For each fd the information is provided in the following

[patch 1/3] split mmap

2007-03-24 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] This is a straightforward split of do_mmap_pgoff() into two functions: - do_mmap_pgoff() checks the parameters, and calculates the vma flags. Then it calls - mmap_region(), which does the actual mapping Signed-off-by: Miklos Szeredi [EMAIL

[patch 2/3] only allow nonlinear vmas for ram backed filesystems

2007-03-24 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] Dirty page accounting/limiting doesn't work for nonlinear mappings, so for non-ram backed filesystems emulate with linear mappings. This retains ABI compatibility with previous kernels at minimal code cost. All known users of nonlinear mappings actually

[patch 3/3] update ctime and mtime for mmaped write

2007-03-24 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] Changes: v3: o rename is_page_modified to test_clear_page_modified v2: o set AS_CMTIME flag in clear_page_dirty_for_io() too o don't clear AS_CMTIME in file_update_time() o check the dirty bit in the page tables v1: o moved check from __fput() to

Re: Why is NCQ enabled by default by libata? (2.6.20)

2007-03-24 Thread Robert Hancock
Justin Piszcz wrote: Without NCQ, performance is MUCH better on almost every operation, with the exception of 2-3 items. /usr/sbin/bonnie++ -d /x/bonnie -s 7952 -m p34 -n 16:10:16:64 run.txt; # Average of 3 runs with NCQ on for Quad Raptor ADFD 150 RAID 5 Software RAID:

Re: [PATCH] i386: Prevent early access to TSC to avoid crash on TSCless systems

2007-03-24 Thread Ingo Molnar
* Thomas Gleixner [EMAIL PROTECTED] wrote: commit f9690982b8c2f9a2c65acdc113e758ec356676a3 removed the check for cpu_khz from sched_clock(), which prevented early access to the TSC by non obvious magic. This is harmless as long as the CPU has a TSC. On TSCless systems this results in

Re: [PATCH] i386: Prevent early access to TSC to avoid crash on TSCless systems

2007-03-24 Thread Guillaume Chazarain
+static int tsc_enabled; So, now we have tsc_disable, tsc_enabled and tsc_unstable. I can understand the latter, but this lacks orthogonality IMHO. -- Guillaume - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo

Re: [PATCH] i386: Prevent early access to TSC to avoid crash on TSCless systems

2007-03-24 Thread Ingo Molnar
* Guillaume Chazarain [EMAIL PROTECTED] wrote: +static int tsc_enabled; So, now we have tsc_disable, tsc_enabled and tsc_unstable. I can understand the latter, but this lacks orthogonality IMHO. tsc_disable should be renamed to tsc_disable_override or so, to signal that it's only the

Re: 2.6.21-rc4-mm1

2007-03-24 Thread Matt Mackall
On Wed, Mar 21, 2007 at 11:39:17PM -0800, Andrew Morton wrote: On Wed, 21 Mar 2007 15:22:25 -0500 Matt Mackall [EMAIL PROTECTED] wrote: With the latest -mm, I'm now getting this: Mar 21 15:06:52 cinder kernel: ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection Mar 21

Linux 2.6.16.45-rc1

2007-03-24 Thread Adrian Bunk
Location: ftp://ftp.kernel.org/pub/linux/kernel/people/bunk/linux-2.6.16.y/testing/ git tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.16.y.git Changes since 2.6.16.44: Adrian Bunk (1): Linux 2.6.16.45-rc1 Alexey Dobriyan (1): [NET]: Copy mac_len in

Re: (usagi-core 32634) [PATCH 2/2] [USB] [SERIAL]: fixed to skip NULL port entry in struct usb_serial_port.

2007-03-24 Thread Noriaki TAKAMIYA
Sorry for resending. Hi, This patch fixes to skip serial-port[i] if it is set NULL. Signed-off-by: Noriaki TAKAMIYA [EMAIL PROTECTED] --- include/linux/usb/serial.h |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/include/linux/usb/serial.h

[PATCH 0/2] [SERIAL] [USB] fixed to skip NULL entry in struct serial usb_serial_port.

2007-03-24 Thread Noriaki TAKAMIYA
Hi, When I boot using linux-2.6.21-rc4 on ThinkPad T41 with pl2303 USB serial device plugged in, the kernel crashes. The reason is struct usb_serial_port is referenced without checking whether it is NULL or not. Regards, -- Noriaki TAKAMIYA - To unsubscribe from this list: send the

[PATCH 1/2] [USB] [PL2303]: fixed to skip NULL entry in pl2303_shutdown.

2007-03-24 Thread Noriaki TAKAMIYA
Hi, While booting, this entry is set to NULL in destroy_serial(), but serial-port is referred again in pl2303_shutdown() via serial-type-shutdown. --- drivers/usb/serial/pl2303.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/usb/serial/pl2303.c

Re: (usagi-core 32633) [PATCH 1/2] [USB] [PL2303]: fixed to skip NULL entry in pl2303_shutdown.

2007-03-24 Thread Noriaki TAKAMIYA
Sorry for resending. While booting, this entry is set to NULL in destroy_serial(), but serial-port is referred again in pl2303_shutdown() via serial-type-shutdown. Signed-off-by: Noriaki TAKAMIYA [EMAIL PROTECTED] --- drivers/usb/serial/pl2303.c |2 ++ 1 files changed, 2

[PATCH 2/2] [USB] [SERIAL]: fixed to skip NULL port entry in struct usb_serial_port.

2007-03-24 Thread Noriaki TAKAMIYA
Hi, This patch fixes to skip serial-port[i] if it is set NULL. --- include/linux/usb/serial.h |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/include/linux/usb/serial.h b/include/linux/usb/serial.h index 32acbae..85ed5ef 100644 --- a/include/linux/usb/serial.h +++

Re: (usagi-core 32633) [PATCH 1/2] [USB] [PL2303]: fixed to skip NULL entry in pl2303_shutdown.

2007-03-24 Thread Noriaki TAKAMIYA
Sorry for resending Hi, While booting, this entry is set to NULL in destroy_serial(), but serial-port is referred again in pl2303_shutdown() via serial-type-shutdown. --- drivers/usb/serial/pl2303.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

Re: [ckrm-tech] [PATCH 3/7] containers (V7): Add generic multi-subsystem API to containers

2007-03-24 Thread Srivatsa Vaddagiri
On Mon, Feb 12, 2007 at 12:15:24AM -0800, [EMAIL PROTECTED] wrote: +static int attach_task(struct container *cont, struct task_struct *tsk) { [snip] + for_each_subsys(h, ss) { + if (ss-can_attach) { + retval = ss-can_attach(ss, cont, tsk); +

Re: [ckrm-tech] [PATCH 1/7] containers (V7): Generic container system abstracted from cpusets code

2007-03-24 Thread Srivatsa Vaddagiri
On Mon, Feb 12, 2007 at 12:15:22AM -0800, [EMAIL PROTECTED] wrote: +static int attach_task(struct container *cont, char *pidbuf, char **ppathbuf) +{ + pid_t pid; + struct task_struct *tsk; + struct container *oldcont; + int retval; + + if (sscanf(pidbuf, %d, pid) != 1)

Re: [PATCH 2.6.20.3] Flush writes to MSI-X table

2007-03-24 Thread Kok, Auke
Greg KH wrote: On Fri, Mar 23, 2007 at 05:28:02PM -0700, Greg KH wrote: On Fri, Mar 23, 2007 at 05:24:23PM -0700, Williams, Mitch A wrote: Greg KH wrote: Well, I'm sure you can agree that it is _very_ late in the 2.6.21 release cycle to expect to get this in for that kernel. How about

Re: [PATCH 2.6.20.3] Flush writes to MSI-X table

2007-03-24 Thread Greg KH
On Sat, Mar 24, 2007 at 04:33:41PM -0700, Kok, Auke wrote: Greg KH wrote: On Fri, Mar 23, 2007 at 05:28:02PM -0700, Greg KH wrote: On Fri, Mar 23, 2007 at 05:24:23PM -0700, Williams, Mitch A wrote: Greg KH wrote: Well, I'm sure you can agree that it is _very_ late in the 2.6.21 release cycle

kmem_cache_create loop for find the proper gfporder

2007-03-24 Thread Bin Chen
I have some doubts about the loop to find the gfporder of a cache. For the code below, its main purpose is to find a gfporder value that can make the internal fragmentation less that 1/8 of the total slab size. It is done by increase gfporder for low number to high(possibly 0 to MAX_GFP_ORDER).

  1   2   >