Re: [PATCH][RESEND 3] hwrng: add randomness to system from rng sources

2014-03-05 Thread Matt Mackall
On Wed, 2014-03-05 at 16:11 -0500, Jason Cooper wrote: > > In other words, if there are 4096 bits of "unknownness" in X to start > > with, and I can get those same 4096 bits of "unknownness" back by > > unmixing X' and Y, then there must still be 4096 bits of "unknownness" > > in X'. If X' is 4096

Re: [PATCH][RESEND 3] hwrng: add randomness to system from rng sources

2014-03-05 Thread Matt Mackall
On Wed, 2014-03-05 at 16:11 -0500, Jason Cooper wrote: In other words, if there are 4096 bits of unknownness in X to start with, and I can get those same 4096 bits of unknownness back by unmixing X' and Y, then there must still be 4096 bits of unknownness in X'. If X' is 4096 bits long,

Re: [PATCH][RESEND 3] hwrng: add randomness to system from rng sources

2014-03-04 Thread Matt Mackall
On Tue, 2014-03-04 at 11:59 -0800, Kees Cook wrote: > On Tue, Mar 4, 2014 at 11:53 AM, Jason Cooper wrote: > > On Tue, Mar 04, 2014 at 11:01:49AM -0800, Kees Cook wrote: > >> On Tue, Mar 4, 2014 at 7:38 AM, Jason Cooper wrote: > >> > Kees, Ted, > >> > > >> > On Mon, Mar 03, 2014 at 03:51:48PM

Re: [PATCH][RESEND 3] hwrng: add randomness to system from rng sources

2014-03-04 Thread Matt Mackall
On Tue, 2014-03-04 at 11:59 -0800, Kees Cook wrote: On Tue, Mar 4, 2014 at 11:53 AM, Jason Cooper ja...@lakedaemon.net wrote: On Tue, Mar 04, 2014 at 11:01:49AM -0800, Kees Cook wrote: On Tue, Mar 4, 2014 at 7:38 AM, Jason Cooper ja...@lakedaemon.net wrote: Kees, Ted, On Mon, Mar 03,

Re: [PATCH RFC] random: Account for entropy loss due to overwrites

2012-08-15 Thread Matt Mackall
On Mon, 2012-08-13 at 10:26 -0700, H. Peter Anvin wrote: > From: "H. Peter Anvin" > > When we write entropy into a non-empty pool, we currently don't > account at all for the fact that we will probabilistically overwrite > some of the entropy in that pool. Technically, no, nothing is

Re: [PATCH RFC] random: Account for entropy loss due to overwrites

2012-08-15 Thread Matt Mackall
On Mon, 2012-08-13 at 10:26 -0700, H. Peter Anvin wrote: From: H. Peter Anvin h...@linux.intel.com When we write entropy into a non-empty pool, we currently don't account at all for the fact that we will probabilistically overwrite some of the entropy in that pool. Technically, no, nothing

Re: [PATCH] dmi: Feed DMI table to /dev/random driver

2012-07-20 Thread Matt Mackall
On Fri, 2012-07-20 at 13:15 -0700, Tony Luck wrote: > Send the entire DMI (SMBIOS) table to the /dev/random driver to > help seed its pools. > > Signed-off-by: Tony Luck > --- > > This looks a useful addition to your /dev/random series. There are > lots of platform specific goodies in this

Re: [PATCH] dmi: Feed DMI table to /dev/random driver

2012-07-20 Thread Matt Mackall
On Fri, 2012-07-20 at 13:15 -0700, Tony Luck wrote: Send the entire DMI (SMBIOS) table to the /dev/random driver to help seed its pools. Signed-off-by: Tony Luck tony.l...@intel.com --- This looks a useful addition to your /dev/random series. There are lots of platform specific goodies

Re: [PATCH 01/10] random: make 'add_interrupt_randomness()' do something sane

2012-07-09 Thread Matt Mackall
On Fri, 2012-07-06 at 12:52 -0400, Theodore Ts'o wrote: > On Fri, Jul 06, 2012 at 09:24:00AM -0700, Linus Torvalds wrote: > > On Fri, Jul 6, 2012 at 6:01 AM, Theodore Ts'o wrote: > > > What in the world is "fast count"? I've grepped for it, > > > and I can't find it. > > > > It's your own

Re: [PATCH 01/10] random: make 'add_interrupt_randomness()' do something sane

2012-07-09 Thread Matt Mackall
On Fri, 2012-07-06 at 12:52 -0400, Theodore Ts'o wrote: On Fri, Jul 06, 2012 at 09:24:00AM -0700, Linus Torvalds wrote: On Fri, Jul 6, 2012 at 6:01 AM, Theodore Ts'o ty...@mit.edu wrote: What in the world is fast count? I've grepped for it, and I can't find it. It's your own

Re: [RFC] [PATCH] x86: Use ELF section to list CPU vendor specific code (Linux Tiny)

2008-02-25 Thread Matt Mackall
On Mon, 2008-02-25 at 18:53 +0100, Thomas Petazzoni wrote: > Le Mon, 25 Feb 2008 09:03:12 -0800, > Matt Mackall <[EMAIL PROTECTED]> a écrit : > > > > > This is not quite what Peter and I were thinking of, I think. > > > > It's not at all generic. H

Re: [RFC] [PATCH] x86: Use ELF section to list CPU vendor specific code (Linux Tiny)

