Re: [ABOMINATION] x86: Fast interrupt return to userspace

2014-05-06 Thread Måns Rullgård
l device interrupt overhead >> lower), but I'd be very wary of using it in production. > > Darn it. I was actually hoping that someone else could have the > reputation of doing "I can't believe they actually did this" code in the > kernel. Hey, I tried: http://article.gm

Re: [ABOMINATION] x86: Fast interrupt return to userspace

2014-05-06 Thread Måns Rullgård
/1594134 -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RFC PATCH] cmdline: Hide "debug" from /proc/cmdline

2014-04-03 Thread Måns Rullgård
e whatsoever, right?). The point is that /dev/kmsg is *not* intended as a syslog replacement. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RFC PATCH] cmdline: Hide "debug" from /proc/cmdline

2014-04-03 Thread Måns Rullgård
ilful bad behavior > unless that is shown to be necessary. Yeah, if it turns out that > systemd really does that just to mess with us, we'd need to extend it, > but in the absence of proof to the contrary, maybe this simple > attached patch works? Once is an accident. Twice is incompetence. Thre

Re: [RFC PATCH] cmdline: Hide debug from /proc/cmdline

2014-04-03 Thread Måns Rullgård
is malice. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RFC PATCH] cmdline: Hide debug from /proc/cmdline

2014-04-03 Thread Måns Rullgård
. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] x86, acpi: LLVMLinux: Remove nested functions from Thinkpad ACPI

2014-02-12 Thread Måns Rullgård
res the stack to be made executable in order for the > program to work properly. > > That might work. That sounds like it will only warn if a trampoline is needed. A nested function whose address isn't taken, as is the case here, wouldn't trigger this warning. -- Måns Rullgård m...

Re: [PATCH] x86, acpi: LLVMLinux: Remove nested functions from Thinkpad ACPI

2014-02-12 Thread Måns Rullgård
. That might work. That sounds like it will only warn if a trampoline is needed. A nested function whose address isn't taken, as is the case here, wouldn't trigger this warning. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH] scsi: integer overflow in megadev_ioctl()

2013-12-13 Thread Måns Rullgård
if( adapno >= hba_count ) > return (-ENODEV); This relies on implementation-defined behaviour when converting an unsigned integer to signed integer. A simpler and more robust fix is to make the local variable 'adapno' unsigned. -- Måns Rullgård

Re: [PATCH] scsi: integer overflow in megadev_ioctl()

2013-12-13 Thread Måns Rullgård
) return (-ENODEV); This relies on implementation-defined behaviour when converting an unsigned integer to signed integer. A simpler and more robust fix is to make the local variable 'adapno' unsigned. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH v2] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2013-11-12 Thread Måns Rullgård
Nicolas Pitre writes: > On Tue, 12 Nov 2013, Måns Rullgård wrote: > >> Nicolas Pitre writes: >> >> > On Tue, 12 Nov 2013, Ben Dooks wrote: >> > >> >> Given these are single instructoins for ARM, is it possible we could >> >> make a

Re: [PATCH v2] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2013-11-12 Thread Måns Rullgård
ions) but I doubt that people would accept that. It might be possible to extract this information from relocation tables. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [RFC] Coverity 1128445 - Reliance on integer endianness

2013-11-12 Thread Måns Rullgård
details] > > 1374pci_read_config_dword(pdev, ivt_uncore_irp_ctrs[hwc->idx], > (u32 *)); > 1375pci_read_config_dword(pdev, ivt_uncore_irp_ctrs[hwc->idx] > + 4, (u32 *) + 1); > 1376 > 1377 return count; > 1378} This looks intentional and correct apart

Re: [PATCH v2] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2013-11-12 Thread Måns Rullgård
iler might do evil things with what to it looks like out of bounds indexing. There should also be some cache maintenance after this patching, or is that already happening for some other reason? -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line "unsubscribe l

Re: [PATCH v2] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2013-11-12 Thread Måns Rullgård
have to jump to this function. It would be great > if we could inline this function at the call site but as I already said > I don't know how to do that. Ideally the bl instruction at the call site would be patched over with sdiv/udiv when supported. This would leave things exactly a

Re: [PATCH v2] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2013-11-12 Thread Måns Rullgård
when supported. This would leave things exactly as they are for hardware without div capability and incur only the call setup cost (but no actual call) on div-capable hardware. No, I don't know how to achieve this. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line

