Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce per cpu access overhead

2007-11-12 Thread Eric Dumazet
Christoph Lameter a écrit : On Mon, 12 Nov 2007, Eric Dumazet wrote: For example, I do think using a per cpu memory storage on net_device refcnt last_rx could give us some speedups. Note that there was a new patchset posted (titled cpu alloc v1) that provides on demand extension of the cpu

Re: Kernel panic at boot with ondemand governor as default (2.6.24-rc2)

2007-11-12 Thread Dave Jones
On Mon, Nov 12, 2007 at 04:23:09PM +0100, Thomas Renninger wrote: On Mon, 2007-11-12 at 15:02 +0100, Eric Piel wrote: 11/12/2007 10:16 AM, Thomas Renninger wrote/a écrit: On Sun, 2007-11-11 at 20:10 +0100, Eric Piel wrote: Hello, I've tried kernel 2.6.24-rc2 and I have a

x86 32-bit machine check handler

2007-11-12 Thread Max Asbock
Now that the 32-bit and 64-bit x86 machine check handlers live next to each other a certain asymmetry in functionality is apparent. Notably, the 64-bit machine check handler implements a timer that periodically polls for silent machine check errors and makes them accessible to user space through

Re: Strage buffer behaviour

2007-11-12 Thread Heikki Orsila
On Mon, Nov 12, 2007 at 12:44:53PM -0700, Denys Vlasenko wrote: IIRC only mounted partitions' reads are cached. That seems to be the case. Thanks. -- Heikki Orsila Barbie's law: [EMAIL PROTECTED] Math is hard, let's go shopping! http://www.iki.fi/shd - To

Re: [PATCH] Include header required for INT_MAX

2007-11-12 Thread Mike Frysinger
On Nov 11, 2007 5:52 PM, Jan Engelhardt [EMAIL PROTECTED] wrote: Nack, we shoiuld never include userspace headers in kernel headers, an even more never add !__KERNEL__ ifdefs. Just make sure your programs include limit.h before including linux/cdrom.h. I think header files should be

[PATCH revised] enable make ARCH=x86 (and stay backward compatible)

2007-11-12 Thread Sam Ravnborg
This revised patchset does the followings things: o unify the i386 and x86_64 Kconfig files o introduce support for K64BIT to set CONFIG_64BIT on command line o introdue support for make ARCH=x86 o degraded ARCH={i386,x86_64} to select between 32/64 for all*targets and otherwise just selecting

[PATCH] x86: add X86_64 dependency to x86_64 specific symbols in Kconfig.x86_64

2007-11-12 Thread Sam Ravnborg
To ease unification of Kconfig.i386 and Kconfig.x86_64 add X86_64 dependencies to all x86_64 specific symbols. This patch introduce no functional changes but is one step towards unification. This smaller step is used to ease review of the patch set. Signed-off-by: Sam Ravnborg [EMAIL PROTECTED]

[PATCH] x86: add X86_32 dependency to i386 specific symbols in Kconfig.i386

2007-11-12 Thread Sam Ravnborg
To ease unification of Kconfig.i386 and Kconfig.x86_64 add X86_32 dependencies to all i386 specific symbols. This patch introduce no functional changes but is one step towards unification. This smaller step is used to ease review of the patch set. Signed-off-by: Sam Ravnborg [EMAIL PROTECTED]

[PATCH] x86: unification of cfufreq/Kconfig

2007-11-12 Thread Sam Ravnborg
Merge the two Kconfig files to a single file. Checked using make allmodconfig for x86_64. No changes in build. Signed-off-by: Sam Ravnborg [EMAIL PROTECTED] Cc: Adrian Bunk [EMAIL PROTECTED] Cc: Dave Jones [EMAIL PROTECTED] --- arch/x86/Kconfig.i386 |2 +-

[PATCH] kconfig: add helper to set config symbol from environment variable

