Re: [PATCH] SLOB allocator imcompatible SLAB

2007-06-22 Thread Matt Mackall
On Fri, Jun 22, 2007 at 05:08:07PM +0900, Yoshinori Sato wrote: > Because the page which SLOB allocator got does not have PG_slab, This is for a NOMMU system? You're using an old kernel with an old version of SLOB. SLOB in newer kernels actually sets per-page flags. Nick, can you see any reason n

Re: Change in default vm_dirty_ratio

2007-06-21 Thread Matt Mackall
On Wed, Jun 20, 2007 at 11:20:59AM +0200, Jens Axboe wrote: > On Wed, Jun 20 2007, Peter Zijlstra wrote: > > On Wed, 2007-06-20 at 11:14 +0200, Jens Axboe wrote: > > > On Wed, Jun 20 2007, Andrew Morton wrote: > > > > Perhaps our queues are too long - if the VFS _does_ back off, it'll take > > > >

Re: [PATCH] get_random_long() and AT_ENTROPY for auxv, kernel 2.6.21.5

2007-06-20 Thread Matt Mackall
On Wed, Jun 20, 2007 at 05:34:13PM +0200, Alexander Gabert wrote: > Hi, > > http://dev.gentoo.org/~pappy/kernel/linux-2.6.21.5-get_urandom_long-AT_ENTROPY.patch > > this patch adds the function drivers/char/random.c:get_random_long() > and adds an AT_ENTROPY field in the auxv without config optio

Re: [patch 05/26] Slab allocators: Cleanup zeroing allocations

2007-06-19 Thread Matt Mackall
On Mon, Jun 18, 2007 at 02:58:43AM -0700, [EMAIL PROTECTED] wrote: > It becomes now easy to support the zeroing allocs with generic inline > functions > in slab.h. Provide inline definitions to allow the continued use of > kzalloc, kmem_cache_zalloc etc but remove other definitions of zeroing > f

Re: [patch 00/14] Page cache cleanup in anticipation of Large Blocksize support