2008-02-25 Thread Matt Mackall
On Mon, 2008-02-25 at 09:29 +0100, Thomas Petazzoni wrote: > Le Sat, 23 Feb 2008 10:43:37 +0800, > Matt Mackall <[EMAIL PROTECTED]> a écrit : > > > This is not quite what Peter and I were thinking of, I think. It's not > > at all generic. How about a section

Re: [RFC] [PATCH] x86: Use ELF section to list CPU vendor specific code (Linux Tiny)

2008-02-25 Thread Matt Mackall
On Mon, 2008-02-25 at 09:29 +0100, Thomas Petazzoni wrote: Le Sat, 23 Feb 2008 10:43:37 +0800, Matt Mackall [EMAIL PROTECTED] a écrit : This is not quite what Peter and I were thinking of, I think. It's not at all generic. How about a section that simply contains a set of function

Re: [RFC] [PATCH] x86: Use ELF section to list CPU vendor specific code (Linux Tiny)

2008-02-25 Thread Matt Mackall
On Mon, 2008-02-25 at 18:53 +0100, Thomas Petazzoni wrote: Le Mon, 25 Feb 2008 09:03:12 -0800, Matt Mackall [EMAIL PROTECTED] a écrit : This is not quite what Peter and I were thinking of, I think. It's not at all generic. How about a section that simply contains a set of function

Re: [RFC][PATCH] make /proc/pid/pagemap work with huge pages and return page size

2008-02-23 Thread Matt Mackall
On Sat, 2008-02-23 at 00:06 -0800, Andrew Morton wrote: > On Wed, 20 Feb 2008 14:57:43 +0100 "Hans Rosenfeld" <[EMAIL PROTECTED]> wrote: > > > The current code for /proc/pid/pagemap does not work with huge pages (on > > x86). The code will make no difference between a normal pmd and a huge > >

Re: [RFC][PATCH] make /proc/pid/pagemap work with huge pages and return page size

2008-02-23 Thread Matt Mackall
On Sat, 2008-02-23 at 00:06 -0800, Andrew Morton wrote: On Wed, 20 Feb 2008 14:57:43 +0100 Hans Rosenfeld [EMAIL PROTECTED] wrote: The current code for /proc/pid/pagemap does not work with huge pages (on x86). The code will make no difference between a normal pmd and a huge page pmd,

Re: [RFC] [PATCH] x86: Use ELF section to list CPU vendor specific code (Linux Tiny)

2008-02-22 Thread Matt Mackall
On Fri, 2008-02-15 at 12:00 +0100, Thomas Petazzoni wrote: > Hi, > > Le Mon, 11 Feb 2008 16:54:30 -0800, > "H. Peter Anvin" <[EMAIL PROTECTED]> a écrit : > > > b) would be my first choice, and yes, it would be a good thing to > > have a generalized mechanism for this. For the registrant, it's

Re: [RFC][PATCH] make /proc/pid/pagemap work with huge pages and return page size

2008-02-22 Thread Matt Mackall
(sorry for the delay, travelling) On Wed, 2008-02-20 at 14:57 +0100, Hans Rosenfeld wrote: > The current code for /proc/pid/pagemap does not work with huge pages (on > x86). The code will make no difference between a normal pmd and a huge > page pmd, trying to parse the contents of the huge page

Re: [RFC][PATCH] make /proc/pid/pagemap work with huge pages and return page size

2008-02-22 Thread Matt Mackall
(sorry for the delay, travelling) On Wed, 2008-02-20 at 14:57 +0100, Hans Rosenfeld wrote: The current code for /proc/pid/pagemap does not work with huge pages (on x86). The code will make no difference between a normal pmd and a huge page pmd, trying to parse the contents of the huge page as

Re: [RFC] [PATCH] x86: Use ELF section to list CPU vendor specific code (Linux Tiny)

2008-02-22 Thread Matt Mackall
On Fri, 2008-02-15 at 12:00 +0100, Thomas Petazzoni wrote: Hi, Le Mon, 11 Feb 2008 16:54:30 -0800, H. Peter Anvin [EMAIL PROTECTED] a écrit : b) would be my first choice, and yes, it would be a good thing to have a generalized mechanism for this. For the registrant, it's pretty

Re: [PATCH 2/2] x86 : relocate uninitialized variable in init DATA section into init BSS section

2008-02-21 Thread Matt Mackall
On Thu, 2008-02-21 at 10:53 +0100, Ingo Molnar wrote: > * Huang, Ying <[EMAIL PROTECTED]> wrote: > > > > > -int __initdata early_ioremap_debug; > > > > +int __initbss early_ioremap_debug; > > > > > > will we get some sort of build error if we accidentally do: > > > > > >int __initbss

Re: [PATCH 2/2] x86 : relocate uninitialized variable in init DATA section into init BSS section

2008-02-21 Thread Matt Mackall
On Thu, 2008-02-21 at 10:53 +0100, Ingo Molnar wrote: * Huang, Ying [EMAIL PROTECTED] wrote: -int __initdata early_ioremap_debug; +int __initbss early_ioremap_debug; will we get some sort of build error if we accidentally do: int __initbss early_ioremap_debug = 1;

Re: arch/x86/mm/ioremap unification grew by 10x

2008-02-15 Thread Matt Mackall
On Fri, 2008-02-15 at 15:21 -0600, Matt Mackall wrote: > On Fri, 2008-02-15 at 21:32 +0100, Sam Ravnborg wrote: > > On Fri, Feb 15, 2008 at 02:25:54PM -0600, Matt Mackall wrote: > > > In 2.6.24 defconfig, my build stats show ioremap_32.o was 1.8k. In > > > 2.6.25

