Re: [PATCH 1/6] AKT - Tunable structure and registration routines

2007-02-12 Thread Andi Kleen
[EMAIL PROTECTED] writes: + +This feature aims at making the kernel automatically change the tunables +values as it sees resources running out. The only reason we have resource limit is to avoid DOS when one resource consumes too much memory. When there is no such danger then there isn't any

Re: What will be in the x86-64/x86 2.6.21 merge

2007-02-12 Thread James Morris
On Sat, 10 Feb 2007, Andi Kleen wrote: - lguest * still seems heavily in development. Not sure it will be ready in time. How would you define ready? It's currently useful and stable, and features a lack of enterprise-class complexity. - James -- James Morris [EMAIL PROTECTED] - To

Re: What will be in the x86-64/x86 2.6.21 merge

2007-02-12 Thread Andi Kleen
On Monday 12 February 2007 15:11, James Morris wrote: On Sat, 10 Feb 2007, Andi Kleen wrote: - lguest * still seems heavily in development. Not sure it will be ready in time. How would you define ready? Used by at least some people for something, got some real world testing, more

[PATCH 1/1] Enable fully functional truncate for hugetlbfs

2007-02-12 Thread Dave McCracken
This patch enables the full functionality of truncate for hugetlbfs files. Truncate was originally limited to reducing the file size because page faults were not supported for hugetlbfs. Now that page faults have been implemented it is now possible to fully support truncate. Signed-off-by: Dave

Re: unfixed regression in 2.6.20-rc6 (since 2.6.19)

2007-02-12 Thread Rainer Weikusat
Greg KH [EMAIL PROTECTED] writes: On Tue, Jan 30, 2007 at 06:40:10PM +0100, Rainer Weikusat wrote: Greg KH [EMAIL PROTECTED] writes: [...] Rainer's problem is a real bug in the USB driver code, which we need to work on getting fixed, Ok, here's an updated version, that should tell us

Re: What will be in the x86-64/x86 2.6.21 merge

2007-02-12 Thread James Morris
On Mon, 12 Feb 2007, Andi Kleen wrote: It's currently useful and stable, How do you know? I've been working on it for some weeks. At this stage, it's also useful for some simple kernel hacking. - James -- James Morris [EMAIL PROTECTED] - To unsubscribe from this list: send the line

Using kernel with modules for nics that cause errors.

2007-02-12 Thread Michael D. Setzer II
Question on using modules with kernel. I've been building the latest git kernels for the G4L project, and the latest kernels have added support for a lot of newer hardware, but currently have two of the nic drivers that cause problems when build into the kernel. DEPCA causes a kernel

Re: NAK new drivers without proper power management?

