linux-kernel mailing list

FromSubjectsort iconDate
Tarkan Erimer
(No subject)
subscribe linux-kernel --
Sep 8, 7:48 am 2008
Steven Noonan
[PATCH] x86: fix HPET compiler error when not using CONFIG_P...
Added dummy function for hpet_setup_msi_irq(). Signed-off-by: Steven Noonan <steven@uplinklabs.net> --- arch/x86/kernel/hpet.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/hpet.c b/arch/x86/kernel/hpet.c index 01005ae..422c577 100644 --- a/arch/x86/kernel/hpet.c +++ b/arch/x86/kernel/hpet.c @@ -635,6 +635,10 @@ static int hpet_cpuhp_notify(struct notifier_block *n, } #else +static int hpet_setup_msi_irq(unsigned int irq) +{ + return...
Sep 8, 7:19 pm 2008
Steven Noonan
[PATCH] init/initramfs.c: unused function when compiling wit...
Fixing compiler warning when the kernel isn't compiled with support for RAM block devices enabled. Signed-off-by: Steven Noonan <steven@uplinklabs.net> --- init/initramfs.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/init/initramfs.c b/init/initramfs.c index da8d030..2f056e2 100644 --- a/init/initramfs.c +++ b/init/initramfs.c @@ -512,6 +512,7 @@ skip: initrd_end = 0; } +#ifdef CONFIG_BLK_DEV_RAM #define BUF_SIZE 1024 static void __init clean_ro...
Sep 8, 7:19 pm 2008
Steven Noonan
[PATCH] x86: unused variable in dma_alloc_coherent_gfp_flags()
Fixed a warning caused by a badly placed ifdef. Signed-off-by: Steven Noonan <steven@uplinklabs.net> --- include/asm-x86/dma-mapping.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/asm-x86/dma-mapping.h b/include/asm-x86/dma-mapping.h index a072ae6..8bb3108 100644 --- a/include/asm-x86/dma-mapping.h +++ b/include/asm-x86/dma-mapping.h @@ -255,9 +255,9 @@ static inline unsigned long dma_alloc_coherent_mask(struct device *dev, static inline gfp_t dma...
Sep 8, 7:19 pm 2008
Alain Knaff
[update2] [PATCH] init: bzip2 or lzma -compressed kernels an...
From: Alain Knaff <alain@knaff.lu> This is an updated version of my bzip2/lzma patch It is based on an idea by Christian Ludwig, includes support for compressing the kernel with bzip2 or lzma rather than gzip. Both compressors give smaller sizes than gzip. Lzma's decompresses faster than bzip2. It also supports ramdisks and initramfs' compressed using these two compressors. The functionality has been successfully used for a couple of years by the udpcast project This version appli...
Sep 8, 6:50 pm 2008
Alain Knaff
[update] [PATCH] init: bzip2 or lzma -compressed kernels and...
From: Alain Knaff <alain@knaff.lu> This is an updated version of my bzip2/lzma patch It is based on an idea by Christian Ludwig, includes support for compressing the kernel with bzip2 or lzma rather than gzip. Both compressors give smaller sizes than gzip. Lzma's decompresses faster than bzip2. It also supports ramdisks and initramfs' compressed using these two compressors. The functionality has been successfully used for a couple of years by the udpcast project This version appli...
Sep 8, 6:33 pm 2008
H. Peter Anvin
Re: [update] [PATCH] init: bzip2 or lzma -compressed kernels...
These particular #ifdefs really have to go, one way or another. -hpa --
Sep 8, 6:38 pm 2008
Mark Hounschell
Scsi Disk - Removable media problems
I have 2 IOMEGA BETA90 scsi drives connected to an Adaptec pci 2930c scsi adapter. I use these drives in their raw form vi the SG interface. I cannot boot successfully with these drives connected and no media installed (2.6.24.3). After the machine finally boots up, "lsscsi" does not even show them. I'm booting off Sata drives and the scsi controller is NOT in the initrd. When the media is installed all is good BTW. I tried "options scsi_mod dev_flags=IOMEGA:BETA90:0x1000" in my modprobe.conf ...
Sep 8, 6:12 pm 2008
Uwe
[PATCHSCRIPT] MAINTAINERS: sort and merge P and M fields
Hello Linus, some time ago I sent two patch scripts to LKML that changed the MAINTAINERS file. One fixed the alphabetic ordering and another merged the P and M fields to ease copy'n'paste. See http://thread.gmane.org/gmane.linux.kernel/702194 for the details. I still like both changes, but I think it's not sensible to send you the resulting patches because MAINTAINERS changes frequently. If you like these two changes, too, I would be happy if you run the attached script in your working c...
Sep 8, 6:11 pm 2008
Randy Dunlap
Re: [PATCHSCRIPT] MAINTAINERS: sort and merge P and M fields
I like it. Thanks. --- ~Randy Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA http://linuxplumbersconf.org/ --
Sep 8, 6:19 pm 2008
David Miller
[GIT]: Networking
1) nf_conntrack_sip has a local variable marked static unintentionally, for a function callable in parallel by multiple threads this is very bad. Fix from Alexey Dobriyan. 2) GRE conntrack module's keymap list has bad locking leading to OOPS. Fix by Alexey Dobriyan. 3) GRE conntrack module kfree()'s list head member of structure instead of structure itself, yikes... Fixed by Alexey Dobriyan. 4) Potential remote exploit issue, IRC conntrack module blindly parses strings in pr...
Sep 8, 5:32 pm 2008
David Miller
[GIT]: Sparc
Two SMP fixes for sparc64: 1) Conversion to generic SMP call function helpers didn't update the locking. The sparc64 code was still using it's local "call lock" in it's cpu hotplug code, yet that isn't used for smp_call_function() et al. any longer. Fix to use the locking interface exposed by the generic code. 2) Bug fix from Paul McKenney so that the online cpu map is cleared at the correct moment during cpu hotplug. Otherwise an offline CPU can receive an interrupt and l...
Sep 8, 4:59 pm 2008
Frank Mayhar
[PATCH 2.6.27-rc5] Fix itimer/many thread hang.
Overview This patch reworks the handling of POSIX CPU timers, including the ITIMER_PROF, ITIMER_VIRT timers and rlimit handling. It was put together with the help of Roland McGrath, the owner and original writer of this code. The problem we ran into, and the reason for this rework, has to do with using a profiling timer in a process with a large number of threads. It appears that the performance of the old implementation of run_posix_cpu_timers() was at least O(n*3) (where "n" is the number of ...
Sep 8, 4:44 pm 2008
Ingo Molnar
[git pull] scheduler fixes
Linus, Please pull the latest sched-fixes-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git sched-fixes-for-linus These are cpusets related cpu hotplug race fixes that have been tested to fix crashes and behavioral regressions that were reported. Thanks, Ingo ------------------> Max Krasnyansky (2): sched, cpuset: rework sched domains and CPU hotplug handling (v4) sched: arch_reinit_sched_domains() must destroy domains to f...
Sep 8, 4:06 pm 2008
Hugh Dickins
[PATCH tip] x86: unsigned long pte_pfn
pte_pfn() has always been of type unsigned long, even on 32-bit PAE; but in the current tip/next/mm tree it's unsigned long long on 64-bit, which gives an irritating warning if you try to printk a pfn with the usual %lx. Copy the inline function used by 32-bit's pgtable-3level.h. Signed-off-by: Hugh Dickins <hugh@veritas.com> --- include/asm-x86/pgtable_64.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- 2.6.27-rc5-mm1/include/asm-x86/pgtable_64.h 2008-09-05 10:08:04...
Sep 8, 4:04 pm 2008
Jeremy Fitzhardinge
Re: [PATCH tip] x86: unsigned long pte_pfn
That looks OK, but rather than copying it, why not move the definition into pgtable.h? Isn't it identical for all pagetable modes? --
Sep 8, 4:23 pm 2008
Jeff Garzik
[git patches] libata fixes, new ids
Main thing is Alan's commit, rightly taking me to task, and cleaning up the mess in the Marvell dual-mode controller (legacy or AHCI) case. Plus some new ids and fixes from Tejun (see commits for more info). Please pull from 'upstream-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev.git upstream-linus to receive the following updates: drivers/ata/Kconfig | 6 +++- drivers/ata/ahci.c | 21 +++++++++++++++++- drivers/ata/libata-sff.c | ...
Sep 8, 3:50 pm 2008
H. Peter Anvin
[git pull] x86 fixes
Linus, Please pull the latest x86-fixes-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git x86-fixes-for-linus Thanks, -hpa ------------------> H. Peter Anvin (1): x86: prevent binutils from being "smart" and generating NOPLs for us Jeremy Fitzhardinge (1): xen: fix 2.6.27-rc5 xen balloon driver warnings Linus Torvalds (1): x86: disable static NOPLs on 32 bits arch/x86/Kconfig.cpu | 13 ++++++++----- ar...
Sep 8, 3:32 pm 2008
David Sanders
Re: [git pull] x86 fixes
Peter, I'm getting this error: as: unrecognized option `-mtune=generic32' I have binutils 2.17. David --
Sep 8, 4:34 pm 2008
H. Peter Anvin
Re: [git pull] x86 fixes
Does this patch fix that for you? -hpa
Sep 8, 5:43 pm 2008
David Sanders
Re: [git pull] x86 fixes
Yes, thanks. --
Sep 8, 6:16 pm 2008
H. Peter Anvin
Re: [git pull] x86 fixes
Oh bloody hell... cc-option = $(call try-run,\ $(CC) $(KBUILD_CFLAGS) $(1) -S -xc /dev/null -o "$$TMP",$(1),$(2)) Note the -S. Useless for anything related to the assembler. /me wimpers... -hpa --
Sep 8, 5:20 pm 2008
H. Peter Anvin
Re: [git pull] x86 fixes
Sam: Is there a reason cc-option and friends use -S instead of -c? -hpa --
Sep 8, 5:22 pm 2008
Peter Zijlstra
Re: 2.6.27-rc5 OLTP performance regression
Because the .26 group scheduler wasn't SMP aware. The extra cost comes from the fact that .27 is. --
Sep 8, 2:00 pm 2008
Peter Zijlstra
Re: 2.6.27-rc5 OLTP performance regression
What you can do it increase the /proc/sys/kernel/sched_shares_ratelimit value and thereby decrease the accuracy of the SMP fairness of the group scheduler. --
Sep 8, 2:04 pm 2008
H. Peter Anvin
[git pull] x86 fixes
Linus, Please pull the latest x86-fixes-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git x86-fixes-for-linus Thanks, -hpa ------------------> H. Peter Anvin (1): x86: enable CONFIG_X86_GENERIC by default arch/x86/Kconfig.cpu | 19 ++++++++++--------- 1 files changed, 10 insertions(+), 9 deletions(-) diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu index 2c518fb..46d0acf 100644 --- a/arch/x86/Kconfig.cpu +++ b/a...
Sep 8, 1:52 pm 2008
Linus Torvalds
Re: [git pull] x86 fixes
Ok, so after having realized that this seems to be more about a bug with gcc, I'm really not as convinced any more. As far as I can tell, there are three issues: - "-mtune=core/core2/pentium4/.." is buggy in some gas/gcc versions on x86-32, and makes architectural choices. Any actual _released_ versions? Maybe it's just a current SVN issue? Workaround: don't use it. And yes, X86_GENERIC=y will do that, although quite frankly that seems to be dubious in itself. But quite ...
Sep 8, 2:04 pm 2008
H. Peter Anvin
Re: [git pull] x86 fixes
As far as I can tell, -Wa,-mtune=generic *should* work. It doesn't look to me as if cc1 will generate the long NOPs. That one we can do Well, the argument in favour would be that if you want a kernel that can cross between different microarchitectures, then you want the "don't suck horribly on any of them". We can, of course, divide them down further, but is it useful? The "ideal" way to do any of this would probably to have checkboxes for all the CPUs you want to support and then a ...
Sep 8, 2:22 pm 2008
Arjan van de Ven
Re: [git pull] x86 fixes
On Mon, 08 Sep 2008 11:22:24 -0700 the ideal case would be "support them all" the second-most ideal case would be "support all as of <year>" I suppose a third one for advanced users not distros would be "support only <vendor>" since that would be the biggest part of code to drop between models of the same vendor.. not too much to win there. -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit h...
Sep 8, 2:46 pm 2008
Andi Kleen
Re: [git pull] x86 fixes
Support all from the last 10 years (ok excluding legacy models that just shipped forever like 486). I think that's quite reasonable to do and worked for a long time. -Andi -- ak@linux.intel.com --
Sep 8, 6:43 pm 2008
H. Peter Anvin
Re: [git pull] x86 fixes
Not really. That would include things like the i386, which is a bunch of really nasty stuff. -hpa --
Sep 8, 2:51 pm 2008
Ingo Molnar
Re: [git pull] x86 fixes
agreed - especially the verify_area() impact makes it a non-starter. but 486 and higher is certainly quite reasonable, and is still being tested. ... and _in practice_ 99% of all systems that run Linux today understand CMOV. ... _and_ in practice 99% of all new Linux systems shipped today are Core2 or better. ... and so on it goes with this argument. Everyone has a different target audience and there's no firm limit. Maybe what makes more sense is to have some sort of time dependen...
Sep 8, 3:02 pm 2008
Valdis.Kletnieks
Re: [git pull] x86 fixes
That's just *asking* for flame mail if somebody builds a kernel for a system that's 4 year 9 months old, and he builds a kernel 6 months later, and it fails to boot because the CPU is now 3 months out and we've deprecated it... Quick - what year/month was the CPU you're using now released? No peeking. ;) (For the record, I have no *clue* when Intel actually released the Core2 T7200, which is a whole *nother* can of worms - the chip release date can be quite some time before the system vendor sh...
Sep 8, 4:25 pm 2008
Linus Torvalds
Re: [git pull] x86 fixes
cmov, cmpxchg and xadd are the noticeable things. I think there are realistically three classes: - _really_ old, to the point of being totally useless for SMP. This is really just 386 and clones. We _need_ a working WP for a race-free access_ok(), and we need cmpxchg (and lately xadd). SMP cannot really realistically work reasonably (ys, there were SMP machines. No, they don't matter), and you'd have to be insane to care about this as a vendor even on UP. Probably nob...
Sep 8, 3:30 pm 2008
Krzysztof Halasa
Re: [git pull] x86 fixes
VIA C3 (Samuel 2/Ezra, 600 - 1000 MHz?, common on VIA EPIA-*: home theatres etc) can't CMOV. -- Krzysztof Halasa --
Sep 8, 7:17 pm 2008
Arjan van de Ven
Re: [git pull] x86 fixes
On Tue, 09 Sep 2008 01:17:19 +0200 so your cpu does not fall into this bucket...... no big deal. -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Sep 8, 2:42 pm 2008
Arjan van de Ven
Re: [git pull] x86 fixes
On Mon, 8 Sep 2008 12:30:02 -0700 (PDT) I'd lump all cpus that don't have cpuid in this bucket too (eg half the 486es) simply because not having cpuid is painful in pretty much the again makes sense; question is if it makes sense to take PSE and PAE it does to me; the only question is if we hit a new bucket with the various fancy string instructions that are in upcoming models; doing string/copy operations inlined for those guys will make a fourth bucket. -- If you want to reach me at m...
Sep 8, 3:55 pm 2008
H. Peter Anvin
Re: [git pull] x86 fixes
Not really. Detecting CPUID is pretty trivial, and we just initialize Well, PAE implies PSE. Unfortunately Intel released a series of Pentium-Ms without PAE support. We *should* be able to take PSE for granted, but there is Xen damage. -hpa --
Sep 8, 4:14 pm 2008
Linus Torvalds
Re: [git pull] x86 fixes
Hmm. The only other thing seems to be X86_INTEL_USERCOPY. Which doesn't seem to be something we want to force either. And I have to say, that whole X86_GENERIC -> L1_CACHE_BYTES=128 -> cache_line_size() -> SLAB/SLUB/SLOB alignment worries me too. Looking at that, I really don't feel like I want to force 128-byte alignment on everybody, just because the P4 was a pig in cacheline size. So NOPL really stands out as being different from the other things that X86_GENERIC does. ...
Sep 8, 2:17 pm 2008
Andi Kleen
Re: [git pull] x86 fixes
SLAB/SLUB should actually auto detect the cache line at runtime. Similar feeling here. -Andi -- ak@linux.intel.com --
Sep 8, 6:42 pm 2008
Greg KH
Linux 2.6.26.5
We (the -stable team) are announcing the release of the 2.6.26.5 kernel. It fixes the build error introduced in 2.6.26.4 due to me applying a stale patch to the tree. Thanks to David Miller for providing the correct patch and Randy Dunlap for pointing out my error. I'll also be replying to this message with a copy of the patch between 2.6.26.4 and 2.6.26.5 The updated 2.6.26.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.26.y.git and can be...
Sep 8, 1:46 pm 2008
Greg KH
Re: Linux 2.6.26.5
diff --git a/Makefile b/Makefile index 63c96c6..56fb747 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 26 -EXTRAVERSION = .4 +EXTRAVERSION = .5 NAME = Rotary Wombat # *DOCUMENTATION* diff --git a/include/linux/mroute.h b/include/linux/mroute.h index 35a8277..5e30ac3 100644 --- a/include/linux/mroute.h +++ b/include/linux/mroute.h @@ -2,7 +2,10 @@ #define __LINUX_MROUTE_H #include <linux/sockios.h> +#include <linux/types.h...
Sep 8, 1:46 pm 2008
Randy Dunlap
[PATCH bz #11425] tpm: release memory on init failure
From: Randy Dunlap <randy.dunlap@oracle.com> For kernel bugzilla #11425: http://bugzilla.kernel.org/show_bug.cgi?id=11425 Release memory on init failure. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Reported-by: Daniel Marjamäki <danielm77@spray.se> cc: tpmdd-devel@lists.sourceforge.net --- drivers/char/tpm/tpm.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) --- linux-next-20080905.orig/drivers/char/tpm/tpm.c +++ linux-next-20080...
Sep 8, 1:45 pm 2008
Christoph Hellwig
adaptive mutexes, was Re: btrfs_tree_lock & trylock
Well, the traditional wisdom in kernel land is that you want a spinlock if the contention phases are short. But we grow more an more places where we might do sleep under the lock. One optimization would be to spin, but only if the mutex holder is not sleeping. Or we make the spinning a completely different API, mutex_lock_adaptive() --
Sep 8, 1:16 pm 2008
Paul E. McKenney
Re: [PATCH] kernel/cpu.c: create a CPU_STARTING cpu_chain no...
Very cool!!! I will see if using this and your earlier patch allows me to dump my code that checks cpu_online_map. --
Sep 8, 2:50 pm 2008
Ingo Molnar
Re: [PATCH] kernel/cpu.c: create a CPU_STARTING cpu_chain no...
applied to tip/sched/cpu-hotplug - thanks Manfred, nice cleanup. (FYI, i fixed up the 3 problems that checkpatch reported) David, can you see any problems with the Sparc32 bits? Ingo --
Sep 8, 1:26 pm 2008
Helge Deller
Re: __initdata and struct dmi_system_id? [w/PATCH]
Easiest and cleanest way for the dmi_system_id arrays is probably the attached patch. There are two downsides though: 1. It makes the inital kernel image bigger than needed (even if the memory itself is freed later) 2. We have to make sure, that the string lengths fit into the given array limits (else you get the compiler warning "initializer-string for array of chars is too long") I haven't tested how much memory this really saves. please CC me on replies! ---------- Patch: store D...
Sep 8, 12:46 pm 2008
Chuck Lever
[PATCH] NFS: Restore missing hunk in NFS mount option parser
Automounter maps can contain mount options valid for other NFS implementations but not for Linux. The Linux automounter uses the mount command's "-s" command line option ("s" for "sloppy") so that mount requests containing such options are not rejected. Commit f45663ce5fb30f76a3414ab3ac69f4dd320e760a attempted to address a known regression with text-based NFS mount option parsing. Unrecognized mount options would cause mount requests to fail, even if the "-s" option was used on the mount command ...
Sep 8, 11:58 am 2008
Josef 'Jeff' Sipek
Re: [ANNOUNCE] Guilt v0.31
Ok, I committed v0.31.1. Thanks for noticing! Josef 'Jeff' Sipek. -- The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. - George Bernard Shaw --
Sep 8, 11:58 am 2008
James Bottomley
[PATCH] fix RTC_CLASS regression with PARISC
As of 2.6.26, most distribution kernels for PARISC are coming with the wrong RTC infrastructure enabled, meaning that userland can no longer get at the RTC, so all our parisc clocks are drifting. The fault is this patch: commit c750090085f260503d8beec1c73c4d2e4fe93628 Author: David Brownell <david-b@pacbell.net> Date: Mon Apr 28 02:11:52 2008 -0700 rtc: avoid legacy drivers with generic framework Which makes drivers/rtc take precedence over the generic rtc. However, for parisc ...
Sep 8, 11:53 am 2008
previous daytodaynext day
September 7, 2008September 8, 2008September 9, 2008