2007-11-12 Thread Sam Ravnborg
Add conf_set_env_sym() that can set an already defined symbol based on the value of an environment variable. Unknown symbols are silently ignored. A warning is printed if the value of the environment variable is unexpected. Signed-off-by: Sam Ravnborg [EMAIL PROTECTED] Cc: Roman Zippel [EMAIL

[PATCH] x86: arch/x86/Kconfig.cpu unification

2007-11-12 Thread Sam Ravnborg
Move all CPU definitions to Kconfig.cpu Always define X86_MINIMUM_CPU_FAMILY and do the obvious code cleanup in boot/cpucheck.c Comments from: Adrian Bunk [EMAIL PROTECTED] incorporated. Signed-off-by: Sam Ravnborg [EMAIL PROTECTED] Cc: Adrian Bunk [EMAIL PROTECTED] Cc: Brian Gerst [EMAIL

[PATCH] x86: start unification of arch/x86/Kconfig.*

2007-11-12 Thread Sam Ravnborg
This step introduces the file arch/x86/Kconfig which contains all the menu's from Power Management and below. The main part of the new Kconfig file is shared and the remaining i386/x86_64 specific symbols are covered by dependencies. A x86_64 allmodconfig build did not show any differences.

[PATCH] kconfig: use $K64BIT to set 64BIT with all*config targets

2007-11-12 Thread Sam Ravnborg
The variable K64BIT can now be used to select the value of CONFIG_64BIT. This is for example useful for powerpc to generate allmodconfig for both bit sizes - like this: make ARCH=powerpc K64BIT=y make ARCH=powerpc K64BIT=n To use this the Kconfig file must use 64BIT as the config value to select

[PATCH] x86: copy x86_64 specific Kconfig symbols to Kconfig.i386

2007-11-12 Thread Sam Ravnborg
No functional changes. A prepatory step towards full unification. Signed-off-by: Sam Ravnborg [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] --- arch/x86/Kconfig |6 +- arch/x86/Kconfig.i386 | 215

[PATCH] x86: move all simple arch settings to Kconfig

2007-11-12 Thread Sam Ravnborg
Most of the arch settings were equal so combine them in the first part of Kconfig. Signed-off-by: Sam Ravnborg [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] --- arch/x86/Kconfig| 136

[PATCH] kconfig: factor out code in confdata.c

2007-11-12 Thread Sam Ravnborg
This patch introduce no functional changes. Signed-off-by: Sam Ravnborg [EMAIL PROTECTED] Cc: Roman Zippel [EMAIL PROTECTED] --- scripts/kconfig/confdata.c | 119 +++ 1 files changed, 64 insertions(+), 55 deletions(-) diff --git

[PATCH] x86: enable make ARCH=x86

2007-11-12 Thread Sam Ravnborg
After unification of the Kconfig files and introducing K64BIT support in kconfig it required only trivial changes to enable make ARCH=x86. With this patch you can build for x86_64 in several ways: 1) make ARCH=x86_64 2) make ARCH=x86 K64BIT=y 3) make ARCH=x86 menuconfig = select 64-bit

[PATCH] x86: do not use $(ARCH) when not needed