Re: arch/x86/mm/ioremap unification grew by 10x

2008-02-15 Thread Matt Mackall
On Fri, 2008-02-15 at 21:32 +0100, Sam Ravnborg wrote: > On Fri, Feb 15, 2008 at 02:25:54PM -0600, Matt Mackall wrote: > > In 2.6.24 defconfig, my build stats show ioremap_32.o was 1.8k. In > > 2.6.25-rc1, the unified ioremap.o is 20.8k. > > Just an observation - 17 comm

arch/x86/mm/ioremap unification grew by 10x

2008-02-15 Thread Matt Mackall
In 2.6.24 defconfig, my build stats show ioremap_32.o was 1.8k. In 2.6.25-rc1, the unified ioremap.o is 20.8k. -- Mathematics is the supreme nostalgia of our time. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

Re: [PATCH] Configure out doublefault exception handler (Linux Tiny)

2008-02-15 Thread Matt Mackall
On Fri, 2008-02-15 at 19:04 +0100, Andi Kleen wrote: > > do when it does". There's very little point in having this sort of code > > in a mass-market camera, phone, DVR, TV, etc. (of which there are > > Do any of them run with a x86 CPU? Yes. The last PVR I worked on was just such a device, as

Re: [PATCH] Configure out doublefault exception handler (Linux Tiny)

2008-02-15 Thread Matt Mackall
On Fri, 2008-02-15 at 13:00 +0100, Andi Kleen wrote: > Matt Mackall <[EMAIL PROTECTED]> writes: > > > > I bet there's some doublefault-handling code hiding somewhere. It's not > > the sort of thing it'd make sense to take out of the architecture. > > The big que

Re: [PATCH] Configure out doublefault exception handler (Linux Tiny)

2008-02-15 Thread Matt Mackall
On Fri, 2008-02-15 at 19:04 +0100, Andi Kleen wrote: do when it does. There's very little point in having this sort of code in a mass-market camera, phone, DVR, TV, etc. (of which there are Do any of them run with a x86 CPU? Yes. The last PVR I worked on was just such a device, as was the

Re: [PATCH] Configure out doublefault exception handler (Linux Tiny)

2008-02-15 Thread Matt Mackall
On Fri, 2008-02-15 at 13:00 +0100, Andi Kleen wrote: Matt Mackall [EMAIL PROTECTED] writes: I bet there's some doublefault-handling code hiding somewhere. It's not the sort of thing it'd make sense to take out of the architecture. The big question is if it makes sense taking out

arch/x86/mm/ioremap unification grew by 10x

2008-02-15 Thread Matt Mackall
In 2.6.24 defconfig, my build stats show ioremap_32.o was 1.8k. In 2.6.25-rc1, the unified ioremap.o is 20.8k. -- Mathematics is the supreme nostalgia of our time. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: arch/x86/mm/ioremap unification grew by 10x

2008-02-15 Thread Matt Mackall
On Fri, 2008-02-15 at 21:32 +0100, Sam Ravnborg wrote: On Fri, Feb 15, 2008 at 02:25:54PM -0600, Matt Mackall wrote: In 2.6.24 defconfig, my build stats show ioremap_32.o was 1.8k. In 2.6.25-rc1, the unified ioremap.o is 20.8k. Just an observation - 17 commits touches said file after

Re: arch/x86/mm/ioremap unification grew by 10x

2008-02-15 Thread Matt Mackall
On Fri, 2008-02-15 at 15:21 -0600, Matt Mackall wrote: On Fri, 2008-02-15 at 21:32 +0100, Sam Ravnborg wrote: On Fri, Feb 15, 2008 at 02:25:54PM -0600, Matt Mackall wrote: In 2.6.24 defconfig, my build stats show ioremap_32.o was 1.8k. In 2.6.25-rc1, the unified ioremap.o is 20.8k

Re: [2.6 patch] make swap_pte_to_pagemap_entry() static

2008-02-13 Thread Matt Mackall
On Wed, 2008-02-13 at 23:30 +0200, Adrian Bunk wrote: > This patch makes the needlessly global swap_pte_to_pagemap_entry() > static. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Thanks. Signed-off-by: Matt Mackall <[EMAIL PROTECTED]> -- Mathematics is the supre

Re: [2.6 patch] make swap_pte_to_pagemap_entry() static

2008-02-13 Thread Matt Mackall
On Wed, 2008-02-13 at 23:30 +0200, Adrian Bunk wrote: This patch makes the needlessly global swap_pte_to_pagemap_entry() static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Thanks. Signed-off-by: Matt Mackall [EMAIL PROTECTED] -- Mathematics is the supreme nostalgia of our time

Re: [PATCH] Configure out DMI scanning code v2 (Linux Tiny)

2008-02-12 Thread Matt Mackall
t;textdata bss dec hex filename > -7984 -2348 0 -10332 -285c vmlinux > > The new option appears in "Processor type and features", only when > CONFIG_EMBEDDED is defined. > > This patch is part of the Linux Tiny project, and is bas

Re: [PATCH] Configure out doublefault exception handler (Linux Tiny)