Re: [PATCH v2] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2013-11-12 Thread Måns Rullgård
indexing. There should also be some cache maintenance after this patching, or is that already happening for some other reason? -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [RFC] Coverity 1128445 - Reliance on integer endianness

2013-11-12 Thread Måns Rullgård
); 1375pci_read_config_dword(pdev, ivt_uncore_irp_ctrs[hwc-idx] + 4, (u32 *)count + 1); 1376 1377return count; 1378} This looks intentional and correct apart from possible strict aliasing issues. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line

Re: [PATCH v2] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2013-11-12 Thread Måns Rullgård
would accept that. It might be possible to extract this information from relocation tables. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [PATCH v2] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2013-11-12 Thread Måns Rullgård
Nicolas Pitre nicolas.pi...@linaro.org writes: On Tue, 12 Nov 2013, Måns Rullgård wrote: Nicolas Pitre nicolas.pi...@linaro.org writes: On Tue, 12 Nov 2013, Ben Dooks wrote: Given these are single instructoins for ARM, is it possible we could make a table of all the callers and fix

Re: [PATCH v2] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2013-11-09 Thread Måns Rullgård
(and move the values to/from r0/r1) that would not be needed if the div instructions were done inline (obviously such a kernel could only run on hardware with division support). -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in th

Re: [PATCH v2] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2013-11-09 Thread Måns Rullgård
registers (and move the values to/from r0/r1) that would not be needed if the div instructions were done inline (obviously such a kernel could only run on hardware with division support). -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2013-11-08 Thread Måns Rullgård
return ret; > + } > + > + return ___aeabi_idiv(numerator, denominator); > +} -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2013-11-08 Thread Måns Rullgård
); +} -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: new binutils needed for arm in 3.12-rc1

2013-09-26 Thread Måns Rullgård
Rob Landley writes: > On 09/25/2013 10:52:44 AM, Måns Rullgård wrote: >> Rob Landley writes: >> >> > On 09/24/2013 09:07:57 PM, Nicolas Pitre wrote: >> >> I'd strongly suggest you make your binutils compatible with newer >> >> instruction

Re: new binutils needed for arm in 3.12-rc1

2013-09-26 Thread Måns Rullgård
Rob Landley r...@landley.net writes: On 09/25/2013 10:52:44 AM, Måns Rullgård wrote: Rob Landley r...@landley.net writes: On 09/24/2013 09:07:57 PM, Nicolas Pitre wrote: I'd strongly suggest you make your binutils compatible with newer instruction syntax instead of making the kernel

Re: new binutils needed for arm in 3.12-rc1

2013-09-25 Thread Måns Rullgård
break your precious assembler. > > I've got news for you. We're *not* going to listen to that argument. > > END OF DISCUSSION (everything else is just a waste of time.) I fully agree. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line "unsubscribe linux-ke

Re: new binutils needed for arm in 3.12-rc1

2013-09-25 Thread Måns Rullgård
nd on > endless new gnuisms just because they're there and nobody else is > regression testing against them, not because they actually add anything. Since when is assembling the instructions correctly, as specified in the arch ref, and not in some other random way a gnuism? -- M

Re: new binutils needed for arm in 3.12-rc1

2013-09-25 Thread Måns Rullgård
new gnuisms just because they're there and nobody else is regression testing against them, not because they actually add anything. Since when is assembling the instructions correctly, as specified in the arch ref, and not in some other random way a gnuism? -- Måns Rullgård m...@mansr.com

Re: new binutils needed for arm in 3.12-rc1

2013-09-25 Thread Måns Rullgård
. We're *not* going to listen to that argument. END OF DISCUSSION (everything else is just a waste of time.) I fully agree. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

Re: new binutils needed for arm in 3.12-rc1

2013-09-24 Thread Måns Rullgård
inutils older than 2.19 or so rarely works properly for ARM. What value is there in maintaining compatibility with a truly ancient binutils version anyway? -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: new binutils needed for arm in 3.12-rc1

2013-09-24 Thread Måns Rullgård
rarely works properly for ARM. What value is there in maintaining compatibility with a truly ancient binutils version anyway? -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH 2/5] arm: LLVMLinux: use current_stack_pointer for percpu