2007-06-16 Thread Matt Mackall
On Sat, Jun 16, 2007 at 06:25:00PM -0700, Arjan van de Ven wrote: > > > You: conceptully-new add-on which benefits 0.25% of the user base, provided > > they select the right config options and filesystem. > > > > Me: simpler enhancement which benefits 100% of the user base (ie: includes > > 4k bl

Re: libertas (private) ioctls vs. nl80211

2007-06-16 Thread Matt Mackall
On Thu, Jun 14, 2007 at 04:08:44PM -0400, John W. Linville wrote: > On Thu, Jun 14, 2007 at 12:56:18PM -0700, Andrew Morton wrote: > > On Thu, 14 Jun 2007 15:09:36 -0400 > > "John W. Linville" <[EMAIL PROTECTED]> wrote: > > > > > It does not make sense to me to rip this out purely for aesthetic >

Re: [Intel-IOMMU 02/10] Library routine for pre-allocat pool handling

2007-06-13 Thread Matt Mackall
On Mon, Jun 11, 2007 at 06:55:46PM -0700, Arjan van de Ven wrote: > Andrew Morton wrote: > >On Mon, 11 Jun 2007 18:10:40 -0700 Arjan van de Ven > ><[EMAIL PROTECTED]> wrote: > > > >>Andrew Morton wrote: > Where as resource pool is exactly opposite of mempool, where each > time it looks fo

Re: [RFC][PATCH -mm take5 1/7] marking __init

2007-06-13 Thread Matt Mackall
On Wed, Jun 13, 2007 at 07:25:55PM +0900, Keiichi KII wrote: > From: Keiichi KII <[EMAIL PROTECTED]> > > This patch contains the following cleanups. > - add __init for initialization functions(option_setup() and >init_netconsole()). > > Acked-by: Matt Mackall &

Re: [PATCH] random: fix folding

2007-06-12 Thread Matt Mackall
On Wed, Jun 13, 2007 at 01:45:21AM -0400, [EMAIL PROTECTED] wrote: > > Folding is done to minimize the theoretical possibility of systematic > > weakness in the particular bits of the SHA1 hash output. The result of > > this bug is that 16 out of 80 bits are un-folded. Without a major new > > vulne

Re: [PATCH 2/3] [CRYPTO] Add optimized SHA-1 implementation for i486+

2007-06-12 Thread Matt Mackall
On Tue, Jun 12, 2007 at 01:05:44AM -0400, [EMAIL PROTECTED] wrote: > > I got this code from Nettle, originally, and I never looked at the SHA-1 > > round structure very closely. I'll give that approach a try. > > Attached is some (tested, working, and public domain) assembly code for > three dif

[PATCH] random: fix folding

2007-06-12 Thread Matt Mackall
SHA1 hash output. The result of this bug is that 16 out of 80 bits are un-folded. Without a major new vulnerability being found in SHA1, this is harmless, but still worth fixing. Signed-off-by: Matt Mackall <[EMAIL PROTECTED]> Index: mm/drivers/char/random.c =

Re: [RFD] Documentation/HOWTO translated into Japanese

2007-06-11 Thread Matt Mackall
On Sun, Jun 10, 2007 at 11:07:59PM -0700, Greg KH wrote: > So, Tsugikazu, care to resend this file as a patch that I can apply to > the Documentation directory of the kernel tree? I think it would be > good to have there. I'd rather have a single file, marked "Japanese" (in Japanese), that had po

Re: kconfig .po files in kernel tree? [Was: Documentation/HOWTO translated into Japanese]

2007-06-10 Thread Matt Mackall
On Sun, Jun 10, 2007 at 08:35:03PM +0200, Jan Engelhardt wrote: > > On Jun 10 2007 19:52, Sam Ravnborg wrote: > >> > Since the common language of most kernel contributors is english I > >> > personally feel that we should stick to just that one language in the > >> > tree and then perhaps keep

Re: [RFD] Documentation/HOWTO translated into Japanese

2007-06-10 Thread Matt Mackall
On Sun, Jun 10, 2007 at 08:48:45PM +0900, Tsugikazu Shibata wrote: > Hi all, > > I am posting Documentation/HOWTO which is translated into Japanese at > bottom of this email. > This document had been reviewed by JF project which has long history > to translate documents into Japanese. (not only ke

Re: [PATCH 2/3] [CRYPTO] Add optimized SHA-1 implementation for i486+

2007-06-10 Thread Matt Mackall
On Sun, Jun 10, 2007 at 12:47:19PM -0400, Benjamin Gilbert wrote: > Matt Mackall wrote: > >On Sat, Jun 09, 2007 at 08:33:25PM -0400, Benjamin Gilbert wrote: > >>It's not just the loop unrolling; it's the register allocation and > >>spilling. For compar

Re: [PATCH 2/3] [CRYPTO] Add optimized SHA-1 implementation for i486+

2007-06-10 Thread Matt Mackall
On Sat, Jun 09, 2007 at 08:33:25PM -0400, Benjamin Gilbert wrote: > Jeff Garzik wrote: > >Matt Mackall wrote: > >>Have you benchmarked this against lib/sha1.c? Please post the results. > >>Until then, I'm frankly skeptical that your unrolled version is faster > &

Re: [patch 7/8] fdmap v2 - implement sys_socket2

2007-06-09 Thread Matt Mackall
On Sat, Jun 09, 2007 at 09:49:07PM +0100, Al Viro wrote: > On Sat, Jun 09, 2007 at 01:21:24PM -0700, Linus Torvalds wrote: > > Which is why you'd like to do the *initial* operation with a flag that > > says "please set the FD_CLOEXEC flag on the file descriptor", so that you > > *atomically* inst

Re: [patch 7/8] fdmap v2 - implement sys_socket2

2007-06-09 Thread Matt Mackall
On Sat, Jun 09, 2007 at 01:31:56PM -0700, Davide Libenzi wrote: > On Sat, 9 Jun 2007, Linus Torvalds wrote: > > > So I think both the FD_CLOEXEC _and_ the "private fd space" are real > > issues. I don't agree with the "random fd" approach. I'd much rather have > > a non-random setup for the nonl

Re: [PATCH 2/3] [CRYPTO] Add optimized SHA-1 implementation for i486+

2007-06-09 Thread Matt Mackall
On Sat, Jun 09, 2007 at 04:23:27PM -0400, Jeff Garzik wrote: > Matt Mackall wrote: > >On Fri, Jun 08, 2007 at 05:42:53PM -0400, Benjamin Gilbert wrote: > >>Add x86-optimized implementation of the SHA-1 hash function, taken from > >>Nettle under the LGPL. This code

Re: [PATCH 2/3] [CRYPTO] Add optimized SHA-1 implementation for i486+

2007-06-09 Thread Matt Mackall
On Fri, Jun 08, 2007 at 05:42:53PM -0400, Benjamin Gilbert wrote: > Add x86-optimized implementation of the SHA-1 hash function, taken from > Nettle under the LGPL. This code will be enabled on kernels compiled for > 486es or better; kernels which support 386es will use the generic > implementatio

Re: [PATCH, RFD]: Unbreak no-mmu mmap

2007-06-09 Thread Matt Mackall
On Fri, Jun 08, 2007 at 03:53:49PM +0200, Bernd Schmidt wrote: > 2. It is no longer possible to get blocks smaller than a page through >mmap. This behaviour was used by simplemalloc, which is an insane >way of implementing malloc on nommu systems and hopefully not used >by anyone anymo

Re: Linux 2.6.20.13

2007-06-09 Thread Matt Mackall
On Fri, Jun 08, 2007 at 12:00:28AM -0700, Chris Wright wrote: > We (the -stable team) are announcing the release of the 2.6.20.13 kernel. > This release has three security fixes in it: > > 54bb290b: random: fix error in entropy extraction (CVE-2007-2453 1 of 2) > f5939fcd: random: fix seeding wit

Re: [patch 7/8] fdmap v2 - implement sys_socket2

2007-06-07 Thread Matt Mackall
On Thu, Jun 07, 2007 at 01:10:23PM -0700, Linus Torvalds wrote: > What do people think about that kind of approach? It has the advantage > that it does *not* involve multiple kernel entries (just a single entry to > a small wrapper that sets some process state temporarily), and that it > doesn't

Re: 2.6.22-rc4-mm1

2007-06-07 Thread Matt Mackall
On Fri, Jun 08, 2007 at 12:39:30AM +0800, WANG Cong wrote: > >Ketchup doesn't even look inside patches, and patch doesn't invent > >names, so something in the bzip2 -> patch(1) -> filesystem chain got > >corrupted. Probably not bzip2, as it has CRCs. > > > > Do you mean ketchup doesn't do anything

Re: 2.6.22-rc4-mm1

2007-06-07 Thread Matt Mackall
On Thu, Jun 07, 2007 at 11:40:08PM +0800, WANG Cong wrote: > On Thu, Jun 07, 2007 at 09:04:44AM -0500, Matt Mackall wrote: > >On Thu, Jun 07, 2007 at 02:51:58PM +0800, WANG Cong wrote: > >> >> Maybe there's something wrong with ketchup. ;( > >> > > >

Re: Kernel 2.6.22-rc4 netconsole & syslogd bug

2007-06-07 Thread Matt Mackall
On Wed, Jun 06, 2007 at 06:00:10PM -0400, Justin Piszcz wrote: > 1. I use netconsole on almost all of my machines. > 2. When I reboot one of them, it sends the kernel messages to the console >logging server. > 3. However, whenever I reboot it spams the console and every xterm open >with the

Re: [PATCH 3/6] lguest suppress IDE probing

2007-06-07 Thread Matt Mackall
On Thu, Jun 07, 2007 at 12:13:07PM +1000, Rusty Russell wrote: > On Wed, 2007-06-06 at 11:23 +0100, Alan Cox wrote: > > > > Better yet just don't compile in the old IDE stuff, lguest doesn't have > > > > a > > > > PCI or ISA bus anyway. > > > > > > Sure, but the "run the same kernel as guest and

Re: floppy.c soft lockup

2007-06-07 Thread Matt Mackall
On Thu, Jun 07, 2007 at 06:18:52AM -0400, Mark Hounschell wrote: > Matt Mackall wrote: > > On Wed, Jun 06, 2007 at 10:28:28AM -0700, Andrew Morton wrote: > >> On Wed, 06 Jun 2007 09:12:04 -0400 Mark Hounschell <[EMAIL PROTECTED]> > >> wrote: > >> >

Re: 2.6.22-rc4-mm1

2007-06-07 Thread Matt Mackall
On Thu, Jun 07, 2007 at 02:51:58PM +0800, WANG Cong wrote: > >> Maybe there's something wrong with ketchup. ;( > > > >Can you do an 'lsdiff | grep lguest' on the patch in your ~/.ketchup > >directory? > > > >Ketchup simply applies patches, it never touches filenames directly. > >So for something t

Re: 2.6.22-rc4-mm1

2007-06-06 Thread Matt Mackall
On Thu, Jun 07, 2007 at 10:26:09AM +0800, WANG Cong wrote: > On Wed, Jun 06, 2007 at 11:09:31AM -0700, Andrew Morton wrote: > >On Thu, 7 Jun 2007 00:19:36 +0800 WANG Cong <[EMAIL PROTECTED]> wrote: > > > >> On Wed, Jun 06, 2007 at 02:07:37AM -0700, Andrew Morton wrote: > >> > > >> >ftp://ftp.kernel

Re: floppy.c soft lockup

2007-06-06 Thread Matt Mackall
On Wed, Jun 06, 2007 at 10:28:28AM -0700, Andrew Morton wrote: > On Wed, 06 Jun 2007 09:12:04 -0400 Mark Hounschell <[EMAIL PROTECTED]> wrote: > > > > > > > As far as a 100% CPU bound task being a valid thing to do, it has been > > > done for many years on SMP machines. Any kernel limitation on

Re: [PATCH 2.6.21] cramfs: add cramfs Linear XIP

2007-06-06 Thread Matt Mackall
On Wed, Jun 06, 2007 at 11:40:58AM -0700, Jared Hulbert wrote: > > The embedded people already use them > >on flash which is a little dumb, but now we add even more cludge for > >a non-block based access. > > Please justify your assertion that using cramfs on flash is dumb. > What would be not dum

Re: Interesting interaction between lguest and CFS

2007-06-06 Thread Matt Mackall
On Tue, Jun 05, 2007 at 09:50:15PM +0200, Ingo Molnar wrote: > Matt, could you run this for 1-2 minutes and send us the sched_debug.txt > output? http://selenic.com/sched_debug.txt.gz -- Mathematics is the supreme nostalgia of our time. - To unsubscribe from this list: send the line "unsubscrib

Re: Interesting interaction between lguest and CFS

2007-06-06 Thread Matt Mackall
On Tue, Jun 05, 2007 at 09:08:06PM +0200, Ingo Molnar wrote: > > * Ingo Molnar <[EMAIL PROTECTED]> wrote: > > > Matt, could you send me your .config too? Maybe i can reproduce it > > with your config. > > ok, got it (off-list) and you seem to have the default HZ=250. Could you > change it to H

Re: [PATCH 4/6] lguest don't signal like crazy, use LHREQ_BREAK command

2007-06-05 Thread Matt Mackall
On Wed, Jun 06, 2007 at 10:07:46AM +1000, Rusty Russell wrote: > On Tue, 2007-06-05 at 10:34 -0500, Matt Mackall wrote: > > On Wed, Jun 06, 2007 at 01:00:06AM +1000, Rusty Russell wrote: > > > We currently use a "waker" process: a child of the launcher which > >

Re: [PATCH 4/6] lguest don't signal like crazy, use LHREQ_BREAK command

2007-06-05 Thread Matt Mackall
On Wed, Jun 06, 2007 at 01:00:06AM +1000, Rusty Russell wrote: > We currently use a "waker" process: a child of the launcher which > selects() on the incoming file descriptors. It sends a SIGUSR1 to the > launcher whenever select() returns to kick the launcher out of the > kernel. If I break out

Re: [PATCH 3/6] lguest suppress IDE probing

2007-06-05 Thread Matt Mackall
On Wed, Jun 06, 2007 at 12:58:03AM +1000, Rusty Russell wrote: > The IDE probe is the slowest part of boot: by suppressing it we cut > boot from from 3 seconds to half a second. > > AFAICT, the commandline is the easiest way to suppress the probing. Switching to libata accomplishes the same and i

Re: Interesting interaction between lguest and CFS

2007-06-05 Thread Matt Mackall
On Tue, Jun 05, 2007 at 11:23:44AM +0200, Ingo Molnar wrote: > > * Matt Mackall <[EMAIL PROTECTED]> wrote: > > > Ok, my transcoding just finished as I was writing this. So I've > > reproduced the problem with this Python script that I had handy: > > >

Re: Interesting interaction between lguest and CFS

2007-06-05 Thread Matt Mackall
On Tue, Jun 05, 2007 at 09:19:04AM +0200, Ingo Molnar wrote: > > * Matt Mackall <[EMAIL PROTECTED]> wrote: > > > sleep_max: 57476665627 > > block_max: 18014060106626075 > > hm, this block_max looks a bit suspect, it

Re: Interesting interaction between lguest and CFS

2007-06-05 Thread Matt Mackall
On Tue, Jun 05, 2007 at 02:37:38PM +1000, Rusty Russell wrote: > On Mon, 2007-06-04 at 23:18 -0500, Matt Mackall wrote: > > On Tue, Jun 05, 2007 at 12:31:15PM +1000, Rusty Russell wrote: > > > Does this solve it for you? > > > > Nope. Doesn't accept input and ho

Re: Interesting interaction between lguest and CFS

2007-06-04 Thread Matt Mackall
On Tue, Jun 05, 2007 at 12:31:15PM +1000, Rusty Russell wrote: > Does this solve it for you? Nope. Doesn't accept input and hogs the CPU with lots of system time. -- Mathematics is the supreme nostalgia of our time. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: Interesting interaction between lguest and CFS

2007-06-04 Thread Matt Mackall
On Tue, Jun 05, 2007 at 10:18:54AM +1000, Rusty Russell wrote: > On Mon, 2007-06-04 at 12:37 -0500, Matt Mackall wrote: > > With 2.6.22-rc3-mm1, I've got a long-running video transcoding going > > on. In other windows, I'm compiling, reading email, etc. with no > > n

Re: Interesting interaction between lguest and CFS

2007-06-04 Thread Matt Mackall
On Mon, Jun 04, 2007 at 09:40:38PM +0200, Ingo Molnar wrote: > > * Matt Mackall <[EMAIL PROTECTED]> wrote: > > > > ah, so both the shell and the 'competing' CPU hog was running within > > > the same lguest instance? > > > > No. > >

Re: Interesting interaction between lguest and CFS

2007-06-04 Thread Matt Mackall
On Mon, Jun 04, 2007 at 09:12:29PM +0200, Ingo Molnar wrote: > > * Matt Mackall <[EMAIL PROTECTED]> wrote: > > > > btw., does this only happen with lguest, or with other idle shells > > > too? > > > > Only noticed with lguest. > > ah, so bot

Re: Interesting interaction between lguest and CFS

2007-06-04 Thread Matt Mackall
On Mon, Jun 04, 2007 at 08:11:51PM +0200, Ingo Molnar wrote: > > * Matt Mackall <[EMAIL PROTECTED]> wrote: > > > With 2.6.22-rc3-mm1, I've got a long-running video transcoding going > > on. In other windows, I'm compiling, reading email, etc. with no > &

Re: Interesting interaction between lguest and CFS

2007-06-04 Thread Matt Mackall
On Mon, Jun 04, 2007 at 07:54:36PM +0200, Ingo Molnar wrote: > > * Matt Mackall <[EMAIL PROTECTED]> wrote: > > > With 2.6.22-rc3-mm1, I've got a long-running video transcoding going > > on. In other windows, I'm compiling, reading email, etc. with no > &

Re: lguest rebroken in 2.6.22-rc3-mm1

2007-06-04 Thread Matt Mackall
On Mon, Jun 04, 2007 at 10:28:20AM -0700, Andrew Morton wrote: > On Mon, 4 Jun 2007 12:19:33 -0500 Matt Mackall <[EMAIL PROTECTED]> wrote: > > > On Wed, May 23, 2007 at 09:27:40AM +1000, Rusty Russell wrote: > > > On Tue, 2007-05-22 at 17:38 -0500, Matt Mackall wrote:

Interesting interaction between lguest and CFS

2007-06-04 Thread Matt Mackall
With 2.6.22-rc3-mm1, I've got a long-running video transcoding going on. In other windows, I'm compiling, reading email, etc. with no noticeable problems. If I fire up lguest and leave it sitting at a shell prompt for a couple moments, when I return to type something at the prompt, it can take 2-3

lguest rebroken in 2.6.22-rc3-mm1

2007-06-04 Thread Matt Mackall
On Wed, May 23, 2007 at 09:27:40AM +1000, Rusty Russell wrote: > On Tue, 2007-05-22 at 17:38 -0500, Matt Mackall wrote: > > [0.120007] EIP is at resync_sc_freq+0x4b/0x56 > > Hi Matt, > > Thanks for the report! Andrew should have these two patches queued, >

Re: Conditionals for development tests and output

2007-06-03 Thread Matt Mackall
On Sat, Jun 02, 2007 at 10:48:21AM -0700, Andrew Morton wrote: > On Sat, 2 Jun 2007 16:43:48 +0200 Adrian Bunk <[EMAIL PROTECTED]> wrote: > > > And your approach could easily result in code paths never tested in > > -mm or -rc kernels exploding in the actual release. > > yep, we need to ensure t

Re: SLUB: Return ZERO_SIZE_PTR for kmalloc(0)

2007-06-03 Thread Matt Mackall
On Fri, Jun 01, 2007 at 09:54:27PM -0700, Andrew Morton wrote: > We lose leak-detection and double-free detection this way, too. Not a big > deal. We could keep a global counter and warn if count < 0 or > N. An awful lot of fuss over nothing though. -- Mathematics is the supreme nostalgia of o

Re: SLUB: Return ZERO_SIZE_PTR for kmalloc(0)

2007-06-03 Thread Matt Mackall
On Fri, Jun 01, 2007 at 09:45:15PM -0700, Christoph Lameter wrote: > On Fri, 1 Jun 2007, Andrew Morton wrote: > > > They are different instances which happen to have the same length (zero). > > I guess one could use the slab allocators as a type of reservation > ticket generator with zero sized

Re: [PATCH 3/5] lockstat: core infrastructure

2007-06-01 Thread Matt Mackall
On Fri, Jun 01, 2007 at 08:30:53PM +0200, Ingo Molnar wrote: > - better scheduling > - better printk timestamps > - higher-quality blktrace timestamps - more entropy in /dev/random -- Mathematics is the supreme nostalgia of our time. - To unsubscribe from this list: send the line "unsubscribe

Re: [patch 2/9] Conditional Calls - Hash Table

2007-06-01 Thread Matt Mackall
On Fri, Jun 01, 2007 at 02:06:54PM -0400, Mathieu Desnoyers wrote: > * Andi Kleen ([EMAIL PROTECTED]) wrote: > > > It's not clear to me why either of those things are necessary. An > > > example please? > > > > It's certainly possible that a global flag would need to be tested > > more than once.

Re: [patch 2/9] Conditional Calls - Hash Table

2007-06-01 Thread Matt Mackall
On Fri, Jun 01, 2007 at 12:46:23PM -0400, Mathieu Desnoyers wrote: > * Matt Mackall ([EMAIL PROTECTED]) wrote: > > On Thu, May 31, 2007 at 03:42:50PM +0200, Andi Kleen wrote: > > > Mathieu Desnoyers <[EMAIL PROTECTED]> writes: > > > > > > > Reimple

Re: patch-2.6.21.3-rt9 misnamed?

2007-06-01 Thread Matt Mackall
On Thu, May 31, 2007 at 10:01:09PM +0200, Ingo Molnar wrote: > > * K.R. Foley <[EMAIL PROTECTED]> wrote: > > > Ingo Molnar wrote: > > > * K.R. Foley <[EMAIL PROTECTED]> wrote: > > > > > >> Ingo, > > >> > > >> I believe that patch-2.6.21.3-rt9 is misnamed. It applies cleanly to > > >> 2.6.21 but

Re: [patch 2/9] Conditional Calls - Hash Table

2007-06-01 Thread Matt Mackall
On Thu, May 31, 2007 at 03:42:50PM +0200, Andi Kleen wrote: > Mathieu Desnoyers <[EMAIL PROTECTED]> writes: > > > Reimplementation of the cond calls which uses a hash table to hold the > > active > > cond_calls. It permits to first arm a cond_call and then load supplementary > > modules that cont

Re: [PATCH 3/4] Make net watchdog timers 1 sec jiffy aligned

2007-05-30 Thread Matt Mackall
On Wed, May 30, 2007 at 03:29:39PM -0700, David Miller wrote: > From: Matt Mackall <[EMAIL PROTECTED]> > Date: Wed, 30 May 2007 17:10:39 -0500 > > > Are you agreeing that "it seems wasteful to add per-packet overhead"? > > This patch is not doing that. >

Re: Syslets, Threadlets, generic AIO support, v6

2007-05-30 Thread Matt Mackall
On Wed, May 30, 2007 at 01:00:30PM -0700, Linus Torvalds wrote: > Which *could* be something as simple as saying "bit 30 in the file > descriptor specifies a separate fd space" along with some flags to make > open and friends return those separate fd's. That makes them useless for > "select()" (

Re: [PATCH 3/4] Make net watchdog timers 1 sec jiffy aligned

2007-05-30 Thread Matt Mackall
On Wed, May 30, 2007 at 12:55:51PM -0700, David Miller wrote: > From: Patrick McHardy <[EMAIL PROTECTED]> > Date: Wed, 30 May 2007 20:42:32 +0200 > > > Stephen Hemminger wrote: > > >>>Index: linux-2.6.22-rc-mm/net/sched/sch_generic.c > > >>>=

Re: [patch 9/9] Scheduler profiling - Use conditional calls

2007-05-30 Thread Matt Mackall
On Wed, May 30, 2007 at 10:00:34AM -0400, Mathieu Desnoyers wrote: > Use conditional calls with lower d-cache hit in optimized version as a > condition for scheduler profiling call. > > Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> > > --- > kernel/profile.c |4 > kernel/sched.c

Re: Seeding /dev/random not working

2007-05-29 Thread Matt Mackall
On Wed, May 30, 2007 at 12:08:22AM +0200, Andi Kleen wrote: > Matt Mackall <[EMAIL PROTECTED]> writes: > > > On Tue, May 29, 2007 at 05:44:37PM +0100, M Macnair wrote: > > > On 29 May 2007 18:58:59 +0200, Andi Kleen <[EMAIL PROTECTED]> wrote: > > &g

Re: Seeding /dev/random not working

2007-05-29 Thread Matt Mackall
On Tue, May 29, 2007 at 05:44:37PM +0100, M Macnair wrote: > On 29 May 2007 18:58:59 +0200, Andi Kleen <[EMAIL PROTECTED]> wrote: > >"M Macnair" <[EMAIL PROTECTED]> writes: > >> > >> Many distros ship with an init script that saves and restores the > >> entropy pool on startup and shutdown. The bi

Re: Seeding /dev/random not working

2007-05-29 Thread Matt Mackall
On Tue, May 29, 2007 at 09:23:31PM +0200, Eric Dumazet wrote: > Matt Mackall a écrit : > >On Tue, May 29, 2007 at 09:15:01AM -0400, Theodore Tso wrote: > >>Another thing which I noticed is that when Matt Mackall took over > >>maintainership of /dev/random, he app

Re: Seeding /dev/random not working

2007-05-29 Thread Matt Mackall
On Tue, May 29, 2007 at 12:46:14PM -0500, Matt Mackall wrote: > We might as well mix jiffies and cycles in at init time in a manner > similar to the above. Something like this (untested): Scratch that one. Here's one that compiles and seems to work under lguest: Index: l/drivers/ch

Re: Seeding /dev/random not working

2007-05-29 Thread Matt Mackall
On Tue, May 29, 2007 at 09:15:01AM -0400, Theodore Tso wrote: > Another thing which I noticed is that when Matt Mackall took over > maintainership of /dev/random, he apparently took out one of the > safeguards I had, which was that before, when entropy was extracted > from the pool th

Re: 2.6.22-rc2-mm1

2007-05-29 Thread Matt Mackall
) > > + return 0; > > > > which will skip the creation of the "device"-link, right? > > ...and this is certainly broken. Argl. > > Could those folks that had trouble with this kernel check out whether > the following patch helps? Works for me!

Re: [2.6.21.1] soft lockup when removing netconsole module

2007-05-27 Thread Matt Mackall
On Sat, May 26, 2007 at 06:35:24PM +0200, Thomas Gleixner wrote: > On Sat, 2007-05-26 at 18:17 +0200, Folkert van Heusden wrote: > > > > Seems to be hrtimers related - CC'ed Thomas. > > > I doubt that. The tick interrupt just finds out, that the machine is > > > stuck in rmmod. > > > > > Also the r

Re: 2.6.22-rc2-mm1: NetworkManager fails to find ipw2200 again

2007-05-25 Thread Matt Mackall
On Fri, May 25, 2007 at 04:01:52PM -0500, Matt Mackall wrote: > On Fri, May 25, 2007 at 12:53:19PM -0500, Matt Mackall wrote: > > On Fri, May 25, 2007 at 07:37:46PM +0200, Kay Sievers wrote: > > > On 5/25/07, Greg KH <[EMAIL PROTECTED]> wrote: > > > >On Fri, Ma

Re: 2.6.22-rc2-mm1: NetworkManager fails to find ipw2200 again

2007-05-25 Thread Matt Mackall
On Fri, May 25, 2007 at 12:53:19PM -0500, Matt Mackall wrote: > On Fri, May 25, 2007 at 07:37:46PM +0200, Kay Sievers wrote: > > On 5/25/07, Greg KH <[EMAIL PROTECTED]> wrote: > > >On Fri, May 25, 2007 at 11:36:22AM -0500, Matt Mackall wrote: > > >> 2.6.22-rc

Re: 2.6.22-rc2-mm1: NetworkManager fails to find ipw2200 again

2007-05-25 Thread Matt Mackall
On Fri, May 25, 2007 at 07:37:46PM +0200, Kay Sievers wrote: > On 5/25/07, Greg KH <[EMAIL PROTECTED]> wrote: > >On Fri, May 25, 2007 at 11:36:22AM -0500, Matt Mackall wrote: > >> 2.6.22-rc2 works. CONFIG_SYSFS_DEPRECATED = y, though that shouldn't > >> matt

2.6.22-rc2-mm1: NetworkManager fails to find ipw2200 again

2007-05-25 Thread Matt Mackall
2.6.22-rc2 works. CONFIG_SYSFS_DEPRECATED = y, though that shouldn't matter. Bringing up the interface manually still works, so I suspect this is sysfs or HAL related again. Again, Debian unstable so userspace is quite up-to-date. -- Mathematics is the supreme nostalgia of our time. - To unsubscr

Re: 2.6.21-mm2: ACPI exception on resume

2007-05-23 Thread Matt Mackall
On Wed, May 23, 2007 at 10:56:27PM +0200, Rafael J. Wysocki wrote: > On Wednesday, 23 May 2007 19:48, Matt Mackall wrote: > > On Wed, May 23, 2007 at 02:13:30PM -0300, Henrique de Moraes Holschuh wrote: > > > On Wed, 23 May 2007, Rafael J. Wysocki wrote: > > > > Whi

Re: 2.6.21-mm2: ACPI exception on resume

2007-05-23 Thread Matt Mackall
On Wed, May 23, 2007 at 02:13:30PM -0300, Henrique de Moraes Holschuh wrote: > On Wed, 23 May 2007, Rafael J. Wysocki wrote: > > While I agree with that, it would really be helpful if you tested the > > latest -rc > > kernel and saw if the bug was present in there. > > > > If the bug is not prese

Re: 2.6.21-mm2: ACPI exception on resume

2007-05-22 Thread Matt Mackall
On Tue, May 22, 2007 at 09:19:43PM -0300, Henrique de Moraes Holschuh wrote: > On Tue, 22 May 2007, Matt Mackall wrote: > > On Mon, May 21, 2007 at 08:03:49PM -0300, Henrique de Moraes Holschuh wrote: > > > On Mon, 21 May 2007, Matt Mackall wrote: > > > > BIOS Info

Re: 2.6.21-mm2: ACPI exception on resume

2007-05-22 Thread Matt Mackall
On Mon, May 21, 2007 at 08:03:49PM -0300, Henrique de Moraes Holschuh wrote: > On Mon, 21 May 2007, Matt Mackall wrote: > > BIOS Information > > Vendor: IBM > > Version: 1RETDHWW (3.13 ) > > Release Date: 10/29/2004 > > > >

lguest broken in 2.6.22-rc1-mm1

2007-05-22 Thread Matt Mackall
$ lguest 1024m vmlinux --tunnet=192.168.19.1 --block=rootfs root=/dev/lgba [0.00] Reserving virtual address space above 0xffc0 [0.00] Linux version 2.6.22-rc1-mm1 ([EMAIL PROTECTED]) (gcc version 4.1.3 20070429 (prerelease) (Debian 4.1.2-6)) #125 PREEMPT Tue May 22 16:50:02 CDT

Re: filesystem benchmarking fun

2007-05-22 Thread Matt Mackall
On Tue, May 22, 2007 at 11:21:20AM -0700, Andrew Morton wrote: > On Tue, 22 May 2007 12:35:11 -0400 > Chris Mason <[EMAIL PROTECTED]> wrote: > > > On Wed, May 16, 2007 at 01:37:26PM -0700, Andrew Morton wrote: > > > On Wed, 16 May 2007 16:14:14 -0400 > > > Chris Mason <[EMAIL PROTECTED]> wrote: >

Re: [rfc] increase struct page size?!

2007-05-21 Thread Matt Mackall
On Mon, May 21, 2007 at 11:27:42AM +0200, Nick Piggin wrote: > On Mon, May 21, 2007 at 01:08:13AM -0700, William Lee Irwin III wrote: > > On Sun, May 20, 2007 at 01:46:47AM -0700, William Lee Irwin III wrote: > > >> The lack of consideration of the average case. I'll see what I can smoke > > >> out

Re: 2.6.21-mm2: ACPI exception on resume

2007-05-21 Thread Matt Mackall
On Sun, May 20, 2007 at 12:52:59AM -0300, Henrique de Moraes Holschuh wrote: > > > On Sat, 19 May 2007, Matt Mackall wrote: > > > > usually does, then go black and the machine will become totally > > > > unresponsive, even to holding down the power button for 30

Re: 2.6.21-mm2: ACPI exception on resume

2007-05-19 Thread Matt Mackall
On Sat, May 19, 2007 at 08:24:16PM +0200, Rafael J. Wysocki wrote: > Hi, > > On Saturday, 19 May 2007 18:57, Matt Mackall wrote: > > Starting with 2.6.21-mm2, I'm seeing occassional failures to resume > > from suspend-to-ram on my Thinkpad R51. The screen will flash as

Re: 2.6.21-mm2: ACPI exception on resume

2007-05-19 Thread Matt Mackall
On Sat, May 19, 2007 at 05:45:04PM -0300, Henrique de Moraes Holschuh wrote: > On Sat, 19 May 2007, Matt Mackall wrote: > > usually does, then go black and the machine will become totally > > unresponsive, even to holding down the power button for 30+ seconds. > > Now, that

2.6.21-mm2: ACPI exception on resume

2007-05-19 Thread Matt Mackall
Starting with 2.6.21-mm2, I'm seeing occassional failures to resume from suspend-to-ram on my Thinkpad R51. The screen will flash as it usually does, then go black and the machine will become totally unresponsive, even to holding down the power button for 30+ seconds. But the hard drive light will

Re: [RFC] LZO1X de/compression support

2007-05-18 Thread Matt Mackall
On Fri, May 18, 2007 at 03:28:31PM +0530, Nitin Gupta wrote: > +/* lzo1x.h -- public interface of the LZO1X compression algorithm > + > + This file is part of the LZO real-time data compression library. > + > + Copyright (C) 2005 Markus Franz Xaver Johannes Oberhumer > + Copyright (C) 2004 Ma

Re: [PATCH 0/5] make slab gfp fair

2007-05-17 Thread Matt Mackall
On Thu, May 17, 2007 at 10:29:06AM -0700, Christoph Lameter wrote: > On Thu, 17 May 2007, Peter Zijlstra wrote: > > > I'm really not seeing why you're making such a fuzz about it; normally > > when you push the system this hard we're failing allocations left right > > and center too. Its just that

Re: [rfc][patch] slob: improvements

2007-05-15 Thread Matt Mackall
On Tue, May 15, 2007 at 10:43:05AM +0200, Nick Piggin wrote: > This patch goes on top of my previous RCU patch, and has various > improvements for slob I noticed while implementing said patch ;) > > Comments? I'm warming to this. Please check that the comment block at the top is still accurate.

Re: [PATCH 0/5] make slab gfp fair

2007-05-14 Thread Matt Mackall
On Mon, May 14, 2007 at 12:44:51PM -0700, Andrew Morton wrote: > On Mon, 14 May 2007 11:12:24 -0500 > Matt Mackall <[EMAIL PROTECTED]> wrote: > > > If I understand this correctly: > > > > privileged thread unprivileged greedy process > >

Re: [PATCH 0/5] make slab gfp fair

2007-05-14 Thread Matt Mackall
On Mon, May 14, 2007 at 08:53:21AM -0700, Christoph Lameter wrote: > On Mon, 14 May 2007, Peter Zijlstra wrote: > > > In the interest of creating a reserve based allocator; we need to make the > > slab > > allocator (*sigh*, all three) fair with respect to GFP flags. > > I am not sure what the p

Re: 2.6.21-git10/11: files getting truncated on xfs? or maybe an nlink problem?

2007-05-12 Thread Matt Mackall
On Sat, May 12, 2007 at 01:21:41PM +0200, Jan Engelhardt wrote: > > On May 10 2007 10:38, Matt Mackall wrote: > >> > >> for i in `seq 20`; do > >>hg clone -U --pull a b-$i > >>hg verify b-$i # always OK > >&

Re: Re: [announce] Intel announces the PowerTOP utility for Linux

2007-05-11 Thread Matt Mackall
On Sat, May 12, 2007 at 02:40:52AM +0100, Jose Celestino wrote: > Words by Matt Mackall [Fri, May 11, 2007 at 07:17:19PM -0500]: > > On Fri, May 11, 2007 at 04:07:18PM -0700, Arjan van de Ven wrote: > > > > > > What's eating the battery life of my laptop? Why

2.6.21-mm2: HDAPS? BUG: at kernel/mutex.c:311

2007-05-11 Thread Matt Mackall
This just hit: [7.856000] usbcore: registered new interface driver usbhid [7.86] BUG: at kernel/mutex.c:311 __mutex_trylock_slowpath() [7.868000] [] show_trace_log_lvl+0x1a/0x30 [7.872000] [] show_trace+0x12/0x14 [7.876000] [] dump_stack+0x15/0x17 [7.88] [] mute

Re: [announce] Intel announces the PowerTOP utility for Linux

2007-05-11 Thread Matt Mackall
On Fri, May 11, 2007 at 04:07:18PM -0700, Arjan van de Ven wrote: > > What's eating the battery life of my laptop? Why isn't it many more > hours? Which software component causes the most power to be burned? > These are important questions without a good answer... until now. I get: No detailed

Re: 2.6.21-git10/11: files getting truncated on xfs? or maybe an nlink problem?

2007-05-10 Thread Matt Mackall
On Fri, May 11, 2007 at 07:13:48AM +1000, David Chinner wrote: > On Thu, May 10, 2007 at 07:46:33AM -0700, Jeremy Fitzhardinge wrote: > > David Chinner wrote: > > > On Wed, May 09, 2007 at 05:54:09PM -0700, Jeremy Fitzhardinge wrote: > > > > > >> David Chinner wrote: > > >> > > >>> Suspend-

Re: 2.6.21-git10/11: files getting truncated on xfs? or maybe an nlink problem?

2007-05-10 Thread Matt Mackall
On Thu, May 10, 2007 at 07:46:33AM -0700, Jeremy Fitzhardinge wrote: > David Chinner wrote: > > On Wed, May 09, 2007 at 05:54:09PM -0700, Jeremy Fitzhardinge wrote: > > > >> David Chinner wrote: > >> > >>> Suspend-resume, eh? > >>> > >>> There's an immediate suspect. Can you test this speci

Re: + fix-spellings-of-slab-allocator-section-in-init-kconfig.patch added to -mm tree

2007-05-09 Thread Matt Mackall
nt on RCU slabs. The last version I posted should work and has the > alignment problem fixed. I can retest and resubmit it to you if you like, > I was just waiting on an ack from Matt. Looks good to me, but haven't had time to actually test it. Acked-by: Matt Mackall <[EMAIL PROTECTE

Re: 2.6.21-git10/11: files getting truncated on xfs? or maybe an nlink problem?

2007-05-09 Thread Matt Mackall
On Wed, May 09, 2007 at 03:17:58PM -0700, Jeremy Fitzhardinge wrote: > Matt Mackall wrote: > >> Mercurial uses a strictly append-only model for updating its repo files, > >> but it looks like maybe an append operation didn't stick. > >> > > > &g

Re: 2.6.21-git10/11: files getting truncated on xfs? or maybe an nlink problem?

2007-05-09 Thread Matt Mackall
On Wed, May 09, 2007 at 02:09:50PM -0700, Jeremy Fitzhardinge wrote: > I've had a couple of instances of a linux-2.6 mercurial repo getting > corrupted in some odd way this morning. It looks like files are being > truncated; not to size 0, but losing something off the end. > > This is on an xfs f

Re: + fix-spellings-of-slab-allocator-section-in-init-kconfig.patch added to -mm tree

2007-05-08 Thread Matt Mackall
On Tue, May 08, 2007 at 07:57:37PM -0700, Christoph Lameter wrote: > On Wed, 9 May 2007, Nick Piggin wrote: > > > > Exactly. That overhead does not exist in SLUB. Thus SLOB is less efficient > > > than SLUB. > > > > What you trade for that is that one page page can only serve one slab. > > Right

Re: + fix-spellings-of-slab-allocator-section-in-init-kconfig.patch added to -mm tree

2007-05-08 Thread Matt Mackall
On Tue, May 08, 2007 at 07:24:07PM -0700, Christoph Lameter wrote: > On Tue, 8 May 2007, Matt Mackall wrote: > > > > > Yes. It can in fact put 512 8-byte objects in a 4k page. More > > > > > > So can SLUB. > > > > Not without at least a bit per-o

Re: + fix-spellings-of-slab-allocator-section-in-init-kconfig.patch added to -mm tree

2007-05-08 Thread Matt Mackall
On Wed, May 09, 2007 at 12:02:29PM +1000, Nick Piggin wrote: > BTW, we _really_ should be doing RCU properly in slob, because you > technically can't noop RCU on UP (even though the current users may be > safe...). Thanks. Hugh was pretty convinced it was unneeded: http://marc.info/?l=linux-mm&m=

<    1   2   3   4   5   6   7   8   9   10   >