2008-02-12 Thread Matt Mackall
On Tue, 2008-02-12 at 15:00 +0100, Thomas Petazzoni wrote: > Hi Sam, > > Le Tue, 12 Feb 2008 14:04:28 +0100, > Sam Ravnborg <[EMAIL PROTECTED]> a écrit : > > > We already have this in arch/x86/Kconfig.debug: > > Oops, my usual "find . -name Kconfig" missed it. Thanks for pointing it > out!

Re: [PATCH] Configure out DMI scanning code v2 (Linux Tiny)

2008-02-12 Thread Matt Mackall
0 -10332 -285c vmlinux The new option appears in Processor type and features, only when CONFIG_EMBEDDED is defined. This patch is part of the Linux Tiny project, and is based on previous work done by Matt Mackall [EMAIL PROTECTED]. Signed-off-by: Thomas Petazzoni [EMAIL PROTECTED

Re: [PATCH] Configure out doublefault exception handler (Linux Tiny)

2008-02-12 Thread Matt Mackall
On Tue, 2008-02-12 at 15:00 +0100, Thomas Petazzoni wrote: Hi Sam, Le Tue, 12 Feb 2008 14:04:28 +0100, Sam Ravnborg [EMAIL PROTECTED] a écrit : We already have this in arch/x86/Kconfig.debug: Oops, my usual find . -name Kconfig missed it. Thanks for pointing it out! The fact that

Re: [PATCH] x86 (Linux Tiny): configure out support for some processors

2008-02-11 Thread Matt Mackall
On Mon, 2008-02-11 at 16:54 -0800, H. Peter Anvin wrote: > Matt Mackall wrote: > > On Mon, 2008-02-11 at 15:01 -0800, H. Peter Anvin wrote: > >> Matt Mackall wrote: > >>> Best would be to have no ifdefs and do it all with linker magic, of > >>> course

Re: [PATCH] x86 (Linux Tiny): configure out support for some processors

2008-02-11 Thread Matt Mackall
On Mon, 2008-02-11 at 15:01 -0800, H. Peter Anvin wrote: > Matt Mackall wrote: > > > > Best would be to have no ifdefs and do it all with linker magic, of > > course. But that's trickier. > > > > I concur with this, definitely. Ok, so let's come up with a p

Re: [PATCH] x86 (Linux Tiny): configure out support for some processors

2008-02-11 Thread Matt Mackall
On Mon, 2008-02-11 at 23:42 +0100, Michael Opdenacker wrote: > /* Specific CPU type init functions */ > -int intel_cpu_init(void); > -int amd_init_cpu(void); > -int cyrix_init_cpu(void); > -int nsc_init_cpu(void); > -int centaur_init_cpu(void); > -int transmeta_init_cpu(void); > -int

Re: [PATCH] slob: fix linking for user mode linux

2008-02-11 Thread Matt Mackall
On Tue, 2008-02-12 at 00:32 +0200, Pekka J Enberg wrote: > From: Pekka Enberg <[EMAIL PROTECTED]> > > UML has some header magic that expects a non-inline __kmalloc() function to be > available. Fixes the following link time errors: > > arch/um/drivers/built-in.o: In function `kmalloc': >

Re: [PATCH] Configure out DMI scanning code

2008-02-11 Thread Matt Mackall
On Mon, 2008-02-11 at 17:58 +0100, Thomas Petazzoni wrote: > Hi, > > The enclosed patch allows to remove the DMI scanning code when > CONFIG_EMBEDDED is defined. It's basically the dma_blacklist patch of > Linux-Tiny ported to 2.6.25-rc1, with the required modifications. It > allows to remove

Re: [PATCH] [RESENDING] netconsole: register cmdline netconsole configs to configfs

2008-02-11 Thread Matt Mackall
On Mon, 2008-02-11 at 18:08 +0900, Joonwoo Park wrote: > This patch intorduces cmdline netconsole configs to register to > configfs > with dynamic netconsole. Satyam Sharma who designed shiny dynamic > reconfiguration for netconsole, mentioned about this issue already. >

Re: [PATCH] x86 (Linux Tiny): configure out support for some processors

2008-02-11 Thread Matt Mackall
On Mon, 2008-02-11 at 23:42 +0100, Michael Opdenacker wrote: /* Specific CPU type init functions */ -int intel_cpu_init(void); -int amd_init_cpu(void); -int cyrix_init_cpu(void); -int nsc_init_cpu(void); -int centaur_init_cpu(void); -int transmeta_init_cpu(void); -int

Re: [PATCH] Configure out DMI scanning code

2008-02-11 Thread Matt Mackall
On Mon, 2008-02-11 at 17:58 +0100, Thomas Petazzoni wrote: Hi, The enclosed patch allows to remove the DMI scanning code when CONFIG_EMBEDDED is defined. It's basically the dma_blacklist patch of Linux-Tiny ported to 2.6.25-rc1, with the required modifications. It allows to remove ~10k

Re: [PATCH] [RESENDING] netconsole: register cmdline netconsole configs to configfs

2008-02-11 Thread Matt Mackall
On Mon, 2008-02-11 at 18:08 +0900, Joonwoo Park wrote: This patch intorduces cmdline netconsole configs to register to configfs with dynamic netconsole. Satyam Sharma who designed shiny dynamic reconfiguration for netconsole, mentioned about this issue already.

Re: [PATCH] slob: fix linking for user mode linux

2008-02-11 Thread Matt Mackall
On Tue, 2008-02-12 at 00:32 +0200, Pekka J Enberg wrote: From: Pekka Enberg [EMAIL PROTECTED] UML has some header magic that expects a non-inline __kmalloc() function to be available. Fixes the following link time errors: arch/um/drivers/built-in.o: In function `kmalloc':

Re: [PATCH] x86 (Linux Tiny): configure out support for some processors

2008-02-11 Thread Matt Mackall
On Mon, 2008-02-11 at 16:54 -0800, H. Peter Anvin wrote: Matt Mackall wrote: On Mon, 2008-02-11 at 15:01 -0800, H. Peter Anvin wrote: Matt Mackall wrote: Best would be to have no ifdefs and do it all with linker magic, of course. But that's trickier. I concur with this, definitely

Re: [PATCH] x86 (Linux Tiny): configure out support for some processors

2008-02-11 Thread Matt Mackall
On Mon, 2008-02-11 at 15:01 -0800, H. Peter Anvin wrote: Matt Mackall wrote: Best would be to have no ifdefs and do it all with linker magic, of course. But that's trickier. I concur with this, definitely. Ok, so let's come up with a plan. We can: a) use weak symbols, ala