2013-09-06 Thread Måns Rullgård
ot;Q" (sp)); This doesn't do quite the same thing. The existing code pretends to read something from the stack in order to create a barrier of some sort. Your new code stores the value of the stack pointer to a location on the stack for consumption by the "Q" memory constr

Re: [PATCH 1/5] arm: LLVMLinux: Add current_stack_pointer macro for ARM

2013-09-06 Thread Måns Rullgård
beh...@converseincode.com writes: > +#define current_stack_pointer ({ \ > + unsigned long current_sp; \ > + asm ("mov %0, r13" : "=r" (current_sp)); \ > + current_sp; \ > +}) Why do you use 'r13' rather than the more common 'sp' alias

Re: [PATCH 1/5] arm: LLVMLinux: Add current_stack_pointer macro for ARM

2013-09-06 Thread Måns Rullgård
beh...@converseincode.com writes: +#define current_stack_pointer ({ \ + unsigned long current_sp; \ + asm (mov %0, r13 : =r (current_sp)); \ + current_sp; \ +}) Why do you use 'r13' rather than the more common 'sp' alias? -- Måns Rullgård m...@mansr.com -- To unsubscribe from

Re: [PATCH 2/5] arm: LLVMLinux: use current_stack_pointer for percpu

2013-09-06 Thread Måns Rullgård
to create a barrier of some sort. Your new code stores the value of the stack pointer to a location on the stack for consumption by the Q memory constraint. This store is not necessary and should preferably be avoided. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line

Re: [PATCH] alpha: spinlock: don't perform memory access in locked critical section

2013-05-06 Thread Måns Rullgård
. LDA uses the address generation circuitry from the load/store unit, but it does not actually access memory. It is merely a convenient way of performing certain arithmetic operations, be it for scheduling reasons or for the different range of immediate values available. -- Måns Rullgård m...@mansr.com

Re: [PATCH] alpha: spinlock: don't perform memory access in locked critical section

2013-05-06 Thread Måns Rullgård
or for the different range of immediate values available. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

Re: signed size_t ?

2012-12-11 Thread Måns Rullgård
] > > We already changed that once from %td to %zd so that the size_t works > correctly. If the argument is correctly of type size_t, the format should be '%zu' since size_t is unsigned. > Does a signed size_t make any sense? A signed type corresponding to size_t sometimes makes sens

Re: signed size_t ?

2012-12-11 Thread Måns Rullgård
that once from %td to %zd so that the size_t works correctly. If the argument is correctly of type size_t, the format should be '%zu' since size_t is unsigned. Does a signed size_t make any sense? A signed type corresponding to size_t sometimes makes sense and it's called ssize_t. -- Måns

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-18 Thread Måns Rullgård
nd the "beauty" of this name (I > have my own opinion) but we spend too much time arguing about it. This > name has implications beyond the technical arguments of some script or > another and it will be found in all the technical documents produced by > ARM Ltd (including the nex

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-18 Thread Måns Rullgård
the aarch64 name was chosen. Assuming it wasn't handed down by a supreme being, there has to be some reasoning behind the choice. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-16 Thread Måns Rullgård
ual bit encoding): >> >> http://infocenter.arm.com/help/topic/com.arm.doc.genc010197a/index.html > > "This document is only available in a PDF version to registered ARM > customers." > > It would be nice to make this public :-(. Anyone can register, so it's not all that bad.

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-16 Thread Måns Rullgård
://infocenter.arm.com/help/topic/com.arm.doc.genc010197a/index.html This document is only available in a PDF version to registered ARM customers. It would be nice to make this public :-(. Anyone can register, so it's not all that bad. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-15 Thread Måns Rullgård
sons: - Those are the names people actually use to refer to the architecture - They are more descriptive. - I think the official name is rather silly. Note, these are my personal opinions. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-15 Thread Måns Rullgård
. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: ndiswrapper and GPL-only symbols redux

2008-01-30 Thread Måns Rullgård
communication protocol. No tainting is > involved, as all corruption in your kernel is caused by kernel bugs in > visible code that can be debugged. Untrusted code doesn't necessarily violate the GPL. The two issues are orthogonal. -- Måns Rullgård [EMAIL PROTECTED] -- To unsubscribe

Re: ndiswrapper and GPL-only symbols redux