2007-11-12 Thread Sam Ravnborg
For x86 ARCH may say i386 or x86_64 and soon x86. Rely on CONFIG_X64_32 to select between 32/64 or just hardcode the value as appropriate. Signed-off-by: Sam Ravnborg [EMAIL PROTECTED] Cc: Thomas Gleixner [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: H. Peter Anvin [EMAIL PROTECTED] ---

[PATCH] knfsd: fix spurious EINVAL errors on first access of new filesystem

2007-11-12 Thread J. Bruce Fields
The v2/v3 acl code in nfsd is translating any return from fh_verify() to nfserr_inval. This is particularly unfortunate in the case of an nfserr_dropit return, which is an internal error meant to indicate to callers that this request has been deferred and should just be dropped pending the

[PATCH] nfsd4: recheck for secure ports in fh_verify

2007-11-12 Thread J. Bruce Fields
As with 7fc90ec93a5eb71f4b08... call nfsd_setuser() on fh_compose()... this is a case where we need to redo a security check in fh_verify() even though the filehandle already has an associated dentry--if the filehandle was created by fh_compose() in an earlier operation of the nfsv4

nfsd bugfixes

2007-11-12 Thread J. Bruce Fields
The following two patches are nfsd bugfixes that I believe are appropriate for 2.6.24 and 2.6.23.y. --b. - 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

Re: [PATCH 1/1] [IA32-EMU] Remove trailing spaces

2007-11-12 Thread Andi Kleen
On Monday 12 November 2007 19:17:47 Cyrill Gorcunov wrote: This patch does remove trailing spaces from source files. That will just cause a zillion patches to not apply anymore with exactly 0 benefit. -Andi - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

Re: [patch] x86: fix taking DNA during 64bit sigreturn

2007-11-12 Thread Andi Kleen
The *real* fix for this is almost certainly to just get rid of the 64-bit code entirely, and use the 32-bit code as the base for one single unified setup. That would likely break the ABI. x86-64 ABI is completely different here -- no ibcs, just pure x86 ISA. I always thought direct FXSAVE

Re: [PATCH, RFC] improved hacks to allow -rt to run kernbench on POWER

2007-11-12 Thread Benjamin Herrenschmidt
And here is an updated patch. There has to be a better way than the #ifdef, but I need the two local variables, and breaking the intervening code out into a separate function didn't quite seem right either. Thoughts? Nothing comes to mind right now... This one does only one oops during

Re: x86 32-bit machine check handler

2007-11-12 Thread H. Peter Anvin
Max Asbock wrote: Now that the 32-bit and 64-bit x86 machine check handlers live next to each other a certain asymmetry in functionality is apparent. Notably, the 64-bit machine check handler implements a timer that periodically polls for silent machine check errors and makes them accessible to

Re: [PATCH] drivers/ide/ide-probe.c, kernel 2.6.23.1

2007-11-12 Thread Andrew Morton
On Fri, 09 Nov 2007 11:22:41 +0100 Jonas Stare [EMAIL PROTECTED] wrote: Hi. This week I ran into a strange hardware problem. During boot I got a 35 second delay while waiting for IDE-disks that weren't there to report that they were not in a BSY state. The problem was most likely in the

Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce per cpu access overhead

2007-11-12 Thread David Miller
From: Herbert Xu [EMAIL PROTECTED] Date: Mon, 12 Nov 2007 18:52:35 +0800 David Miller [EMAIL PROTECTED] wrote: Each IP compression tunnel instance does an alloc_percpu(). Actually all IPComp tunnels share one set of objects which are allocated per-cpu. So only the first tunnel would do

Re: Major mke2fs slowdown (reproducable, bisected)

2007-11-12 Thread Alexey Dobriyan
On Mon, Nov 12, 2007 at 10:39:15AM -0800, Linus Torvalds wrote: On Mon, 12 Nov 2007, Alexey Dobriyan wrote: Cross-compile farm here migrated to .ccache and build dir on separate disks and now I have a way to blow up .ccache without waiting half an hour for rm(1) to finish. It's called

Re: [patch 2.6.24-rc2 1/3] generic gpio -- gpio_chip support

2007-11-12 Thread Andrew Morton
On Fri, 9 Nov 2007 11:36:19 -0800 David Brownell [EMAIL PROTECTED] wrote: Provide new implementation infrastructure that platforms may choose to use when implementing the GPIO programming interface. Platforms can update their GPIO support to use this. In many cases the incremental cost to

Re: [PATCH 1/1] [IA32-EMU] Remove trailing spaces

2007-11-12 Thread Andrew Morton
On Mon, 12 Nov 2007 22:01:45 +0100 Andi Kleen [EMAIL PROTECTED] wrote: On Monday 12 November 2007 19:17:47 Cyrill Gorcunov wrote: This patch does remove trailing spaces from source files. That will just cause a zillion patches to not apply anymore `patch -l' with exactly 0 benefit.

Re: [RFC: 2.6 patch] add -fno-tree-scev-cprop to KBUILD_CFLAGS

2007-11-12 Thread Bernd Schmidt
Adrian Bunk wrote: It can be a performance regression, but there are also cases where it can improve performance. If gcc produces lower performance code that would be a bug in gcc that should be reported, but using a division is not generally wrong. A more clearer example might be: --

Re: nfsd bugfixes

2007-11-12 Thread Neil Brown
On Monday November 12, [EMAIL PROTECTED] wrote: The following two patches are nfsd bugfixes that I believe are appropriate for 2.6.24 and 2.6.23.y. --b. Both Reviewed-By: NeilBrown [EMAIL PROTECTED] Calling nfsd_setuser an extra time does open us up for a very tiny possibility of an

[RFC][PATCH] Replace the goto-based loop by a do-while statement

2007-11-12 Thread Dmitri Vorobiev
Hi list, It looks like using the goto statement in constructs like restart: // DO SOMETHING if (condition) goto restart; should be frowned upon and the loop do { // DO SOMETHING } while (condition); is more appropriate in such situation. However, in the

[PATCH 1/2] libsas: Convert ATA bridge to use new EH

2007-11-12 Thread Darrick J. Wong
Migrate the sas_ata bridge to use the new libata EH strategy, and finally implement correct software reset. WARNING WARNING WARNING! This patch is for experimental use only; it is nowhere near complete! Especially the sas_ata_freeze() function. This patch may eat your data and kill your trees.

[PATCH 2/2] libsas: Use new ATA configuration mechanism

2007-11-12 Thread Darrick J. Wong
Update sas_ata to use the new ata_sas_rphy mechanisms as provided by Brian King, and simplify ATA device discovery... WARNING WARNING WARNING! This patch is experimental, use at your own risk. Comments-requested-by: Darrick J. Wong [EMAIL PROTECTED] --- drivers/scsi/libsas/sas_ata.c |

Re: [PATCH] Improve cgroup printks

2007-11-12 Thread Andrew Morton
On Sat, 10 Nov 2007 12:11:56 +0100 Diego Calleja [EMAIL PROTECTED] wrote: When I boot with the 'quiet' parameter, I see on the screen: [0.00] Initializing cgroup subsys cpuset [0.00] Initializing cgroup subsys cpu [ 39.036026] Initializing cgroup subsys cpuacct [

Re: nfsd bugfixes

2007-11-12 Thread J. Bruce Fields
On Tue, Nov 13, 2007 at 09:08:42AM +1100, Neil Brown wrote: On Monday November 12, [EMAIL PROTECTED] wrote: The following two patches are nfsd bugfixes that I believe are appropriate for 2.6.24 and 2.6.23.y. --b. Both Reviewed-By: NeilBrown [EMAIL PROTECTED] Thanks, Neil.

Re: Major mke2fs slowdown (reproducable, bisected)

2007-11-12 Thread Linus Torvalds
On Tue, 13 Nov 2007, Alexey Dobriyan wrote: OK, with 2.6.24-rc2-6e800af233e0bdf108efb7bd23c11ea6fa34cdeb mkfs took 4m6.915s seconds. With just lower PFNs patch reverted it's back to 10 seconds. Ok, I reverted it. Thanks for double-checking. Mel, I guess it's in your court.

Re: [PATCH] NFS: Fix the ustat() regression

2007-11-12 Thread Andrew Morton
On Sat, 10 Nov 2007 17:02:19 -0600 (CST) Kumar Gala [EMAIL PROTECTED] wrote: Since 2.6.18, the superblock sb-s_root has been a dummy dentry with a dummy inode. This breaks ustat(), which actually uses sb-s_root in a vfstat() call. Fix this by making the s_root a dummy alias to the directory

Re: [PATCH] module loader should not complain about unknown symbol

2007-11-12 Thread Rusty Russell
On Tuesday 13 November 2007 01:18:27 Jan Glauber wrote: If module A depends on module B and module B has not yet finished its init() the module loader may print a warning about an unknown symbol. This happens if module B is still in state MODULE_STATE_COMING, as module A runs into

Re: top lies ?

2007-11-12 Thread Jarek Poplawski
Tomasz Kłoczko wrote, On 11/12/2007 06:57 PM: Some data showed by top command looks like completly trashed. Fragment from top output: Mem: 2075784k total, 2053352k used,22432k free,19260k buffers Swap: 2096472k total, 136k used, 2096336k free, 1335080k cached PID

Re: XFS related Oops

2007-11-12 Thread David Chinner
On Mon, Nov 12, 2007 at 07:47:06AM +0100, Tino Keitel wrote: Hi, after resume from suspend with 2.6.23.1, I got the following Oops: BUG: unable to handle kernel paging request at virtual address 3e0d204c printing eip: c022807f *pde = Oops: [#1] SMP Modules linked in:

Re: [PATCH 2/2] [e1000 VLAN] Disable vlan hw accel when promiscuous mode

2007-11-12 Thread David Miller
From: Kok, Auke [EMAIL PROTECTED] Date: Mon, 12 Nov 2007 09:12:40 -0800 Actually I think this patch removes a choice from the user. Before this patch, the user can sniff all traffic by disabling vlans, or a specific vlan only by leaving vlans on when going into promisc mode. After this

Re: [PATCH 2/2] [e1000 VLAN] Disable vlan hw accel when promiscuous mode

2007-11-12 Thread David Miller
From: Patrick McHardy [EMAIL PROTECTED] Date: Mon, 12 Nov 2007 18:21:35 +0100 Do you really consider that a realistic choice? Who is going to remove interfaces that are in use just to see traffic for other VLANs? Sniffing specific VLANs can always be done on the VLAN device itself. Change

Re: [patch 2.6.24-rc2 1/3] generic gpio -- gpio_chip support

2007-11-12 Thread David Brownell
On Monday 12 November 2007, Andrew Morton wrote: On Fri, 9 Nov 2007 11:36:19 -0800 David Brownell [EMAIL PROTECTED] wrote: Provide new implementation infrastructure that platforms may choose to use when implementing the GPIO programming interface. ... ... +/* gpio_lock protects

Re: nfsd bugfixes

2007-11-12 Thread Neil Brown
(CC: trimmed - as Bruce says: separate discussion) On Monday November 12, [EMAIL PROTECTED] wrote: On Tue, Nov 13, 2007 at 09:08:42AM +1100, Neil Brown wrote: Calling nfsd_setuser an extra time does open us up for a very tiny possibility of an ENOMEM at an awkward time. Hm. Could you

Re: [PATCH 2/2] [e1000 VLAN] Disable vlan hw accel when promiscuous mode

2007-11-12 Thread Chris Friesen
David Miller wrote: When you select VLAN, you by definition are asking for non-VLAN traffic to be elided. It is like plugging the ethernet cable into one switch or another. For max functionality it seems like the raw eth device should show everything on the wire in promiscuous mode. If we

Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce per cpu access overhead

2007-11-12 Thread David Miller
From: Eric Dumazet [EMAIL PROTECTED] Date: Mon, 12 Nov 2007 21:14:47 +0100 I dont think this is a problem. Cpus numbers and ram size are related, even if Moore didnt predicted it; Nobody wants to ship/build a 4096 cpus machine with 256 MB of ram inside. Or call it a GPU and dont expect

Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce per cpu access overhead

2007-11-12 Thread David Miller
From: Eric Dumazet [EMAIL PROTECTED] Date: Mon, 12 Nov 2007 21:18:17 +0100 Christoph Lameter a écrit : On Mon, 12 Nov 2007, Eric Dumazet wrote: For example, I do think using a per cpu memory storage on net_device refcnt last_rx could give us some speedups. Note that there was a

Re: [PATCH 1/6] Suppress A.OUT library support if !CONFIG_BINFMT_AOUT [try #5]

2007-11-12 Thread SL Baur
On 11/12/07, Andrew Morton [EMAIL PROTECTED] wrote: On Mon, 12 Nov 2007 15:34:40 + David Howells [EMAIL PROTECTED] wrote: Andrew Morton [EMAIL PROTECTED] wrote: +# -*- makefile -*- what's that? Ah... That tells emacs that it's a makefile. In Kbuild.asm emacs thinks its

Re: [PATCH 1/1] [IA32-EMU] Remove trailing spaces

2007-11-12 Thread David Miller
From: Andi Kleen [EMAIL PROTECTED] Date: Mon, 12 Nov 2007 22:01:45 +0100 On Monday 12 November 2007 19:17:47 Cyrill Gorcunov wrote: This patch does remove trailing spaces from source files. That will just cause a zillion patches to not apply anymore with exactly 0 benefit. You'll

Re: [PATCH 2/2] [e1000 VLAN] Disable vlan hw accel when promiscuous mode

2007-11-12 Thread Kok, Auke
Chris Friesen wrote: David Miller wrote: When you select VLAN, you by definition are asking for non-VLAN traffic to be elided. It is like plugging the ethernet cable into one switch or another. For max functionality it seems like the raw eth device should show everything on the wire in

Re: [PATCH 1/1] [IA32-EMU] Remove trailing spaces

2007-11-12 Thread Andi Kleen
On Monday 12 November 2007 23:50:49 David Miller wrote: From: Andi Kleen [EMAIL PROTECTED] Date: Mon, 12 Nov 2007 22:01:45 +0100 On Monday 12 November 2007 19:17:47 Cyrill Gorcunov wrote: This patch does remove trailing spaces from source files. That will just cause a zillion

Re: [PATCH 2/2] [e1000 VLAN] Disable vlan hw accel when promiscuous mode

2007-11-12 Thread David Miller
From: Chris Friesen [EMAIL PROTECTED] Date: Mon, 12 Nov 2007 16:43:24 -0600 David Miller wrote: When you select VLAN, you by definition are asking for non-VLAN traffic to be elided. It is like plugging the ethernet cable into one switch or another. For max functionality it seems like

Re: [PATCH 1/1] [IA32-EMU] Remove trailing spaces

2007-11-12 Thread David Miller
From: Andi Kleen [EMAIL PROTECTED] Date: Mon, 12 Nov 2007 23:55:54 +0100 Sure, it's likely not your time that will be wasted. I have to respin in excess of 800 networking patches at a time due to these kinds of things. It's absolutely trivial, whether by hand or using tool options that help

Re: [PATCH 1/1] [IA32-EMU] Remove trailing spaces

2007-11-12 Thread Andi Kleen
On Monday 12 November 2007 23:59:21 David Miller wrote: From: Andi Kleen [EMAIL PROTECTED] Date: Mon, 12 Nov 2007 23:55:54 +0100 Sure, it's likely not your time that will be wasted. I have to respin in excess of 800 networking patches at a time due to these kinds of things. It's

Re: Kernel panic at boot with ondemand governor as default (2.6.24-rc2)

2007-11-12 Thread Eric Piel
2007年11月12日 21:26, Dave Jones wrote/a écrit: On Mon, Nov 12, 2007 at 04:23:09PM +0100, Thomas Renninger wrote: On Mon, 2007-11-12 at 15:02 +0100, Eric Piel wrote: : Yes, it works if I compile speedstep-ich as module. I've put the module in initramfs and as soon it is loaded, the

[PATCH] sata_nv: fix ADMA ATAPI issues with memory over 4GB

2007-11-12 Thread Robert Hancock
This fixes some problems with ATAPI devices on nForce4 controllers in ADMA mode on systems with memory located above 4GB. We need to make sure that the legacy PRD table and padding buffer are appropriately allocated according to the DMA mask requirements of the current operating mode (ADMA or

Re: [PATCH 1/6] Suppress A.OUT library support if !CONFIG_BINFMT_AOUT [try #5]

2007-11-12 Thread David Howells
SL Baur [EMAIL PROTECTED] wrote: (push '(/Kbuild . makefile-mode) auto-mode-alist) Does that work for Kbuild.asm too, more to the point? David - 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 2/2] [e1000 VLAN] Disable vlan hw accel when promiscuous mode

2007-11-12 Thread Willy Tarreau
On Mon, Nov 12, 2007 at 02:57:16PM -0800, David Miller wrote: From: Chris Friesen [EMAIL PROTECTED] Date: Mon, 12 Nov 2007 16:43:24 -0600 David Miller wrote: When you select VLAN, you by definition are asking for non-VLAN traffic to be elided. It is like plugging the ethernet cable

Re: nfsd bugfixes

2007-11-12 Thread J. Bruce Fields
On Tue, Nov 13, 2007 at 09:35:01AM +1100, Neil Brown wrote: (CC: trimmed - as Bruce says: separate discussion) On Monday November 12, [EMAIL PROTECTED] wrote: On Tue, Nov 13, 2007 at 09:08:42AM +1100, Neil Brown wrote: Calling nfsd_setuser an extra time does open us up for a very tiny

Re: [PATCH 2/2] [e1000 VLAN] Disable vlan hw accel when promiscuous mode

2007-11-12 Thread David Miller
From: Willy Tarreau [EMAIL PROTECTED] Date: Tue, 13 Nov 2007 00:15:16 +0100 I can say that sometimes you'd like to be aware that one of your VLANs is wrong and you'd simply like to sniff the wire to guess the correct tag. And on production, you simply cannot remove other VLANs, otherwise you

Re: [poll] Is the megafreeze development model broken?

2007-11-12 Thread Matthias Schniedermeyer
On 12.11.2007 17:18, Tuomo Valkonen wrote: On 2007-11-12, Adrian Bunk [EMAIL PROTECTED] wrote: Geeks like you and me want the latest software (I'm using Debian unstable/testing). But most users want a Linux installation that simply works - and this includes all software on the system

Re: [PATCH] Align PCI memory regions to page size (4K) - Fix

2007-11-12 Thread Grant Grundler
On Thu, Nov 08, 2007 at 05:24:00PM -0600, Linas Vepstas wrote: ... E.g. 4 port Gige card could directly support the host and 3 guests with somewhat lower risk of tromping on each other's MMIO space. If Xen is cooperative, this seems a bit paranoid. I don't recall ever seeing a

Re: [PATCH] Improve cgroup printks

2007-11-12 Thread Paul Menage
On Nov 10, 2007 3:11 AM, Diego Calleja [EMAIL PROTECTED] wrote: When I boot with the 'quiet' parameter, I see on the screen: [0.00] Initializing cgroup subsys cpuset [0.00] Initializing cgroup subsys cpu [ 39.036026] Initializing cgroup subsys cpuacct [ 39.036080]

Re: AppArmor Security Goal

2007-11-12 Thread Crispin Cowan
Dr. David Alan Gilbert wrote: * Crispin Cowan ([EMAIL PROTECTED]) wrote: I mostly don't see this as a serious limitation, because almost everyone has their own workstation, and thus has root on that workstation. There are 2 major exceptions: * Schools, where the workstations are thin

x86_64: Make sparsemem/vmemmap the default memory model

2007-11-12 Thread Christoph Lameter
Use sparsemem as the only memory model for UP, SMP and NUMA. Measurements indicate that DISCONTIGMEM has a higher overhead than sparsemem. And FLATMEMs benefits are minimal. So I think its best to simply standardize on sparsemem. Results of page allocator tests (test can be had via git from the

Re: AppArmor Security Goal

2007-11-12 Thread Crispin Cowan
Alan Cox wrote: but how can the system know if the directory the user wants to add is reasonable or not? what if the user says they want to store their documents in /etc? A more clear example is wanting to wrap a specific tool with temporary rules. Those rules would depend on the

auto-reboot broken in 2.6.23.1 (from 2.6.22.12)

2007-11-12 Thread Linda Walsh
Hello, I upgraded the kernel on a multi-cpu Dell workstation (690) to 2.6.23.1. It had been running at 2.6.20. I moved to the new kernel via make oldconfig -- choosing defaults. That didn't work. To narrow things down I tried it under 2.6.21.1 (made oldconfig from working

Re: [PATCH 2/2] [e1000 VLAN] Disable vlan hw accel when promiscuous mode

2007-11-12 Thread Kok, Auke
Willy Tarreau wrote: On Mon, Nov 12, 2007 at 03:19:23PM -0800, David Miller wrote: From: Willy Tarreau [EMAIL PROTECTED] Date: Tue, 13 Nov 2007 00:15:16 +0100 I can say that sometimes you'd like to be aware that one of your VLANs is wrong and you'd simply like to sniff the wire to guess the

Re: git 1.5.3.5 error over NFS

2007-11-12 Thread Alex Riesen
Bill Lear, Mon, Nov 12, 2007 16:39:15 +0100: On Saturday, November 10, 2007 at 00:21:06 (+0100) Alex Riesen writes: Bill Lear, Fri, Nov 09, 2007 16:31:39 +0100: I've brought this up before, but I don't recall a resolution to it. We have an NFS-mounted filesystem, and git pull is choking

Re: [patch 2.6.24-rc2 1/3] generic gpio -- gpio_chip support

2007-11-12 Thread Andrew Morton
On Mon, 12 Nov 2007 14:32:53 -0800 David Brownell [EMAIL PROTECTED] wrote: On Monday 12 November 2007, Andrew Morton wrote: On Fri, 9 Nov 2007 11:36:19 -0800 David Brownell [EMAIL PROTECTED] wrote: Provide new implementation infrastructure that platforms may choose to use when

[PATCH 0/5][RFC] Physical PCI slot objects

2007-11-12 Thread Alex Chiang
Hello, [this patch series touches a few subsystems; hopefully I got all the right maintainers] Recently, Matthew Wilcox sent out the following mail about PCI slots: http://marc.info/?l=linux-pcim=119432330418980w=2 The following patch series is a rough first cut at implementing the ideas he

Re: AppArmor Security Goal

2007-11-12 Thread Joshua Brindle
Casey Schaufler wrote: --- Crispin Cowan [EMAIL PROTECTED] wrote: Dr. David Alan Gilbert wrote: ... Can you explain why you want a non-privileged user to be able to edit policy? I would like to better understand the problem here. Note that John Johansen is also interested in allowing

Re: x86_64: Make sparsemem/vmemmap the default memory model

2007-11-12 Thread Andi Kleen
On Tuesday 13 November 2007 00:52:14 Christoph Lameter wrote: Use sparsemem as the only memory model for UP, SMP and NUMA. Measurements indicate that DISCONTIGMEM has a higher overhead than sparsemem. And FLATMEMs benefits are minimal. So I think its best to simply standardize on sparsemem.

[PATCH 1/5] Remove path attribute from sgi_hotplug

2007-11-12 Thread Alex Chiang
[Please note, I got Rick Jones' email screwed up in the 0/5 email; it's corrected above.] From: Alex Chiang [EMAIL PROTECTED] Rename the slot to be the contents of the 'path' sysfs attribute, and delete the attribute. The mapping from pci address to slot name is supposed to be done through the

Re: [patch] x86: fix taking DNA during 64bit sigreturn

2007-11-12 Thread H. Peter Anvin
Andi Kleen wrote: The *real* fix for this is almost certainly to just get rid of the 64-bit code entirely, and use the 32-bit code as the base for one single unified setup. That would likely break the ABI. x86-64 ABI is completely different here -- no ibcs, just pure x86 ISA. Different

Re: [PATCH 2/2] [e1000 VLAN] Disable vlan hw accel when promiscuous mode

2007-11-12 Thread Willy Tarreau
On Mon, Nov 12, 2007 at 03:19:23PM -0800, David Miller wrote: From: Willy Tarreau [EMAIL PROTECTED] Date: Tue, 13 Nov 2007 00:15:16 +0100 I can say that sometimes you'd like to be aware that one of your VLANs is wrong and you'd simply like to sniff the wire to guess the correct tag. And

Re: [PATCH 2/2] [e1000 VLAN] Disable vlan hw accel when promiscuous mode

2007-11-12 Thread David Miller
From: Willy Tarreau [EMAIL PROTECTED] Date: Tue, 13 Nov 2007 00:32:57 +0100 At least, being able to disable the feature at module load time would be acceptable. Many people who often need to sniff on decent machines would always keep it disabled. I'm willing to accept the feature, in whatever

[PATCH] sigwait eats blocked default-ignore signals

2007-11-12 Thread Roland McGrath
cf http://bugzilla.kernel.org/show_bug.cgi?id=9347 While a signal is blocked, it must be posted even if its action is SIG_IGN or is SIG_DFL with the default action to ignore. This works right most of the time, but is broken when a sigwait (rt_sigtimedwait) is in progress. This changes the

Re: AppArmor Security Goal

2007-11-12 Thread Crispin Cowan
[EMAIL PROTECTED] wrote: a question for Crispin, is there a wildcard replacement for username? so that you could grant permission to /home/$user/.mozilla.. and grant each user access to only their own stuff? I realize that in this particular example the underlying DAC will handle it,

[PATCH 2/5] Construct one fakephp slot per pci slot

2007-11-12 Thread Alex Chiang
Register one slot per slot, rather than one slot per function. Change the name of the slot to fake%d instead of the pci address. Signed-off-by: Alex Chiang [EMAIL PROTECTED] Signed-off-by: Matthew Wilcox [EMAIL PROTECTED] --- drivers/pci/hotplug/fakephp.c | 75

Re: top lies ?

2007-11-12 Thread Andreas Schwab
Tomasz Kłoczko [EMAIL PROTECTED] writes: Some data showed by top command looks like completly trashed. Fragment from top output: Mem: 2075784k total, 2053352k used,22432k free,19260k buffers Swap: 2096472k total, 136k used, 2096336k free, 1335080k cached PID USER

[PATCH 3/5, RFC] Introduce pci_slot

2007-11-12 Thread Alex Chiang
Introduce struct pci_slot - Make pci_slot the primary sysfs entity. hotplug_slot becomes a subsidiary structure. - Change the prototype of pci_hp_register() to take the bus and slot number (on parent bus) as parameters. - Remove all the -get_address methods since this functionality

[PATCH 4/5, RFC] ACPI PCI slot detection driver

2007-11-12 Thread Alex Chiang
Detect all physical PCI slots as described by ACPI, and create entries in /sys/bus/pci/slots/. Not all physical slots are hotpluggable, and the acpiphp module does not detect them. Now we know the physical PCI geography of our system, without caring about hotplug. Signed-off-by: Alex Chiang

[PATCH/RFC] kconfig hints/tips/tricks

2007-11-12 Thread Randy Dunlap
I'm not very happy with hint #2. I struggled with ways to express it and finally decided to ship it^W^W release early/release often. :) Suggestions welcome. --- From: Randy Dunlap [EMAIL PROTECTED] Add a section on kconfig hints: how to do something in Kconfig files. Fix a few typos/spellos.

[PATCH 5/5] Add pci_slot_add_hotplug() interface

2007-11-12 Thread Alex Chiang
Change the semantics of pci_create_slot() such that it does not require a hotplug release() method when creating a slot. Now, we can use this interface to create a pci_slot for any physical PCI slots, not just hotpluggable ones. Add new pci_slot_add_hotplug() interface so that various PCI

Re: x86_64: Make sparsemem/vmemmap the default memory model

2007-11-12 Thread Christoph Lameter
On Tue, 13 Nov 2007, Andi Kleen wrote: On Tuesday 13 November 2007 00:52:14 Christoph Lameter wrote: Use sparsemem as the only memory model for UP, SMP and NUMA. Measurements indicate that DISCONTIGMEM has a higher overhead than sparsemem. And FLATMEMs benefits are minimal. So I think

Re: [poll] Is the megafreeze development model broken?

2007-11-12 Thread Tuomo Valkonen
On 2007-11-13 00:39 +0100, Matthias Schniedermeyer wrote: That's the problem(tm). Contrary to Closed Source Software all(!) OSS-Software is interdependent. There is no Stand-Alone-Software. There is always at least libc. (Scripts depend on a script-interpreter, which in turn depends at

Re: [patch] x86: fix taking DNA during 64bit sigreturn

2007-11-12 Thread Andi Kleen
On Tuesday 13 November 2007 01:11, H. Peter Anvin wrote: Andi Kleen wrote: The *real* fix for this is almost certainly to just get rid of the 64-bit code entirely, and use the 32-bit code as the base for one single unified setup. That would likely break the ABI. x86-64 ABI is completely

Re: mm_release() call in exit_mm() looks dangerous

2007-11-12 Thread Jeremy Fitzhardinge
Jesper Juhl wrote: In kernel/exit.c we have this code : static void exit_mm(struct task_struct * tsk) { struct mm_struct *mm = tsk-mm; mm_release(tsk, mm); if (!mm) return; ... But, mm_release() may dereference it's second argument ('mm'), so

[RFC] Add markers into semaphore primitives

2007-11-12 Thread David J. Wilder
This patch adds several markers around semaphore primitives. Along with a tracing application this patch can be useful for measuring kernel semaphore usage and contention. Signed-off-by: Mike Mason [EMAIL PROTECTED] Signed-off-by: David Wilder [EMAIL PROTECTED] --- lib/semaphore-sleepers.c |

Re: x86_64: Make sparsemem/vmemmap the default memory model

2007-11-12 Thread Andi Kleen
Hmmm... More memory free? How did that happen? More pages cached for some reason. The total available memory is increased by 8k. Nice. Looks all reasonable. Thanks for the numbers. -Andi - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

[PATCH 0/3] A kernel tracing interface

2007-11-12 Thread David J. Wilder
These patches provide a kernel tracing interface called trace. ChangeLog: -Added a new example that demonstrates per-cpu continuous tracing of data generated by marker probes. -Removed inline from relay patch. -Moved examples into /sample directory. The motivation for trace is to: - Provide a

[patch 1/3] Relay Reset Consumed

2007-11-12 Thread David J. Wilder
This patch allows relay channels to be reset i.e. unconsumed. Basically allows a 'rewind' function for flight-recorder tracing. Signed-off-by: Tom Zanussi [EMAIL PROTECTED] Signed-off-by: David Wilder [EMAIL PROTECTED] --- Documentation/filesystems/relay.txt | 11 ++ include/linux/relay.h

[patch 2/3] Trace code and documentation

2007-11-12 Thread David J. Wilder
Trace - Provides tracing primitives Signed-off-by: Tom Zanussi [EMAIL PROTECTED] Signed-off-by: Martin Hunt [EMAIL PROTECTED] Signed-off-by: David Wilder [EMAIL PROTECTED] --- Documentation/trace.txt | 166 ++ include/linux/trace.h | 99 + lib/Kconfig |9

[patch 3/3] Trace samples

2007-11-12 Thread David J. Wilder
Trace example - Adds the trace example to samples/ Signed-off-by: David Wilder [EMAIL PROTECTED] --- samples/Kconfig|6 + samples/Makefile |1 + samples/trace/Makefile |4 + samples/trace/fork_trace.c | 132 ++

Re: 2.6.24-rc2: Reported regressions from 2.6.23 (updated)

2007-11-12 Thread Andrew Morton
On Sun, 11 Nov 2007 22:46:43 + Alan Cox [EMAIL PROTECTED] wrote: [PATCH] pata_amd/pata_via: de-couple programming of PIO/MWDMA and UDMA timings * Don't program UDMA timings when programming PIO or MWDMA modes. This has also a nice side-effect of fixing regression added by

Re: AppArmor Security Goal

2007-11-12 Thread John Johansen
On Mon, Nov 12, 2007 at 03:50:59PM -0800, Crispin Cowan wrote: Dr. David Alan Gilbert wrote: * Crispin Cowan ([EMAIL PROTECTED]) wrote: I mostly don't see this as a serious limitation, because almost everyone has their own workstation, and thus has root on that workstation. There are

[PATCH] NFSD: fix wrong mnt_writer count in rename (MMOTM 2007-11-10-19-05)

2007-11-12 Thread Erez Zadok
NFSD forgets to call mnt_drop_write after a successful rename. Here's a fix. (Ah, the curse of a stackable file system developer: you have to debug everyone else's too. :-) One thing I wasn't sure is whether I could move the mnt_drop_write line a little above, just after the call to vfs_rename.

<    1   2   3   4   5   6   7   >