Re: [PATCH] x86 (Linux Tiny): configure out support for some processors

2008-02-08 Thread Matt Mackall
On Fri, 2008-02-08 at 23:47 +0100, Michael Opdenacker wrote: > This patch against x86/mm tries to revive an original patch > from Matt Mackall which didn't get merged at that time. It makes > it possible to disable support code for some processors. This can > be useful to support on

Re: [PATCH] stub out is_swap_pte for !MMU

2008-02-08 Thread Matt Mackall
On Fri, 2008-02-08 at 14:05 -0800, Andrew Morton wrote: > On Fri, 08 Feb 2008 15:41:42 -0600 > Matt Mackall <[EMAIL PROTECTED]> wrote: > > > Fix compile error on nommu for is_swap_pte > > > > Does it ever make sense to ask "is this pte a swap entry?&quo

Re: [PATCH] stub out is_swap_pte for !MMU

2008-02-08 Thread Matt Mackall
On Fri, 2008-02-08 at 16:25 -0500, Mike Frysinger wrote: > On Friday 08 February 2008, Matt Mackall wrote: > > On Fri, 2008-02-08 at 15:02 -0500, Mike Frysinger wrote: > > > With commit 698dd4ba6b12e34e1e432c944c01478c0b2cd773, swap_pte() was > > > moved into view of

Re: [PATCH] stub out is_swap_pte for !MMU

2008-02-08 Thread Matt Mackall
On Fri, 2008-02-08 at 15:02 -0500, Mike Frysinger wrote: > With commit 698dd4ba6b12e34e1e432c944c01478c0b2cd773, swap_pte() was moved > into view of both MMU and !MMU, but uses functions only provided by MMU. > Here we stub out the function for !MMU ports. I'm not sure if this is right compared

Re: [PATCH] stub out is_swap_pte for !MMU

2008-02-08 Thread Matt Mackall
On Fri, 2008-02-08 at 15:02 -0500, Mike Frysinger wrote: With commit 698dd4ba6b12e34e1e432c944c01478c0b2cd773, swap_pte() was moved into view of both MMU and !MMU, but uses functions only provided by MMU. Here we stub out the function for !MMU ports. I'm not sure if this is right compared to

Re: [PATCH] stub out is_swap_pte for !MMU

2008-02-08 Thread Matt Mackall
On Fri, 2008-02-08 at 16:25 -0500, Mike Frysinger wrote: On Friday 08 February 2008, Matt Mackall wrote: On Fri, 2008-02-08 at 15:02 -0500, Mike Frysinger wrote: With commit 698dd4ba6b12e34e1e432c944c01478c0b2cd773, swap_pte() was moved into view of both MMU and !MMU, but uses functions

Re: [PATCH] x86 (Linux Tiny): configure out support for some processors

2008-02-08 Thread Matt Mackall
On Fri, 2008-02-08 at 23:47 +0100, Michael Opdenacker wrote: This patch against x86/mm tries to revive an original patch from Matt Mackall which didn't get merged at that time. It makes it possible to disable support code for some processors. This can be useful to support only the exact

Re: blackfin compile error

2008-02-06 Thread Matt Mackall
8: error: > implicit declaration of function 'pte_present' > make[2]: *** [mm/vmscan.o] Error 1 This suggests that no one's tried to compile -mm on Blackfin since before September, I think. Is there somewhere more appropriate to move it? I can't find one. Failing that, we can wrap it in

Re: blackfin compile error

2008-02-06 Thread Matt Mackall
' make[2]: *** [mm/vmscan.o] Error 1 This suggests that no one's tried to compile -mm on Blackfin since before September, I think. Is there somewhere more appropriate to move it? I can't find one. Failing that, we can wrap it in CONFIG_MMU, I suppose. Signed-off-by: Matt Mackall [EMAIL PROTECTED

Re: [2.6.24-mm1] TCP/IPv6 connect() oopses at twothirdsMD4Transform()

2008-02-04 Thread Matt Mackall
> err, Matt? random: revert braindamage that snuck into checkpatch cleanup Signed-off-by: Matt Mackall <[EMAIL PROTECTED]> diff -r 50a6e531a9f2 drivers/char/random.c --- a/drivers/char/random.c Mon Feb 04 20:23:02 2008 -0600 +++ b/drivers/char/random.c Mon Feb 04 20:28:08 2008 -

Re: Integration of SCST in the mainstream Linux kernel