2007-02-12 Thread Pavel Machek
Hi! If the device requires that, implement .suspend and .resume or at least define .suspend that will always return -ENOSYS (then people will know they ^^^ have to

broken CONFIG_COMPAT_VDSO on i386

2007-02-12 Thread Jan Beulich
After updating several machines to 2.6.20, I can't boot anymore the single one of them that supports the NX bit and is configured as a 32-bit system. My understanding is that the VDSO changes in 2.6.20-rc7 were not fully cooked, in that with that config option enabled VDSO_SYM(x) now equals x,

Re: [patches] [PATCH x86 for review II] [18/39] x86_64: Allow to run a program when a machine check event is detected

2007-02-12 Thread Pavel Machek
On Mon 2007-02-12 09:04:43, Andi Kleen wrote: On Monday 12 February 2007 08:54, Oliver Neukum wrote: Am Montag, 12. Februar 2007 08:38 schrieb Andi Kleen: When a machine check event is detected (including a AMD RevF threshold overflow event) allow to run a trigger program. This allows

Please pull git390 'for-linus' branch

2007-02-12 Thread Martin Schwidefsky
Please pull from 'for-linus' branch of git://git390.osdl.marist.edu/pub/scm/linux-2.6.git for-linus to receive the following updates: arch/s390/kernel/smp.c| 15 +-- drivers/s390/cio/device_id.c |3 ++- drivers/s390/cio/device_ops.c | 32

SATA-performance: Linux vs. FreeBSD

2007-02-12 Thread Martin A. Fink
Dear all, I did some performance tests that made me really wonder: My Hardware: Asus P5LD2 board with Intel i945P chipset, ICH7R southbridge CPU Intel Core 2 Duo E6300 at 1.86 GHz, 2 MB Cache 1 GB RAM My Software: OpenSuSE 10.2 with Linux kernel 2.6.18, x86-64 architecture FreeBSD 6.2

utrace regressions (was: -mm merge plans for 2.6.21)

2007-02-12 Thread Alexey Dobriyan
utrace-utrace-tracehook.patch utrace-utrace-tracehook-ia64.patch utrace-utrace-tracehook-sparc64.patch utrace-utrace-tracehook-s390.patch utrace-utrace-regset.patch utrace-utrace-regset-ia64.patch utrace-utrace-regset-sparc64.patch utrace-utrace-regset-s390.patch utrace-utrace-core.patch

Re: [RFC PATCH] add filesystem subtype support

2007-02-12 Thread Szakacsits Szabolcs
Hi, On Mon, 12 Feb 2007, Miklos Szeredi wrote: There's a slight problem with filesystem type representation in fuse based filesystems. From the kernel's view, there are just two filesystem types: fuse and fuseblk. From the user's view there are lots of different filesystem types. The

Re: git backlight tree

2007-02-12 Thread Richard Purdie
On Sat, 2007-02-10 at 23:45 -0500, Len Brown wrote: On Saturday 10 February 2007 19:33, Richard Purdie wrote: As mentioned previously, I've setup a backlight git tree at: http://git.o-hand.com/?p=linux-rpurdie-backlight;a=shortlog;h=for-mm (git://git.o-hand.com/linux-rpurdie-backlight)

Re: [PATCH 1/2] Re: [autofs] Bad race condition in the new autofs protocol somewhere

2007-02-12 Thread Olivier Galibert
On Mon, Feb 12, 2007 at 03:43:14PM +0900, Ian Kent wrote: On Thu, 2007-02-08 at 11:33 +0900, Ian Kent wrote: On Wed, 2007-02-07 at 19:18 +0100, Olivier Galibert wrote: On Thu, Feb 08, 2007 at 03:07:41AM +0900, Ian Kent wrote: It may be better to update to a later kernel so I don't have

Re: [RFC PATCH] add filesystem subtype support

2007-02-12 Thread Miklos Szeredi
There's a slight problem with filesystem type representation in fuse based filesystems. From the kernel's view, there are just two filesystem types: fuse and fuseblk. From the user's view there are lots of different filesystem types. The user is not even much concerned if the

[BUG] 2.6.20 Oopses in xfrm_audit_log

2007-02-12 Thread Charles-Edouard Ruault
Hi All, i upgraded to vanilla kernel 2.6.20 and while i was using strongswan 2.8.2 to setup an IPSEC VPN i got the following kernel Ooops. I had successfully established the same tunnel a few times, but key renegotiation caused a problem ( both ends did not renegotiate at the same time so the

Re: Documenting MS_RELATIME

2007-02-12 Thread Dave Jones
On Sun, Feb 11, 2007 at 10:55:04PM -0800, Valerie Henson wrote: On Sat, Feb 10, 2007 at 07:54:00PM -0500, Dave Jones wrote: Whilst on the subject of RELATIME, is there any good reason why not to make this a default mount option ? Ubuntu has been shipping with noatime as the

Re: [PATCH] Ban module license tag string termination trick

2007-02-12 Thread Helge Hafting
David Schwartz wrote: Indeed, but using the provided key is not circumventing. Loading a non-GPL module that uses GPL symbols anyway is prevented, so forcibly loading such a module the rootkit way by patching /dev/mem is a circumvention. Catch one of the script kiddies inside the US, and you

Re: NAK new drivers without proper power management?

2007-02-12 Thread Geert Uytterhoeven
On Mon, 12 Feb 2007, Pavel Machek wrote: If the device requires that, implement .suspend and .resume or at least define .suspend that will always return -ENOSYS (then people will know they

Re: SATA-performance: Linux vs. FreeBSD

2007-02-12 Thread Andi Kleen
Martin A. Fink [EMAIL PROTECTED] writes: What I did: I wrote blocks of 1 MB size to file. Each 1 GB I made a fsync and took the time. For those tests with filesystems I wrote files of 1 GB size, otherwise I just wrote to the raw device. Newer Linux versions depending on the disk and the

Re: High CPU usage with sata_nv

2007-02-12 Thread Tejun Heo
ris wrote: Tejun Heo htejun at gmail.com writes: iowait != cpu busy. Your cpu idleness stays above 80%. Ok .. but one of my CPU core are at 99% usage htop report this So how to solve this problem ? The red part of cpu usage bar represents 'iowait' not cpu usage. Fire up

Re: somebody dropped a (warning) bomb

2007-02-12 Thread Linus Torvalds
On Mon, 12 Feb 2007, Sergei Organov wrote: Why strlen() should be allowed to be called with an incompatible pointer type? My point is that gcc should issue *different warning*, -- the same warning it issues here: I agree that strlen() per se isn't different. The issue is not that the

Re: SATA-performance: Linux vs. FreeBSD

2007-02-12 Thread Martin A. Fink
Am Montag, 12. Februar 2007 18:04 schrieb Andi Kleen: Martin A. Fink [EMAIL PROTECTED] writes: What I did: I wrote blocks of 1 MB size to file. Each 1 GB I made a fsync and took the time. For those tests with filesystems I wrote files of 1 GB size, otherwise I just wrote to the raw

Re: [PATCH] Ban module license tag string termination trick

2007-02-12 Thread Alan
Closed modules are allowed only because an exception was made in the licencing. That didn't have to happen at all. Closed modules This statement is false. Sorry but the law and my legal advice recommend that I jump in and repeat the correction every time people repeat this myth. As one of the

Re: 2.6.20 IRQ handler type mismatch for IRQ 4

2007-02-12 Thread Alan
This is all scary and generally not needed spew but handy for debug. Looks like a PCMCIA layer bug. It should be respecting IRQ assignment (not just allocation) by other resource configuration layers. Ah thanks for taking a look. I was slowly getting the impression from older lkml

Re: unfixed regression in 2.6.20-rc6 (since 2.6.19)

2007-02-12 Thread Greg KH
On Mon, Feb 12, 2007 at 03:30:22PM +0100, Rainer Weikusat wrote: Greg KH [EMAIL PROTECTED] writes: On Tue, Jan 30, 2007 at 06:40:10PM +0100, Rainer Weikusat wrote: Greg KH [EMAIL PROTECTED] writes: [...] Rainer's problem is a real bug in the USB driver code, which we need to

Re: [Cbe-oss-dev] [RFC, PATCH] CELL Oprofile SPU profiling updated patch

2007-02-12 Thread Carl Love
On Sun, 2007-02-11 at 16:46 -0600, Milton Miller wrote: [cut] As far as I understand, you are providing access to a completely new hardware that is related to the PMU hardware by the fact that it collects a program counter. It doesn't use the PMU counters nor the PMU event selection.

Re: [PATCH 10/10] atomic.h : Add atomic64 cmpxchg, xchg and add_unless to x86_64

2007-02-12 Thread Mathieu Desnoyers
* Andi Kleen ([EMAIL PROTECTED]) wrote: Mathieu Desnoyers [EMAIL PROTECTED] writes: /** @@ -402,7 +405,7 @@ static __inline__ long atomic64_sub_return(long i, atomic64_t *v) */ #define atomic_add_unless(v, a, u) \ ({

Re: Found trivial error in linux-headers-2.6.17-11-generic/include/linux/tty.h

2007-02-12 Thread Randy Dunlap
On Mon, 12 Feb 2007 12:42:22 +0100 Milan Markovic wrote: I upgraded the kernel on my Kubuntu 6.10 to 2.6.17-11-generic and had a lot of trouble compiling my softmodem driver. Apparently it was, among others, because of a mistake in kernel-headers this is what I've found in tty.h $ cat -n

Re: [PATCH] atomic.h : atomic_add_unless as inline. Remove system.h atomic.h circular dependency

2007-02-12 Thread Mathieu Desnoyers
atomic_add_unless as inline. Remove system.h atomic.h circular dependency. I agree (with Andi Kleen) this typeof is not needed and more error prone. All the original atomic.h code that uses cmpxchg (which includes the atomic_add_unless) uses defines instead of inline functions, probably to

Re: [patches] [PATCH 2.6.21 review I] [4/25] x86: kernel-mode faults pollute current-thead

2007-02-12 Thread Jeff Dike
On Mon, Feb 12, 2007 at 09:32:10AM +, Jan Beulich wrote: This breaks consumers of notify_die() relying on the proper trap number being passed, as the call to notify_die() from die() currently reads current-thread.trap_no. Rats, good point. Also, you seem to leave other places where

[PATCH x86 for review III] [5/29] i386: arch/i386/kernel/alternative.c should #include asm/bugs.h

2007-02-12 Thread Andi Kleen
From: Adrian Bunk [EMAIL PROTECTED] Every file should include the headers containing the prototypes for its global functions. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] ---

[PATCH x86 for review III] [8/29] x86_64: avoid warning message livelock

2007-02-12 Thread Andi Kleen
From: Roland Dreier [EMAIL PROTECTED] I've seen my box paralyzed by an endless spew of rtc: lost some interrupts at 1024Hz. messages on the serial console. What seems to be happening is that something real causes an interrupt to be lost and triggers the message. But then printing the

[PATCH x86 for review III] [27/29] i386: Rename cpu_gdt_descr and remove extern declaration from smpboot.c

2007-02-12 Thread Andi Kleen
From: Rusty Russell [EMAIL PROTECTED] When I implemented the DECLARE_PER_CPU(var) macros, I was careful that people couldn't use var in a non-percpu context, by prepending percpu__. I never considered that this would allow them to overload the same name for a per-cpu and a non-percpu variable.

[PATCH x86 for review III] [24/29] x86_64: -mm merge plans for 2.6.21

2007-02-12 Thread Andi Kleen
From: Ralf Baechle [EMAIL PROTECTED] On Sat, Feb 10, 2007 at 11:22:05AM +0100, Heiko Carstens wrote: Which remembers me that I think that MIPS is using the non-compat version of sys_epoll_pwait for compat syscalls. But maybe MIPS doesn't need a compat syscall for some reason. Dunno. Which

[PATCH x86 for review III] [18/29] i386: Add L3 cache support to AMD CPUID4 emulation

2007-02-12 Thread Andi Kleen
With that an L3 cache is correctly reported in the cache information in /sys Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- arch/i386/kernel/cpu/intel_cacheinfo.c | 65 + 1 file changed, 50 insertions(+), 15 deletions(-) Index:

Re: NAK new drivers without proper power management?

2007-02-12 Thread Pavel Machek
Hi! Neither am I. I'm just asking that new drivers have power management as standard. What if the hardware doesn't support power management ? You would still want to do the cleanup and configuration that you'd do for module load/unload. By adding dummy

[PATCH x86 for review III] [21/29] i386: Fix warning in cpu initialization

2007-02-12 Thread Andi Kleen
Fix bogus warning linux/arch/i386/kernel/cpu/transmeta.c:12: warning: ‘cpu_freq’ may be used uninitialized in this function Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- arch/i386/kernel/cpu/transmeta.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index:

[PATCH x86 for review III] [7/29] x86_64: update IO-APIC dest field to 8-bit for xAPIC

2007-02-12 Thread Andi Kleen
From: Benjamin Romer [EMAIL PROTECTED] On the Unisys ES7000/ONE system, we encountered a problem where performing a kexec reboot or dump on any cell other than cell 0 causes the system timer to stop working, resulting in a hang during timer calibration in the new kernel. We traced the problem

[PATCH x86 for review III] [23/29] x86: Don't require the vDSO for handling a.out signals

2007-02-12 Thread Andi Kleen
and in other strange binfmts. vDSO is not necessarily mapped there. Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- arch/i386/kernel/signal.c |6 +- arch/x86_64/ia32/ia32_signal.c |7 ++- fs/binfmt_elf.c|3 ++- include/linux/binfmts.h|1 + 4

[PATCH x86 for review III] [25/29] i386: paravirt unhandled fallthrough

2007-02-12 Thread Andi Kleen
From: Rusty Russell [EMAIL PROTECTED] The current code simply calls start_kernel directly if we're under a hypervisor and no paravirt_ops backend wants us, because paravirt.c registers that as a backend. This was always a vain hope; start_kernel won't get far without setup. It's also impossible

[PATCH x86 for review III] [28/29] i386: Remove extern declaration from mm/discontig.c, put in header.

2007-02-12 Thread Andi Kleen
From: Rusty Russell [EMAIL PROTECTED] Extern declarations belong in headers. Times, they are a'changin. Signed-off-by: Rusty Russell [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] === --- arch/i386/mm/discontig.c |

[PATCH x86 for review III] [26/29] i386: Move mce_disabled to asm/mce.h

2007-02-12 Thread Andi Kleen
From: Rusty Russell [EMAIL PROTECTED] Allows external actors to disable mce. Signed-off-by: Rusty Russell [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] === --- arch/i386/kernel/cpu/mcheck/mce.h |2 +-

[PATCH x86 for review III] [29/29] x86: Unify pcspeaker platform device code between i386/x86-64

2007-02-12 Thread Andi Kleen
Trivial cleanup. Only change is that it is always compiled in now on x86-64 like on i386. Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- arch/i386/kernel/Makefile|1 + arch/i386/kernel/pcspeaker.c | 20 arch/i386/kernel/setup.c | 26

[PATCH x86 for review III] [17/29] x86: Add new CPUID bits for AMD Family 10 CPUs in /proc/cpuinfo

2007-02-12 Thread Andi Kleen
Just various new acronyms. The new popcnt bit is in the middle of Intel space. This looks a little weird, but I've been assured it's ok. Also I fixed RDTSCP for i386 which was at the wrong place. For i386 and x86-64. Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- arch/i386/kernel/cpu/proc.c

[PATCH x86 for review III] [19/29] x86: Enable NMI watchdog for AMD Family 0x10 CPUs

2007-02-12 Thread Andi Kleen
For i386/x86-64. Straight forward -- just reuse the Family 0xf code. Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- arch/i386/kernel/nmi.c |6 -- arch/x86_64/kernel/nmi.c |2 +- 2 files changed, 5 insertions(+), 3 deletions(-) Index: linux/arch/i386/kernel/nmi.c

[PATCH x86 for review III] [11/29] i386: add option to show more code in oops reports

2007-02-12 Thread Andi Kleen
From: Chuck Ebbert [EMAIL PROTECTED] Sometimes developers need to see more object code in an oops report, e.g. when kernel may be corrupted at runtime. Add the code_bytes option for this. Signed-off-by: Chuck Ebbert [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] Cc: Andi Kleen

Re: NAK new drivers without proper power management?

2007-02-12 Thread Pavel Machek
Hi! If the device requires that, implement .suspend and .resume or at least define .suspend that will always return -ENOSYS (then people will know they ^^^

[PATCH x86 for review III] [3/29] i386: entry.S END/ENDPROC annotations

2007-02-12 Thread Andi Kleen
From: Jan Beulich [EMAIL PROTECTED] Annotate i386/kernel/entry.S with END/ENDPROC to assist disassemblers and other analysis tools. Signed-off-by: Jan Beulich [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] Cc: Andi Kleen [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL

[PATCH x86 for review III] [9/29] x86_64: Minor patch for compilation warning in x86_64 signal code

2007-02-12 Thread Andi Kleen
From: Evgeniy Polyakov [EMAIL PROTECTED] If DEBUG_SIG is enbaled in source code, ia32_signal.c compiles with warning due to wrong format string. Attached patch fixes that. It is quite minor update, since by default DEBUG_SIG is not enabled and can not be turned on without code modification.

[PATCH x86 for review III] [6/29] i386: Remove unused kernel config option X86_XADD

2007-02-12 Thread Andi Kleen
From: Robert P. J. Day [EMAIL PROTECTED] Remove the unused kernel config option X86_XADD, which is unused in any source or header file. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] Cc: Andi Kleen [EMAIL PROTECTED] Signed-off-by: Andrew Morton

[PATCH x86 for review III] [2/29] i386: support Classic MediaGXm

2007-02-12 Thread Andi Kleen
From: takada [EMAIL PROTECTED] I hope to support classic MediaGXm in kernel. The DIR1 register of MediaGXm( or Geode) shows the following values for identify CPU. For example, My MediaGXm shows 0x42. We can read National Semiconductor's datasheet without any NDAs.

[PATCH x86 for review III] [10/29] i386: don't include bugs.h

2007-02-12 Thread Andi Kleen
From: Andrew Morton [EMAIL PROTECTED] That stupid non-inlined-static function in bugs.h causes: include/asm/bugs.h:186: warning: 'check_bugs' defined but not used But fortunately the include isn't needed. Cc: Andi Kleen [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED]

[PATCH x86 for review III] [15/29] x86_64: Fix wrong gcc check in bitops.h

2007-02-12 Thread Andi Kleen
gcc 5.0 will likely not have the constraint problem Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- include/asm-x86_64/bitops.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux/include/asm-x86_64/bitops.h ===

[PATCH x86 for review III] [4/29] x86_64: clean up sparsemem memory_present call

2007-02-12 Thread Andi Kleen
From: Bob Picco [EMAIL PROTECTED] Eliminate arch specific memory_present call x86_64 NUMA by utilizing sparse_memory_present_with_active_regions. Acked-by: Mel Gorman [EMAIL PROTECTED] Signed-off-by: Bob Picco [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] Cc: Andi Kleen [EMAIL

Re: CPU load

2007-02-12 Thread Andrew Burgess
On 12/02/07, Vassili Karpov [EMAIL PROTECTED] wrote: How does the kernel calculates the value it places in `/proc/stat' at 4th position (i.e. idle: twiddling thumbs)? .. Later small kernel module was developed that tried to time how much time is spent in the idle handler inside the kernel

[PATCH x86 for review III] [1/29] i386: avoid gcc extension

2007-02-12 Thread Andi Kleen
From: Randy Dunlap [EMAIL PROTECTED] setcc() in math-emu is written as a gcc extension statement expression macro that returns a value. However, it's not used that way and it's not needed like that, so just make it a do-while non-extension macro so that we don't use an extension when it's not

[PATCH x86 for review III] [16/29] i386: Remove fastcall in paravirt.[ch]

2007-02-12 Thread Andi Kleen
Not needed because fastcall is always default now Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- arch/i386/kernel/paravirt.c | 102 - include/asm-i386/paravirt.h | 136 ++-- 2 files changed, 119 insertions(+), 119

[PATCH x86 for review III] [13/29] i386: geode configuration fixes

2007-02-12 Thread Andi Kleen
From: TAKADA Yoshihito [EMAIL PROTECTED] Original code doesn't write back to CCR4 register. This patch reflects a value of a register. Cc: Jordan Crouse [EMAIL PROTECTED] Acked-by: Alan Cox [EMAIL PROTECTED] Cc: Andi Kleen [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED]

[PATCH x86 for review III] [12/29] x86_64: 32-bit ptrace mangles sixth system call argument

2007-02-12 Thread Andi Kleen
From: Jeff Dike [EMAIL PROTECTED] The 32-bit sysenter entry point mangles the sixth system call argument for both 32-bit and 64-bit ptrace. In both cases, strace shows the frame pointer (ebp) as the sixth argument. Here's a snippet of a 64-bit strace of a 32-bit test program which calls mmap

Re: [patches] [PATCH 2.6.21 review I] [4/25] x86: kernel-mode faults pollute current-thead

2007-02-12 Thread Jan Beulich
Yup. How does this patch look to you? We set error_code and trap_no for userspace faults and kernel faults which call die(). We don't set them for kernelspace faults which are fixed up. That seems a reasonable approach. Thanks, Jan - To unsubscribe from this list: send the line unsubscribe

Re: unfixed regression in 2.6.20-rc6 (since 2.6.19)

2007-02-12 Thread Rainer Weikusat
Greg KH [EMAIL PROTECTED] writes: On Mon, Feb 12, 2007 at 03:30:22PM +0100, Rainer Weikusat wrote: [...] If you want to fix it only if you can claim to have written the code, fine. I do not claim I have rewritten the code, if you look, you get full authorship credit for this fix, I just

Re: [IA64] swiotlb abstraction (e.g. for Xen)

2007-02-12 Thread Christoph Hellwig
On Mon, Feb 12, 2007 at 07:30:55AM +, Jan Beulich wrote: As the topic says - the goal is to support Xen. But yes, I was afraid someone would claim this make the code look ugly. And no, I currently don't have ideas to address any of your comments without breaking functionality on

Re: SATA-performance: Linux vs. FreeBSD

2007-02-12 Thread Andi Kleen
Martin A. Fink [EMAIL PROTECTED] writes: Your mailer seems to be broken. It drops cc. If you call fsync in BSD then you get what you expect. anything that is still not on disk will be written. Afterwards fsync returns... So this should be the same like with linux?! Not necessarily. The

Re: SATA-performance: Linux vs. FreeBSD

2007-02-12 Thread Martin A. Fink
System Details: dmesg: (parts) Bootdata ok (command line is root=/dev/sda7 vga=0x31aresume=/dev/sda5 splash=silent) Linux version 2.6.18.2-34-default ([EMAIL PROTECTED]) (gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)) #1 SMP Mon Nov 27 11:46:27 UTC 2006 ... Using ACPI (MADT) for SMP

Which CPU for VIA C7/Esther?

2007-02-12 Thread Mark de Vries
Hi, I've been googeling for about an hour now and can't find an answer to: What type of CPU should I select when compiling a recent 2.6 kernel if I have a VIA Esther CPU? Please CC me, I'm not on the list. Thanks Regards, Mark. ~$ cat /proc/cpuinfo processor : 0 vendor_id :

Re: Documenting MS_RELATIME

2007-02-12 Thread Jan Engelhardt
Hi, On Feb 12 2007 10:40, Dave Jones wrote: Whilst on the subject of RELATIME, is there any good reason why not to make this a default mount option ? Ubuntu has been shipping with noatime as the default for some time now, with no obvious problems (I'm running Ubuntu). I see relatime

Re: SATA-performance: Linux vs. FreeBSD

2007-02-12 Thread Martin A. Fink
Am Montag, 12. Februar 2007 19:41 schrieben Sie: Martin A. Fink [EMAIL PROTECTED] writes: Your mailer seems to be broken. It drops cc. If you call fsync in BSD then you get what you expect. anything that is still not on disk will be written. Afterwards fsync returns... So this should

Re: Documenting MS_RELATIME

2007-02-12 Thread Jörn Engel
On Mon, 12 February 2007 18:49:39 +0100, Jan Engelhardt wrote: On Feb 12 2007 10:40, Dave Jones wrote: The one problem with noatime is that mutt's 'new mail arrived' breaks Just why does not it use mtime then to check for New Mail Arrived, like bash does? Just a guess: because it has to

Re: [PATCH x86 for review III] [10/29] i386: don't include bugs.h

2007-02-12 Thread Jörn Engel
On Mon, 12 February 2007 17:51:30 +0100, Andi Kleen wrote: From: Andrew Morton [EMAIL PROTECTED] That stupid non-inlined-static function in bugs.h causes: include/asm/bugs.h:186: warning: 'check_bugs' defined but not used But fortunately the include isn't needed. Cc: Andi Kleen

Re: CPU load

2007-02-12 Thread malc
On Mon, 12 Feb 2007, Con Kolivas wrote: On 12/02/07, Vassili Karpov [EMAIL PROTECTED] wrote: Hello, [..snip..] The kernel looks at what is using cpu _only_ during the timer interrupt. Which means if your HZ is 1000 it looks at what is running at precisely the moment those 1000 timer ticks

Re: CPU load

2007-02-12 Thread malc
On Mon, 12 Feb 2007, Andrew Burgess wrote: On 12/02/07, Vassili Karpov [EMAIL PROTECTED] wrote: How does the kernel calculates the value it places in `/proc/stat' at 4th position (i.e. idle: twiddling thumbs)? .. Later small kernel module was developed that tried to time how much time is

Re: SATA-performance: Linux vs. FreeBSD

2007-02-12 Thread Ray Lee
On 2/12/07, Martin A. Fink [EMAIL PROTECTED] wrote: Am Montag, 12. Februar 2007 19:41 schrieben Sie: I have to store big amounts of data coming from 2 digital cameras to disk. Thus I have to write blocks of around 1 MB at 30 to 50 frames per second for a long period of time. So it is important

Re: SATA-performance: Linux vs. FreeBSD

2007-02-12 Thread Stefan Richter
Martin A. Fink wrote: This means, that the CPU is only 7.3 of 52.8 seconds working. ... It looks like the SATA driver simply blocks the CPU while doing whatever... The system sleeps while waiting for the disk (actually, for the SATA host port) to be done with its work. As Andi explained, if

Re: [PATCH] ecryptfs lower file handling code issues

2007-02-12 Thread Dmitriy Monakhov
Dmitriy Monakhov [EMAIL PROTECTED] writes: eCryptfs lower file handling code has several issues: - Retval from prepare_write()/commit_writ() was't checked to equality to AOP_TRUNCATED_PAGE. - In some places page was't unmapped and unlocked after error. it is easy to retproduce:

Re: [PATCH] input: extend EV_LED

2007-02-12 Thread Dmitry Torokhov
On 2/11/07, Németh Márton [EMAIL PROTECTED] wrote: Extend EV_LED handling code so that it can handle not only two states (on/off) but also others. For example a LED can blink using hardware acceleration. The code changed so that it is similar to the code at EV_SND. Hi, I am not sure we

I need an answer from Torvalds

2007-02-12 Thread RIck Hohensee
So, Linus, when I get done porting 1.2.13 to my assembler-in-Bash, do you want me calling it Linux? The scheduler will be a bit more nimble, of course, there will be a 3-stack Forth-like interface to kernelspace, and the meta-superuser will run in Forreal Mode, the true 32-bit-unprotected

Re: somebody dropped a (warning) bomb

2007-02-12 Thread linux-os \(Dick Johnson\)
On Fri, 9 Feb 2007, Jan Engelhardt wrote: On Feb 9 2007 15:29, linux-os (Dick Johnson) wrote: I was referring to absolute memory, not the offset magic that assembler allows. After all, (reg+relativeOffset) will yield an absolute address. What I was out at: for machines that have more than

Looking at space used by objects in slab allocator

2007-02-12 Thread William Cohen
After last week's experiment reducing size of task_struct on I was curious to see what things are using up memory on the system and which structs have the largest impact on the space used. /proc/slabinfo provides information about the number objects allocated and their sizes. With one line script

Re: [QUESTION] file access time in millisecond?

2007-02-12 Thread Jeff Chua
On 2/12/07, Andi Kleen [EMAIL PROTECTED] wrote: It should be always available in padding, even on older glibc. Given a sufficiently new kernel. The bigger problem is getting a file system that supports it. Manpages are often outdated. Andi, Ok, found it. Thanks. You're right. ext2, reiserfs

Re: [QUESTION] file access time in millisecond?

2007-02-12 Thread Jeff Chua
On 12 Feb 2007 10:01:24 GMT, Miquel van Smoorenburg [EMAIL PROTECTED] Check out /usr/include/bits/stat.h Mike, Thanks for the pointer. Got it. But as I mentioned to Andi, it doesn't work with my filesystems (ext2, reiserfs). But at least it save me from upgrading my glibc! Thanks, Jeff. -

Re: SATA-performance: Linux vs. FreeBSD

2007-02-12 Thread Alan
On Mon, 12 Feb 2007 18:56:29 +0100 Martin A. Fink [EMAIL PROTECTED] wrote: I have to store big amounts of data coming from 2 digital cameras to disk. Thus I have to write blocks of around 1 MB at 30 to 50 frames per second for a long period of time. So it is important for me that the

[PATCH] Kconfig: FAULT_INJECTION can be selected only if LOCKDEP is enabled.

2007-02-12 Thread Paolo 'Blaisorblade' Giarrusso
There is no prompt for STACKTRACE, so it is enabled only when 'select'ed. FAULT_INJECTION depends on it, while LOCKDEP selects it. So FAULT_INJECTION becomes visible in Kconfig only when LOCKDEP is enabled. Signed-off-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] Index:

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

2007-02-12 Thread Cedric Le Goater
+#include asm/proto.h I did have a problem with this include. On s390 it didn't exist so I've just been running without it (with no problems). A quick 'find' suggests it only exists on x86_64, so I'd expect failures on all other arches. confirmed on x86 also. C. - To unsubscribe from

Re: md: md6_raid5 crash 2.6.20

2007-02-12 Thread Andrew Burgess
However this kernel BUG is something newly introduced in 2.6.20 which should be fixed in 2.6.20.1. Patch is below. I am using raid6. Am I at risk after applying this patch? Thanks for your time! - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

2.6.20: Rebuild after trivial patch rebuilds way too much

2007-02-12 Thread Andrey Borzenkov
Is not it too much fore a trivial two lines patch to a single file? {pts/1}% stg import ~/patch/Re_2_6_20_rc6_libata_PATA_ATAPI_CDROM_is_not_working.patch Importing patch Re_2_6_20_rc6_libata_PATA_ATAPI_CDROM_is_not_working.patch... done Now at patch

Re: [PATCH] serial driver PMC MSP71xx, kernel linux-mips.git mast er

2007-02-12 Thread Marc St-Jean
Sergei Shtylyov wrote: Hello. Marc St-Jean wrote: Fourth attempt at the serial driver patch for the PMC-Sierra MSP71xx device. I think you need to submit your patch to Andrew Morton since it requires a patch from his tree. OK, will do. @@ -1383,6 +1399,19 @@ static

Re: [PATCH] serial driver PMC MSP71xx, kernel linux-mips.git mast er

2007-02-12 Thread Sergei Shtylyov
Hello. Marc St-Jean wrote: Fourth attempt at the serial driver patch for the PMC-Sierra MSP71xx device. I think you need to submit your patch to Andrew Morton since it requires a patch from his tree. OK, will do. In fact, since the serial drivers are not maintained anymore,

Re: [GIT PATCH] SCSI updates for 2.6.20

2007-02-12 Thread Rolf Eike Beer
Am Sonntag, 11. Februar 2007 schrieb James Bottomley: This is the accumulated SCSI tree for 2.6.20. It is available at master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6.git You once again have not included this two patches Andrew sent you on 20070602: [patch 08/33] remove extra

Re: [GIT PATCH] SCSI updates for 2.6.20

2007-02-12 Thread James Bottomley
On Mon, 2007-02-12 at 11:29 +0100, Rolf Eike Beer wrote: Am Sonntag, 11. Februar 2007 schrieb James Bottomley: This is the accumulated SCSI tree for 2.6.20. It is available at master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6.git You once again have not included this two

Re: [GIT PATCH] SCSI updates for 2.6.20

2007-02-12 Thread Rolf Eike Beer
James Bottomley wrote: On Mon, 2007-02-12 at 11:29 +0100, Rolf Eike Beer wrote: Am Sonntag, 11. Februar 2007 schrieb James Bottomley: This is the accumulated SCSI tree for 2.6.20. It is available at master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6.git You once again

Re: [RFC PATCH] add filesystem subtype support

2007-02-12 Thread Jan Engelhardt
Hi, On Feb 12 2007 12:50, Miklos Szeredi wrote: Index: linux/fs/filesystems.c === --- linux.orig/fs/filesystems.c2007-02-12 12:42:55.0 +0100 +++ linux/fs/filesystems.c 2007-02-12 12:43:00.0 +0100 @@ -42,11

[GIT PULL -mm] Unionfs updates/cleanups

2007-02-12 Thread Josef 'Jeff' Sipek
The following patches (also available though the git tree) fix few cleanliness issues with Unionfs. You can pull from 'master' branch of git://git.kernel.org/pub/scm/linux/kernel/git/jsipek/unionfs.git to receive the following: Erez Zadok (1): Unionfs: Documentation update Josef 'Jeff'

[PATCH 1/3] fs/unionfs/: Use __roundup_pow_of_two instead of custom rounding code

2007-02-12 Thread Josef 'Jeff' Sipek
Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] --- fs/unionfs/rdstate.c | 11 ++- fs/unionfs/union.h |1 + 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/fs/unionfs/rdstate.c b/fs/unionfs/rdstate.c index 16ce1bf..e240285 100644 --- a/fs/unionfs/rdstate.c +++

[PATCH 3/3] Unionfs: Documentation update

2007-02-12 Thread Josef 'Jeff' Sipek
From: Erez Zadok [EMAIL PROTECTED] Be little gentler updated the URLs Signed-off-by: Erez Zadok [EMAIL PROTECTED] Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] --- Documentation/filesystems/unionfs/00-INDEX |8 -- Documentation/filesystems/unionfs/issues.txt | 23

[PATCH 2/3] fs/: Move eCryptfs Unionfs config options into a sub-menu

2007-02-12 Thread Josef 'Jeff' Sipek
Using The Misc filesystems sub-menu for layered/stackable filesystems only makes it harder for users to find eCryptfs/Unionfs. Additionally, the menu can be easily turned into a menuconfig, which could be used to turn on any VFS/VM functionality required by layered filesystems (there is none at

Re: [RFC 0/28] Patches to pass vfsmount to LSM inode security hooks

2007-02-12 Thread J. Bruce Fields
On Tue, Feb 06, 2007 at 10:37:37AM +, Christoph Hellwig wrote: On Tue, Feb 06, 2007 at 09:26:14PM +1100, Neil Brown wrote: What would be the benefit of having private non-visible vfsmounts? Sounds like a recipe for confusion? It is possible that mountd might start doing bind-mounts

/proc/acpi/ac_adapter/AC is missing after latest ACPI merge

2007-02-12 Thread Ismail Dönmez
Hi all, After latest ACPI merge /proc/acpi/ac_adapter/AC has gone fishing : [~] ls -al /proc/acpi/ac_adapter/ dr-xr-xr-x 2 root root 0 Şub 12 20:44 ADP1 [~] ls -al /proc/acpi/ac_adapter/ADP1 -r--r--r-- 1 root root 0 Şub 12 20:44 state This at least breaks HAL which thinks AC is always plugged

<    1   2   3   4   5   6   7   8   9   >