2008-01-30 Thread Måns Rullgård
rs claim that at trade shows, you should not hand over > a demo device running GPLed code to any interested party, as it would be > distribution... Lawyers tend to be overly cautious at times. That said, I am not a lawyer, and may have misunderstood something. If that is the case, I apologise for any

Re: ndiswrapper and GPL-only symbols redux

2008-01-30 Thread Måns Rullgård
at times. That said, I am not a lawyer, and may have misunderstood something. If that is the case, I apologise for any confusion I may have caused. -- Måns Rullgård [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: ndiswrapper and GPL-only symbols redux

2008-01-30 Thread Måns Rullgård
doesn't necessarily violate the GPL. The two issues are orthogonal. -- Måns Rullgård [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

Re: ndiswrapper and GPL-only symbols redux

2008-01-29 Thread Måns Rullgård
Adrian Bunk <[EMAIL PROTECTED]> writes: > On Tue, Jan 29, 2008 at 11:25:22PM +0000, Måns Rullgård wrote: >> Adrian Bunk <[EMAIL PROTECTED]> writes: >> >> > On Tue, Jan 29, 2008 at 04:22:45PM -0500, Pavel Roskin wrote: >> >> Hello! >> >&g

Re: ndiswrapper and GPL-only symbols redux

2008-01-29 Thread Måns Rullgård
in the matter. The Windows drivers are (unrelated violations aside) clearly not derived from GPL code. IANAL -- Måns Rullgård [EMAIL PROTECTED] -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: ndiswrapper and GPL-only symbols redux

2008-01-29 Thread Måns Rullgård
linking of not GPLv2 compatible code into GPLv2 code was not a copyright violation. As long as you don't distribute /proc/kcore, I can't see how the GPL would have any say in the matter. The Windows drivers are (unrelated violations aside) clearly not derived from GPL code. IANAL -- Måns

Re: ndiswrapper and GPL-only symbols redux

2008-01-29 Thread Måns Rullgård
Adrian Bunk [EMAIL PROTECTED] writes: On Tue, Jan 29, 2008 at 11:25:22PM +, Måns Rullgård wrote: Adrian Bunk [EMAIL PROTECTED] writes: On Tue, Jan 29, 2008 at 04:22:45PM -0500, Pavel Roskin wrote: Hello! It have come to my attention that a patch has been committed to the kernel

Re: chars > 0xa0 not displayed in console since 2.6.24

2008-01-28 Thread Måns Rullgård
persist. > > This is a know problem? Probably something to do with this commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ecb77fa96ceda9cae88015bfe3293ffe19006159 -- Måns Rullgård [EMAIL PROTECTED] -- To unsubscribe from this list: send the line "

Re: chars 0xa0 not displayed in console since 2.6.24

2008-01-28 Thread Måns Rullgård
? Probably something to do with this commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ecb77fa96ceda9cae88015bfe3293ffe19006159 -- Måns Rullgård [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: Is gcc thread-unsafe?

2007-10-25 Thread Måns Rullgård
M. On ARM1136 (used in the Nokia N800) a mispredicted branch takes 5-7 cycles (a correctly predicted branch takes 0-4 cycles), while a conditional load, store or arithmetic instruction always takes one cycle. -- Måns Rullgård [EMAIL PROTECTED] - To unsubscribe from this list: send the line &

Re: Is gcc thread-unsafe?

2007-10-25 Thread Måns Rullgård
or arithmetic instruction always takes one cycle. -- Måns Rullgård [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

Re: [PATCH] CodingStyle: Printing numbers in parentheses is fine

2007-09-29 Thread Måns Rullgård
mitted the patch. > You, implicitly, by acking a patch saying those parens are bad. > But not me ... I don't think this patch is merge-worthy. Would also add rules like "don't put parens around the word device" etc? There are countless silly things one could do, and we can'

Re: [PATCH] CodingStyle: Printing numbers in parentheses is fine

2007-09-29 Thread Måns Rullgård
are bad. But not me ... I don't think this patch is merge-worthy. Would also add rules like don't put parens around the word device etc? There are countless silly things one could do, and we can't explicitly prohibit all of them. -- Måns Rullgård [EMAIL PROTECTED] - To unsubscribe from this list

Re: Panic with XFS on RHEL5 (2.6.18-8.1.8.el5)

2007-08-18 Thread Måns Rullgård
Chris Boot <[EMAIL PROTECTED]> writes: > Måns Rullgård wrote: >> Chris Boot <[EMAIL PROTECTED]> writes: >> >> >>> All, >>> >>> I've got a box running RHEL5 and haven't been impressed by ext3 >>> performance on it (running of a 1

Re: Panic with XFS on RHEL5 (2.6.18-8.1.8.el5)

2007-08-18 Thread Måns Rullgård
/0x23 > [] vfs_readdir+0x63/0x8d > [] filldir+0x0/0xb9 > [] sys_getdents+0x5f/0x9c > [] syscall_call+0x7/0xb > === Your Redhat kernel is probably built with 4k stacks and XFS+loop+ext3 seems to be enough to overflow it. -- Måns Rullgård [EMAIL PROTECTED] - T

Re: Panic with XFS on RHEL5 (2.6.18-8.1.8.el5)

2007-08-18 Thread Måns Rullgård
[c047a447] sys_getdents+0x5f/0x9c [c0403eff] syscall_call+0x7/0xb === Your Redhat kernel is probably built with 4k stacks and XFS+loop+ext3 seems to be enough to overflow it. -- Måns Rullgård [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux

Re: Panic with XFS on RHEL5 (2.6.18-8.1.8.el5)

2007-08-18 Thread Måns Rullgård
Chris Boot [EMAIL PROTECTED] writes: Måns Rullgård wrote: Chris Boot [EMAIL PROTECTED] writes: All, I've got a box running RHEL5 and haven't been impressed by ext3 performance on it (running of a 1.5TB HP MSA20 using the cciss driver). I compiled XFS as a module and tried it out since

Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?

2007-07-16 Thread Måns Rullgård
llocated. I don't have dedicated testing machines, so I can't afford the time and potential data loss of testing this regularly. I have no shortage on RAM with 8k stacks, so for me the choice is quite simple. -- Måns Rullgård [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscr

Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?

2007-07-16 Thread Måns Rullgård
this regularly. I have no shortage on RAM with 8k stacks, so for me the choice is quite simple. -- Måns Rullgård [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org

Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?

2007-07-15 Thread Måns Rullgård
like Fedora and RHEL use 4K stacks > since forever, and if it gave massive problems they wouldn't do that. > On the upside, especially on very-threaded workloads, it helps > reliability and the VM a lot... I guess no Fedora users run md+lvm+xfs then. That combination has quite reliably cr

Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?

2007-07-15 Thread Måns Rullgård
then. That combination has quite reliably crashed any 4k-stack kernel I've ever cared to try. -- Måns Rullgård [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [OT] Re: Linux Kernel include files

2007-06-30 Thread Måns Rullgård
d >> counter-productive in any case. > > Well, then please write this to the person who did attack me for no > reason! > > What he did is typical trollish behavior, as he tried to turn a > technical based discussion into a flame war for no reason. Ah, it's nice to see Jörg back to

Re: [OT] Re: Linux Kernel include files

2007-06-30 Thread Måns Rullgård
fantastic real-life flame war you gave us at LinuxTag (by the Google booth, remember). I haven't had so much fun in a long time. Quite a few bystanders seemed rather entertained too. -- Måns Rullgård [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-26 Thread Måns Rullgård
out what KDE (or Gnome) is supposed to be good for. I'm not missing anything from my window manager, xterm and xemacs setup. -- Måns Rullgård [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-26 Thread Måns Rullgård
developers generally put *much* effort into making APIs as logical and friendly as they possibly can. I've still not, after all these years, managed to figure out what KDE (or Gnome) is supposed to be good for. I'm not missing anything from my window manager, xterm and xemacs setup. -- Måns

Re: Please release a stable kernel Linux 3.0

2007-06-21 Thread Måns Rullgård
mething works better for me than any kernel before it. It's certainly not only getting worse. -- Måns Rullgård [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: Please release a stable kernel Linux 3.0

2007-06-21 Thread Måns Rullgård
. -- Måns Rullgård [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [patch] sched: fix SysRq-N (normalize RT tasks)

2007-06-14 Thread Måns Rullgård
proper > mechanism to enumerate all tasks is to use a do_each_thread() + > while_each_thread() loop. Was this always a bug or did the meaning of for_each_process() change since this code was added? -- Måns Rullgård [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubsc

Re: [patch] sched: fix SysRq-N (normalize RT tasks)

2007-06-14 Thread Måns Rullgård
a do_each_thread() + while_each_thread() loop. Was this always a bug or did the meaning of for_each_process() change since this code was added? -- Måns Rullgård [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: [discuss] Dropping CONFIG_REORDER on x86-64 for 2.6.22

2007-04-20 Thread Måns Rullgård
Andi Kleen <[EMAIL PROTECTED]> writes: > On Friday 20 April 2007 10:35:10 Måns Rullgård wrote: >> Arjan van de Ven <[EMAIL PROTECTED]> writes: >> >> > Andi Kleen wrote: >> >> Rationale: >> >> - It cannot be enabled in normal builds b

Re: Dropping CONFIG_REORDER on x86-64 for 2.6.22

2007-04-20 Thread Måns Rullgård
SuSE; I've not heard it on any > other distro... Even with that option set, the full kernel build with my configuration finishes in one minute flat on my Gentoo box. Could it be that the linker uses enormous amounts of memory? I have 4GB so I wouldn't immediately notice. -- Måns Rullgår

Re: Dropping CONFIG_REORDER on x86-64 for 2.6.22

2007-04-20 Thread Måns Rullgård
with that option set, the full kernel build with my configuration finishes in one minute flat on my Gentoo box. Could it be that the linker uses enormous amounts of memory? I have 4GB so I wouldn't immediately notice. -- Måns Rullgård [EMAIL PROTECTED] - To unsubscribe from this list: send

Re: [discuss] Dropping CONFIG_REORDER on x86-64 for 2.6.22

2007-04-20 Thread Måns Rullgård
Andi Kleen [EMAIL PROTECTED] writes: On Friday 20 April 2007 10:35:10 Måns Rullgård wrote: Arjan van de Ven [EMAIL PROTECTED] writes: Andi Kleen wrote: Rationale: - It cannot be enabled in normal builds because all current lds become very slow when they have to handle thousands

Re: Linux Alpha port: LVM

2005-04-18 Thread Måns Rullgård
Rao Davide <[EMAIL PROTECTED]> writes: > Is LVM working on the alpha port 2.6 kernel series ? Works for me. > If so where do I get libdevmapper so that I can build the userspace > LVM utils ? Same place as you'd get it for any other system. Doesn't your distribution includ

Re: Linux Alpha port: LVM

2005-04-18 Thread Måns Rullgård
Rao Davide [EMAIL PROTECTED] writes: Is LVM working on the alpha port 2.6 kernel series ? Works for me. If so where do I get libdevmapper so that I can build the userspace LVM utils ? Same place as you'd get it for any other system. Doesn't your distribution include it? -- Måns Rullgård

Re: [SATA] status reports updated

2005-04-15 Thread Måns Rullgård
hich would be the best option, or by reading a label > on a drive)? Seagate drives have the firmware version printed on the label. The version is also visible in "dmesg" output: Vendor: ATA Model: ST3160827AS Rev: 3.03 Type: Direct-Access

Re: [SATA] status reports updated

2005-04-15 Thread Måns Rullgård
on the label. The version is also visible in dmesg output: Vendor: ATA Model: ST3160827AS Rev: 3.03 Type: Direct-Access ANSI SCSI revision: 05 The Rev number is the firmware version. -- Måns Rullgård [EMAIL PROTECTED] - To unsubscribe from this list: send

Re: A way to smoothly overgive graphics control to an other process/program

2005-04-08 Thread Måns Rullgård
e fault-resistent). This way, the image > loaded by the bootloader could be held on display up to the graphical > login, and even as the > desktop background, without any visible effect. > > Is this technically feasible? It's technically pointless. Take a look at bootsplash, thou

Re: A way to smoothly overgive graphics control to an other process/program

2005-04-08 Thread Måns Rullgård
could be held on display up to the graphical login, and even as the desktop background, without any visible effect. Is this technically feasible? It's technically pointless. Take a look at bootsplash, though. -- Måns Rullgård [EMAIL PROTECTED] - To unsubscribe from this list: send the line

Re: non-free firmware in kernel modules, aggregation and unclear copyright notice.

2005-04-07 Thread Måns Rullgård
ding "software" and "free". > This whole thread and gotten truly bizarre. Surprised? -- Måns Rullgård [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: non-free firmware in kernel modules, aggregation and unclear copyright notice.

2005-04-07 Thread Måns Rullgård
thread and gotten truly bizarre. Surprised? -- Måns Rullgård [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

Re: [RFD] 'nice' attribute for executable files

2005-04-01 Thread Måns Rullgård
accessible only for root, and if hacker has root permissions, > existence of nice attribute is meaningless. You forgot something: this idea of yours needs to be implemented, tested, and debugged. Those things take time, and effort, and are still of very little value. -- Måns Rullgård [EMAIL PROTECTE

Re: [RFD] 'nice' attribute for executable files

2005-04-01 Thread Måns Rullgård
Wiktor <[EMAIL PROTECTED]> writes: > Måns Rullgård wrote: >> So you are proposing the addition of a per-file attribute, with >> restricted access, and potentially dangerous effects if set >> incorrectly. This, combined with the fact that is unlikely to receive >>

Re: [RFC] : remove unreliable, unused and unmainained arch from kernel.

2005-04-01 Thread Måns Rullgård
"Richard B. Johnson" <[EMAIL PROTECTED]> writes: > On Fri, 1 Apr 2005, [iso-8859-1] Måns Rullgård wrote: > >> linux-os <[EMAIL PROTECTED]> writes: >> >>> [PATCH snipped] >>> >>> Cruel joke. Now 80 percent of the Intel cl

Re: [RFC] : remove unreliable, unused and unmainained arch from kernel.

2005-04-01 Thread Måns Rullgård
ithout i386 support, you don't have any embedded systems. You > need to use the garbage Motorola CPUs and the proprietary > operating systems in embedded stuff. In front me at the moment are two embedded devices, one PPC based, the other MIPS, both running Linux. -- Måns Rullgård [EMAIL PRO

Re: [RFC] : remove unreliable, unused and unmainained arch from kernel.

2005-04-01 Thread Måns Rullgård
any embedded systems. You need to use the garbage Motorola CPUs and the proprietary operating systems in embedded stuff. In front me at the moment are two embedded devices, one PPC based, the other MIPS, both running Linux. -- Måns Rullgård [EMAIL PROTECTED] - To unsubscribe from this list

Re: [RFC] : remove unreliable, unused and unmainained arch from kernel.

2005-04-01 Thread Måns Rullgård
Richard B. Johnson [EMAIL PROTECTED] writes: On Fri, 1 Apr 2005, [iso-8859-1] Måns Rullgård wrote: linux-os [EMAIL PROTECTED] writes: [PATCH snipped] Cruel joke. Now 80 percent of the Intel clones won't boot. Those are the ones that run industry, you know, the stuff that is necessary

Re: [RFD] 'nice' attribute for executable files

2005-04-01 Thread Måns Rullgård
Wiktor [EMAIL PROTECTED] writes: Måns Rullgård wrote: So you are proposing the addition of a per-file attribute, with restricted access, and potentially dangerous effects if set incorrectly. This, combined with the fact that is unlikely to receive much testing, all speaks against

Re: [RFD] 'nice' attribute for executable files

2005-04-01 Thread Måns Rullgård
is meaningless. You forgot something: this idea of yours needs to be implemented, tested, and debugged. Those things take time, and effort, and are still of very little value. -- Måns Rullgård [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [RFD] 'nice' attribute for executable files

2005-03-31 Thread Måns Rullgård
;> a simple wrapper, only for the shell. > > Even better: Write a C wrapper for each affected program that just renices > it as needed. The OP was too lazy to do this. -- Måns Rullgård [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [RFD] 'nice' attribute for executable files

2005-03-31 Thread Måns Rullgård
to do this. -- Måns Rullgård [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RFD] 'nice' attribute for executable files

2005-03-30 Thread Måns Rullgård
Wiktor <[EMAIL PROTECTED]> writes: > Måns Rullgård wrote: >> >> You could wrap /lib/ld-linux.so, and get all dynamically linked >> programs done in one sweep. >> > That's mad idea - Sure, but it's possible. > keep similar things in one place! starting prog

Re: [RFD] 'nice' attribute for executable files

2005-03-30 Thread Måns Rullgård
Wiktor <[EMAIL PROTECTED]> writes: > Måns Rullgård wrote: >> It can be done entirely in userspace, if you want it. Just hack your >> shell to examine some extended attribute of your choice, and adjust >> the nice value before executing files. Then arran

<    3   4   5   6   7   8   9   >