2008-02-04 Thread Matt Mackall
On Mon, 2008-02-04 at 16:24 -0800, Linus Torvalds wrote: > > On Mon, 4 Feb 2008, Matt Mackall wrote: > > > > But ATAoE is boring because it's not IP. Which means no routing, > > firewalls, tunnels, congestion control, etc. > > The thing is, that's often an advan

Re: Integration of SCST in the mainstream Linux kernel

2008-02-04 Thread Matt Mackall
On Mon, 2008-02-04 at 22:43 +, Alan Cox wrote: > > better. So for example, I personally suspect that ATA-over-ethernet is way > > better than some crazy SCSI-over-TCP crap, but I'm biased for simple and > > low-level, and against those crazy SCSI people to begin with. > > Current ATAoE

Re: Integration of SCST in the mainstream Linux kernel

2008-02-04 Thread Matt Mackall
On Mon, 2008-02-04 at 22:43 +, Alan Cox wrote: better. So for example, I personally suspect that ATA-over-ethernet is way better than some crazy SCSI-over-TCP crap, but I'm biased for simple and low-level, and against those crazy SCSI people to begin with. Current ATAoE isn't. It

Re: Integration of SCST in the mainstream Linux kernel

2008-02-04 Thread Matt Mackall
On Mon, 2008-02-04 at 16:24 -0800, Linus Torvalds wrote: On Mon, 4 Feb 2008, Matt Mackall wrote: But ATAoE is boring because it's not IP. Which means no routing, firewalls, tunnels, congestion control, etc. The thing is, that's often an advantage. Not just for performance. NBD

Re: [2.6.24-mm1] TCP/IPv6 connect() oopses at twothirdsMD4Transform()

2008-02-04 Thread Matt Mackall
into checkpatch cleanup Signed-off-by: Matt Mackall [EMAIL PROTECTED] diff -r 50a6e531a9f2 drivers/char/random.c --- a/drivers/char/random.c Mon Feb 04 20:23:02 2008 -0600 +++ b/drivers/char/random.c Mon Feb 04 20:28:08 2008 -0600 @@ -1306,7 +1306,7 @@ * Rotation is separate from addition

Re: [2.6 patch] unexport add_disk_randomness

2008-01-30 Thread Matt Mackall
On Wed, 2008-01-30 at 22:02 +0200, Adrian Bunk wrote: > This patch removes the no longer used EXPORT_SYMBOL(add_disk_randomness). > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Acked-by: Matt Mackall <[EMAIL PROTECTED]> > --- > f1a195a30248eae541ba006633a

Re: [PATCH] Improve Documentation/stable_api_nonsense.txt

2008-01-30 Thread Matt Mackall
On Tue, 2008-01-29 at 16:14 +0200, Heikki Orsila wrote: > > > Imo, > > > "same exact C compiler" is just bad language, because C compilers are > > > always "exact". "exactly same C compiler" would do. > > > > No, "exactly same C compiler" doesn't parse well in English. > > "Same exact C

Re: [PATCH] mm: MADV_WILLNEED implementation for anonymous memory

2008-01-30 Thread Matt Mackall
On Wed, 2008-01-30 at 18:28 +0100, Peter Zijlstra wrote: > Subject: mm: MADV_WILLNEED implementation for anonymous memory > > Implement MADV_WILLNEED for anonymous pages by walking the page tables and > starting asynchonous swap cache reads for all encountered swap pages. > > Doing so required

Re: [PATCH] mm: MADV_WILLNEED implementation for anonymous memory

2008-01-30 Thread Matt Mackall
On Wed, 2008-01-30 at 18:28 +0100, Peter Zijlstra wrote: Subject: mm: MADV_WILLNEED implementation for anonymous memory Implement MADV_WILLNEED for anonymous pages by walking the page tables and starting asynchonous swap cache reads for all encountered swap pages. Doing so required a

Re: [PATCH] Improve Documentation/stable_api_nonsense.txt

2008-01-30 Thread Matt Mackall
On Tue, 2008-01-29 at 16:14 +0200, Heikki Orsila wrote: Imo, same exact C compiler is just bad language, because C compilers are always exact. exactly same C compiler would do. No, exactly same C compiler doesn't parse well in English. Same exact C compiler does not mean what

Re: [2.6 patch] unexport add_disk_randomness

2008-01-30 Thread Matt Mackall
On Wed, 2008-01-30 at 22:02 +0200, Adrian Bunk wrote: This patch removes the no longer used EXPORT_SYMBOL(add_disk_randomness). Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Acked-by: Matt Mackall [EMAIL PROTECTED] --- f1a195a30248eae541ba006633aa70385d1eb785 diff --git a/drivers/char

Re: [PATCH UPDATE] x86: ignore spurious faults

2008-01-24 Thread Matt Mackall
On Wed, 2008-01-23 at 16:28 -0800, Jeremy Fitzhardinge wrote: > When changing a kernel page from RO->RW, it's OK to leave stale TLB > entries around, since doing a global flush is expensive and they pose > no security problem. They can, however, generate a spurious fault, > which we should catch

Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys_msync()

