Re: [PATCH 5/7] Introduce a means of compacting memory within a zone

2007-06-19 Thread Mel Gorman
On (18/06/07 10:18), Christoph Lameter didst pronounce: > On Mon, 18 Jun 2007, Mel Gorman wrote: > > > + /* Isolate free pages. This assumes the block is valid */ > > + for (; blockpfn < end_pfn; blockpfn++) { > > + struct page *page; > > + int isolated, i; > > + > > +

Re: This is [Re:] How to improve the quality of the kernel[?].

2007-06-19 Thread Oleg Verych
Linus, On Tue, Jun 19, 2007 at 08:01:19AM -0700, Linus Torvalds wrote: > > > On Tue, 19 Jun 2007, Adrian Bunk wrote: > > > > The goal is to get all patches for a maintained subsystem submitted to > > Linus by the maintainer. Nice quote. I'm trying to make proposition/convince Adrian, who is i

Dual licensing

2007-06-19 Thread Liberty
I don't get it. It's really necessary to continue this rant on what license the kernel should use ? I thought Linus was pretty clear on his choice. It's becoming ridiculous and boring. STOP THE FLAME ALREADY -- HOO-YA / SEMPER FIDELIS 01COMPUTERS di OVIDIO PIRVU 30174, CHIRIGNAGO-VE VIA MIRANES

How would I do this? (expert tricks) OT

2007-06-19 Thread Marc Perkel
I have a server with port 25 closed. I was to be able to run a script every time someone tries to connect to port 25, but from the outside the port remains closed. I need the script that I'm going to run get the IP address that tried to connect. I know it's off topic but it's part of an experiment

Re: [patch 1/2] kprobes i386 quick fix mark-ro-data

2007-06-19 Thread Andi Kleen
> Please find the quick fix as per your suggestion below. I've already done it myself. But I ended up doing it the other way around -- making DEBUG_RODATA dependent on !KPROBES because I figured KPROBES is more important than DEBUG_RODATA and it is less confusing for the user this way. -Andi - T

Re: [BUG] ide dma_timer_expiry, then hard lockup

2007-06-19 Thread Linas Vepstas
On Tue, Jun 19, 2007 at 08:10:25PM +0400, Sergei Shtylyov wrote: > > >I'm thinking that trying to debug libata is a better idea, rather than > >investing time in ide, right? Although at the moment, libata works even > >less; see other email. > >Which makes me think this really is some *hard

Re: [PATCH 5/7] Introduce a means of compacting memory within a zone

2007-06-19 Thread Mel Gorman
On (19/06/07 21:54), Yasunori Goto didst pronounce: > Hi Mel-san. > This is very interesting feature. > > Now, I'm testing your patches. > > > +static int isolate_migratepages(struct zone *zone, > > + struct compact_control *cc) > > +{ > > + unsigned long high_

Re: [PATCH 7/7] Compact memory directly by a process when a high-order allocation fails

2007-06-19 Thread Mel Gorman
On (18/06/07 10:22), Christoph Lameter didst pronounce: > You are amazing. > Thanks! There are still knots that need ironing out but I believe the core idea is solid and can be built into something useful. Thanks for reviewing. > Acked-by: Christoph Lameter <[EMAIL PROTECTED]> > -- -- Mel

Re: Versioning file system

2007-06-19 Thread Jeremy Allison
On Tue, Jun 19, 2007 at 03:05:07AM -0400, Theodore Tso wrote: > > There is a partial implementation lieing around somewhere, but there > were a number of problems we ran into that were discussed in the > slidedeck. Basically, if the only program accessing the files > containing forks was the Samb

Re: How would I do this? (expert tricks) OT

2007-06-19 Thread Jan Engelhardt
On Jun 19 2007 09:48, Marc Perkel wrote: > >I have a server with port 25 closed. I was to be able >to run a script every time someone tries to connect to >port 25, but from the outside the port remains closed. >I need the script that I'm going to run get the IP >address that tried to connect. > >I

Re: Versioning file system

2007-06-19 Thread H. Peter Anvin
Jeremy Allison wrote: > > I'm not talking WinFS, I'm talking streams. Streams are already > being used (mainly by malware writers of course - but hey, don't > you want full compatibility ? :-). > Reminds me of the Linux Journal (I believe?) article which did viruses-on-Wine compatibility tes

Re: [PATCH 0/7] Memory Compaction v2

2007-06-19 Thread Mel Gorman
On (18/06/07 10:24), Christoph Lameter didst pronounce: > On Mon, 18 Jun 2007, Mel Gorman wrote: > > > The patchset implements memory compaction for the page allocator reducing > > external fragmentation so that free memory exists as fewer, but larger > > contiguous blocks. Instead of being a full

Re: Versioning file system

2007-06-19 Thread Jakub Narebski
Kyle Moffett wrote: > On Jun 18, 2007, at 13:56:05, Bryan Henderson wrote: >>> The question remains is where to implement versioning: directly in   >>> individual filesystems or in the vfs code so all filesystems can   >>> use it? >> >> Or not in the kernel at all.  I've been doing versioning of t

Re: This is [Re:] How to improve the quality of the kernel[?].

2007-06-19 Thread Oleg Verych
* Date: Tue, 19 Jun 2007 17:08:13 +0200 > >> Crazy development{0}. Somebody knows, that comprehensively testing >> hibernation is their thing. I don't care about it, i care about foo, bar. >> Thus i can apply for example lguest patches and implement and test new >> asm-offset replacement, *easily*.

Re: [linux-usb-devel] Error -71 on device descriptor read/all

2007-06-19 Thread Oliver Neukum
Am Dienstag, 19. Juni 2007 schrieb Chuck Ebbert: > Try disabling CONFIG_USB_SUSPEND > > [usb developers: what are the drawbacks of doing this?] Increased power consumption. Regards Oliver - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the b

Writing a driver for a legacy serial device

2007-06-19 Thread Jean Delvare
Hi all, I want to write a Linux kernel driver for a device which connects to the legacy serial port. I started writing a driver, however I am already stuck at the very beginning. The .connect function of my serial driver is never called, and I just don't get why. I couldn't find any documentation

Re: [PATCH] atmel_serial: Fix break handling

2007-06-19 Thread Russell King
On Tue, Jun 19, 2007 at 01:36:05PM +0300, Ivan Kuten wrote: > On Mon, 18 Jun 2007 11:33:54 +0100 > Russell King wrote: > > > On Mon, Jun 18, 2007 at 01:21:21PM +0300, Ivan Kuten wrote: > > > Hi Haavard, > > > > > > I tried /dev/ttyAT3, break appeared but not the way I expected, after: > > > stty

Re: This is [Re:] How to improve the quality of the kernel[?].

2007-06-19 Thread Linus Torvalds
On Tue, 19 Jun 2007, Oleg Verych wrote: > > I'm proposing kind of smart tracking, summarized before. I'm not an > idealist, doing manual work. Making tools -- is what i've picked up from > one of your mails. Thus hope of having more opinions on that. Don't get me wrong, I wasn't actually respon

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-19 Thread Alexandre Oliva
On Jun 19, 2007, Daniel Hazelton <[EMAIL PROTECTED]> wrote: > On Tuesday 19 June 2007 04:04:52 Alexandre Oliva wrote: >> On Jun 19, 2007, Daniel Hazelton <[EMAIL PROTECTED]> wrote: >> > On Tuesday 19 June 2007 02:44:32 Alexandre Oliva wrote: >> >> GPLv3 forbids tivoization, therefore developer has

Re: [PATCH] console UTF-8 fixes

2007-06-19 Thread Bodo Eggert
On Tue, 19 Jun 2007, Egmont Koblinger wrote: > On Tue, Jun 19, 2007 at 03:54:52PM +0200, Bodo Eggert wrote: > > > Does the FLUSH DTRT by design, or does it just shrink and hide the original > > race? > But you may be right: yes, it might be a bug (or misfeature) in the FB code, > too. Could you

Re: How would I do this? (expert tricks) OT

2007-06-19 Thread Marc Perkel
--- Jan Engelhardt <[EMAIL PROTECTED]> wrote: > > On Jun 19 2007 09:48, Marc Perkel wrote: > > > >I have a server with port 25 closed. I was to be > able > >to run a script every time someone tries to connect > to > >port 25, but from the outside the port remains > closed. > >I need the script t

Re: [-RT] multiple streams have degraded performance

2007-06-19 Thread Vernon Mauery
On Tuesday 19 June 2007 8:38:50 am Peter Zijlstra wrote: > On Tue, 2007-06-19 at 07:25 -0700, Vernon Mauery wrote: > > On Monday 18 June 2007 11:51:38 pm Peter Zijlstra wrote: > > > On Mon, 2007-06-18 at 22:12 -0700, Vernon Mauery wrote: > > > > In looking at the performance characteristics of my n

Re: [patch 4/6] ps3: Disk Storage Driver

2007-06-19 Thread Christoph Hellwig
On Tue, Jun 19, 2007 at 02:51:25PM +0200, Geert Uytterhoeven wrote: > On Tue, 19 Jun 2007, Christoph Hellwig wrote: > > On Fri, Jun 15, 2007 at 01:39:23PM +0200, Geert Uytterhoeven wrote: > > > From: Geert Uytterhoeven <[EMAIL PROTECTED]> > > > > > > Add a Disk Storage Driver for the PS3: > > >

Re: [patch 0/5] m68k 53c700 SCSI

2007-06-19 Thread Christoph Hellwig
On Sun, Jun 17, 2007 at 02:47:04PM +0200, Geert Uytterhoeven wrote: > Hi James, > > These patches add support for m68k to the 53c700 SCSI core and introduce new > drivers for various m68k hardware using this 53c700 SCSI core, to replace the > just removed drivers using the old 53c7xx SCSI co

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-19 Thread Alexandre Oliva
On Jun 19, 2007, Daniel Hazelton <[EMAIL PROTECTED]> wrote: > On Tuesday 19 June 2007 04:04:52 Alexandre Oliva wrote: >> So your claim is that a user's possibility to scratch her own itches >> makes no difference whatsoever as to their amount of contributions she >> is likely to make? > Exactly.

Re: [rtc-linux] Re: rtc_cmos: error after first write to wakealarm

2007-06-19 Thread Tino Keitel
On Tue, Jun 19, 2007 at 14:24:04 +0200, Alessandro Zummo wrote: > On Fri, 15 Jun 2007 09:03:19 +0200 > Tino Keitel <[EMAIL PROTECTED]> wrote: > > > > > I have the following strange behaviour with rtc_cmos: > > > > > > > > $ echo 1181934240 > /sys/class/rtc/rtc0/wakealarm > > > > bash: echo: write

Re: regression tracking (Re: Linux 2.6.21)

2007-06-19 Thread Martin J. Bligh
Yes, good work, thanks a lot for it! The new interface is much better and more useful. Greetings, Rafael PS BTW, would that be possible to create the "Hibernation/Suspend" subcategory of "Power Management" that I asked for some time ago, please? :-) Oops. Sorry. Done. M. - To unsubscr

Re: How would I do this? (expert tricks) OT

2007-06-19 Thread Jan Engelhardt
On Jun 19 2007 10:14, Marc Perkel wrote: >> >> tcpdump -lni any port 25 >> iptables -p tcp --dport 25 -j NFQUEUE >> ... >> > >Thanks Jan, but I'm not sure it answers my question. There's more than one way to do it. One is... tcpdump -lni eth0 tcp [extra operands to match SYN packets] |

Re: This is [Re:] How to improve the quality of the kernel[?].

2007-06-19 Thread Natalie Protasevich
On 6/19/07, Linus Torvalds <[EMAIL PROTECTED]> wrote: On Tue, 19 Jun 2007, Oleg Verych wrote: > > I'm proposing kind of smart tracking, summarized before. I'm not an > idealist, doing manual work. Making tools -- is what i've picked up from > one of your mails. Thus hope of having more opinions

Re: This is [Re:] How to improve the quality of the kernel[?].

2007-06-19 Thread Oleg Verych
* Date: Tue, 19 Jun 2007 10:04:58 -0700 (PDT) > > On Tue, 19 Jun 2007, Oleg Verych wrote: >> >> I'm proposing kind of smart tracking, summarized before. I'm not an >> idealist, doing manual work. Making tools -- is what i've picked up from >> one of your mails. Thus hope of having more opinions o

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-19 Thread Alexandre Oliva
On Jun 19, 2007, "Pekka Enberg" <[EMAIL PROTECTED]> wrote: > Hi Alexandre, > On 6/19/07, Alexandre Oliva <[EMAIL PROTECTED]> wrote: >> Dispute this: >> >> non-tivoized hardware => users can scratch their itches => more >> contributions from these users >> >> tivoized hardware => users can't scra

Re: [PATCH] remove usage of memmem from scripts/kallsyms.c

2007-06-19 Thread Mike Frysinger
On Tuesday 19 June 2007, Paulo Marques wrote: > The only in-kernel user of "memmem" is scripts/kallsyms.c and it only > uses it to find tokens that are 2 bytes in size. It is trivial to > replace it with a simple function that finds 2-byte tokens. > > This should help users from systems that don't

Re: [linux-usb-devel] Error -71 on device descriptor read/all

2007-06-19 Thread Paul Walmsley
On Tue, 19 Jun 2007, Oliver Neukum wrote: Am Dienstag, 19. Juni 2007 schrieb Chuck Ebbert: Try disabling CONFIG_USB_SUSPEND [usb developers: what are the drawbacks of doing this?] Increased power consumption. speaking of CONFIG_USB_SUSPEND, I've encountered at least one device -- a Canon

RE: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-19 Thread David Schwartz
> > The GPL was never about allowing you to load modified software > > onto hardware > > where the legitimate creators/owners of that hardware say, "no, > > you may not > > modify the software running on this hardware". > Good try but you had to add creators there so the sentence actually > suppo

RE: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-19 Thread David Schwartz
> On Jun 18, 2007, "David Schwartz" <[EMAIL PROTECTED]> wrote: > > Why is the fact that only the root user can load a kernel module not a > > further restriction? > Because the user (under whose control the computer is, be it person or > company) set up the root password herself? Well, duh. TiV

Re: This is [Re:] How to improve the quality of the kernel[?].

2007-06-19 Thread Stefan Richter
Oleg Verych wrote: > On Tue, Jun 19, 2007 at 04:27:15PM +0200, Stefan Richter wrote: >> There are different people involved in >> - patch handling, >> - bug handling (bugs are reported by end-users), >> therefore don't forget that PTS and BTS have different requirements. > > Sure. But if track

Re: Why is this patch not in 2.6.22-rc5?

2007-06-19 Thread Jeff Garzik
Stephen Hemminger wrote: On Wed, 13 Jun 2007 21:36:30 -0700 Jay Vosburgh <[EMAIL PROTECTED]> wrote: The following patch (based on a patch from Stephen Hemminger <[EMAIL PROTECTED]>) removes use after free conditions in the unregister path for the bonding master. Without this patch, an

Re: Device hang when offlining a CPU due to IRQ misrouting

2007-06-19 Thread Eric W. Biederman
"Darrick J. Wong" <[EMAIL PROTECTED]> writes: > On Mon, Jun 18, 2007 at 04:54:34PM -0700, Siddha, Suresh B wrote: > >> > >> > [ 256.298787] irq=4341 affinity=d >> > >> >> And just to make sure, at this point, your MSI irq 4341 affinity >> (/proc/irq/4341/smp_affinity) still points to '2'? > >

Re: Versioning file system

2007-06-19 Thread Chris Snook
Jack Stone wrote: Chris Snook wrote: The underlying internal implementation of something like this wouldn't be all that hard on many filesystems, but it's the interface that's the problem. The ':' character is a perfectly legal filename character, so doing it that way would break things. But

Re: Device hang when offlining a CPU due to IRQ misrouting

2007-06-19 Thread Siddha, Suresh B
On Tue, Jun 19, 2007 at 11:54:45AM -0600, Eric W. Biederman wrote: > "Darrick J. Wong" <[EMAIL PROTECTED]> writes: > > > On Mon, Jun 18, 2007 at 04:54:34PM -0700, Siddha, Suresh B wrote: > > > >> > > >> > [ 256.298787] irq=4341 affinity=d > >> > > >> > >> And just to make sure, at this point,

[PATCH] bonding: Fix use after free in unregister path

2007-06-19 Thread Jay Vosburgh
The following patch (based on a patch from Stephen Hemminger <[EMAIL PROTECTED]>) removes use after free conditions in the unregister path for the bonding master. Without this patch, an operation of the form "echo -bond0 > /sys/class/net/bonding_masters" would trigger a NULL pointer deref

Re: [PATCH] - Add IOAPIC NMI support on x86_64

2007-06-19 Thread John Keller
> > > In our specific case, a loadable driver will register to process > > the NMI generated by a timer device on the IOAPIC pin. The driver > > will need to unmask/mask the NMI interrupt at init/exit time. > > > > The timer NMI interrupt will be used to synchronize cluster nodes. > > We nor

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-19 Thread Alexandre Oliva
On Jun 19, 2007, Johannes Stezenbach <[EMAIL PROTECTED]> wrote: > (Where "free loaders" is a term introduced by Alexandre, not by me.) It's actually from game theory. Or something sufficiently mangled by translation back and forth between English and Portuguese. I think the original is actually

Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS

2007-06-19 Thread david
On Tue, 19 Jun 2007, Vladislav Bolkhovitin wrote: > 3. De-de-duplicate blocks on disk, i.e. copy them on write > > I suppose that de-duplication itself would be done by some user space > process that would scan files, determine blocks with the same data and > then de-duplicate them by using sy

RE: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-19 Thread Nicolas Mailhot
Le mardi 19 juin 2007 à 10:50 -0700, David Schwartz a écrit : > > > The GPL was never about allowing you to load modified software > > > onto hardware > > > where the legitimate creators/owners of that hardware say, "no, > > > you may not > > > modify the software running on this hardware". > > >

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-19 Thread Alexandre Oliva
On Jun 19, 2007, Anders Larsen <[EMAIL PROTECTED]> wrote: > On 2007-06-18 21:50:12, Alexandre Oliva wrote: >> Given the ROM exception in GPLv3, I guess you could seal and >> anti-tamper it as much as you want, and leave the ROM at such a place >> in which it's easily replaceable but with signature

Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS

2007-06-19 Thread david
On Tue, 19 Jun 2007, Chris Mason wrote: 3. De-de-duplicate blocks on disk, i.e. copy them on write I suppose that de-duplication itself would be done by some user space process that would scan files, determine blocks with the same data and then de-duplicate them by using syscall or IOCTL (2).

Re: [BUG] ide dma_timer_expiry, then hard lockup

2007-06-19 Thread Bartlomiej Zolnierkiewicz
Hi, On Tuesday 19 June 2007, Linas Vepstas wrote: > On Tue, Jun 19, 2007 at 08:10:25PM +0400, Sergei Shtylyov wrote: > > > > >I'm thinking that trying to debug libata is a better idea, rather than > > >investing time in ide, right? Although at the moment, libata works even > > >less; see other

Re: [patch #2 1/6] SM501: suspend support

2007-06-19 Thread Andrew Morton
On Mon, 18 Jun 2007 21:56:21 +0100 [EMAIL PROTECTED] wrote: > +/* power management support */ > + > +static int sm501_plat_suspend(struct platform_device *pdev, pm_message_t > state) > +{ > + struct sm501_devdata *sm = platform_get_drvdata(pdev); > + > + sm->in_suspend = 1; > + sm->pm

Re: mea culpa on the meaning of Tivoization

2007-06-19 Thread Alexandre Oliva
On Jun 19, 2007, Hans-Jürgen Koch <[EMAIL PROTECTED]> wrote: > Am Dienstag 19 Juni 2007 04:46 schrieb Alexandre Oliva: >> The distrust for the FSF led to this very short-sighted decision of >> painting the Linux community into a corner from which it is very >> unlikely to be able to ever leave, no

Re: [PATCH -mm] add a kmem_cache for nsproxy objects

2007-06-19 Thread Andrew Morton
On Mon, 18 Jun 2007 22:53:13 +0200 Cedric Le Goater <[EMAIL PROTECTED]> wrote: > +static int __init nsproxy_cache_init(void) > +{ > + nsproxy_cachep = kmem_cache_create("nsproxy", sizeof(struct nsproxy), > +0, SLAB_PANIC, NULL, NULL); > + return 0; >

Re: Change in default vm_dirty_ratio

2007-06-19 Thread John Stoffel
> "Andrew" == Andrew Morton <[EMAIL PROTECTED]> writes: Andrew> On Mon, 18 Jun 2007 14:14:30 -0700 Andrew> Tim Chen <[EMAIL PROTECTED]> wrote: >> IOZone write drops by about 60% when test file size is 50 percent of >> memory. Rand-write drops by 90%. Andrew> heh. Andrew> (Or is that an in

[PATCH 0/2] UML stack tweaks

2007-06-19 Thread Jeff Dike
These can wait till 2.6.23. They use get_free_page instead of kmalloc to allocate kernel stacks and add some stack usage monitoring under CONFIG_DEBUG_STACK_USAGE. Jeff -- Work email - jdike at linux dot intel dot com - To unsubscribe from this list: send the lin

[PATCH 2/2] UML - Add stack usage monitoring

2007-06-19 Thread Jeff Dike
Add a machanism to see how much of a kernel stack is used. This allocates zeroed stacks and sees where the lowest non-zero byte is on process exit. It keeps track of the lowest value and logs values as they get lower. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> -- arch/um/Kconfig.debug

[PATCH 1/2] UML - Use get_free_pages to allocate kernel stacks

2007-06-19 Thread Jeff Dike
For some reason, I was using kmalloc instead of get_free_pages for kernel stacks. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> -- include/asm-um/thread_info.h |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) Index: linux-2.6.21-mm/include/asm-um/thread_info.h ==

Re: This is [Re:] How to improve the quality of the kernel[?].

2007-06-19 Thread Oleg Verych
* Date: Tue, 19 Jun 2007 19:50:48 +0200 > > [...] >> Current identification of problems and patch association >> have completely zero level of tracking or automation, while Bugzilla is >> believed by somebody to have positive efficiency in bug tracking. > > I, as maintainer of a small subsystem,

Re: [PATCH] remove usage of memmem from scripts/kallsyms.c

2007-06-19 Thread Satyam Sharma
Hi, On 6/19/07, Paulo Marques <[EMAIL PROTECTED]> wrote: The only in-kernel user of "memmem" is scripts/kallsyms.c and it only uses it to find tokens that are 2 bytes in size. It is trivial to replace it with a simple function that finds 2-byte tokens. This should help users from systems that

[PATCH 1/1] cciss: add new controller support for P700m

2007-06-19 Thread Mike Miller (OS Dev)
PATCH 1/1 This patch adds support for the Smart Array P700m SAS controller. This new controller will ship Fall 2008. Please consider this for inclusion. Signed-off-by: Mike Miller <[EMAIL PROTECTED]> diff --git a/dr

Re: mount-2.12r-ggk.tar.gz

2007-06-19 Thread Karel Zak
On Tue, Jun 19, 2007 at 05:28:18PM +0200, Andries Brouwer wrote: > > > The above mount makes a feeble attempt to record these flags > > > in /etc/mtab, but will fail in any nontrivial situation.] > > > > I don't think that mtab is a good place for this shared subtree > > stuff. The mtab needs to

Re: [PATCH 1/1] cciss: add new controller support for P700m

2007-06-19 Thread Jens Axboe
On Tue, Jun 19 2007, Mike Miller (OS Dev) wrote: > PATCH 1/1 > > This patch adds support for the Smart Array P700m SAS controller. This new > controller will ship Fall 2008. Please consider this for inclusion. Fall 2007? Queued for 2.6.23. -- Jens Axboe - To unsubscribe from this list: send t

[PATCH] Documentation/HOWTO: remove stale git URL

2007-06-19 Thread Stefan Richter
and mention MAINTAINERS as pointer to development trees. Signed-off-by: Stefan Richter <[EMAIL PROTECTED]> --- Documentation/HOWTO |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) Index: linux-2.6.22-rc5/Documentation/HOWTO

[PATCH RT] Only allow atomic safe consoles to print in atomic areas.

2007-06-19 Thread Steven Rostedt
Since PREEMPT_RT makes spin_locks schedule, and some consoles (namely serial) use spin locks in the write method. This patch creates a new console flag called CON_ATOMIC which is set by safe consoles that do not grab spinlocks. On PREEMPT_RT only safe consoles will write within non atomic operati

RE: [PATCH 1/1] cciss: add new controller support for P700m

2007-06-19 Thread Miller, Mike (OS Dev)
> -Original Message- > From: Jens Axboe [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 19, 2007 1:51 PM > To: Miller, Mike (OS Dev) > Cc: [EMAIL PROTECTED]; linux-kernel@vger.kernel.org; > [EMAIL PROTECTED] > Subject: Re: [PATCH 1/1] cciss: add new controller support for P700m > > On

Re: [PATCH 2/2] UML - Add stack usage monitoring

2007-06-19 Thread Andrew Morton
On Tue, 19 Jun 2007 14:42:45 -0400 Jeff Dike <[EMAIL PROTECTED]> wrote: > Add a machanism to see how much of a kernel stack is used. This > allocates zeroed stacks and sees where the lowest non-zero byte is on > process exit. It keeps track of the lowest value and logs values as > they get lower

Re: Device hang when offlining a CPU due to IRQ misrouting

2007-06-19 Thread Eric W. Biederman
"Siddha, Suresh B" <[EMAIL PROTECTED]> writes: > On Tue, Jun 19, 2007 at 11:54:45AM -0600, Eric W. Biederman wrote: >> "Darrick J. Wong" <[EMAIL PROTECTED]> writes: >> >> > On Mon, Jun 18, 2007 at 04:54:34PM -0700, Siddha, Suresh B wrote: >> > >> >> > >> >> > [ 256.298787] irq=4341 affinity=d >

Re: [linux-usb-devel] Error -71 on device descriptor read/all

2007-06-19 Thread Oliver Neukum
Am Dienstag, 19. Juni 2007 schrieb Paul Walmsley: > On Tue, 19 Jun 2007, Oliver Neukum wrote: > > > Am Dienstag, 19. Juni 2007 schrieb Chuck Ebbert: > > > >> Try disabling CONFIG_USB_SUSPEND > >> > >> [usb developers: what are the drawbacks of doing this?] > > > > Increased power consumption. > >

3c59x: multiple problems

2007-06-19 Thread Chuck Ebbert
More and more people are reporting this error message: Jun 18 19:54:33 loki kernel: NETDEV WATCHDOG: eth0: transmit timed out Jun 18 19:54:33 loki kernel: eth0: transmit timed out, tx_status 00 status 8601. Jun 18 19:54:33 loki kernel: diagnostics: net 0ccc media 8880 dma 003a fifo Jun

Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS

2007-06-19 Thread Philipp Matthias Hahn
Hello! On Tue, Jun 19, 2007 at 08:04:57AM -0400, Chris Mason wrote: > On Tue, Jun 19, 2007 at 10:11:13AM +0100, Pádraig Brady wrote: > > Vladislav Bolkhovitin wrote: > > > > > > I would also suggest one more feature: support for block level > > > de-duplication. I mean: ... > > > That would be ve

Re: [linux-usb-devel] Error -71 on device descriptor read/all

2007-06-19 Thread Alan Stern
On Tue, 19 Jun 2007, Jiri Kosina wrote: > [ OK, it probably seems like a faulty hardware (controller or the device > itself), which is not able to run at high speed, but runs nicely on full > speed. Do you have a chance to try another high speed device in this > machine to check whether i

Re: Writing a driver for a legacy serial device

2007-06-19 Thread Dmitry Torokhov
Hi Jean, On 6/19/07, Jean Delvare <[EMAIL PROTECTED]> wrote: Hi all, I want to write a Linux kernel driver for a device which connects to the legacy serial port. I started writing a driver, however I am already stuck at the very beginning. The .connect function of my serial driver is never call

Re: Change in default vm_dirty_ratio

2007-06-19 Thread Andi Kleen
Andrew Morton <[EMAIL PROTECTED]> writes: > > It seems too large. Memory sizes are going up faster than disk throughput > and it seems wrong to keep vast amounts of dirty data floating about in > memory like this. It can cause long stalls while the system writes back > huge amounts of data and i

2.6.22: ERROR: "__ucmpdi2" [drivers/net/s2io.ko] undefined!

2007-06-19 Thread Olaf Hering
What happend to __ucmpdi2 from David Woodhouse? google has a few hits about stuff like this on 32bit powerpc with gcc 4.1.2: ERROR: "__ucmpdi2" [drivers/net/s2io.ko] undefined! using the drivers/net/s2io* files from 2.6.21 with 2.6.22-rc5 fixes the compile. 25805dcf9d83098cf5492117ad2669cd14cc9

Re: [PATCH -mm] add a kmem_cache for nsproxy objects

2007-06-19 Thread Christoph Hellwig
On Tue, Jun 19, 2007 at 11:35:01AM -0700, Andrew Morton wrote: > On Mon, 18 Jun 2007 22:53:13 +0200 > Cedric Le Goater <[EMAIL PROTECTED]> wrote: > > > +static int __init nsproxy_cache_init(void) > > +{ > > + nsproxy_cachep = kmem_cache_create("nsproxy", sizeof(struct nsproxy), > > +

Re: [linux-usb-devel] Error -71 on device descriptor read/all

2007-06-19 Thread Alan Stern
On Tue, 19 Jun 2007, Paul Walmsley wrote: > On Tue, 19 Jun 2007, Oliver Neukum wrote: > > > Am Dienstag, 19. Juni 2007 schrieb Chuck Ebbert: > > > >> Try disabling CONFIG_USB_SUSPEND > >> > >> [usb developers: what are the drawbacks of doing this?] > > > > Increased power consumption. > > speaki

Re: [PATCH] remove usage of memmem from scripts/kallsyms.c

2007-06-19 Thread Christoph Hellwig
On Tue, Jun 19, 2007 at 05:15:56PM +0100, Paulo Marques wrote: > > The only in-kernel user of "memmem" is scripts/kallsyms.c and it only > uses it to find tokens that are 2 bytes in size. It is trivial to > replace it with a simple function that finds 2-byte tokens. > > This should help users f

Re: Device hang when offlining a CPU due to IRQ misrouting

2007-06-19 Thread Darrick J. Wong
On Tue, Jun 19, 2007 at 11:00:03AM -0700, Siddha, Suresh B wrote: > Anyhow, Darrick there is a general bug in this area, can you try this and > see if it helps? Er... that instantly locked up the system. --D signature.asc Description: Digital signature

Re: Change in default vm_dirty_ratio

2007-06-19 Thread Linus Torvalds
On Tue, 19 Jun 2007, John Stoffel wrote: > > Shouldn't the vm_dirty_ratio be based on the speed of the device, and > not the size of memory? Yes. It should depend on: - speed of the device(s) in question - seekiness of the workload - wishes of the user as per the latency of other operations.

Re: Versioning file system

2007-06-19 Thread Jack Stone
Chris Snook wrote: > But what you're talking about *will* break userspace. If I do an ls in > a directory, and get pages upon pages of versions of just one file, > that's broken. If I tar up a directory and get a tarball that's > hundreds of times larger than it should be, that's broken. If you

Re: Change in default vm_dirty_ratio

2007-06-19 Thread Linus Torvalds
On Tue, 19 Jun 2007, Linus Torvalds wrote: > > Yes. It should depend on: > - speed of the device(s) in question Btw, this one can be quite a big deal. Try connecting an iPod and syncing 8GB of data to it. Oops. So yes, it would be nice to have some per-device logic too. Tested patches would

Re: Versioning file system

2007-06-19 Thread H. Peter Anvin
Chris Snook wrote: > I pointed out NetApp's .snapshot directories because that's a method > that uses legal path character, but doesn't break anything. With this > method, userspace tools will have to be taught that : is suddenly a > special character. Not to mention that the character historical

Re: Versioning file system

2007-06-19 Thread Jack Stone
H. Peter Anvin wrote: > Chris Snook wrote: >> I pointed out NetApp's .snapshot directories because that's a method >> that uses legal path character, but doesn't break anything. With this >> method, userspace tools will have to be taught that : is suddenly a >> special character. > > Not to menti

Re: v2.6.21.4-rt11

2007-06-19 Thread Christoph Lameter
On Tue, 19 Jun 2007, Ingo Molnar wrote: > I'm wondering, why did this trigger under CFS and not on mainline? > Mainline seems to have a similar problem in idle_balance() too, or am i > misreading it? Right. The patch needs to go into mainline as well. - To unsubscribe from this list: send the

Re: Versioning file system

2007-06-19 Thread H. Peter Anvin
Jack Stone wrote: > > But that would cause havoc with shells which use ; to seperate commands. > Using ; would defiantly break userspace > Not really. It's just a bit awkward to use, but so's the whole concept. -hpa - To unsubscribe from this list: send the line "unsubscribe linux-kern

Re: v2.6.21.4-rt11

2007-06-19 Thread Christoph Lameter
On Tue, 19 Jun 2007, Srivatsa Vaddagiri wrote: > On Tue, Jun 19, 2007 at 11:04:30AM +0200, Ingo Molnar wrote: > > I'm wondering, why did this trigger under CFS and not on mainline? > > Mainline seems to have a similar problem in idle_balance() too, or am i > > misreading it? > > The problem is

Re: GIT Packages for Debian Etch

2007-06-19 Thread Christoph Lameter
On Tue, 19 Jun 2007, Thomas Glanzmann wrote: > it already is. But Debian Etch is stable which means there will no newer > version of git in Debian Etch. Currently it is 1.4.whatever. When the > next stable release is released, which takes some time with Debian, > there will be a newer version of g

Re: [PATCH 5/7] Introduce a means of compacting memory within a zone

2007-06-19 Thread Christoph Lameter
On Tue, 19 Jun 2007, Mel Gorman wrote: > When other mechanisms exist, they would be added here. Right now, > isolate_lru_page() is the only one I am aware of. Did you have a look at kmem_cache_vacate in the slab defrag patchset? > > You do not need to check the result of migration? Page migratio

Re: [PATCH 0/7] Memory Compaction v2

2007-06-19 Thread Christoph Lameter
On Tue, 19 Jun 2007, Mel Gorman wrote: > Agreed. When I put this together first, I felt I would be able to isolate > pages of different types on migratelist but that is not the case as migration > would not be able to tell the difference between a LRU page and a pagetable > page. I'll rename cc->m

Re: Versioning file system

2007-06-19 Thread Jack Stone
H. Peter Anvin wrote: > Jack Stone wrote: >> But that would cause havoc with shells which use ; to seperate commands. >> Using ; would defiantly break userspace >> > > Not really. It's just a bit awkward to use, but so's the whole concept. I think we can all agree on that after this thread but I

Re: [PATCH -mm] add a kmem_cache for nsproxy objects

2007-06-19 Thread Christoph Lameter
On Tue, 19 Jun 2007, Andrew Morton wrote: > On Mon, 18 Jun 2007 22:53:13 +0200 > Cedric Le Goater <[EMAIL PROTECTED]> wrote: > > > +static int __init nsproxy_cache_init(void) > > +{ > > + nsproxy_cachep = kmem_cache_create("nsproxy", sizeof(struct nsproxy), > > +

Re: [PATCH -mm] add a kmem_cache for nsproxy objects

2007-06-19 Thread Christoph Lameter
On Tue, 19 Jun 2007, Christoph Hellwig wrote: > Hmm, I must have missed the macro going in. Frankly speaking I plain hate > it. It's a rather useless obsfucation. It makes the code easier to review and reduces errors by establishing a standard way of defining a slab with minimal effort. You ca

Re: This is [Re:] How to improve the quality of the kernel[?].

2007-06-19 Thread Stefan Richter
Oleg Verych wrote: [I wrote] >> a) Would it save me more time than it costs me to fit into the system >>(time that can be invested in actual debugging)? >>This can only be answered after trying it. > > I'm not a wizard, if i will answer now: "No." [1:] > > [1:] Your User-Agent: Mozilla/5.

Re: [RFC/PATCH] Documentation of kernel messages

2007-06-19 Thread Arjan van de Ven
On Tue, 2007-06-19 at 10:51 +0200, holzheu wrote: > On Mon, 2007-06-18 at 18:36 -0700, Arjan van de Ven wrote: > > On Mon, 2007-06-18 at 15:53 +0200, holzheu wrote: > > > On Mon, 2007-06-18 at 06:12 -0700, Arjan van de Ven wrote: > > > > On Mon, 2007-06-18 at 14:55 +0200, holzheu wrote: > > > > > H

Re: limits on raid

2007-06-19 Thread david
On Tue, 19 Jun 2007, Phillip Susi wrote: [EMAIL PROTECTED] wrote: one channel, 2 OS drives plus the 45 drives in the array. Huh? You can only have 16 devices on a scsi bus, counting the host adapter. And I don't think you can even manage that much reliably with the newer higher speed vers

Re: [PATCH] diskquota: 32bit quota tools on 64bit architectures

2007-06-19 Thread Andrew Morton
On Mon, 18 Jun 2007 12:21:47 +0400 Vasily Tarasov <[EMAIL PROTECTED]> wrote: > From: Vasily Tarasov <[EMAIL PROTECTED]> > > This patch should be applied after Arnd Bergmann's patch, > that intoduces new compat types: > http://lkml.org/lkml/2007/6/15/98 > > OpenVZ Linux kernel team has discovere

Re: How would I do this? (expert tricks) OT

2007-06-19 Thread Marc Perkel
--- Jan Engelhardt <[EMAIL PROTECTED]> wrote: > > On Jun 19 2007 10:14, Marc Perkel wrote: > >> > >> tcpdump -lni any port 25 > >> iptables -p tcp --dport 25 -j NFQUEUE > >> ... > >> > > > >Thanks Jan, but I'm not sure it answers my > question. > > There's more than one way to do it. > > One

Re: How would I do this? (expert tricks) OT

2007-06-19 Thread Jan Engelhardt
On Jun 19 2007 12:36, Marc Perkel wrote: > >Thanks Jan, > >I think what you sent me is workable. I noticed it >goes to the file /var/log/messages. Is there a way to >make it go to a specific file? Configure your syslog daemon accordingly. > Thanks a lot for your >help. I've been experimenting w

[patch] sched: fix next_interval determination in idle_balance()

2007-06-19 Thread Ingo Molnar
2.6.22 must-have item - perhaps suitable for -stable too, because it was reproduced on 2.6.21.5 too. --> From: Christoph Lameter <[EMAIL PROTECTED]> Subject: [patch] sched: fix next_interval determination in idle_balance() Fix massive SMP imbalance on NUMA nodes observed on

[PATCH RT] Only check IRQ Thread affinity update if CPU affinity changed.

2007-06-19 Thread Steven Rostedt
This patch cleans up the softirq in hardirq change. The hard irq threads pin themselves to one of the CPUs that the IRQ affinity is on. This patch cleans up this by only updating the cpu affinity, if the cpu that the thread is pinned on is no longer part of the IRQ affinity. Signed-off-by: Steven

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-19 Thread david
On Tue, 19 Jun 2007, Daniel Hazelton wrote: Dispute this: non-tivoized hardware => users can scratch their itches => more contributions from these users tivoized hardware => users can't scratch their itches => fewer contributions from these users Linus doesn't have to. Statistically the numb

Re: Fix signalfd interaction with thread-private signals

2007-06-19 Thread Davide Libenzi
On Tue, 19 Jun 2007, Oleg Nesterov wrote: > The commited "Fix signalfd interaction with thread-private signals" > (commit caec4e8dc85e0644ec24aeb36285e1ba02da58cc) doesn't implement > this. > > We can do something like > > int signalfd_dequeue_signal(struct task_struct *tsk, sigset_t *mask

<    1   2   3   4   5   6   >