Re: [PATCH 12/13] maps#2: Add /proc/pid/pagemap interface

2007-04-06 Thread Andrew Morton
On Fri, 06 Apr 2007 17:03:13 -0500 Matt Mackall <[EMAIL PROTECTED]> wrote: > Add /proc/pid/pagemap interface > > This interface provides a mapping for each page in an address space to > its physical page frame number, allowing precise determination of what > pages are mapped and what pages are sh

Re: Ten percent test

2007-04-06 Thread Con Kolivas
On Friday 06 April 2007 20:03, Ingo Molnar wrote: > * Con Kolivas <[EMAIL PROTECTED]> wrote: > > > I was more focused on the general case, but all I should have to do > > > to de-claw all of these sleep exploits is account rr time (only a > > > couple of lines, done and building now). It's only a

Re: [patch 0/8] unprivileged mount syscall

2007-04-06 Thread Miklos Szeredi
> On 4/6/07, H. Peter Anvin <[EMAIL PROTECTED]> wrote: > > Jan Engelhardt wrote: > > > On Apr 6 2007 16:16, H. Peter Anvin wrote: > > - users can use bind mounts without having to pre-configure them in > > /etc/fstab > > > > >> This is by far the biggest concern I see. I think the s

Re: [patch 0/8] unprivileged mount syscall

2007-04-06 Thread Miklos Szeredi
> > This patchset adds support for keeping mount ownership information in > > the kernel, and allow unprivileged mount(2) and umount(2) in certain > > cases. > > No replies, huh? All we need is a comment from Andrew, and the replies come flooding in ;) > My knowledge of the code which you're tou

Re: [patch 2.6.21-rc6-git] at91_cf, minor fix

2007-04-06 Thread Andrew Morton
On Fri, 6 Apr 2007 14:48:47 -0700 David Brownell <[EMAIL PROTECTED]> wrote: > This is a refresh of a patch sent to the linux-pcmcia list on 15-February; > it seems that despite the MAINTAINERS file, that's not the place to send > patches. (So what good is that list, and why is it in MAINTAINERS?)

Re: Avoid checking for cpu gone when CONFIG_HOTPLUG_CPU not defined