2008-01-24 Thread Matt Mackall
On Thu, 2008-01-24 at 12:36 +1100, Nick Piggin wrote: > On Thursday 24 January 2008 04:05, Linus Torvalds wrote: > > On Wed, 23 Jan 2008, Anton Salikhmetov wrote: > > > + > > > + if (pte_dirty(*pte) && pte_write(*pte)) { > > > > Not correct. > > > > You still need to check "pte_present()"

Re: Rescheduling interrupts

2008-01-23 Thread Matt Mackall
On Wed, 2008-01-23 at 09:53 +0100, Andi Kleen wrote: > Ingo Molnar <[EMAIL PROTECTED]> writes: > > > that would probably be the case if it's multiple sockets - but for > > multiple cores exactly the opposite is true: the sooner _both_ cores > > finish processing, the deeper power use the CPU

Re: Rescheduling interrupts

2008-01-23 Thread Matt Mackall
On Wed, 2008-01-23 at 09:53 +0100, Andi Kleen wrote: Ingo Molnar [EMAIL PROTECTED] writes: that would probably be the case if it's multiple sockets - but for multiple cores exactly the opposite is true: the sooner _both_ cores finish processing, the deeper power use the CPU can reach.

Re: [PATCH rc8-mm1] hotfix libata-scsi corruption

2008-01-22 Thread Matt Mackall
On Tue, 2008-01-22 at 22:59 +, Hugh Dickins wrote: > On Tue, 22 Jan 2008, James Bottomley wrote: > > > > libsas looks to be OK because it specifically kmallocs a 512 byte buffer > > which should (for off slab data) be 512 byte aligned. > > I don't remember the various SLAB and SLOB and SLUB

Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c?compiling

2008-01-22 Thread Matt Mackall
On Tue, 2008-01-22 at 19:58 +0100, Sam Ravnborg wrote: > On Tue, Jan 22, 2008 at 10:37:19AM -0600, Matt Mackall wrote: > > > > On Tue, 2008-01-22 at 15:39 +0100, Ingo Molnar wrote: > > > threadinfo-ool.patch: doesnt this break the scheduler? > > > > It

Re: Rescheduling interrupts

2008-01-22 Thread Matt Mackall
On Tue, 2008-01-22 at 17:05 +0100, Ingo Molnar wrote: > * S.Çağlar Onur <[EMAIL PROTECTED]> wrote: > > > > My theory is that for whatever reason we get "repeat" IPIs: multiple > > > reschedule IPIs although the other CPU only initiated one. > > > > Ok, please see

Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c?compiling

2008-01-22 Thread Matt Mackall
On Tue, 2008-01-22 at 15:39 +0100, Ingo Molnar wrote: > threadinfo-ool.patch: doesnt this break the scheduler? It didn't when I wrote it, 3+ years ago. But I'm sure it needs to be revisited. > tiny-cflags.patch: obsolete? Isnt CFLAGS already extendable? Question to > Sam i guess. Yup. --

Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c?compiling

2008-01-22 Thread Matt Mackall
On Tue, 2008-01-22 at 15:39 +0100, Ingo Molnar wrote: threadinfo-ool.patch: doesnt this break the scheduler? It didn't when I wrote it, 3+ years ago. But I'm sure it needs to be revisited. tiny-cflags.patch: obsolete? Isnt CFLAGS already extendable? Question to Sam i guess. Yup. --

Re: Rescheduling interrupts

2008-01-22 Thread Matt Mackall
On Tue, 2008-01-22 at 17:05 +0100, Ingo Molnar wrote: * S.Çağlar Onur [EMAIL PROTECTED] wrote: My theory is that for whatever reason we get repeat IPIs: multiple reschedule IPIs although the other CPU only initiated one. Ok, please see

Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c?compiling

2008-01-22 Thread Matt Mackall
On Tue, 2008-01-22 at 19:58 +0100, Sam Ravnborg wrote: On Tue, Jan 22, 2008 at 10:37:19AM -0600, Matt Mackall wrote: On Tue, 2008-01-22 at 15:39 +0100, Ingo Molnar wrote: threadinfo-ool.patch: doesnt this break the scheduler? It didn't when I wrote it, 3+ years ago. But I'm sure

Re: [PATCH rc8-mm1] hotfix libata-scsi corruption

2008-01-22 Thread Matt Mackall
On Tue, 2008-01-22 at 22:59 +, Hugh Dickins wrote: On Tue, 22 Jan 2008, James Bottomley wrote: libsas looks to be OK because it specifically kmallocs a 512 byte buffer which should (for off slab data) be 512 byte aligned. I don't remember the various SLAB and SLOB and SLUB rules

Re: [PATCHSET] printk: implement printk_header() and merging printk

2008-01-21 Thread Matt Mackall
On Tue, 2008-01-22 at 10:00 +0900, Tejun Heo wrote: > Matt Mackall wrote: > > I suppose. I still find this approach less than ideal, especially > > putting something potentially large on the stack. The dangers are > > perhaps worse than a malloc, really. > &g

Re: [PATCHSET] printk: implement printk_header() and merging printk

2008-01-21 Thread Matt Mackall
On Sat, 2008-01-19 at 07:58 +0900, Tejun Heo wrote: > Matt Mackall wrote: > > On Wed, 2008-01-16 at 10:00 +0900, Tejun Heo wrote: > >> And mprintk the following. > >> > >> code: > >> DEFINE_MPRINTK(mp, 2 * 80); > >> >

Re: [PATCH] random - add async I/O support

2008-01-21 Thread Matt Mackall
On Mon, 2008-01-21 at 13:18 -0500, Jeff Dike wrote: > Add async notification support to /dev/random. This conflicts just about everywhere with my latest code, but I'll fix that up. -- Mathematics is the supreme nostalgia of our time. -- To unsubscribe from this list: send the line

Re: [PATCH] random - add async I/O support

2008-01-21 Thread Matt Mackall
On Mon, 2008-01-21 at 13:18 -0500, Jeff Dike wrote: Add async notification support to /dev/random. This conflicts just about everywhere with my latest code, but I'll fix that up. -- Mathematics is the supreme nostalgia of our time. -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCHSET] printk: implement printk_header() and merging printk

2008-01-21 Thread Matt Mackall
On Sat, 2008-01-19 at 07:58 +0900, Tejun Heo wrote: Matt Mackall wrote: On Wed, 2008-01-16 at 10:00 +0900, Tejun Heo wrote: And mprintk the following. code: DEFINE_MPRINTK(mp, 2 * 80); mprintk_set_header(mp, KERN_INFO ata%u.%2u: , 1, 0); mprintk_push(mp, ATA %d, 7

Re: [PATCHSET] printk: implement printk_header() and merging printk

2008-01-21 Thread Matt Mackall
On Tue, 2008-01-22 at 10:00 +0900, Tejun Heo wrote: Matt Mackall wrote: I suppose. I still find this approach less than ideal, especially putting something potentially large on the stack. The dangers are perhaps worse than a malloc, really. I pondered on this a bit but the thing is we

Re: PROBLEM: Celeron Core

2008-01-20 Thread Matt Mackall
On Sun, 2008-01-20 at 12:24 -0600, Robert Hancock wrote: > David Newall wrote: > > Andi Kleen wrote: > >>> Isn't it the case that an idle machine will use > >>> less power when throttled than when not? > >>> > >> No that is not the case (not even on old CPUs) > >> > > Then why would it

Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c?compiling

2008-01-20 Thread Matt Mackall
On Sat, 2008-01-19 at 22:59 -0600, Rob Landley wrote: > On Friday 18 January 2008 11:10:19 Matt Mackall wrote: > > > * Disable support for readahead, page writeback, pdflush and swap > > > when we have no storage at all (typically booting from an > > >

Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c?compiling

2008-01-20 Thread Matt Mackall
On Sat, 2008-01-19 at 22:59 -0600, Rob Landley wrote: On Friday 18 January 2008 11:10:19 Matt Mackall wrote: * Disable support for readahead, page writeback, pdflush and swap when we have no storage at all (typically booting from an initramfs). This corresponds to 69 KB

Re: PROBLEM: Celeron Core

2008-01-20 Thread Matt Mackall
On Sun, 2008-01-20 at 12:24 -0600, Robert Hancock wrote: David Newall wrote: Andi Kleen wrote: Isn't it the case that an idle machine will use less power when throttled than when not? No that is not the case (not even on old CPUs) Then why would it run cooler? What

Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapped files

2008-01-19 Thread Matt Mackall
On Sat, 2008-01-19 at 11:22 +0100, Miklos Szeredi wrote: > > Reminds me, I've got a patch here for addressing that problem with loop > > mounts: > > > > Writes to loop should update the mtime of the underlying file. > > > > Signed-off-by: Matt Mackall &

Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapped files

2008-01-19 Thread Matt Mackall
On Sat, 2008-01-19 at 11:22 +0100, Miklos Szeredi wrote: Reminds me, I've got a patch here for addressing that problem with loop mounts: Writes to loop should update the mtime of the underlying file. Signed-off-by: Matt Mackall [EMAIL PROTECTED] Index: l/drivers/block/loop.c

Re: PROBLEM: Celeron Core

2008-01-18 Thread Matt Mackall
On Sat, 2008-01-19 at 05:27 +0100, Andi Kleen wrote: > > So while throttling may be less efficient in terms of watt seconds used > > to compile something than running at full speed, it is incorrect to say > > it uses less power. One machine running for an hour throttled to 50% > > uses less power

Re: PROBLEM: Celeron Core

2008-01-18 Thread Matt Mackall
On Sat, 2008-01-19 at 02:15 +0100, Andi Kleen wrote: > On Fri, Jan 18, 2008 at 06:27:57PM -0600, Matt Mackall wrote: > > > > On Fri, 2008-01-18 at 22:11 +0100, Andi Kleen wrote: > > > Chodorenko Michail <[EMAIL PROTECTED]> writes: > > > > > > >

Re: [PATCH -v6 2/2] Updating ctime and mtime for memory-mapped files

2008-01-18 Thread Matt Mackall
unts: Writes to loop should update the mtime of the underlying file. Signed-off-by: Matt Mackall <[EMAIL PROTECTED]> Index: l/drivers/block/loop.c === --- l.orig/drivers/block/loop.c 2007-11-05 17:50:07.0 -0600 +++ l/dr

Re: PROBLEM: Celeron Core

2008-01-18 Thread Matt Mackall
On Fri, 2008-01-18 at 22:11 +0100, Andi Kleen wrote: > Chodorenko Michail <[EMAIL PROTECTED]> writes: > > > I have a laptop "Extensa 5220", with the processor Celeron based on 'core' > > technology. > > There is ~ / arch/i386/kernel/cpu/cpufreq/p4-clockmod.c in the kernel > > source code > > but

Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c?compiling

2008-01-18 Thread Matt Mackall
On Fri, 2008-01-18 at 22:09 +0100, Ingo Molnar wrote: > * Matt Mackall <[EMAIL PROTECTED]> wrote: > > > > Sounds fine! Don't hesitate to let us know about the lower-hanging > > > fruit you're thinking about. Here are the main things I have so far: > > >

  1   2   3   4   5   6   7   8   9   10   >