2007-04-06 Thread Andrew Morton
On Fri, 6 Apr 2007 14:41:50 -0700 "Keshavamurthy, Anil S" <[EMAIL PROTECTED]> wrote: > Subject: Avoid checking for cpu gone when CONFIG_HOTPLUG_CPU not defined > > Avoid checking for cpu gone in mm hot path when > CONFIG_HOTPLUG_CPU is not defined. > > Signed-off-by: Anil S Keshavamurthy <[EMAI

[PATCH] irq-devres: fix failure path of devm_request_irq()

2007-04-06 Thread Tejun Heo
devres should be deallocated with devres_free() not kfree(). This bug corrupts slab on IRQ request failure. Fix it. Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> --- Sorry about the bug, please apply before 2.6.21 release. Thanks. diff --git a/kernel/irq/devres.c b/kernel/irq/devres.c index 85a

Re: Reiser4. BEST FILESYSTEM EVER.

2007-04-06 Thread johnrobertbanks
On Fri, 6 Apr 2007 23:30:49 -0400, "Jan Harkes" <[EMAIL PROTECTED]> said: > > Since you decide to publically respond to a private email, but not only > you did not 'discuss' anything I wrote and in fact cut out most of the > useful information in my reply I guess I will have to repeat my > observ

Re: [patch 07/20] Allow paravirt backend to choose kernel PMD sharing

2007-04-06 Thread Jeremy Fitzhardinge
Andrew Morton wrote: > Thanks. A replacement would suit. > Subject: Allow paravirt backend to choose kernel PMD sharing Normally when running in PAE mode, the 4th PMD maps the kernel address space, which can be shared among all processes (since they all need the same kernel mappings). Xen, ho

Re: [PATCH 11/13] maps#2: Make /proc/pid/clear_refs option under CONFIG_EMBEDDED

2007-04-06 Thread David Rientjes
On Fri, 6 Apr 2007, Matt Mackall wrote: > Make /proc/pid/clear_refs option under CONFIG_EMBEDDED > > This interface is primarily useful for doing memory profiling and not > much use on deployed embedded boxes. Make it optional. Together with > /proc/pid/smaps, this save a few K. > > Signed-off-b

Re: [PATCH 2/2] Optimize compound_head() by avoiding a shared page flag

2007-04-06 Thread Andrew Morton
On Thu, 5 Apr 2007 15:36:57 -0700 (PDT) Christoph Lameter <[EMAIL PROTECTED]> wrote: > Unalias PG_tail for performance reasons > > If PG_tail is an alias then we need to check PageCompound before PageTail. > This is particularly bad because the slab and others have to use these tests > in perfo

Re: [PATCH] PPC4xx UART0 (8250) problem

2007-04-06 Thread Benjamin Herrenschmidt
On Sat, 2007-04-07 at 07:21 +0300, Mikhail Zolotaryov wrote: > On PPC4xx embedded we often have UART0 on IRQ0 but 8250 UART driver > uses IRQ0 as "no irq" hack. It's suggested that platforms with UART > on IRQ0 will redefine is_real_interrupt(irq) macro but 8250 code > anyway overrides that. As the

Re: [patch 2.6.21-rc5-git] make /proc/acpi/wakeup more useful

2007-04-06 Thread Greg KH
On Fri, Apr 06, 2007 at 08:43:30AM -0700, David Brownell wrote: > > > If this patch starts to get deployed, I expect other people will find > > > a few other curiousities ... and likely some things to be fixed. > > > > > The /sys/devices/acpi_system:00/ tree is kind of new. I suspect one > > > wa

CPU offline but power consumption increased?

2007-04-06 Thread Andika Triwidada
http://andika-lives-here.blogspot.com/2007/03/eksperimen-cpu-hotplug-dan-konsumsi.html * initial setup: [EMAIL PROTECTED]:~# cpufreq-set -d 1.666g [EMAIL PROTECTED]:~# cpufreq-set -u 1.666g [EMAIL PROTECTED]:~# cpufreq-set -g userspace [EMAIL PROTECTED]:~# cpufreq-info cpufrequtils 002: cpufreq-i

[PATCH] PPC4xx UART0 (8250) problem

2007-04-06 Thread Mikhail Zolotaryov
On PPC4xx embedded we often have UART0 on IRQ0 but 8250 UART driver uses IRQ0 as "no irq" hack. It's suggested that platforms with UART on IRQ0 will redefine is_real_interrupt(irq) macro but 8250 code anyway overrides that. As the result, serial line on UART0 works on polling-way and we have charac

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

2007-04-06 Thread Srivatsa Vaddagiri
On Fri, Apr 06, 2007 at 04:32:24PM -0700, [EMAIL PROTECTED] wrote: > +static int attach_task(struct container *cont, struct task_struct *tsk) > { [snip] > + task_lock(tsk); You need to check here if task state is PF_EXITING and fail with -ESRCH if so? Otherwise we risk breaking refcount on

Re: [2.6 patch] remove the broken PCI_MULTITHREAD_PROBE option

2007-04-06 Thread Greg KH
On Wed, Mar 28, 2007 at 10:36:25AM +0200, Cornelia Huck wrote: > On Tue, 27 Mar 2007 15:50:06 -0700, > Greg KH <[EMAIL PROTECTED]> wrote: > > > > Greg, what about driver-core-per-subsystem-multithreaded-probing.patch? > > > PCI_MULTITHREAD_PROBE shoudn't be broken with that, only in mainline? > >

Re: Reiser4. BEST FILESYSTEM EVER.

2007-04-06 Thread Jan Harkes
Since you decide to publically respond to a private email, but not only you did not 'discuss' anything I wrote and in fact cut out most of the useful information in my reply I guess I will have to repeat my observations. Once I send out this email, I'll just add you to my friendly killfile (as we

Re: [PATCH resend][CRYPTO]: RSA algorithm patch

2007-04-06 Thread Bill Davidsen
Indan Zupancic wrote: On Fri, April 6, 2007 23:30, Bill Davidsen wrote: Tasos Parisinos wrote: The main purpose behind the creation of this module was to create the cryptographic infrastructure to develop an in-kernel system of signed modules. Although this functionality c

Re: [patch 0/8] unprivileged mount syscall

2007-04-06 Thread Eric Van Hensbergen
On 4/6/07, H. Peter Anvin <[EMAIL PROTECTED]> wrote: Jan Engelhardt wrote: > On Apr 6 2007 16:16, H. Peter Anvin wrote: - users can use bind mounts without having to pre-configure them in /etc/fstab >> This is by far the biggest concern I see. I think the security implication of

Re: Reiser4. BEST FILESYSTEM EVER.

2007-04-06 Thread johnrobertbanks
On Fri, 6 Apr 2007 11:21:19 -0400, "Jan Harkes" <[EMAIL PROTECTED]> said: > Do you really have to repeat the results in every email you sent? The following benchmarks are from http://linuxhelp.150m.com/resources/fs-benchmarks.htm or, http://m.domaindlx.com/LinuxHelp/resources/fs-benchmarks.htm .

Re: usb touchscreen breakage in 2.6.21-rc5-mm4 ?

2007-04-06 Thread Dmitry Torokhov
On Friday 06 April 2007 20:54, Helge Hafting wrote: > I have an usb touchscreen (egalax variety) that works with > the 2.6.18 kernel supplied by debian. > > It fails when I compile 2.6.21-rc5-mm4, tuned to the machine > in question. Unlike the debian kernel, this kernel don't use > modules in or

Re: [PATCH] timekeeping: drop irq-context clocksource polling

2007-04-06 Thread Daniel Walker
On Fri, 2007-04-06 at 18:21 -0700, Andrew Morton wrote: > On Thu, 05 Apr 2007 14:03:16 -0700 Daniel Walker <[EMAIL PROTECTED]> wrote: > > > Boot tested on i386, compile tested on x86_64 .. However, I couldn't > > find a !GENERIC_TIME that compiled without this change so it's untested.. > > I'm sc

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

2007-04-06 Thread Paul Menage
On 4/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: This patch removes all cpuset-specific knowlege from the container system, replacing it with a generic API that can be used by multiple subsystems. Cpusets is adapted to be a container subsystem. + + /* Set of subsystem states, one fo

Re: tg3: unable to handle null pointer dereference

2007-04-06 Thread Nishanth Aravamudan
On 06.04.2007 [17:36:00 -0700], David Miller wrote: > From: "Michael Chan" <[EMAIL PROTECTED]> > Date: Fri, 06 Apr 2007 15:57:13 -0700 > > > On Fri, 2007-04-06 at 14:40 -0700, Nishanth Aravamudan wrote: > > > > > 2.6.21-rc5 is ok. 2.6.21-rc6 results in > > > > > > [ 14.241665] Unable to handle

Re: COMPILING AND CONFIGURING A NEW KERNEL.

2007-04-06 Thread johnrobertbanks
This is a reply to an email that I accidentally deleted. COMPILING AND CONFIGURING A NEW KERNEL. Download a recent kernel from http://www.kernel.org/ I will use the kernel linux-2.6.20.tar.bz2 You will have to change details of the following to suit your purposes. Save it in /usr/src/ # mv linu

Re: [patch 07/20] Allow paravirt backend to choose kernel PMD sharing

2007-04-06 Thread Andrew Morton
On Fri, 06 Apr 2007 17:40:13 -0700 Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > Andrew Morton wrote: > > Something like that. I don't want to redo my patch if we're going to change > > your patch ;) > > > > OK. I won't specifically redo it on top of your patches, but I'll > rework it to

Re: [PATCH] timekeeping: drop irq-context clocksource polling

2007-04-06 Thread Andrew Morton
On Thu, 05 Apr 2007 14:03:16 -0700 Daniel Walker <[EMAIL PROTECTED]> wrote: > Boot tested on i386, compile tested on x86_64 .. However, I couldn't > find a !GENERIC_TIME that compiled without this change so it's untested.. I'm scratching my head over this statement. Do you mean that none of grep

usb touchscreen breakage in 2.6.21-rc5-mm4 ?

2007-04-06 Thread Helge Hafting
I have an usb touchscreen (egalax variety) that works with the 2.6.18 kernel supplied by debian. It fails when I compile 2.6.21-rc5-mm4, tuned to the machine in question. Unlike the debian kernel, this kernel don't use modules in order to save boot time. The strange thing is, 2.6.21-rc5-mm4 rec

Hanging on activating cpufreq

2007-04-06 Thread Matthew Toseland
Linux hangs when powernow-k8 attempts to change the clock speed. Happens on 2.6.21-rc6, -rc5 and (at least) back to 2.6.18. The hang occurs before loading X and so is in text mode. alt+sysrq+z/b/etc doesn't work, nor does the NMI watchdog despite its being loaded ("Testing NMI watchdog ... OK."). H

[PATCH v2] kernel-doc: handle spaces in array size

2007-04-06 Thread Randy Dunlap
From: Jan Engelhardt <[EMAIL PROTECTED]> Unfortunately, kernel-doc has problems with a struct field like this: uint8_t databuf[NAND_MAX_PAGESIZE + NAND_MAX_OOBSIZE]; simply due to the spaces around the "+" sign, so drop all spaces inside [...] so that parsing is done correctly (in some

Re: [patch 07/20] Allow paravirt backend to choose kernel PMD sharing

2007-04-06 Thread Jeremy Fitzhardinge
Andrew Morton wrote: > Something like that. I don't want to redo my patch if we're going to change > your patch ;) > OK. I won't specifically redo it on top of your patches, but I'll rework it to remove the inline function and add the if() statement. Do you want an incremental update or a co

Re: tg3: unable to handle null pointer dereference

2007-04-06 Thread David Miller
From: "Michael Chan" <[EMAIL PROTECTED]> Date: Fri, 06 Apr 2007 15:57:13 -0700 > On Fri, 2007-04-06 at 14:40 -0700, Nishanth Aravamudan wrote: > > > 2.6.21-rc5 is ok. 2.6.21-rc6 results in > > > > [ 14.241665] Unable to handle kernel NULL pointer dereference (address > > ) >

Re: [patch 07/20] Allow paravirt backend to choose kernel PMD sharing

2007-04-06 Thread Andrew Morton
On Fri, 06 Apr 2007 17:02:58 -0700 Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > Andrew Morton wrote: > > All this paravirt stuff isn't making the kernel any prettier, is it? > > > > You're too kind. wli's comment on the first version of this patch was > something along the lines of "this

Re: [patch 0/8] unprivileged mount syscall

2007-04-06 Thread H. Peter Anvin
Jan Engelhardt wrote: On Apr 6 2007 16:16, H. Peter Anvin wrote: - users can use bind mounts without having to pre-configure them in /etc/fstab This is by far the biggest concern I see. I think the security implication of allowing anyone to do bind mounts are poorly understood. $ whoami mik

[PATCH 5/7] Containers (V8): Resource Groups over generic containers

2007-04-06 Thread menage
This patch provides the RG core and numtasks controller as container subsystems, intended as an example of how to implement a more complex resource control system over generic process containers. The changes to the core involve primarily removing the group management, task membership and configfs s

[PATCH 1/7] Containers (V8): Generic container system abstracted from cpusets code

2007-04-06 Thread menage
This patch creates a generic process container system based on (and parallel top) the cpusets code. At a coarse level it was created by copying kernel/cpuset.c, doing s/cpuset/container/g, and stripping out any code that was cpuset-specific rather than applicable to any process container subsystem

[PATCH 7/7] Containers (V8): Container interface to nsproxy subsystem

2007-04-06 Thread menage
This is intended as a simple illustration of how a virtual server system could be integrated with generic containers, and hence take advantage of other resource-control efforts. A real implementation would probably allow parameters such as configuring what kinds of namespace creations triggered new

Re: coding style for long conditions (WAS: Re: [PATCH 25/90] ... blinky leds!!)

2007-04-06 Thread Krzysztof Halasa
Jan Engelhardt <[EMAIL PROTECTED]> writes: > Tabs should be used for indent, not padding. People wanting to use > different-sized tabs can change settings in their editor, i.e. > to make a tab 12 instead of 8. Or 6. Or whatever. If tabs only ever > appear at the front, this works, it breaks when t

[PATCH 4/7] Containers (V8): Simple CPU accounting container subsystem

2007-04-06 Thread menage
This example demonstrates how to use the generic container subsystem for a simple resource tracker that counts, for the processes in a container, the total CPU time used and the %CPU used in the last complete 10 second interval. Portions contributed by Balbir Singh <[EMAIL PROTECTED]> Signed-off-

[PATCH 6/7] Containers (V8): BeanCounters over generic process containers

2007-04-06 Thread menage
This patch implements the BeanCounter resource control abstraction over generic process containers. It contains the beancounter core code, plus the numfiles resource counter. It doesn't currently contain any of the memory tracking code or the code for switching beancounter context in interrupts. C

[PATCH 0/7] Containers (V8): Generic Process Containers

2007-04-06 Thread menage
-- This is an update to my multi-hierarchy multi-subsystem generic process containers patch. Changes since V7 (12th Feb) include: - Removed the config-time choice of the number of supported hierarchies - this is now completely dynamic; new hierarchies are allocated on demand, and freed when no lo

Re: [PATCH 4/5] Char: cyclades, remove volatiles

2007-04-06 Thread Andrew Morton
On Wed, 4 Apr 2007 23:45:38 +0200 (CEST) Jiri Slaby <[EMAIL PROTECTED]> wrote: > cyclades, remove volatiles The other changes seem uncontroversial, but this one has the potential to change runtime behaviour. And cyclades.c is a driver which some people actually use ;) Have these changes been r

[PATCH] Cleanup flush_tlb_others fn

2007-04-06 Thread Keshavamurthy, Anil S
Cleanup flush_tlb_others(), no functional change. Signed-off-by: Anil S Keshavamurthy <[EMAIL PROTECTED]> --- arch/i386/kernel/smp.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) Index: work/arch/i386/kernel/smp.c =

Re: [PATCH] [sched] redundant reschedule when set_user_nice() boosts a prio of a task from the "expired" array

2007-04-06 Thread Andrew Morton
On Wed, 4 Apr 2007 22:05:40 +0200 "Dmitry Adamushko" <[EMAIL PROTECTED]> wrote: > Ingo, > > following the conversation on "a redundant reschedule call in > set_user_prio()", > here is a possible approach. > > The patch is somewhat intrusive as it even dares to adapt > TASK_PREEMPTS_CURR(). >

Re: [patch 07/20] Allow paravirt backend to choose kernel PMD sharing

2007-04-06 Thread Jeremy Fitzhardinge
Andrew Morton wrote: > All this paravirt stuff isn't making the kernel any prettier, is it? > You're too kind. wli's comment on the first version of this patch was something along the lines of "this patch causes a surprising amount of damage for what little it achieves". >> ... >> >> -#ifnd

[patch 2/4] clean up identify_cpu

2007-04-06 Thread Jeremy Fitzhardinge
identify_cpu() is used to identify both the boot CPU and secondary CPUs, but it performs some actions which only apply to the boot CPU. Those functions are therefore really __init functions, but because they're called by identify_cpu(), they must be marked __cpuinit. This patch splits identify_cpu

Re: [patch 0/8] unprivileged mount syscall

2007-04-06 Thread Jan Engelhardt
On Apr 6 2007 16:16, H. Peter Anvin wrote: >> > >> > - users can use bind mounts without having to pre-configure them in >> > /etc/fstab >> > > > This is by far the biggest concern I see. I think the security implication of > allowing anyone to do bind mounts are poorly understood. $ whoami mi

[patch 4/4] Make COMPAT_VDSO runtime selectable.

2007-04-06 Thread Jeremy Fitzhardinge
Now that relocation of the VDSO for COMPAT_VDSO users is done at runtime rather than compile time, it is possible to enable/disable compat mode at runtime. This patch allows you to enable COMPAT_VDSO mode with "vdso=2" on the kernel command line, or via sysctl. (Switching on a running system shou

[patch 3/4] Relocate VDSO ELF headers to match mapped location with COMPAT_VDSO

2007-04-06 Thread Jeremy Fitzhardinge
Some versions of libc can't deal with a VDSO which doesn't have its ELF headers matching its mapped address. COMPAT_VDSO maps the VDSO at a specific system-wide fixed address. Previously this was all done at build time, on the grounds that the fixed VDSO address is always at the top of the addres

[patch 0/4] Clean up asm/bugs.h, identify_cpu() and update COMPAT_VDSO

2007-04-06 Thread Jeremy Fitzhardinge
Hi Andi, Four patches: - clean up asm/bugs.h, by moving all the C code into its own C file - split identify_cpu() into boot and secondary variants, so that boot-time setup functions can be marked __init - repost of the COMPAT_VDSO patches with a bit more robustness from unknown DT_tags, a

[patch 1/4] Clean up asm-i386/bugs.h

2007-04-06 Thread Jeremy Fitzhardinge
Most of asm-i386/bugs.h is code which should be in a C file, so put it there. Signed-off-by: Jeremy Fitzhardinge <[EMAIL PROTECTED]> Cc: Linus Torvalds <[EMAIL PROTECTED]> --- arch/i386/kernel/cpu/Makefile |2 arch/i386/kernel/cpu/bugs.c| 191 +++ i

Re: coding style for long conditions (WAS: Re: [PATCH 25/90] ... blinky leds!!)

2007-04-06 Thread Jan Engelhardt
On Apr 6 2007 15:40, David Brownell wrote: >> >if (...) { >> >THAT WAS ONE MORE TAB >> >} >> > >> >Come on, stop wasting everyone's time with utter nonsense. >> I was never debating these two things. >Actually, you did. If it was perceived I did, then I owe you an apology. >

Re: [patch 18/20] clean up tsc-based sched_clock

2007-04-06 Thread Andrew Morton
On Fri, 06 Apr 2007 16:27:20 -0700 Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > > I still need to work out why that hang is happening - it is very > > mysterious. I got as far as working out that it was hanging on > > write_seqlock_irqsave(xtime_lock), then remembered that it's with > > CONF

Re: [patch 18/20] clean up tsc-based sched_clock

2007-04-06 Thread Jeremy Fitzhardinge
Andrew Morton wrote: > On Wed, 04 Apr 2007 12:12:09 -0700 Jeremy Fitzhardinge <[EMAIL PROTECTED]> > wrote: > > >> Three cleanups: >> - change "instable" -> "unstable" >> - its better to use get_cpu_var for getting this cpu's variables >> - change cycles_2_ns to do the full computation rather

Re: [patch 07/20] Allow paravirt backend to choose kernel PMD sharing

2007-04-06 Thread Andrew Morton
On Wed, 04 Apr 2007 12:11:58 -0700 Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > Normally when running in PAE mode, the 4th PMD maps the kernel address > space, which can be shared among all processes (since they all need > the same kernel mappings). > > Xen, however, does not allow guests to

Re: [PATCH] kernel-doc: handle spaces in array size

2007-04-06 Thread Jan Engelhardt
On Apr 6 2007 16:03, Randy Dunlap wrote: >On Fri, 6 Apr 2007 21:24:48 +0200 (MEST) Jan Engelhardt wrote: > >> On Apr 6 2007 11:47, Randy Dunlap wrote: >> > >> >Unfortunately, kernel-doc has problems with a struct field like this: >> >uint8_t databuf[NAND_MAX_PAGESIZE + NAND_MAX_OOBSIZE]; >> >

Re: init's children list is long and slows reaping children.

2007-04-06 Thread Jeff Garzik
Linus Torvalds wrote: On Fri, 6 Apr 2007, Jeff Garzik wrote: I would rather change the implementation under the hood to start per-CPU threads on demand, similar to a thread-pool implementation. Boxes with $BigNum CPUs probably won't ever use half of those threads. The counter-argument is tha

Re: coding style for long conditions (WAS: Re: [PATCH 25/90] ... blinky leds!!)

2007-04-06 Thread David Brownell
On Friday 06 April 2007 4:21 pm, Thomas Gleixner wrote: > David, > > On Fri, 2007-04-06 at 15:57 -0700, David Brownell wrote: > > This particular issue doesn't actually affect indentation, since the > > tab trumps that space. So it's a bit off-agenda for this particular > > flamage. > > ROTFL, t

Re: [PATCH resend][CRYPTO]: RSA algorithm patch

2007-04-06 Thread Indan Zupancic
On Fri, April 6, 2007 23:30, Bill Davidsen wrote: > Tasos Parisinos wrote: >> The main purpose behind the creation of this module was to create the >> cryptographic infrastructure to develop an in-kernel system of signed >> modules. >> >> Although this functionality can be achieved using userland

Re: [patch 18/20] clean up tsc-based sched_clock

2007-04-06 Thread Jeremy Fitzhardinge
Andrew Morton wrote: > On Wed, 04 Apr 2007 12:12:09 -0700 Jeremy Fitzhardinge <[EMAIL PROTECTED]> > wrote: > > >> Three cleanups: >> - change "instable" -> "unstable" >> - its better to use get_cpu_var for getting this cpu's variables >> - change cycles_2_ns to do the full computation rather

Re: [patch 09/20] rename struct paravirt_patch to paravirt_patch_site for clarity

2007-04-06 Thread Jeremy Fitzhardinge
Andrew Morton wrote: > Needed a bit of updating for Andi's recently-merged > x86_64-mm-vmi-backend-for-paravirt-ops.patch but I think I got it > right. We'll see if it compiles. > Yeah, it's just a simple name change, so it will either compile or not. J - To unsubscribe from this list: se

Re: [patch 18/20] clean up tsc-based sched_clock

2007-04-06 Thread Andrew Morton
On Wed, 04 Apr 2007 12:12:09 -0700 Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > Three cleanups: > - change "instable" -> "unstable" > - its better to use get_cpu_var for getting this cpu's variables > - change cycles_2_ns to do the full computation rather than just the >tsc->ns scaling

Re: coding style for long conditions (WAS: Re: [PATCH 25/90] ... blinky leds!!)

2007-04-06 Thread Thomas Gleixner
David, On Fri, 2007-04-06 at 15:57 -0700, David Brownell wrote: > This particular issue doesn't actually affect indentation, since the > tab trumps that space. So it's a bit off-agenda for this particular > flamage. ROTFL, the tab trumps the space. Is this a card game ? > > Please change your c

Re: 2.6.9 won't compile

2007-04-06 Thread Pedro Mullor Jiménez
> [Benoit Boissinot] > I don't think 2.6.9 was gcc-4.x compatible, what version > of gcc are you using ? > [Robert Hancock] > Your compiler is probably too new to be able to compile 2.6.9. You'd > likely be better off trying the latest kernels and making a detailed > report of the problems you'r

Re: [patch 09/20] rename struct paravirt_patch to paravirt_patch_site for clarity

2007-04-06 Thread Andrew Morton
On Wed, 04 Apr 2007 12:12:00 -0700 Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > Rename struct paravirt_patch to paravirt_patch_site, so that it > clearly refers to a callsite, and not the patch which may be applied > to that callsite. Needed a bit of updating for Andi's recently-merged x86_6

Re: [patch 0/8] unprivileged mount syscall

2007-04-06 Thread H. Peter Anvin
- users can use bind mounts without having to pre-configure them in /etc/fstab This is by far the biggest concern I see. I think the security implication of allowing anyone to do bind mounts are poorly understood. -hpa - To unsubscribe from this list: send the line "unsubscribe l

Re: [PATCH 2.6.21-rc5-rt12] IPV6: Flag bit of ebitmask is not set in __inet6_hash.

2007-04-06 Thread Masayuki Nakagawa
Ingo-san This is a RT specific issue, and this fix is not needed in mainline. When searching in-use sockets via netstat, RT uses a bitmap(ebitmask) for fast search. Non-RT doesn't use the bitmap. Following patch is abstracted from RT patch(patch-2.6.21-rc5-rt12). --- Abstract

Re: Linux 2.6.21-rc6 - regressions update

2007-04-06 Thread Linus Torvalds
[ Added some people to the cc.. Len, Thomas, Ingo - look for the exact report on linux-kernel, but basically it's a "irq 9: nobody cared" issue with acpi_irq on irq9 ] On Sat, 7 Apr 2007, Soeren Sonnenburg wrote: > > regression update for 21-rc6: > > 1) all s2ram and NO_HZ related things

Re: [patch 0/8] unprivileged mount syscall

2007-04-06 Thread Andrew Morton
On Wed, 04 Apr 2007 20:30:12 +0200 Miklos Szeredi <[EMAIL PROTECTED]> wrote: > This patchset adds support for keeping mount ownership information in > the kernel, and allow unprivileged mount(2) and umount(2) in certain > cases. No replies, huh? My knowledge of the code which you're touching is

Re: [PATCH] kernel-doc: handle spaces in array size

2007-04-06 Thread Randy Dunlap
On Fri, 6 Apr 2007 21:24:48 +0200 (MEST) Jan Engelhardt wrote: > On Apr 6 2007 11:47, Randy Dunlap wrote: > > > >Unfortunately, kernel-doc has problems with a struct field like this: > > uint8_t databuf[NAND_MAX_PAGESIZE + NAND_MAX_OOBSIZE]; > > > >simply due to the spaces around the "+" sign,

Re: init's children list is long and slows reaping children.

2007-04-06 Thread Davide Libenzi
On Fri, 6 Apr 2007, Linus Torvalds wrote: > > > On Fri, 6 Apr 2007, Davide Libenzi wrote: > > > On Fri, 6 Apr 2007, Linus Torvalds wrote: > > > > > > I don't really see the point. It's not even *true*. A "process" includes > > > more than the shared signal-handling - it would include files an

Re: coding style for long conditions (WAS: Re: [PATCH 25/90] ... blinky leds!!)

2007-04-06 Thread David Brownell
On Friday 06 April 2007 3:17 pm, Thomas Gleixner wrote: > David, > > http://tglx.de/private/tglx/usbnet.png > > /me recommends emacs-develock.el for colorful white space wreckage > display ! Then I'd have to switch to EMACS ... no thanks! ;) At the risk of switching to a VI/EMACS flamewar (cou

Re: init's children list is long and slows reaping children.

2007-04-06 Thread Linus Torvalds
On Fri, 6 Apr 2007, Jeff Garzik wrote: > > I would rather change the implementation under the hood to start per-CPU > threads on demand, similar to a thread-pool implementation. > > Boxes with $BigNum CPUs probably won't ever use half of those threads. The counter-argument is that boxes with $

Re: init's children list is long and slows reaping children.

2007-04-06 Thread Linus Torvalds
On Fri, 6 Apr 2007, Davide Libenzi wrote: > On Fri, 6 Apr 2007, Linus Torvalds wrote: > > > > I don't really see the point. It's not even *true*. A "process" includes > > more than the shared signal-handling - it would include files and fs etc > > too. > > > > So it's actually *more* correct

Re: Linux 2.6.21-rc6 - regressions update

2007-04-06 Thread Soeren Sonnenburg
On Thu, 2007-04-05 at 19:50 -0700, Linus Torvalds wrote: > Ok, > I don't think there really is anything very interesting here, but we're > hopefully whittling down the list of regressions, and fixing various > random other small issues while at it. > > Some smallish MIPS updates, networking (an

Re: coding style for long conditions

2007-04-06 Thread David Brownell
On Friday 06 April 2007 3:07 pm, Jan Engelhardt wrote: > > On Apr 6 2007 15:05, David Brownell wrote: > > > >> but... egads! Linus > >> put spaces before the &&s to line them up nicely! > >> > >> "more in the breach" and all that I guess... > > > >Yeah, nobody likes style nazis. On the other h

Re: coding style for long conditions (WAS: Re: [PATCH 25/90] ... blinky leds!!)

2007-04-06 Thread David Brownell
On Friday 06 April 2007 3:04 pm, Jan Engelhardt wrote: > > if (...) { > > THAT WAS ONE MORE TAB > > } > > > >and > > > > for (...) { > > THAT WAS ALSO ONE MORE TAB > > } > > > >Come on, stop wasting everyone's time with utter nonsense. > > I was never debat

Re: init's children list is long and slows reaping children.

2007-04-06 Thread Jeff Garzik
Robin Holt wrote: We have been testing a new larger configuration and we are seeing a very large scan time of init's tsk->children list. In the cases we are seeing, there are numerous kernel processes created for each cpu (ie: events/0 ... events/, xfslogd/0 ... xfslogd/). These are all on the

[BUG] unable to handle kernel paging request at virtual address 0800000e

2007-04-06 Thread Thomas Meyer
dmesg output: pktcdvd: pkt_get_last_written failed BUG: unable to handle kernel paging request at virtual address 080e printing eip: c015cc98 *pde = 3741d067 *pte = Oops: [#1] SMP Modules linked in: nls_iso8859_15 nls_cp850 vfat fat appletouch dummy genrtc binfmt_misc tun cpufre

Re: [2.6 patch] the overdue removal of X86_SPEEDSTEP_CENTRINO_ACPI

2007-04-06 Thread Adrian Bunk
On Fri, Apr 06, 2007 at 06:30:58PM -0400, Bill Davidsen wrote: > Adrian Bunk wrote: > >This patch contains the overdue removal of X86_SPEEDSTEP_CENTRINO_ACPI. > > > >Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> > > > It would be really nice, when removing features used on computers which > are o

Re: init's children list is long and slows reaping children.

2007-04-06 Thread Davide Libenzi
On Fri, 6 Apr 2007, Linus Torvalds wrote: > On Fri, 6 Apr 2007, Davide Libenzi wrote: > > > > > > or lets just face it and name it what it is: process_struct ;-) > > > > That'd be fine too! Wonder if Linus would swallow a rename patch like > > that... > > I don't really see the point. It's not

Re: [2.6 patch] the overdue removal of X86_SPEEDSTEP_CENTRINO_ACPI

2007-04-06 Thread Bill Davidsen
Adrian Bunk wrote: This patch contains the overdue removal of X86_SPEEDSTEP_CENTRINO_ACPI. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> It would be really nice, when removing features used on computers which are only a few years old, if you noted what replaces this functionality. Yes, peopl

Re: USB: on suspend to ram/disk all usb devices are replugged

2007-04-06 Thread Nigel Cunningham
Hi. On Mon, 2007-04-02 at 21:36 +0200, Pavel Machek wrote: > Hi! > > > > But you're still likely to run into trouble if you unplug a storage > > > device, move it to another system and write on it, then plug it back into > > > the original system. The PLVM would somehow have to recognize that th

Re: [PATCH 3/8] Use process freezer for cpu-hotplug

2007-04-06 Thread Nigel Cunningham
Hi. On Fri, 2007-04-06 at 12:47 -0500, Nathan Lynch wrote: > Ingo Molnar wrote: > > > > * Nathan Lynch <[EMAIL PROTECTED]> wrote: > > > > > > - raw_notifier_call_chain(&cpu_chain, CPU_LOCK_ACQUIRE, hcpu); > > > > + if (freeze_processes(FE_HOTPLUG_CPU)) { > > > > + thaw_

Re: [PATCH 1/8] Enhance process freezer interface for usage beyond software suspend

2007-04-06 Thread Nigel Cunningham
Hi. On Fri, 2007-04-06 at 16:34 +0200, Rafael J. Wysocki wrote: > On Monday, 2 April 2007 22:51, Pavel Machek wrote: > > Hi! > > > > > > > +/* Per process freezer specific flags */ > > > > > +#define PF_FE_SUSPEND0x8000 /* This thread should > > > > > not be frozen > > > > > +

Re: coding style for long conditions (WAS: Re: [PATCH 25/90] ... blinky leds!!)

2007-04-06 Thread Thomas Gleixner
David, On Fri, 2007-04-06 at 14:05 -0700, David Brownell wrote: > Please change your coding style to conform to Documentation/CodingStyle. > > *** Only indent with tabs!! *** > > Every one of those examples violates that simple rule. > > Why does *anyone* have even the slighte

Re: coding style for long conditions

2007-04-06 Thread Jan Engelhardt
On Apr 6 2007 15:05, David Brownell wrote: > >> but... egads! Linus >> put spaces before the &&s to line them up nicely! >> >> "more in the breach" and all that I guess... > >Yeah, nobody likes style nazis. On the other hand, it's rather >unusual to be the target of style nazism for actually f

Re: tg3: unable to handle null pointer dereference [Re: Linux 2.6.21-rc6]

2007-04-06 Thread Michael Chan
On Fri, 2007-04-06 at 14:40 -0700, Nishanth Aravamudan wrote: > 2.6.21-rc5 is ok. 2.6.21-rc6 results in > > [ 14.241665] Unable to handle kernel NULL pointer dereference (address > ) Sorry, I think this should fix it: [TG3]: Fix crash during tg3_init_one(). The driver will c

[PATCH 4/13] maps#2: Propagate errors from callback in page walker

2007-04-06 Thread Matt Mackall
Propagate errors from callback in page walker Signed-off-by: Matt Mackall <[EMAIL PROTECTED]> Index: mm/fs/proc/task_mmu.c === --- mm.orig/fs/proc/task_mmu.c 2007-03-24 21:33:52.0 -0500 +++ mm/fs/proc/task_mmu.c 2007-0

[PATCH 6/13] maps#2: Move the page walker code to lib/

2007-04-06 Thread Matt Mackall
Move the page walker code to lib/ This lets it get shared outside of proc/ and linked in only when needed. Signed-off-by: Matt Mackall <[EMAIL PROTECTED]> Index: mm/fs/proc/task_mmu.c === --- mm.orig/fs/proc/task_mmu.c 2007-03-27 2

Re: coding style for long conditions (WAS: Re: [PATCH 25/90] ... blinky leds!!)

2007-04-06 Thread Jan Engelhardt
Hello David, On Apr 6 2007 13:57, David Brownell wrote: >> though I do not speak for >> them, seem to do it much the way I described, judging from the code they >> wrote/write. > >Your eyes are broken then ... Sorry? I could have simply told you to look into kernel/signal.c LINE 220 (that's in

[PATCH 3/13] maps#2: Remove vma from args in the page walker

2007-04-06 Thread Matt Mackall
Remove vma from args in the page walker This makes the walker more generic. Signed-off-by: Matt Mackall <[EMAIL PROTECTED]> Index: mm/fs/proc/task_mmu.c === --- mm.orig/fs/proc/task_mmu.c 2007-03-24 21:33:50.0 -0500 +++ mm/

[PATCH 2/13] maps#2: Eliminate the pmd_walker struct in the page walker

2007-04-06 Thread Matt Mackall
Eliminate the pmd_walker struct in the page walker This slightly simplifies things for the next few cleanups. Signed-off-by: Matt Mackall <[EMAIL PROTECTED]> Index: mm/fs/proc/task_mmu.c === --- mm.orig/fs/proc/task_mmu.c 2007-03-2

[PATCH 5/13] maps#2: Add callbacks for each level to page walker

2007-04-06 Thread Matt Mackall
Add callbacks for each level to page walker This allows iterating over all levels of the page tables. Recursion continues to the depth of the lowest supplied callback. This makes the page walker nearly completely generic and should allow it to replace some other hand-rolled page table walkers. S

[PATCH 10/13] maps#2: Make /proc/pid/smaps optional under CONFIG_EMBEDDED

2007-04-06 Thread Matt Mackall
Make /proc/pid/smaps optional under CONFIG_EMBEDDED This interface is primarily useful for doing memory profiling and not much use on deployed embedded boxes. Make it optional. Together with /proc/pid/clear_refs, this save a few K. Signed-off-by: Matt Mackall <[EMAIL PROTECTED]> Index: mm/fs/pro

Re: coding style for long conditions

2007-04-06 Thread David Brownell
On Friday 06 April 2007 2:38 pm, Roland Dreier wrote: > [I can't believe I'm stepping into an indentation flamewar, but here goes...] At least you weren't the target of attacks there ... for daring to actually follow the only published Linux style guide in that area!! > > Please change your cod

[PATCH 8/13] maps#2: Move clear_refs code to task_mmu.c

2007-04-06 Thread Matt Mackall
Move clear_refs code to task_mmu.c This puts all the clear_refs code where it belongs and probably lets things compile on MMU-less systems as well. Signed-off-by: Matt Mackall <[EMAIL PROTECTED]> Index: mm/fs/proc/base.c === --- mm.

[PATCH 7/13] maps#2: Simplify interdependence of /proc/pid/maps and smaps

2007-04-06 Thread Matt Mackall
Simplify interdependence of /proc/pid/maps and smaps This pulls the shared map display code out of show_map and puts it in show_smap where it belongs. Signed-off-by: Matt Mackall <[EMAIL PROTECTED]> Index: mm/fs/proc/task_mmu.c ===

[PATCH 9/13] maps#2: Regroup task_mmu by interface

2007-04-06 Thread Matt Mackall
Regroup task_mmu by interface Reorder source so that all the code and data for each interface is together. Signed-off-by: Matt Mackall <[EMAIL PROTECTED]> Index: mm/fs/proc/task_mmu.c === --- mm.orig/fs/proc/task_mmu.c 2007-03-28 0

  1   2   3   4   >