linux-kernel mailing list

FromSubjectsort iconDate
Tarkan Erimer
(No subject)
subscribe linux-kernel --
Sep 8, 4:48 am 2008
Steven Noonan
[PATCH] x86: fix HPET compiler error when not using CONF ...
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, 4: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 ...
Sep 8, 4:19 pm 2008
Steven Noonan
[PATCH] init/initramfs.c: unused function when compiling ...
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 ...
Sep 8, 4:19 pm 2008
Alain Knaff
[update2] [PATCH] init: bzip2 or lzma -compressed kernel ...
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 applies ...
Sep 8, 3:50 pm 2008
H. Peter Anvin
Re: [update] [PATCH] init: bzip2 or lzma -compressed ker ...
These particular #ifdefs really have to go, one way or another. -hpa --
Sep 8, 3:38 pm 2008
Alain Knaff
[update] [PATCH] init: bzip2 or lzma -compressed kernels ...
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 applies ...
Sep 8, 3:33 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 ...
Sep 8, 3: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 ...
Sep 8, 3: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, 3: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 ...
Sep 8, 2: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 ...
Sep 8, 1: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 ...
Sep 8, 1: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 ...
Sep 8, 1:06 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, 1:23 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 ...
Sep 8, 1:04 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, 12:50 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, 1:34 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, 2:22 pm 2008
H. Peter Anvin
Re: [git pull] x86 fixes
Does this patch fix that for you? -hpa
Sep 8, 2:43 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 ++++++++----- ...
Sep 8, 12:32 pm 2008
David Sanders Sep 8, 3: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, 2:20 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, 11:00 am 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, 11:04 am 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 ...
Sep 8, 1:25 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 ...
Sep 8, 11:17 am 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 ...
Sep 8, 12:55 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, 11:42 am 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 ...
Sep 8, 11:04 am 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, 3:42 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 ...
Sep 8, 11:46 am 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 ...
Sep 8, 12:02 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, 11:51 am 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, 3:43 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, 1:14 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, 4:17 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 ...
Sep 8, 12:30 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 ...
Sep 8, 11:22 am 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 +++ ...
Sep 8, 10:52 am 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 ...
Sep 8, 10:46 am 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 ...
Sep 8, 10:46 am 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 +++ ...
Sep 8, 10:45 am 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, 10:16 am 2008
Ingo Molnar
Re: [PATCH] kernel/cpu.c: create a CPU_STARTING cpu_chai ...
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, 10:26 am 2008
Paul E. McKenney
Re: [PATCH] kernel/cpu.c: create a CPU_STARTING cpu_chai ...
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, 11:50 am 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: ...
Sep 8, 9:46 am 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 ...
Sep 8, 8: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, 8:58 am 2008
James Bottomley
Re: [PATCH] fix RTC_CLASS regression with PARISC
What is the expectation? If you're expecting all the architectures to migrate over to RTC_CLASS, actually telling linux-arch and saying why its a good idea would have been helpful. All the PDC real time clock calls can do are read and set, nothing else, so it's idealy suited to the GEN_RTC infrastructure ... what's the No, it's a regression. You made it so when you added this # # These legacy RTC drivers just cause too many conflicts with the generic # RTC framework ... let's not even ...
Sep 8, 1:28 pm 2008
David Miller
Re: [PATCH] fix RTC_CLASS regression with PARISC
From: James Bottomley <James.Bottomley@HansenPartnership.com> It's in my sparc next tree: That's not what I do, I use the real RAW chip drivers provided by the RTC layer. That's the way to do this. I think the powerpc folks did the wrong thing and should just register generic platform_device objects in their platform code, and let the RTC layer drive the individual devices in response. All the powerpc folks are doing is providing a dummy shim into the RTC layer using their machine ...
Sep 8, 4:04 pm 2008
David Miller
Re: [PATCH] fix RTC_CLASS regression with PARISC
From: David Brownell <david-b@pacbell.net> My update_persistent_clock() on sparc64 is: int update_persistent_clock(struct timespec now) { struct rtc_device *rtc = rtc_class_open("rtc0"); if (rtc) return rtc_set_mmss(rtc, now.tv_sec); return -1; } and that should handle this NTP shouldn't it? --
Sep 8, 4:44 pm 2008
James Bottomley
Re: [PATCH] fix RTC_CLASS regression with PARISC
But realistically that's all we need. Our RTC is controlled by two calls into firmware: a get and a set; nothing else. We don't have the docs to get at the clock without the firmware calls. James --
Sep 8, 4:23 pm 2008
David Brownell
Re: [PATCH] fix RTC_CLASS regression with PARISC
Easier if those distros just wouldn't select RTC_CLASS then. :) And long term, better to work with RTC_CLASS. Eliminate that crufty asm-parisc/rtc.h file and one more GEN_RTC user; and share more widely-used infrastructure. If I read things right, that would be easy: the PARISC RTC is two firmware calls, ptc_tod_{read,set}(), which would map to RTC class {read,set}_time() methods of about six lines each. The RTC framework can do UIE emulation, if needed. - Dave --
Sep 8, 11:19 am 2008
David Brownell
Re: [PATCH] fix RTC_CLASS regression with PARISC
Preventing them from doing stupid stuff is exactly why we have Kconfig prevent both legacy *AND* framework RTC code from being selected. :) Of course stupidity is infinite, and we didn't know about I'd worry if "the mean time" takes too long. But lacking a Well, previously there was no override ... I think you mean that parisc just completely ignored RTC_CLASS, treating it like junk DNA. - Dave --
Sep 8, 12:13 pm 2008
David Miller
Re: [PATCH] fix RTC_CLASS regression with PARISC
From: James Bottomley <James.Bottomley@HansenPartnership.com> I wrote RTC layer drivers on sparc64 that make the firmware calls in the Niagara system case, exactly like your case. Really, this is the way to do this. Since you're not reading what I implemented, I'll read it for you :-/ See drivers/rtc/rtc-sun4v.c, that's the driver Code in arch/sparc64/kernel/time.c creates and registers the appropriate platform_device object once the correct system type is detected, and then ...
Sep 8, 4:43 pm 2008
David Brownell
Re: [PATCH] fix RTC_CLASS regression with PARISC
Folk have been migrating already. IMO there's no rush ... but similarly, retrograde motion should be discouraged. (Same issue The same benefit always found in sharing infrastructure. Lots of little differences/bugs go away. Infrastructure improvements and bugfixes get leveraged. Dead and crufticious code can vanish. So you affirmed that there was no override, AND that it was previously treated as junk DNA (ignored). So just what were you disagreeing with me about?? I have a hard ...
Sep 8, 2:29 pm 2008
James Bottomley
Re: [PATCH] fix RTC_CLASS regression with PARISC
The fact that the override you put in to disable GEN_RTC is causing a On 2.6.25 the parisc users got a working realtime clock. On 2.6.26 they can find themselves without one using the same .config file. This is the regression. The fix is to disable RTC_CLASS until we have it Kconfig is complex enough that we try not to trip users up by hiding things, especially when it's the wrong thing to hide on this platform. If an option specifically doesn't work or causes harm on a platform, ...
Sep 8, 2:37 pm 2008
David Miller
Re: [PATCH] fix RTC_CLASS regression with PARISC
From: David Brownell <david-b@pacbell.net> I absolutely and positively agree with David here. I just last week converted all of both sparc ports to the generic RTC layer and what a huge burdon has been moved off of my shoulders. The RTC layer is very nice and it even allows writing drivers for very simplistic RTC devices (even ones that cannot be written) with ease. I had two such cases to handle on sparc64. --
Sep 8, 2:35 pm 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 we ...
Sep 8, 8:53 am 2008
James Bottomley
Re: [PATCH] fix RTC_CLASS regression with PARISC
Yes, but think of distro config people rather like users ... if you can prevent them from doing something stupid, it's a good idea. In this case, there's currently no way anyone should ever select RTC_CLASS on OK, I can look at that, but in the mean time could we make the option that causes the damage unselectable? This is technically a regression because before your patch GEN_RTC would override RTC_CLASS, now it's the other way around. James --
Sep 8, 11:39 am 2008
James Bottomley
Re: [PATCH] fix RTC_CLASS regression with PARISC
I'm guessing they're not upstream yet (since I can't find them)? However, if you based them on rtc-ppc.c then yes, I agree, it looks reasonably easy: it's just a matter of converting over the GEN_RTC PDT_TOD helpers. On a related note ... I could do this specifically for parisc, but I could also do a GEN_RTC conversion to PDC_CLASS ... would that be more helpful? James --
Sep 8, 4:00 pm 2008
David Brownell
Re: [PATCH] fix RTC_CLASS regression with PARISC
True for PARISC ... but not for PowerPC. Lots of PowerPC system boards use off-the-shelf RTCs with more capabilities than the machine description vector acknowledges. - Dave --
Sep 8, 4:32 pm 2008
David Brownell
Re: [PATCH] fix RTC_CLASS regression with PARISC
I basically agree. There's functional overlap between those machine descriptions and the RTC framework, and it should be removed (by shrinking those descriptions). The shim gets /dev/rtcN support, and thus hwclock; also /sys/class/rtc/* stuff. But no wake alarms... That said, there's a bit of unresolved stuff around NTP hooks in the kernel. Some patches are pending to let thtem work with the RTC framework -- where writing an RTC may need to sleep, for example because the RTC is on an ...
Sep 8, 4:29 pm 2008
Cyrill Gorcunov
[PATCH] x86: io-apic - do not use KERN_DEBUG marker too much
Do not use KERN_DEBUG several times on the same line being printed. Introduced by mine previous patch, sorry. Reported-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> --- Index: linux-2.6.git/arch/x86/kernel/io_apic.c =================================================================== --- linux-2.6.git.orig/arch/x86/kernel/io_apic.c 2008-09-08 19:32:34.000000000 +0400 +++ linux-2.6.git/arch/x86/kernel/io_apic.c 2008-09-08 19:34:10.000000000 ...
Sep 8, 8:38 am 2008
Evgeniy Polyakov
Re: New distributed storage release.
Nothing is actually planned, I do not care which config option will be used for that, just do not want to get a new claims on that it should be If I will ut (void) casting there, I'm pretty sure I will be blamed That's a fast path, so I optimized a bit, but I agree, iv initializaion could be also moved to the preallocated area. I think connector message can be allocated on stack, since I know the whole callchain in that path. I will updated the patch. -- Evgeniy Polyakov --
Sep 8, 12:31 pm 2008
Sven Wegener
Re: New distributed storage release.
If there is coming more funtionality, ok, but currently it's irritating to Yeah, the dprintk()s are ok, but I was after the printk()s that follow. Guess I picked a bad example... There are some in the code that are Yeah, but in nearly all cases you don't need to change anything in that line, when you use sizeof(*ptr), because it always gets you the correct size you want. There are cases we could argue about, because you might want to do a limited memset() or memcpy() with a ...
Sep 8, 11:19 am 2008
Evgeniy Polyakov
Re: New distributed storage release.
Hi Sven. Thanks for the review. Yup, sector_t is diffrent depending on arch and config options (u64 vs unsigned long), so it is not possible to represent it correctly without dereferencing In case of extended functionality there will be no need to change config Debug prints are not supposed to be turned on except on very serious conditions. In this case we do need to have as much info as possible (like No, I do belive that grepping over |struct ablkcipher_request| when something is ...
Sep 8, 10:43 am 2008
Evgeniy Polyakov
New distributed storage release.
Hi. I am pleased to announce new Distributed Storage (DST) project release. DST is a block layer network device, which among others has following features: * Kernel-side client and server. No need for any special tools for data processing (like special userspace applications) except for configuration. * Bullet-proof memory allocations via memory pools for all temporary objects (transaction and so on). * Zero-copy sending (except header) if supported by device using sendpage(). ...
Sep 8, 8:22 am 2008
Sven Wegener
Re: New distributed storage release.
Some warnings: CC [M] drivers/block/dst/state.o drivers/block/dst/state.c: In function 'dst_recv_bio': drivers/block/dst/state.c:396: warning: format '%llu' expects type 'long long unsigned int', but argument 3 has type 'sector_t' drivers/block/dst/state.c: In function 'dst_process_io_response': drivers/block/dst/state.c:434: warning: format '%llu' expects type 'long long unsigned int', but argument 3 has type 'sector_t' CC [M] drivers/block/dst/export.o drivers/block/dst/export.c: In ...
Sep 8, 10:19 am 2008
Matthew Garrett
Re: Controlling backlight on thinkpad x60
On Thinkpads with ACPI video support, yes. -- Matthew Garrett | mjg59@srcf.ucam.org --
Sep 8, 8:54 am 2008
Pavel Machek
Controlling backlight on thinkpad x60
Hi! Some time ago, FN-Home/End just adjusted the brightness, and /proc/acpi/ibm contained backlight control. In 2.6.27-rc5, /proc/acpi/ibm does not contain backlight control and /sys/class/backlight is empty... (I do have CONFIG_ACPI_VIDEO disabled, it killed my machine last time I enabled it, is it mandatory now?) Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html --
Sep 8, 8:10 am 2008
Hugh Dickins
-mm: please drop h8300 kallsyms patch
Please drop h8300-kallsyms-exclude-local-symbols.patch from mm for now. I'm all in favour of its intent, cutting local .Lfoo symbols out of the the symbol table. But at present it's cutting out all .symbols - which is very unfriendly to powerpc, whose every function is a .symbol! The undotted symbol being the descriptor that points to the function. My 2.6.27-rc5 powerpc System.map doesn't actually contain any .Lsymbols, but I expect someone else's does: I doubt excluding .Lsymbols is ...
Sep 8, 7:45 am 2008
Randy Dunlap
Re: Linux 2.6.26.4
--- ~Randy Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA http://linuxplumbersconf.org/ --
Sep 8, 9:56 am 2008
Greg KH
Re: Linux 2.6.26.4
Crap, I messed up, David sent me the fixed patch and I forgot it. I'll go do a new release in a few hours... thanks, greg k-h --
Sep 8, 8:21 am 2008
Greg KH
Re: Linux 2.6.26.4
diff --git a/Makefile b/Makefile index e537896..63c96c6 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 26 -EXTRAVERSION = .3 +EXTRAVERSION = .4 NAME = Rotary Wombat # *DOCUMENTATION* diff --git a/arch/sparc64/mm/init.c b/arch/sparc64/mm/init.c index e289a98..387d3f6 100644 --- a/arch/sparc64/mm/init.c +++ b/arch/sparc64/mm/init.c @@ -842,6 +842,9 @@ static unsigned long nid_range(unsigned long start, unsigned long end, start += ...
Sep 8, 7:36 am 2008
Randy Dunlap
Re: Linux 2.6.26.4
That file is still used by ./net/ipv6/ip6mr.c:#include <linux/pim.h> so there are build errors... net/ipv6/ip6mr.c:48:23: error: linux/pim.h: No such file or directory net/ipv6/ip6mr.c:354: error: dereferencing pointer to incomplete type net/ipv6/ip6mr.c:358: error: dereferencing pointer to incomplete type net/ipv6/ip6mr.c:358: error: 'PIM_VERSION' undeclared (first use in this function) net/ipv6/ip6mr.c:358: error: (Each undeclared identifier is reported only once net/ipv6/ip6mr.c:358: ...
Sep 8, 8:12 am 2008
Greg KH
Re: Linux 2.6.26.4
Randy, does the patch below fix the problem? It's an interdiff between what I applied and what David sent me as the correct patch. thanks, greg k-h ------------- diff -u b/include/linux/mroute.h b/include/linux/mroute.h --- b/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> +#ifdef __KERNEL__ #include <linux/in.h> +#endif /* * Based on the MROUTING 3.5 defines ...
Sep 8, 9:38 am 2008
Greg KH
Linux 2.6.26.4
We (the -stable team) are announcing the release of the 2.6.26.4 kernel. It contains lots of bugfixes, all over the map. Any users of the 2.6.26 kernel series should upgrade to this version. For details on the fixes, see the changelog entries and the diffstat below. I'll also be replying to this message with a copy of the patch between 2.6.26.3 and 2.6.26.4 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 ...
Sep 8, 7:36 am 2008
David Miller
Re: Linux 2.6.26.4
From: Randy Dunlap <randy.dunlap@oracle.com> Sorry for creating such a confusing situation Greg :) --
Sep 8, 12:33 pm 2008
Alan Cox
Re: Linux 2.6.25.17
All the logic and locking is in the core code so would show up on all sorts of boxes. You say you are using sata_sil - is this on an Nvidia Can you duplicate this with the drives just on the ata_piix ? Alan --
Sep 8, 1:03 pm 2008
Greg KH
Re: Linux 2.6.25.17
Is this something new with 2.6.25.17, or has it always been the same for all 2.6.25 kernels? thanks, greg k-h --
Sep 8, 2:06 pm 2008
Greg KH
Linux 2.6.25.17
We (the -stable team) are announcing the release of the 2.6.25.17 kernel. It contains lots of bugfixes, all over the map. Any users of the 2.6.25 kernel series should upgrade to this version. For details on the fixes, see the changelog entries and the diffstat below. I'll also be replying to this message with a copy of the patch between 2.6.25.16 and 2.6.25.17 The updated 2.6.25.y git tree can be found at: ...
Sep 8, 7:35 am 2008
linux-os (Dick Johnson)
Re: Linux 2.6.25.17
[SNIPPED...] I have a dual AMD Dell that I installed 2.6.25.17 into. It produces severe FS corruption on a Serial ATA drive if I build a kernel on it. I can build the kernel on one of my SCSI drives with no problems. If I remove one of the CPUs, there is no file-system corruption so I fear that there is some lock missing somewhere in the serial ATA driver code (ata_piix or sata_sil). If anybody has anything to test with my setup, I can readily test both with and without the two ...
Sep 8, 12:44 pm 2008
linux-os (Dick Johnson)
Re: Linux 2.6.25.17
The drives are on the ata_piix. I have no clue why the 'install' added the sata_sil driver because I have never used on on this machine! I note thet /etc/modprobe.conf has an alias for it so at one time a Fedora install thought it found one! Cheers, Dick Johnson Penguin : Linux version 2.6.25.17 on an i686 machine (4786.48 BogoMips). My book : http://www.AbominableFirebug.com/ _ **************************************************************** The information transmitted in this ...
Sep 8, 1:24 pm 2008
Greg KH
Re: Linux 2.6.25.17
diff --git a/Makefile b/Makefile index dfb6252..cb23e66 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 25 -EXTRAVERSION = .16 +EXTRAVERSION = .17 NAME = Funky Weasel is Jiggy wit it # *DOCUMENTATION* diff --git a/arch/x86/kernel/cpu/mtrr/generic.c b/arch/x86/kernel/cpu/mtrr/generic.c index 3e18db4..f49c970 100644 --- a/arch/x86/kernel/cpu/mtrr/generic.c +++ b/arch/x86/kernel/cpu/mtrr/generic.c @@ -229,6 +229,7 @@ static void ...
Sep 8, 7:35 am 2008
Chris Mason
kernel BUG at drivers/pci/intel-iommu.c:1373!
Hello everyone, I originally hit this with btrfs and assumed I was doing something wrong, but it looks like it is a generic problem. The stack trace at the bottom of this email came from the following setup: mdadm --create /dev/md0 --level=1 --raid-devices=4 --assume-clean /dev/sd[cdef] mkfs.ext4dev /dev/md0 50000000 mount /dev/md0 /mnt synctest -t 100 -F -f -u /mnt synctest is an old benchmark from akpm that I dug up to test the btrfs fsync code. google doesn't seem to know much about ...
Sep 8, 7:26 am 2008
Bert Wesarg
Re: [ANNOUNCE] Guilt v0.31
Hi, Is it possible to include pre-generated docs in the tarballs? I downloaded one and run 'make doc' and get these messages: fatal: Not a git repository which looks like it comes from this line in Documentation/Makefile: VERSION=$(shell git describe) Its not critical, but looks awkward. Thanks Bert --
Sep 8, 11:33 am 2008
Josef 'Jeff' Sipek
[ANNOUNCE] Guilt v0.31
Guilt v0.31 is available for download. Guilt (Git Quilt) is a series of bash scripts which add a Mercurial queues-like functionality and interface to git. Tarballs: http://www.kernel.org/pub/linux/kernel/people/jsipek/guilt/ Git repo: git://git.kernel.org/pub/scm/linux/kernel/git/jsipek/guilt.git This is a mostly bugfixes-only release to get the fixes that accumulated over the past several months out of the door. As always, patches, and other feedback is welcome. Josef "Jeff" ...
Sep 8, 6:52 am 2008
Junio C Hamano
Re: [ANNOUNCE] Guilt v0.31
There is no need to feel "it[']s really annoying", as install-doc from the tarball distribution works out of the box. I used 1.6.0.1 in the demonstration below, but this is nothing new in that version but has been like this for quite some time (it is how sample RPMs binary packages are built, so the procedure ought to work): $ ls -1 /usr/bin/git ;# to show there is no other "git" on this box ls: /usr/bin/git: No such file or directory $ mkdir /var/tmp/16 $ cd /var/tmp/16 ...
Sep 8, 12:17 pm 2008
Bert Wesarg
Re: [ANNOUNCE] Guilt v0.31
I must admit, that I don't like these extra tarballs with docs. I always expect, that the manpages are nicely installed if I type 'make install' (or at least with a install-doc target). But I need to download this extra package, and extract it to the right place, there is no Makefile whatsoever. In case of git its really annoying, because the help mechanism is relying on the manpages (i.e. git help <cmd> or git <cmd> --help, but you know this). Thanks --
Sep 8, 11:50 am 2008
Josef 'Jeff' Sipek
Re: [ANNOUNCE] Guilt v0.31
1) I already commit generated man pages for each release - on the man branch (there's also html branch with the html-formated man pages). 2) I'm aware of the git error you saw, and it is on my todo list 3) I just checked the git tarballs, and they don't include man pages either. Should I include the manpages in the source tarball, or should I just create another tarball with the manpages? (The git error will get fixed regardless - that's the only invocation of git during the ...
Sep 8, 11:43 am 2008
Serge E. Hallyn
Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when t ...
But the utsname gets freed after the mnt_ns, so the analysis seems wrong somehow. I trust addr2line or whatever verified that rpc_create+0x332/0x42f is exactly at the call to utsname()? --
Sep 8, 8:19 am 2008
Serge E. Hallyn
Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when t ...
Pavel, at the mini-summit you mentioned sunrpc transports as one example of the mini-namespaces openvz currently implements. We then apparently went off on a bit of a tangent (http://wiki.openvz.org/Containers/Mini-summit_2008_notes#Namespaces_and_containers) after Dave asked for a list of mini-namespaces openvz implements. What exactly is openvz doing with sunrpc transports, and would it be a better solution to this problem? thanks, -serge --
Sep 8, 8:43 am 2008
Cedric Le Goater
[RFC][PATCH] sunrpc: fix oops in rpc_create() when the m ...
On a system with nfs mounts, if a task unshares its mount namespace, a oops can occur when the system is rebooted if the task is the last to unreference the nfs mount. It will try to create a rpc request using utsname() which has been invalidated by free_nsproxy(). The patch fixes the issue by using the global init_utsname() but at the same time, it breaks the capability of identifying rpc clients per uts namespace. Any better suggestions ? BUG: unable to handle kernel NULL pointer ...
Sep 8, 6:39 am 2008
Cedric Le Goater
Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when t ...
yes but switch_task_namespaces() assigns ->nsproxy to NULL. the result yes. it points to net/sunrpc/clnt.c:216 clnt->cl_nodelen = strlen(utsname()->nodename); Thanks, --
Sep 8, 8:37 am 2008
Serge E. Hallyn Sep 8, 8:27 am 2008
Eric W. Biederman
Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when t ...
Can we push utsname into rpc_create_args and push the access of utsname up the food chain? My gut feeling says we should capture the utsname or the uts_ns when we mount the nfs filesystem so we stay in sync for the life of the mount. --
Sep 8, 9:09 am 2008
Eric Sesterhenn
[Patch] hfs: fix namelength memory corruption
hi, this is basically the same as hfsplus-fix-buffer-overflow-with-a-corrupted-image.patch. We use the length parameter for a memcopy without checking it and thereby corruption memory. Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> --- linux/fs/hfs/catalog.c.orig 2008-09-08 15:20:15.000000000 +0200 +++ linux/fs/hfs/catalog.c 2008-09-08 15:21:02.000000000 +0200 @@ -190,6 +190,10 @@ int hfs_cat_find_brec(struct super_block fd->search_key->cat.ParID = rec.thread.ParID; len = ...
Sep 8, 6:35 am 2008
Haavard Skinnemoen
[GIT PULL] avr32 fixes for 2.6.27
Hi Linus, Please pull git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6.git master to receive the following two fixes. Haavard Skinnemoen (1): avr32: Fix lockup after Java stack underflow in user mode Humphrey Bucknell (1): avr32: pm_standby low-power ram bug fix arch/avr32/kernel/asm-offsets.c | 6 +++ arch/avr32/kernel/entry-avr32b.S | 59 ++++++++++++++++++++++++++++++- arch/avr32/mach-at32ap/pm-at32ap700x.S | 2 +- 3 files ...
Sep 8, 6:18 am 2008
Peter Zijlstra
Re: [RFC PATCH v2 5/7] sched: nominate preferred wakeup cpu
This cannot be a global variable, what happens when we have two disjoint --
Sep 8, 6:21 am 2008
Vaidyanathan Srinivasan
[RFC PATCH v2 1/7] sched: arch_reinit_sched_domains() mu ...
From: Max Krasnyansky <maxk@qualcomm.com> What I realized recently is that calling rebuild_sched_domains() in arch_reinit_sched_domains() by itself is not enough when cpusets are enabled. partition_sched_domains() code is trying to avoid unnecessary domain rebuilds and will not actually rebuild anything if new domain masks match the old ones. What this means is that doing echo 1 > /sys/devices/system/cpu/sched_mc_power_savings on a system with cpusets enabled will not take affect untill ...
Sep 8, 6:16 am 2008
Peter Zijlstra
Re: [RFC PATCH v2 0/7] Tunable sched_mc_power_savings=n
Preferably in the form of in-code comments and code structure, this That would be much appreciated. But I also prefer to get rid of that power savings tweak in cpu_coregroup_map(). But above all, readable code ;-) find_busiest_group() is the stuff of nightmares. --
Sep 8, 6:56 am 2008
Peter Zijlstra
Re: [RFC PATCH v2 0/7] Tunable sched_mc_power_savings=n
May I again ask to first clean up the current power saving code before stacking more on top of it? --
Sep 8, 6:25 am 2008
Vaidyanathan Srinivasan
[RFC PATCH v2 3/7] sched: Framework for sched_mc/smt_pow ...
From: Gautham R Shenoy <ego@in.ibm.com> *** RFC patch of work in progress and not for inclusion. *** Currently the sched_mc/smt_power_savings variable is a boolean, which either enables or disables topology based power savings. This extends the behaviour of the variable from boolean to multivalued, such that based on the value, we decide how aggressively do we want to perform topology based powersavings balance. Variable levels of power saving tunable would benefit end user to match ...
Sep 8, 6:18 am 2008
Vaidyanathan Srinivasan
[RFC PATCH v2 7/7] sched: activate active load balancing ...
Active load balancing is a process by which migration thread is woken up on the target CPU in order to pull current running task on another package into this newly idle package. This method is already in use with normal load_balance(), this patch introduces this method to new idle cpus when sched_mc is set to POWERSAVINGS_BALANCE_WAKEUP. This logic provides effective consolidation of short running daemon jobs in a almost idle system The side effect of this patch may be ping-ponging of ...
Sep 8, 6:23 am 2008
Andi Kleen
Re: [RFC PATCH v2 0/7] Tunable sched_mc_power_savings=n
> 1. Detailed documentation Messy code cannot be really made good with documentation. It's not that your patches are that messy, it's more that it makes I think one issue is that there are general too many special cases that completely change the algorithm especially for power saving. Perhaps it would make sense to refactor the code a bit and then use different high level code paths for those? I assume that would make it all simpler and easier to understand. The other alternative would be ...
Sep 8, 6:58 am 2008
Vaidyanathan Srinivasan
[RFC PATCH v2 6/7] sched: bias task wakeups to preferred ...
Preferred wakeup cpu (from a semi idle package) has been nominated in find_busiest_group() in the previous patch. Use this information in sched_mc_preferred_wakeup_cpu in function select_task_rq_fair() to bias task wakeups if the following conditions are satisfied: - The present cpu that is trying to wakeup the process is idle and waking the target process on this cpu will potentially wakeup a completely idle package - The previous cpu on which the target process ran is also idle ...
Sep 8, 6:22 am 2008
Vaidyanathan Srinivasan
Re: [RFC PATCH v2 0/7] Tunable sched_mc_power_savings=n
current power save balance code: 1. Detailed documentation 2. Cleanup the group_min and group_leader stuff in find_busiest_group() Did I get the requirements correct? --Vaidy --
Sep 8, 6:48 am 2008
Vaidyanathan Srinivasan
Re: [RFC PATCH v2 5/7] sched: nominate preferred wakeup cpu
Agreed this is certainly a problem. I tried adding this to the sched_domain, but accessing the correct 'copy' for sched_domain that holds this variable from any cpu is not fast. Thank you for pointing this out. I will find a alternative implementation. --Vaidy --
Sep 8, 6:43 am 2008
Vaidyanathan Srinivasan
[RFC PATCH v2 4/7] sched: favour lower logical cpu numbe ...
Just in case two groups have identical load, prefer to move load to lower logical cpu number rather than the present logic of moving to higher logical number. find_busiest_group() tries to look for a group_leader that has spare capacity to take more tasks and freeup an appropriate least loaded group. Just in case there is a tie and the load is equal, then the group with higher logical number is favoured. This conflicts with user space irqbalance daemon that will move interrupts to lower ...
Sep 8, 6:20 am 2008
Vaidyanathan Srinivasan
[RFC PATCH v2 0/7] Tunable sched_mc_power_savings=n
Hi, The existing power saving loadbalancer CONFIG_SCHED_MC attempts to run the workload in the system on minimum number of CPU packages and tries to keep rest of the CPU packages idle for longer duration. Thus consolidating workloads to fewer packages help other packages to be in idle state and save power. The current implementation is very conservative and does not work effectively across different workloads. Initial idea of tunable sched_mc_power_savings=n was proposed to enable tuning of ...
Sep 8, 6:14 am 2008
Vaidyanathan Srinivasan
[RFC PATCH v2 5/7] sched: nominate preferred wakeup cpu
When the system utilisation is low and more cpus are idle, then the process waking up from sleep should prefer to wakeup an idle cpu from semi-idle cpu package (multi core package) rather than a completely idle cpu package which would waste power. Use the sched_mc balance logic in find_busiest_group() to nominate a preferred wakeup cpu. This info can be sored in appropriate sched_domain, but updating this info in all copies of sched_domain is not practical. For now lets try with a global ...
Sep 8, 6:21 am 2008
Vaidyanathan Srinivasan
[RFC PATCH v2 2/7] sched: Fix __load_balance_iterator() ...
From: Gautham R Shenoy <ego@in.ibm.com> The __load_balance_iterator() returns a NULL when there's only one sched_entity which is a task. It is caused by the following code-path. /* Skip over entities that are not tasks */ do { se = list_entry(next, struct sched_entity, group_node); next = next->next; } while (next != &cfs_rq->tasks && !entity_is_task(se)); if (next == &cfs_rq->tasks) return NULL; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This will return NULL even when ...
Sep 8, 6:17 am 2008
Christer Weinigel
[patch 1/3] s3cmci -- support odd block transfers
To be able to do SDIO the s3cmci driver has to support non-word-sized transfers. Change pio_words into pio_bytes and fix up all the places where it is used. This variant of the patch will not overrun the buffer when reading an odd number of bytes. When writing, this variant will still read past the end of the buffer, but since the driver can't support non-word- aligned transfers anyway, this should not be a problem, since a word-aligned transfer will never cross a page boundary. This has ...
Sep 8, 5:48 am 2008
Christer Weinigel
Re: [patch 2/3] s3cmci - call pio_tasklet from IRQ
It should be possible to set a flag and then call the pio_task after the spin_unlock_irqrestore instead. I didn't want to do that to change as little of the logic as possible, but it's probably better to do that. I'm also thinking of changing send_request to do a busy wait for commands without data, that will probably need a bit larger changes. /Christer --
Sep 8, 7:04 am 2008
Ben Dooks
Re: [patch 2/3] s3cmci - call pio_tasklet from IRQ
Hmm, i'd be interested to find out how long these are taking... I might try and rig up something to test the time being taken via an SMDK. If the fifo read/writes are taking significant amounts of time, then the pio tasklet will at least improve the interrupt latencies invloved, as iirc we're currently running the main irq handler in IRQ_DISABLED mode to stop any problems with re-enternancy.... I'll check this and see what -- -- Ben Q: What's a light-year? A: One-third less ...
Sep 8, 6:46 am 2008
Christer Weinigel
[patch 2/3] s3cmci - call pio_tasklet from IRQ
Scheduling a tasklet to perform the pio transfer introduces a bit of extra processing, just call pio_tasklet directly from the interrupt instead. Writing up to 64 bytes to a FIFO is probably uses less CPU than scheduling a tasklet anyway. Signed-off-by: Christer Weinigel <christer@weinigel.se> Index: linux-2.6.26.2/drivers/mmc/host/s3cmci.c =================================================================== --- linux-2.6.26.2.orig/drivers/mmc/host/s3cmci.c +++ ...
Sep 8, 5:48 am 2008
Christer Weinigel
Re: [patch 2/3] s3cmci - call pio_tasklet from IRQ
Ok, I just measured this on the 200 MHz S3C24A0, when running the SDIO bus at 10 MHz, the longest time I saw the driver spend in the pio_read function was ~10us. I guess that means that the hardware managed to empty the fifo enough to do yet another spin through the loop. So with a faster SDIO clock the time spent in pio_read ought to go up, and for a long transfer it could grow without bounds. I also tried to run the code with the schedule_tasklet still there, and then I saw ~13us as ...
Sep 8, 8:12 am 2008
Christer Weinigel
[patch 0/3] s3cmci SDIO patches
Hi Ben, here are the s3cmci SDIO patches that I've done so far. The first patch modifies the s3cmci driver so that it supports non-word-sized transfers which is needed by SDIO. The second patch removes calls the pio_tasklet directly from the interrupt handler instead of scheduling it as a tasklet. This reduces the CPU load for the driver sligthtly. The third patch adds experimental SDIO interrupt support. Since there are issues with spurious interrupts on some S3C processors, I ...
Sep 8, 5:48 am 2008
Christer Weinigel
[patch 3/3] s3cmci - add SDIO interrupt support
This adds support for the SDIO irq to the s3cmci driver. The driver calls to enable_irq and disable_irq are not matched properly when doing SDIO, so I've worked around this by counting the number of enables and disables. This is not the proper way to do it, but makes things work for me the moment on a Samsung S3C24A0 processor. There are supposed to be issues with spurious interrupts on some S3C processors, so this needs more investigation and testing, but I thought this patch may be useful ...
Sep 8, 5:48 am 2008
H. Peter Anvin
Re: [PATCH] mm: ifdef Quicklists in /proc/meminfo
x86 *does* use quicklists, at least with PAE. -hpa --
Sep 8, 4:57 pm 2008
Christoph Lameter
Re: [PATCH] mm: ifdef Quicklists in /proc/meminfo
Acked-by: Christoph Lameter <cl@linux-foundation.org> --
Sep 8, 6:37 am 2008
Hugh Dickins
[PATCH] mm: ifdef Quicklists in /proc/meminfo
A "Quicklists: 0 kB" line has just started appearing in /proc/meminfo, but most architectures (including x86) don't have them configured: may we please #ifdef it, like the highmem lines? And those architectures which do have quicklists configured are using them for page tables: so let's place it next to PageTables. Signed-off-by: Hugh Dickins <hugh@veritas.com> --- fs/proc/proc_misc.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) --- ...
Sep 8, 5:57 am 2008
KOSAKI Motohiro
Re: [PATCH] mm: ifdef Quicklists in /proc/meminfo
Oh, I see. Thanks Hugh. Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> --
Sep 8, 4:43 pm 2008
Ingo Molnar
Re: [PATCH 1/2] Xen: Fix build when !CONFIG_HOTPLUG_CPU
applied to tip/x86/xen - thanks Alex. I've also merged the latest tip/x86/xen code into tip/master and i'm testing the result now. Ingo --
Sep 8, 10:12 am 2008
Alex Nixon
[PATCH 1/2] Xen: Fix build when !CONFIG_HOTPLUG_CPU
Signed-off-by: Alex Nixon <alex.nixon@citrix.com> Cc: Jeremy Fitzhardinge <jeremy@goop.org> Cc: Ingo Molnar <mingo@elte.hu> --- arch/x86/xen/smp.c | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c index be5cbb2..bf51a46 100644 --- a/arch/x86/xen/smp.c +++ b/arch/x86/xen/smp.c @@ -332,6 +332,7 @@ static void xen_smp_cpus_done(unsigned int max_cpus) { } +#ifdef CONFIG_HOTPLUG_CPU int ...
Sep 8, 5:43 am 2008
Alex Nixon
[PATCH 2/2] Xen: Make CPU hotplug functions static
There's no need for these functions to be accessed from outside of xen/smp.c Signed-off-by: Alex Nixon <alex.nixon@citrix.com> Cc: Jeremy Fitzhardinge <jeremy@goop.org> Cc: Ingo Molnar <mingo@elte.hu> --- arch/x86/xen/smp.c | 12 ++++++------ arch/x86/xen/xen-ops.h | 4 ---- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c index bf51a46..d77da61 100644 --- a/arch/x86/xen/smp.c +++ b/arch/x86/xen/smp.c @@ -333,7 +333,7 @@ ...
Sep 8, 5:43 am 2008
Gavin Shan
Bogus devices detected from Marvel MV64460
Hello, My board is using MV64460 chip and lots of bogus devices were detected at PCI bus probe time.Those bogus devices has vendor/device id of 0x648511ab. I don't know why there has so much devices with vendor/device id of 0x648511ab. Anybody has ideas? pcibios_init:probe devices for hose 0xc0546800 I/O 0xd0000000-0xd0000fff MEM0 0x80000000-0x87ffffff MEM1 0xf2000000-0xf203ffff MEM2 0xb0000000-0xb0003fff pci_scan_child_bus: PCI: Scanning bus 0000:00 pci_scan_device: devfn=0, ...
Sep 8, 5:18 am 2008
Keith Owens
Recent copy of libpcap from CVS
Does anybody have a recent copy of the source to libpcap from its CVS repository? The normal site for libpcap (tcpdump.org) appears to have suffered a filesystem crash and CVS is not working. I am looking for a version of libpcap that supports data capture for USB interfaces, the code will probably have references to /dev/usbmon or a pcap-usb-linux.c file for Linux. libpcap0.8_0.9.8-2 is not recent enough. --
Sep 8, 5:27 am 2008
Patrick McHardy
Re: Recent copy of libpcap from CVS
Dave put a recent copy up at: git://git.kernel.org/pub/scm/linux/kernel/git/davem/libpcap.git --
Sep 8, 5:45 am 2008
Pierre Morel
[PATCH 1/1] system call notification with self_ptrace
Subject: [PATCH] system call notification with self_ptrace From: Pierre Morel <pmorel@fr.ibm.com> PTRACE SELF This patch adds a new functionality to ptrace: system call notification to the current process. When a process requests self ptrace, with the new request PTRACE_SELF_ON: 1. the next system call performed by the process will not be executed 2. self ptrace will be disabled for the process 3. a SIGSYS signal will be sent to the process. With an appropriate SIGSYS signal ...
Sep 8, 5:02 am 2008
Tarkan Erimer
(No subject)
subscribe linux-kernel --
Sep 8, 5:04 am 2008
Paul Mackerras
[git pull] Please pull powerpc.git merge branch
Linus, Please pull from the 'merge' branch of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git merge There is one commit there from Hugh Dickins that fixes a build problem, plus three from the Cell guys fixing a couple of races and a reference count leak in arch/powerpc/platforms/cell/spufs/sched.c. The reference count leak is a regression from 2.6.26, and the races can apparently lead to an unkillable process (looping in the kernel) or to a panic. Thanks, Paul. ...
Sep 8, 4:56 am 2008
Takashi Sato
[PATCH 3/3] Add timeout feature
The timeout feature is added to "freeze ioctl" to solve a deadlock when the freezer accesses a frozen filesystem. And new ioctl to reset the timeout period is added to extend the timeout period. For example, the freezer resets the timeout period to 10 seconds every 5 seconds. In this approach, even if the freezer causes a deadlock by accessing the frozen filesystem, it will be solved by the timeout in 10 seconds and the freezer will be able to recognize that at the next reset of timeout ...
Sep 8, 4:53 am 2008
Christoph Hellwig
Re: [PATCH 3/3] Add timeout feature
And as with all previous posting I still fundamentally disagree about the need of this functionality. We don't need a timeout for freezing. --
Sep 8, 10:11 am 2008
Takashi Sato
[PATCH 2/3] Remove XFS specific ioctl interfaces for fre ...
It removes XFS specific ioctl interfaces and request codes for freeze feature. This patch has been supplied by David Chinner. Signed-off-by: Dave Chinner <dgc@sgi.com> Signed-off-by: Takashi Sato <t-sato@yk.jp.nec.com> --- linux-2.6/xfs_ioctl.c | 15 --------------- linux-2.6/xfs_ioctl32.c | 2 -- xfs_fs.h | 4 ++-- 3 files changed, 2 insertions(+), 19 deletions(-) diff -uprN -X linux-2.6.27-rc5.org/Documentation/dontdiff ...
Sep 8, 4:53 am 2008
Takashi Sato
[PATCH 0/3] freeze feature ver 1.11
Hi, Andrew, Christoph and Oleg I've addressed your comments in these patches and re-based from linux-2.6.26-rc3 to linux-2.6.27-rc5. The points are followings. - Replaced the semaphore (bd_freeze_sem) with the mutex (bd_fsfreeze_mutex). - To avoid the deadlock, fixed thaw_bdev() so that it didn't call del_freeze_timeout() only when it's called by the delayed work task. - Changed the function names and global symbol names like xxx_freeze_yyy() to xxx_fsfreeze_yyy(). - Removed ...
Sep 8, 4:52 am 2008
Takashi Sato
[PATCH 1/3] Implement generic freeze feature
The ioctls for the generic freeze feature are below. o Freeze the filesystem int ioctl(int fd, int FIFREEZE, arg) fd: The file descriptor of the mountpoint FIFREEZE: request code for the freeze arg: Ignored Return value: 0 if the operation succeeds. Otherwise, -1 o Unfreeze the filesystem int ioctl(int fd, int FITHAW, arg) fd: The file descriptor of the mountpoint FITHAW: request code for unfreeze arg: Ignored Return value: 0 if the operation succeeds. ...
Sep 8, 4:52 am 2008
Christoph Hellwig
Re: [PATCH 1/3] Implement generic freeze feature
Note that we still have duplication with the bd_mount_sem. I think you should look into getting rid of it and instead do a check of Why do you add a return value here if we always return 0 anyway? --
Sep 8, 10:10 am 2008
Hugh Dickins
Re: [PATCH 0 of 3] Low memory corruption detection and w ...
Super, that's fine, thanks for sorting it out. (I'll forgive you the build error under my name!) Hugh --
Sep 8, 3:52 am 2008
Ingo Molnar
Re: [RFC][PATCH 0/2] x86: Add "virt flags"
hm, i think extending the already existing flags category sounds like a better solution than the separate virtual CPU flags line in /proc/cpuinfo. We already have self-invented flag entries (such as X86_FEATURE_NOPL), and adding more for virtualization would be quite natural to do, as long as it's reasonably close to the meaning of a 'CPU feature'. Peter, what would be your preference? Ingo --
Sep 8, 7:09 am 2008
Sheng Yang
[PATCH 2/2] x86: Add "virt flags" in /proc/cpuinfo
The hardware virtualization technology evolves very fast. But currently it's hard to tell if your CPU support a certain kind of HW technology without digging into the source code. The patch add a new item under /proc/cpuinfo, named "virt flags". The "virt flags" got the similar purpose as "flags". It is used to indicate what HW virtulization features does this CPU supported, and it don't cover all features but only the important ones. Current implementation just cover Intel VMX ...
Sep 8, 3:42 am 2008
Sheng Yang
[RFC][PATCH 0/2] x86: Add "virt flags"
Hi, Ingo (sorry for former noises, I mistake the address... Report to lkml) I've sent this patchset before, but got no comments from upstream at that time. So I'd like to resend this. The virt flags is used for the important hardware virtualization features, like EPT of incoming Nehalem. Because the feature availability are read from MSRs, and I think virtualization features should not at the same level as "vmx", so I added a new flags catagory here. But I still have concern, for this may ...
Sep 8, 3:42 am 2008
Andi Kleen
Re: [RFC][PATCH 0/2] x86: Add "virt flags"
FWIW when I added the "power management:" flags back then for the 64bit kernel I didn't get any reports of user programs breaking. Also some other fields got added like cpu cores or initial apicid etc. and that also didn't lead to breakage. So adding new lines to cpuinfo should be ok. -Andi -- ak@linux.intel.com --
Sep 8, 7:04 am 2008
Sheng Yang
[PATCH 1/2] x86: Move VMX MSRs to msr-index.h
They are hardware specific MSRs, and we would use them in virtualization feature detection later. Signed-off-by: Sheng Yang <sheng.yang@intel.com> --- arch/x86/kvm/vmx.h | 15 --------------- include/asm-x86/msr-index.h | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/arch/x86/kvm/vmx.h b/arch/x86/kvm/vmx.h index 425a134..b32d4e5 100644 --- a/arch/x86/kvm/vmx.h +++ b/arch/x86/kvm/vmx.h @@ -331,21 +331,6 @@ enum vmcs_field { #define ...
Sep 8, 3:42 am 2008
H. Peter Anvin
Re: [RFC][PATCH 0/2] x86: Add "virt flags"
It probably makes sense to separate these out as a separate word, especially if they come from the hardware in any reasonable way. But yes, adding them to the feature array makes sense. -hpa --
Sep 8, 8:30 am 2008
H. Peter Anvin
Re: [RFC][PATCH 0/2] x86: Add "virt flags"
Just to clarify: I'm suggesting adding these to the existing feature flags array, in a separate binary word. -hpa --
Sep 8, 10:17 am 2008
Li Yu Sep 8, 3:31 am 2008
FUJITA Tomonori
[PATCH 1/3] swiotlb: use map_single instead of swiotlb_m ...
We always need swiotlb memory here so address_needs_mapping and swiotlb_force testings are irrelevant. map_single should be used here instead of swiotlb_map_single. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> --- lib/swiotlb.c | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/swiotlb.c b/lib/swiotlb.c index 3066ffe..2fb485d 100644 --- a/lib/swiotlb.c +++ b/lib/swiotlb.c @@ -483,12 +483,9 @@ swiotlb_alloc_coherent(struct device *hwdev, ...
Sep 8, 2:53 am 2008
FUJITA Tomonori
[PATCH 0/3] minor cleanups for swiotlb
This patchset is minor cleanups for swiotlb. It doesn't confilict with the swiotlb fixes for the x86 tree (that I've just sent): http://lkml.org/lkml/2008/9/8/30 This can be cleanly applied to tip/master and tip/x86/iommu. Ingo, can you apply this to your tree? --
Sep 8, 2:53 am 2008
Ingo Molnar
Re: [PATCH 0/3] minor cleanups for swiotlb
applied to tip/x86/iommu, thanks! Tony, since ia64 makes use of CONFIG_SWIOTLB, do you have any objections to carrying these patches in tip/x86/iommu? Ingo --
Sep 8, 6:55 am 2008
Luck, Tony Sep 8, 9:47 am 2008
FUJITA Tomonori
[PATCH 2/3] swiotlb: use unmap_single instead of swiotlb ...
We don't need any check in swiotlb_unmap_single here. unmap_single is appropriate. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> --- lib/swiotlb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/swiotlb.c b/lib/swiotlb.c index 2fb485d..bf61c73 100644 --- a/lib/swiotlb.c +++ b/lib/swiotlb.c @@ -513,7 +513,7 @@ swiotlb_free_coherent(struct device *hwdev, size_t size, void *vaddr, free_pages((unsigned long) vaddr, get_order(size)); else ...
Sep 8, 2:53 am 2008
FUJITA Tomonori
[PATCH 3/3] swiotlb: add is_swiotlb_buffer helper function
This adds is_swiotlb_buffer() helper function to see whether a buffer belongs to the swiotlb buffer or not. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> --- lib/swiotlb.c | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/lib/swiotlb.c b/lib/swiotlb.c index bf61c73..b5f5d11 100644 --- a/lib/swiotlb.c +++ b/lib/swiotlb.c @@ -283,6 +283,11 @@ address_needs_mapping(struct device *hwdev, dma_addr_t addr) return (addr & ~mask) != 0; } ...
Sep 8, 2:53 am 2008
FUJITA Tomonori
[PATCH] ia64: remove duplicated swiotbl externs
We can safely remove the following duplication? = From: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Subject: [PATCH] ia64: remove duplicated swiotbl externs Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> --- arch/ia64/hp/common/hwsw_iommu.c | 11 ----------- arch/ia64/hp/common/sba_iommu.c | 2 -- arch/ia64/include/asm/machvec.h | 5 ++--- 3 files changed, 2 insertions(+), 16 deletions(-) diff --git a/arch/ia64/hp/common/hwsw_iommu.c ...
Sep 8, 2:31 am 2008
FUJITA Tomonori
[PATCH 2/5] x86: move pci-nommu's dma_mask check to comm ...
The check to see if dev->dma_mask is NULL in pci-nommu is more appropriate for dma_alloc_coherent(). Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> --- arch/x86/kernel/pci-nommu.c | 3 --- include/asm-x86/dma-mapping.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/pci-nommu.c b/arch/x86/kernel/pci-nommu.c index 73853d3..0f51883 100644 --- a/arch/x86/kernel/pci-nommu.c +++ b/arch/x86/kernel/pci-nommu.c @@ -80,9 +80,6 @@ ...
Sep 8, 2:10 am 2008
FUJITA Tomonori
[PATCH 3/5] x86: fix nommu_alloc_coherent allocation wit ...
We need to use __GFP_DMA for NULL device argument (fallback_dev) with pci-nommu. It's a hack for ISA (and some old code) so we need to use GFP_DMA. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> --- arch/x86/kernel/pci-nommu.c | 3 +-- include/asm-x86/dma-mapping.h | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/pci-nommu.c b/arch/x86/kernel/pci-nommu.c index 0f51883..ada1c87 100644 --- a/arch/x86/kernel/pci-nommu.c +++ ...
Sep 8, 2:10 am 2008
Joerg Roedel
Re: [PATCH 2/5] x86: move pci-nommu's dma_mask check to ...
-- | AMD Saxony Limited Liability Company & Co. KG Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany System | Register Court Dresden: HRA 4896 Research | General Partner authorized to represent: Center | AMD Saxony LLC (Wilmington, Delaware, US) | General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy --
Sep 8, 5:01 am 2008
Joerg Roedel
Re: [PATCH 3/5] x86: fix nommu_alloc_coherent allocation ...
-- | AMD Saxony Limited Liability Company & Co. KG Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany System | Register Court Dresden: HRA 4896 Research | General Partner authorized to represent: Center | AMD Saxony LLC (Wilmington, Delaware, US) | General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy --
Sep 8, 5:01 am 2008
FUJITA Tomonori
[PATCH 0/5] fix exhaustion of ZONE_DMA with swiotlb (in ...
This patchset (against tip/master) fixes the problem that swiotlb exhausts ZONE_DMA: http://lkml.org/lkml/2008/8/31/16 The root problem is that swiotlb_alloc_coherent always use ZONE_DMA, which is fine for IA64 but not for x86_64. This patchset makes the callers set up the gfp flags so that swiotlb_alloc_coherent can stop playing with the gfp flags. I think that it would be better to remove the allocation code in swiotlb_alloc_coherent theoretically (what swiotlb should do is ...
Sep 8, 2:10 am 2008
FUJITA Tomonori
[PATCH 1/5] ia64: dma_alloc_coherent always use GFP_DMA
This patch makes dma_alloc_coherent use GFP_DMA at all times. This is necessary for swiotlb, which requires the callers to set up the gfp flags properly. swiotlb_alloc_coherent tries to allocate pages with the gfp flags. If the allocated memory isn't fit for dev->coherent_dma_mask, swiotlb_alloc_coherent reserves some of the swiotlb memory area, which is precious resource. So the callers need to set up the gfp flags properly. This patch means that other IA64 IOMMUs' dma_alloc_coherent also ...
Sep 8, 2:10 am 2008
Joerg Roedel
Re: [PATCH 0/5] fix exhaustion of ZONE_DMA with swiotlb ...
Cool :-) This is much better than our last two tries to solve this problem. Doing no gfp handling at all in swiotlb_alloc_coherent is a nice and clean solution. Joerg -- | AMD Saxony Limited Liability Company & Co. KG Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany System | Register Court Dresden: HRA 4896 Research | General Partner authorized to represent: Center | AMD Saxony LLC ...
Sep 8, 5:00 am 2008
Joerg Roedel
Re: [PATCH 5/5] swiotlb: remove GFP_DMA hack in swiotlb_ ...
-- | AMD Saxony Limited Liability Company & Co. KG Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany System | Register Court Dresden: HRA 4896 Research | General Partner authorized to represent: Center | AMD Saxony LLC (Wilmington, Delaware, US) | General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy --
Sep 8, 5:02 am 2008
Ingo Molnar
Re: [PATCH 0/5] fix exhaustion of ZONE_DMA with swiotlb ...
i've applied Fujita's patches to tip/x86/iommu: 68e91d6: swiotlb: remove GFP_DMA hack in swiotlb_alloc_coherent 823e7e8: x86: dma_alloc_coherent sets gfp flags properly 8a53ad6: x86: fix nommu_alloc_coherent allocation with NULL device argument de9f521: x86: move pci-nommu's dma_mask check to common code 3a80b6a: ia64: dma_alloc_coherent always use GFP_DMA Tony, do you have any problem with us carrying the ia64 commit above (3a80b6a, also attached below) in tip/x86/iommu tree? It's ...
Sep 8, 6:52 am 2008
FUJITA Tomonori
[PATCH 5/5] swiotlb: remove GFP_DMA hack in swiotlb_allo ...
The callers are supposed to set up the gfp flags appropriately. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> --- lib/swiotlb.c | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/lib/swiotlb.c b/lib/swiotlb.c index 977edbd..3066ffe 100644 --- a/lib/swiotlb.c +++ b/lib/swiotlb.c @@ -467,13 +467,6 @@ swiotlb_alloc_coherent(struct device *hwdev, size_t size, void *ret; int order = get_order(size); - /* - * XXX fix me: the DMA API should ...
Sep 8, 2:10 am 2008
FUJITA Tomonori
[PATCH 4/5] x86: dma_alloc_coherent sets gfp flags properly
Non real IOMMU implemenations (which doesn't do virtual mappings, e.g. swiotlb, pci-nommu, etc) need to use proper gfp flags and dma_mask to allocate pages in their own dma_alloc_coherent() (allocated page need to be suitable for device's coherent_dma_mask). This patch makes dma_alloc_coherent do this job so that IOMMUs don't need to take care of it any more. Real IOMMU implemenataions can simply ignore the gfp flags. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> --- ...
Sep 8, 2:10 am 2008
Joerg Roedel
Re: [PATCH 4/5] x86: dma_alloc_coherent sets gfp flags p ...
-- | AMD Saxony Limited Liability Company & Co. KG Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany System | Register Court Dresden: HRA 4896 Research | General Partner authorized to represent: Center | AMD Saxony LLC (Wilmington, Delaware, US) | General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy --
Sep 8, 5:01 am 2008
Dmitry Baryshkov
[PATCH] power_supply: fix dependency of tosa_battery
tosa_battery should also depend on wm97xx_ts as it uses dac-accessing functions from that module. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> --- drivers/power/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index 9ce5585..b001984 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig @@ -51,7 +51,7 @@ config BATTERY_OLPC config BATTERY_TOSA tristate "Sharp SL-6000 (tosa) ...
Sep 8, 1:44 am 2008
Steven Rostedt
Re: [PATCH] Convert tlbstate_lock spin_lock to raw_spin_lock
[ Refrain from using "unlisted-recipients" please! ] The patch is legit. The problem is simply that functions like flush_tlb_current_task and flush_tlb_mm disable preemption and then call flush_tlb_others. This function locks the tlbstate_lock which is currently a rtmutex. An rtmutex can not be called with preemption disabled. The tlbstate_lock is static, small and confined. I'm not sure we can change this code (flushing the TLB) in a way where we can allow preemption. This may ...
Sep 8, 8:04 am 2008
Chirag Jog
[PATCH] Convert tlbstate_lock spin_lock to raw_spin_lock
This simple patch should solve the above problem. Seeing the config, its seems to be a 32bit box. It convert tlbstate_lock spin_lock to raw_spin_lock. Preemption has already been disabled, hence this change shouldn't affect latency numbers. Signed-Off-By: Chirag <chirag@linux.vnet.ibm.com> diff --git a/arch/x86/kernel/tlb_32.c b/arch/x86/kernel/tlb_32.c index 9bb2363..228849c 100644 --- a/arch/x86/kernel/tlb_32.c +++ b/arch/x86/kernel/tlb_32.c @@ -23,7 +23,7 @@ ...
Sep 8, 12:37 am 2008
Sujit Karataparambil
Re: [PATCH] Convert tlbstate_lock spin_lock to raw_spin_lock
Chirag, Kindly understand what xavier is trying to do. He is Trying to disable smp. The RT - Linux Code is dependent on the mutex lock to perform some soft/hard real time processing. This is an problem with the mutex lock. Kindly check with some one before signing off patches. Thanks, Sujit -- --linux(2.4/2.6),bsd(4.5.x+),solaris(2.5+) --
Sep 8, 7:15 am 2008
Theodore Tso
Re: [PATCH] ext4: miss an unlock in ext4_check_descriptors()
Thanks, I've applied it to the ext4 patch queue. - Ted --
Sep 8, 7:47 am 2008
Li Zefan
[PATCH] ext4: miss an unlock in ext4_check_descriptors()
# mkfs.ext3 -m 0 /dev/sda6 # tune2fs -E test_fs -O extents,uninit_bg (no e2fsck after tune2fs) # mount -t ext4dev /dev/sda6 oops immediately: EXT4-fs: ext4_check_descriptors: Checksum for group 0 failed (20091!=0) EXT4-fs: group descriptors corrupted! ========================= [ BUG: held lock freed! ] ------------------------- mount/9422 is freeing memory c6ca0000-c6ca7fff, with a lock still held there! (&bgl->locks[i].lock#2){--..}, at: [<f8996589>] ext4_fill_super+0xde8/0x1dcf ...
Sep 8, 12:33 am 2008
Hisashi Hifumi
[PATCH] NFS: Pagecache usage optimization on nfs
Hi. The new address_space_ops is_partially_uptodate was added at 2.6.27-rc1. On ext3, this aops checks whether buffer_heads that are attached to a page are uptodate or not when a page is not uptodate. When all buffers which correspond to a portion we want to read are uptodate even if a page is not uptodate, we can avoid actual read ...
Sep 7, 9:31 pm 2008
jmerkey
[ANNOUNCE] mdb: Merkey's Linux Kernel Debugger Release ...
I am tired of waiting for rc6, so if there are ground shaking changes over rc6-git9, I will update the patches. ChangeLog, 09/07/2008 Corrected dword, word, and byte dereference in the mdb-logic.c documentation to match the disassembly display. Changed oops_in_progress entry point to a counter variable to preserve state when mdb is called from exceptions where it may have been previously set. Cleaned up several hundred more checkpatch.pl messages. Cleanup error check cases in ...
Sep 7, 9:00 pm 2008
jmerkey
[ANNOUNCE] Merkey's LinuxWare 1.0 MS-DOS Loader
I am pleased to announce the release of Merkey's LinuxWare, an MS-DOS (or DR-DOS) loader that allows you to compile a Linux kernel as an MS-DOS Executable, boot and load Linux from MS-DOS (while DOS stays resident). This in essence is exactly the same as old Legacy Netware, and in fact, I wrote a linker that does what the old NetWare custom linker did when it compiled the NetWare kernel and linked it as a DOS Application. Linux works just like it does normally, except you can quit Linux and ...
Sep 7, 8:38 pm 2008
Ingo Molnar
Re: [PATCH 8/9] x86: lapic address print out like io apic addr
applied to tip/irq/sparseirq - thanks Yinghai! Ingo --
Sep 8, 6:45 am 2008
Yinghai Lu
[PATCH 7/9] x86: make 64 bit to use amd.c
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/Kconfig.cpu | 10 +- arch/x86/kernel/cpu/Makefile | 3 +- arch/x86/kernel/cpu/amd_64.c | 473 ------------------------------------------ 3 files changed, 2 insertions(+), 484 deletions(-) delete mode 100644 arch/x86/kernel/cpu/amd_64.c diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu index 331922c..dd8a937 100644 --- a/arch/x86/Kconfig.cpu +++ b/arch/x86/Kconfig.cpu @@ -462,17 +462,9 @@ config ...
Sep 7, 5:58 pm 2008
Yinghai Lu
[PATCH 4/9] x86: merge header in amd/64.c
Singed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/cpu/amd.c | 8 ++++++++ arch/x86/kernel/cpu/amd_64.c | 13 ++++++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c index a3a9e3c..3c8090d 100644 --- a/arch/x86/kernel/cpu/amd.c +++ b/arch/x86/kernel/cpu/amd.c @@ -1,11 +1,19 @@ #include <linux/init.h> #include <linux/bitops.h> #include <linux/mm.h> + #include <asm/io.h> #include ...
Sep 7, 5:58 pm 2008
Yinghai Lu
[PATCH 8/9] x86: lapic address print out like io apic addr
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/apic.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/apic.c b/arch/x86/kernel/apic.c index 0556f37..f3f5085 100644 --- a/arch/x86/kernel/apic.c +++ b/arch/x86/kernel/apic.c @@ -1548,7 +1548,7 @@ void __init init_apic_mappings(void) apic_phys = mp_lapic_addr; set_fixmap_nocache(FIX_APIC_BASE, apic_phys); - apic_printk(APIC_VERBOSE, "mapped APIC to %16lx ...
Sep 7, 5:58 pm 2008
Yinghai Lu
[PATCH 3/9] x86: add srat_detect_node for amd64
seperate that from amd_detect_cmp() Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/cpu/amd_64.c | 19 ++++++++++++------- 1 files changed, 12 insertions(+), 7 deletions(-) diff --git a/arch/x86/kernel/cpu/amd_64.c b/arch/x86/kernel/cpu/amd_64.c index 466a1ea..20c3f12 100644 --- a/arch/x86/kernel/cpu/amd_64.c +++ b/arch/x86/kernel/cpu/amd_64.c @@ -36,19 +36,23 @@ static void __cpuinit amd_detect_cmp(struct cpuinfo_x86 *c) { #ifdef CONFIG_SMP unsigned ...
Sep 7, 5:58 pm 2008
Ingo Molnar
Re: [PATCH 9/9] x86: little clean up intel.c/intel_64.c
applied to tip/x86/unify-cpu-detect, thanks. Ingo --
Sep 8, 6:46 am 2008
Yinghai Lu
[PATCH 9/9] x86: little clean up intel.c/intel_64.c
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/cpu/intel.c | 7 +++---- arch/x86/kernel/cpu/intel_64.c | 8 +++----- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/arch/x86/kernel/cpu/intel.c b/arch/x86/kernel/cpu/intel.c index bafa3a6..a669895 100644 --- a/arch/x86/kernel/cpu/intel.c +++ b/arch/x86/kernel/cpu/intel.c @@ -76,7 +76,7 @@ static void __cpuinit Intel_errata_workarounds(struct cpuinfo_x86 *c) /* * find out the number of ...
Sep 7, 5:58 pm 2008
Yinghai Lu
[PATCH 1/9] x86: cpu make amd.c more like amd_64.c v2
1. make 32bit have early_init_amd_mc and amd_detect_cmp 2. seperate init_amd_k5/k6/k7 ... v2: fix compiling for !CONFIG_SMP Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/cpu/amd.c | 396 ++++++++++++++++++++++++------------------ arch/x86/kernel/cpu/amd_64.c | 17 +- arch/x86/kernel/cpu/common.c | 2 +- include/asm-x86/processor.h | 2 +- 4 files changed, 236 insertions(+), 181 deletions(-) diff --git a/arch/x86/kernel/cpu/amd.c ...
Sep 7, 5:58 pm 2008
Yinghai Lu
[PATCH 5/9] x86: make amd.c have 64bit support code
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/cpu/amd.c | 137 +++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 126 insertions(+), 11 deletions(-) diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c index 3c8090d..32e7352 100644 --- a/arch/x86/kernel/cpu/amd.c +++ b/arch/x86/kernel/cpu/amd.c @@ -16,6 +16,7 @@ #include "cpu.h" +#ifdef CONFIG_X86_32 /* * B step AMD K6 before B 9730xxxx have hardware bugs that can cause ...
Sep 7, 5:58 pm 2008
Yinghai Lu
[PATCH 2/9] x86: remove duplicated force_mwait
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/cpu/amd_64.c | 2 -- arch/x86/kernel/process.c | 1 - 2 files changed, 0 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/cpu/amd_64.c b/arch/x86/kernel/cpu/amd_64.c index 7913e48..466a1ea 100644 --- a/arch/x86/kernel/cpu/amd_64.c +++ b/arch/x86/kernel/cpu/amd_64.c @@ -9,8 +9,6 @@ #include "cpu.h" -int force_mwait __cpuinitdata; - #ifdef CONFIG_NUMA static int __cpuinit nearby_node(int ...
Sep 7, 5:58 pm 2008
Yinghai Lu
[PATCH 6/9] x86: make amd_64 have 32 bit code
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/cpu/amd_64.c | 259 ++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 247 insertions(+), 12 deletions(-) diff --git a/arch/x86/kernel/cpu/amd_64.c b/arch/x86/kernel/cpu/amd_64.c index 1d83601..32e7352 100644 --- a/arch/x86/kernel/cpu/amd_64.c +++ b/arch/x86/kernel/cpu/amd_64.c @@ -16,7 +16,171 @@ #include "cpu.h" -#ifdef CONFIG_NUMA +#ifdef CONFIG_X86_32 +/* + * B step AMD K6 before B 9730xxxx have ...
Sep 7, 5:58 pm 2008
Ingo Molnar
Re: [PATCH 7/9] x86: make 64 bit to use amd.c
nice! Applied these patches to tip/x86/unify-cpu-detect: ff73152: x86: make 64 bit to use amd.c 2a02505: x86: make amd_64 have 32 bit code 6c62aa4: x86: make amd.c have 64bit support code 8d71a2e: x86: merge header in amd_64.c 2b86473: x86: add srat_detect_node for amd64 c58606a: x86: remove duplicated force_mwait 11fdd25: x86: cpu make amd.c more like amd_64.c v2 thanks Yinghai, Ingo --
Sep 8, 6:33 am 2008
Guillaume Chazarain
Re: [regression] __tick_program_event of hpet is stuck
The same thing is happening on my MacBookPro 3.2 (with nVidia binary driver sorry). Cheers. -- Guillaume
Sep 8, 3:12 pm 2008
Frans Pop
Re: [regression] __tick_program_event of hpet is stuck
I meant repeated as in "after different boots", but I now also see repeats when I leave the system on for some time. It keeps increasing the min_delta_ns to ever higher values. CE: __tick_program_event of hpet is stuck 1468f1b3c9 1468f1c751 CE: increasing min_delta_ns 5000 to 10000 nsec [...] CE: __tick_program_event of hpet is stuck 33576032f74 33576035684 CE: increasing min_delta_ns 10000 to 20000 nsec [...] CE: __tick_program_event of hpet is stuck 63242b30d28 63242b35b48 CE: ...
Sep 7, 6:13 pm 2008
Frans Pop Sep 8, 3:11 pm 2008
Stefan Hellermann
Re: [regression] __tick_program_event of hpet is stuck
Exactly the same problem here. This is a Lenovo Thinkpad R61 with current git head (7686ad56). Cheers, Stefan Hellermann --
Sep 8, 11:34 am 2008
Thomas Gleixner
Re: [regression] __tick_program_event of hpet is stuck
Can you both please provide the full dmesg output and the out put from lspci -vvv please ? Thanks, tglx --
Sep 8, 1:56 pm 2008
Jeremy Fitzhardinge
Re: [PATCH 6 of 7] x86: use early_ioremap in __acpi_map_table
I was concerned that would cause lots of cross-arch churn, but of course the only other relevant architecture is ia64. I'll prep a followup patch. J --
Sep 7, 5:03 pm 2008
Jeremy Fitzhardinge
Re: [PATCH 6 of 7] x86: use early_ioremap in __acpi_map_table
Yes, you're right, it's a mess. I put a unmap and warning in there, but there's lots of acpi code which doesn't unmap after using its table. It doesn't seem to intermix using two tables, fortunately, so the "unmap previous" behaviour of __acpi_map_table works OK, at least as far as I can see. J --
Sep 8, 12:41 pm 2008
Jeremy Fitzhardinge
Re: [PATCH 6 of 7] x86: use early_ioremap in __acpi_map_table
You mean there's code which just assumes that it can keep using a linear-mapped acpi even after __acpi_map_table() should have implicitly __acpi_map_table() is called by acpi_map_table(), which does have a acpi_unmap_table() counterpart. But it only calls iounmap() once we're past the stage of calling early_*(). I could easily make it call __acpi_unmap_table()->early_iounmap(). But if the concern is that the early boot callers of acpi_map_table() "know" that they never need to And the ...
Sep 8, 9:29 am 2008
Jeremy Fitzhardinge
Re: [Xen-devel] [PATCH 7 of 7] x86: always explicitly ma ...
OK, so what's your conclusion? Is this change OK or not? J --
Sep 7, 5:02 pm 2008
Yinghai Lu
Re: [Xen-devel] [PATCH 7 of 7] x86: always explicitly ma ...
Acked-by: Yinghai Lu <yhlu.kernel@gmail.com> --
Sep 7, 5:14 pm 2008
Ingo Molnar
Re: [PATCH 6 of 7] x86: use early_ioremap in __acpi_map_table
uhm, there's a nasty trap in that route: it can potentially cause a lot of breakage. It's not robust to assume that the ACPI code is sane wrt. mapping/unmapping, because it currently simply doesnt rely on robust unmapping (in the linear range). I tried it in the past and i found tons of crappy ACPI code all around that just never unmapped tables. Leaking ACPI maps are hard to find as well, and it can occur anytime during bootup. As a general principle it might be worth fixing ...
Sep 8, 7:26 am 2008
Vegard Nossum
Re: [GIT PULL] kmemcheck updates for tip/kmemcheck
Er, also written like: +#ifdef CONFIG_SMP Bonk. Vegard -- "The animistic metaphor of the bug that maliciously sneaked in while the programmer was not looking is intellectually dishonest as it disguises that the error is the programmer's own creation." -- E. W. Dijkstra, EWD1036 --
Sep 8, 8:26 am 2008
Ingo Molnar Sep 8, 10:08 am 2008
Vegard Nossum
Re: [GIT PULL] kmemcheck updates for tip/kmemcheck
Should really be just: +#if defined(CONFIG_SMP) Can you amend? Thanks a lot, Vegard -- "The animistic metaphor of the bug that maliciously sneaked in while the programmer was not looking is intellectually dishonest as it disguises that the error is the programmer's own creation." -- E. W. Dijkstra, EWD1036 --
Sep 8, 8:24 am 2008
Ingo Molnar
Re: [GIT PULL] kmemcheck updates for tip/kmemcheck
yeah, merges should generally be done in the upstream repo. Obviously git-request-pull must list all the commits that happened - it doesnt know which commits are 'interesting' or not. I've done an upstream merge. btw., a small build fix (see below) was needed. Ingo ----------------> From 92a9abb2c571ab8fedaee3537c5667b4e61188ce Mon Sep 17 00:00:00 2001 From: Ingo Molnar <mingo@elte.hu> Date: Mon, 8 Sep 2008 16:50:43 +0200 Subject: [PATCH] kmemcheck: build fix MIME-Version: ...
Sep 8, 8:17 am 2008
Linus Torvalds
Re: [BUG] x86 kenel won't boot under Virtual PC
Doesn't matter. If gcc passes "-mtune=i686" down to gas and thus the end result doesn't match gcc's own documentation (and whole point of -mtune), then it's still a gcc bug, even if it may not be a "cc1" bug. The fact that "cc1" and "gas" are two different phases is pretty much irrelevant. gcc calls them both. But sure, if there are separate bugzillas, post it in both. Linus --
Sep 8, 10:41 am 2008
David Sanders
Re: [BUG] x86 kenel won't boot under Virtual PC
Well, OK I could do that. But I can't bug every distribution in existence for I don't see that Linus's patch breaks the upstream kernel. Just the opposite, you go and determine in alternative.c that the processor doesn't support NOPL and then go ahead and use it anyway in nops.h. That makes no sense to me. Could we use the result of find_nop_table() instead of nops.h? David --
Sep 8, 6:25 am 2008
H. Peter Anvin
Re: [BUG] x86 kenel won't boot under Virtual PC
It almost certainly never gets as far as detect_nopl(). -hpa --
Sep 8, 8:38 am 2008
H. Peter Anvin
Re: [BUG] x86 kenel won't boot under Virtual PC
I should point out that the code above is from binutils (gas), not from gcc. It is entirely possible that doing something like "-mtune=core2 -Wa,-mtune=generic" might actually work, but I have not dug through the gcc code proper to figure out if that (a) would work, and (b) will remain the case... -hpa --
Sep 8, 10:12 am 2008
Ingo Molnar
Re: [BUG] x86 kenel won't boot under Virtual PC
yes. X86_P6_NOPS is a totally insignificant optimization and if it makes _any_ CPU not boot (be that virtual or real), then it's frankly not worth it. David, exactly how does the kernel fail to boot with latest -git? (v2.6.27-rc5-313-g64f996f or later) Does detect_nopl() run? It really should, and it should detect the non-working instructions. Ingo --
Sep 8, 8:23 am 2008
Ingo Molnar
Re: [BUG] x86 kenel won't boot under Virtual PC
yep. I thought about changing the name and adding a default y but keeping the name and also putting it behind EMBEDDED would be perfect. Ingo --
Sep 8, 10:02 am 2008
H. Peter Anvin
Re: [BUG] x86 kenel won't boot under Virtual PC
Under that logic we shouldn't even have CPU configurables, since you want it to "just work" whatever crap you're running on. That is EXACTLY what CONFIG_X86_GENERIC means, and the fact that any particular distribution is broken with respect to not enabling it is a bug in that distribution, and not grounds for breaking the upstream kernel. -hpa --
Sep 7, 9:04 pm 2008
H. Peter Anvin
Re: [BUG] x86 kenel won't boot under Virtual PC
That was broken long before by the gcc and binutils authors. -hpa --
Sep 8, 8:54 am 2008
H. Peter Anvin
Re: [BUG] x86 kenel won't boot under Virtual PC
No, please don't. Instead, David, please enable CONFIG_X86_GENERIC. -hpa --
Sep 7, 6:48 pm 2008
Linus Torvalds
Re: [BUG] x86 kenel won't boot under Virtual PC
I dunno.. Event he help-text doesn't actually agree with that: config X86_GENERIC bool "Generic x86 support" depends on X86_32 help Instead of just including optimizations for the selected x86 variant (e.g. PII, Crusoe or Athlon), include some more generic optimizations as well. This will make the kernel perform better on x86 CPUs other than that selected. This is really intended for distributors who ...
Sep 8, 8:09 am 2008
H. Peter Anvin
Re: [BUG] x86 kenel won't boot under Virtual PC
The help text is indeed out of date. I did a patch yesterday to, among other things, update it; I also want to verify that we are disabling all options that can cause gcc or binutils to generate nopl's; I plan to push it today. -hpa --
Sep 8, 8:43 am 2008
david
Re: [BUG] x86 kenel won't boot under Virtual PC
I was arguing against the proposal to enable generic unless someone went under embedded to disable it. if that's not what was being proposed, my apologies for misunderstanding. David Lang --
Sep 8, 11:51 am 2008
H. Peter Anvin
Re: [BUG] x86 kenel won't boot under Virtual PC
Sounds like a plan. I'll have a patch shortly. -hpa --
Sep 8, 9:32 am 2008
Andi Kleen
Re: [BUG] x86 kenel won't boot under Virtual PC
You (or whoever did those changes) likely broke a lot of distribution setups subtly then. Hopefully the changes were worth that. -Andi -- ak@linux.intel.com --
Sep 8, 8:50 am 2008
Linus Torvalds
Re: [BUG] x86 kenel won't boot under Virtual PC
Btw, I do think that the whole NOPL issue is separate from all the other issues. There can be _other_ cases where it really is worth doing some "generic" optimizations or being more "specific", and my argument really is that NOPL is _not_ one of those cases. So I'm still not sure that X86_GENERIC is necessarily the answer. The answer may be: - never use NOPL statically unless we _know_ it works (eg x86-64) - never allow such a stupid decision by gcc as to use NOPL on ...
Sep 8, 10:04 am 2008
David Sanders
Re: [BUG] x86 kenel won't boot under Virtual PC
I checked the distribution I'm using (debian) and the kernel shipped with it does not have CONFIG_X86_GENERIC set. This means _when_ they ship a 2.6.27 kernel it won't work with Virtual PC so I won't be able to even install it. However, with Linus's patch I am guaranteed to work for all kernels built for X86_32 and even for X86_64 because in that case the virtual environment will support the multibyte NOPs. I need Linus's fix in order to support the Linux-using virtual pc community. I ...
Sep 7, 7:49 pm 2008
david
Re: [BUG] x86 kenel won't boot under Virtual PC
I always understood the CPU selection to be "this CPU and ones compatible with it will work, others won't" unless generic was enabled. the fact that only a few CPU's wouldn't work and the rest was optimization is true, but the details of what chips would and wouldn't work were never that clear. The difference between a kernel compiled for generic and once compiled for a specific CPU can be very significant. (I ran into 30% differences back in the 2.4 days between generic and Athlon) This ...
Sep 8, 9:34 am 2008
H. Peter Anvin
Re: [BUG] x86 kenel won't boot under Virtual PC
Yes, it does: /* We need to decide which NOP sequence to use for 32bit and 64bit. When -mtune= is used: 1. For PROCESSOR_I386, PROCESSOR_I486, PROCESSOR_PENTIUM and PROCESSOR_GENERIC32, f32_patt will be used. 2. For PROCESSOR_PENTIUMPRO, PROCESSOR_PENTIUM4, PROCESSOR_NOCONA, PROCESSOR_CORE, PROCESSOR_CORE2, and PROCESSOR_GENERIC64, alt_long_patt will be used. 3. For PROCESSOR_ATHLON, PROCESSOR_K6, PROCESSOR_K8 and PROCESSOR_AMDFAM10, ...
Sep 8, 10:08 am 2008
David Sanders
Re: [BUG] x86 kenel won't boot under Virtual PC
Ingo, With CONFIG_X86_GENERIC=y, the latest v2.6.27 in Linus's tree boots fine. But if you don't select that option (and some distributions don't) it won't boot at all. It just hangs (blank screen) with no error messages and nothing in dmesg. I assume it is hitting one of the ASM_NOP? instructions. David --
Sep 8, 8:38 am 2008
Andi Kleen
Re: [BUG] x86 kenel won't boot under Virtual PC
> Under that logic we shouldn't even have CPU configurables, since you At least when I introduced X86_GENERIC it was just an optimization, not a requirement. That is the kernel pretty much always did "just work" (with only a very few exceptions like PAE vs non PAE) on all CPUs. The CPU configs also just specified optimizations, not correctness. The code for all CPUs used to be always there. X86_GENERIC was mostly just to do things like always use the largest cache alignment. I think ...
Sep 8, 2:42 am 2008
Linus Torvalds
Re: [BUG] x86 kenel won't boot under Virtual PC
That is A TOTAL PIECE OF SH*T, and against gcc's own documentation. "-mtune=x" is very much defined to be a performance _tuning_ option, not an "architectural" option. Quite frankly, this is a gcc bug. Plain and simple. Look at the gcc man-pages. It very much says: -mtune=cpu_type Set only the instruction scheduling parameters for machine type cpu_type. The instruction set is not changed. (in various different formats - it says the same things ...
Sep 8, 10:38 am 2008
Andi Kleen
Re: [BUG] x86 kenel won't boot under Virtual PC
The help text matches in how I wrote this option originally. The original use case was the 128 byte P4 cache lines. -Andi --
Sep 8, 8:45 am 2008
H. Peter Anvin
Re: [BUG] x86 kenel won't boot under Virtual PC
The issue at hand is that at least with the current toolchain, we need to pass -march=generic in order for these instructions to be generated. We have an option for this, CONFIG_X86_GENERIC, which distributions really *should* be using anyway. And yes, it should be the default. The patch I have makes it "default y" as well as change the help text. Would it make you happier if this option was forced enabled unless CONFIG_EMBEDDED was on? -hpa --
Sep 8, 9:13 am 2008
Andi Kleen
Re: [BUG] x86 kenel won't boot under Virtual PC
FWIW I personally think Linux should always use very conservative nops. Unconditionally. This issue already cost far too much developer time gcc just uses .p2align, so it comes down to binutils Yes there seems to be a pretty scary ISA selection code in there. Line 565 ...
Sep 8, 10:18 am 2008
H. Peter Anvin
Re: [BUG] x86 kenel won't boot under Virtual PC
Okay, a few things here... 1. First, I wrote up a patch yesterday to update the CONFIG_X86_GENERIC description and to make it "default y". It is currently on x86/defconfig, but I think it should be promoted to mainline immediately. 2. X86_P6_NOPS is not the only source of static NOPLs. If gcc is set to optimize for specific architectures, then gcc/binutils will generate static NOPLs. The only way we can prevent that is by not using specific -march options, as far as I can ...
Sep 8, 8:36 am 2008
H. Peter Anvin
Re: [BUG] x86 kenel won't boot under Virtual PC
I guess the other option is to create a new option for selecting the dangerous -mtune= variants, and possibly lock *that* option to CONFIG_EMBEDDED. -hpa --
Sep 8, 9:15 am 2008
Linus Torvalds
Re: [BUG] x86 kenel won't boot under Virtual PC
Ok, goodie. And we don't pass the -mtune=xyz option when we use gas I have no problem with it, with the fix to actually assemble things. But I also don't think it's a huge deal (ie not 2.6.27 stuff - we don't know if some odd version of as does something odd with -mtune=generic, or whether this can interact oddly with some version of gcc perhaps passing the _correct_ -mtune to the assembler?). Linus --
Sep 8, 3:42 pm 2008
H. Peter Anvin Sep 8, 10:59 am 2008
David Sanders
Re: [BUG] x86 kenel won't boot under Virtual PC
The option that works best for users is for the kernel to not use NOPLs on 32-bit cpu's. That is what Linus's patch accomplishes. I am not having any issues with gcc or gas generating NOPLs. The kernel should work out of the box for PentiumPro or later cpu's running in 32-bit mode. I think you are trying to over-engineer the issue. Just apply the patch and move on. David --
Sep 8, 9:26 am 2008
H. Peter Anvin
Re: [BUG] x86 kenel won't boot under Virtual PC
It's about producing code that works generically, not a performance boost. -hpa --
Sep 8, 9:42 am 2008
Andi Kleen
Re: [BUG] x86 kenel won't boot under Virtual PC
Previously they could set CPU x and it would still run on other CPUs even if that option was not set. If that's not the case anymore then they will have some unhappy users once they update their kernels. -Andi -- ak@linux.intel.com --
Sep 8, 8:57 am 2008
Linus Torvalds
Re: [BUG] x86 kenel won't boot under Virtual PC
Peter. The help text may be out of date because of changes to NOPL usage, but you should ask yourself whether the change is actually a _good_ change. IOW, I really don't see why you are pushing changing the help-text, instead of just making the kernel work better. The fact that some broken gcc/binutils versions may screw us over _anyway_ may well mean that we should just push back on _that_ change instead. Quite frankly, from a user perspective, even a very _technical_ one, ...
Sep 8, 9:07 am 2008
H. Peter Anvin
Re: [BUG] x86 kenel won't boot under Virtual PC
OK, turns out that is already happending, by virtue of: # add at the end to overwrite eventual tuning options from earlier # cpu entries cflags-$(CONFIG_X86_GENERIC) += $(call tune,generic,$(call tune,i686)) -mtune=generic on 32-bit CPUs disable NOPL generation, and any gcc/binutils combo too old to have -mtune=generic won't generate them at all. I think I verified this some time in the past, but I just had to refresh my memory. This was a major reason to put this functionality on ...
Sep 8, 8:50 am 2008
Linus Torvalds
Re: [BUG] x86 kenel won't boot under Virtual PC
No. Read the help text.. Yes, we care about features that MATTER. But if compiles start using features that don't really matter, and make a specific kernel _too_ specific, then we need to reign in the madness. IOW, it's a balance. On one hand, yes, the uarch makes sense. On the other, it's just stupid to have to worry about details that don't realistically make any difference at all - except whether the machine works or not. And yes, we could just put this up as a Virtual PC ...
Sep 8, 9:59 am 2008
H. Peter Anvin
Re: [BUG] x86 kenel won't boot under Virtual PC
Likely broke a lot of distribution setups how? -hpa --
Sep 8, 8:50 am 2008
Linus Torvalds
Re: [BUG] x86 kenel won't boot under Virtual PC
It sounds like it shouldn't be a default at all, it should just _always_ be on, if there really are gcc's that care that much. Most of our optimizations have historically really been about _optimizing_, not about "it won't work", even if we have had exceptions (but as mentioned, I think Yes, putting it behind EMBEDDED will certainly fix the issue. Anybody who actually enables EMBEDDED and does all his choices by hand should no longer expect to not have to know _exactly_ what he is ...
Sep 8, 9:20 am 2008
Andi Kleen
Re: [BUG] x86 kenel won't boot under Virtual PC
Originally it was an option because the 128 byte cache line it selects caused bloat in several important data structures. That was back then when cache line padded NR_CPUs arrays were still pretty common. I don't know if it's still a problem, but before making it default y it would be good to check the dynamic+static memory cost at least. -Andi --
Sep 8, 10:00 am 2008
H. Peter Anvin
Re: [BUG] x86 kenel won't boot under Virtual PC
OK, digging some more into this garbage... Apparently the situation isn't quite as dire as it first seems. At least gcc 4.3.0 doesn't actually pass -mtune= to gas; it just drops the option on the floor. This means this bug isn't manifest when calling from gcc (as opposed to invoking as directly.) However, I would still like to push the following patch to be on the safe side, ok? -hpa
Sep 8, 12:09 pm 2008
Cyrill Gorcunov
Re: [RFC] x86: io-apic - convert DO_ACTION macro into function
[Ingo Molnar - Mon, Sep 08, 2008 at 04:33:35PM +0200] | | * Cyrill Gorcunov <gorcunov@gmail.com> wrote: | | > Convert DO_ACTION macro into more obvious io_apic_modify_irq | > function with callers | > --- | > | > I found it more readable then original was. Especialy we could grep | > the callers in normal way. It's just an attempt - free to drop this | > patch. I hope I don't messed with all these masks :) So the question | > is rather NOT about details but idea in general. | | yeah ...
Sep 8, 7:42 am 2008
Ingo Molnar
Re: [RFC] x86: io-apic - convert DO_ACTION macro into function
that's non-trivial impact. Did the .o md5sum survive this transformation just fine? (in theory gcc should generate the same code - but it doesnt always do that across macro->inline function changes, so it's hard to validate these kinds of changes.) Ingo --
Sep 8, 7:33 am 2008
Alejandro Riveira
Re: Various OOps with 2.6.27-rc5
El lun, 08-09-2008 a las 12:46 -0700, Randy Dunlap escribi=C3=B3: So is it useful to report them or i just do: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" Thanks for the answer, Cheers --=20 The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he who, by peddling second-rate technology, led them into it in the first place.=20 ...
Sep 8, 1:36 pm 2008
Randy Dunlap
Re: Various OOps with 2.6.27-rc5
I'm not sure. I haven't followed the other problem reports very closely. AFAIK, it represents a real bug, but if your system is running OK, you could just ignore it... --- ~Randy Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA http://linuxplumbersconf.org/ --
Sep 8, 1:57 pm 2008
Alejandro Riveira
Re: Various OOps with 2.6.27-rc5
=20 Ok; thank you for your time
Sep 8, 3:21 pm 2008
Randy Dunlap
Re: Various OOps with 2.6.27-rc5
Actually they are INFO: messages with getnstimeofday() being stuck, --- ~Randy Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA http://linuxplumbersconf.org/ --
Sep 8, 12:46 pm 2008
Ingo Molnar
Re: update on hrtimer based select/poll and range-hrtimers
pulled into tip/timers/range-hrtimers, thanks Arjan! Ingo --
Sep 8, 7:31 am 2008
H. Peter Anvin
Re: [2.6.27] overlapping early reservations [was: early ...
Most of the time, ignoring the initrd would result in a panic anyway, and arguably the times it wouldn't, it's going to do something wrong. -hpa --
Sep 7, 9:26 pm 2008
Ingo Molnar
Re: [2.6.27] overlapping early reservations [was: early ...
we dont really ignore it - we detect that it got corrupted by the bootloader. (it got overwritten by the kernel image - information has been destroyed irrevocably) how we react to that breakage we detect is up to debate: it's fine to try to continue (presumably a huge vmlinux means it has all the drivers already) - and if a system relies on an initrd it wont get fast in bootup anyway. that's why i suggested to print a warning, do a 5 seconds delay after that warning via ...
Sep 8, 7:30 am 2008
Ingo Molnar
Re: [PATCH 5/3] x86: fix compile error with corruption c ...
applied to tip/x86/memory-corruption-check - thanks Jeremy. Ingo --
Sep 8, 11:03 am 2008
Jeremy Fitzhardinge
Re: [PATCH 0 of 3] Low memory corruption detection and w ...
Well, the specific problem is that the BIOS appears to corrupt low memory. It might corrupt other memory anywhere, but that would be pretty pathologically evil. The assumption is that it gets away with it Well, it wouldn't help in this case. It's not random hardware bit-flipping. J --
Sep 8, 9:47 am 2008
Alan Cox
Re: [PATCH 0 of 3] Low memory corruption detection and w ...
On Mon, 08 Sep 2008 09:47:07 -0700 Or that its hitting stuff that doesn't kill the OS... What has the vendor had to say and if they are not being helpful has anyone considered delivered them a report of the corruption and trace info by say registered post with a suggestion that they might now be knowingly exposing customers to unneccessary risk through their inaction ... Alan --
Sep 8, 10:01 am 2008
Nick Piggin
Re: [PATCH 0 of 3] Low memory corruption detection and w ...
OK, fine, sorry I didn't follow the thread back. --
Sep 8, 11:44 am 2008
Nick Piggin
Re: [PATCH 0 of 3] Low memory corruption detection and w ...
Why not high memory as well? We put page tables there too... (rant: why can we still buy non-ECC memory?) --
Sep 8, 4:23 am 2008
Tony Vroon
Re: Request for MCE decode (AMD Barcelona, fam 10h)
Indication of the faulty part, so I know whether to contact AMD or Tyan. Without a clear idea of which it could quickly turn into an infinite redirect loop between the two. Regards, Tony V.
Sep 8, 5:22 am 2008
Andi Kleen
Re: Request for MCE decode (AMD Barcelona, fam 10h)
PCI aborts don't normally cause machine checks, no. -Andi -- ak@linux.intel.com --
Sep 8, 7:00 am 2008
Tony Vroon
Re: Request for MCE decode (AMD Barcelona, fam 10h)
I was hoping for some help in narrowing it down, yes. Jeroen's reply was very helpful, and more among the line of what I was expecting. I have contacted all vendors involved now, and it looks like the system RAM is not fully compatible with the mainboard. With regard to the message, I would suggest an alternate wording like such: A hardware component in your system is failing. Please contact your hardware vendor(s). If unsure, contact your CPU vendor first. Regards, Tony V.
Sep 8, 8:52 am 2008
Andi Kleen
Re: Request for MCE decode (AMD Barcelona, fam 10h)
It unfortunately turns out that mcelog logging is a tricky psychological problem. How should the warning above have looked like so that you would not have required "peer insight" and actually just contacted your hardware vendor? Thank you. -Andi (who wonders if <blink> tags in syslog would be useful to solve this) --
Sep 8, 3:55 am 2008
Jeroen van Rijn
Re: Request for MCE decode (AMD Barcelona, fam 10h)
Or this: "A hardware component in your system is failing. [insert specific bit if MCE is certain enough about what part] If you can, try to narrow it down by placing it in another mainboard (assuming you have one available), or run [memcheck, another tool]. Then contact the hardware vendor(s) in question, if uncertain, try Jeroen. --
Sep 8, 9:25 am 2008
Jeroen van Rijn
Re: Request for MCE decode (AMD Barcelona, fam 10h)
I suppose mcelog might be extended to point at possible tools to get a second opinion, in case the admin would like to to be entirely certain. In their position I can understand them when their vendor asks them if it's the hardware and what tests they've run to rule out software. Think for example a machine check that might point to faulty RAM, it might direct the admin to run memcheck if mcelog alone isn't Yikes, ixnay to the <blinkay>. Next people will ask for flash support to get ...
Sep 8, 4:13 am 2008
Andi Kleen
Re: Request for MCE decode (AMD Barcelona, fam 10h)
Ok so you wanted linux-kernel to diagnose your hardware for you? For DIMMs you can get that with --dmi if you run the latest mcelog and if it's a memory problem. Unfortunately the BIOS vendors in their wisdom often deliver incorrect DMI tables, so the information is not always very useful. -Andi -- ak@linux.intel.com --
Sep 8, 7:04 am 2008
Pavel Machek
Re: Request for MCE decode (AMD Barcelona, fam 10h)
Ugh, actually this is not right. AFAIK MCEs can be triggered by stuff like PCI aborts, which in turn can be caused by software. If you really want me to contact hw vendor, you need to be a lot more specific. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html --
Sep 8, 6:55 am 2008
Mike Travis
Re: [RFC 11/13] genapic: reduce stack pressuge in io_api ...
Umm, right, my cut and paste error... Thanks, --
Sep 8, 8:29 am 2008
Mike Travis
Re: [RFC 11/13] genapic: reduce stack pressuge in io_api ...
As I did that one first, I didn't want to muddle through too much i386 code, but when I did the vector_allocation_domain, it became more clear that making them common would be better. I also tripped myself up because one of my test i386 configs had 64 cpus and it fired up the "NR_CPUS > BITS_PER_LON" code. ;-) [And I'm supposing it's probably justified to believe that there may be "fairly large" 32-bit systems, for those applications that need horsepower but not a lot of ...
Sep 8, 8:01 am 2008
Andi Kleen
Re: [RFC 09/13] genapic: reduce stack pressuge in io_api ...
Sorry that patch seems incredibly messy. Global variables and a tricky ordering and while it's at least commented it's still a mess and maintenance unfriendly. Also I think set_affinity is the only case where a truly arbitary cpu mask can be passed in anyways. And it's passed in from elsewhere. The other cases generally just want to handle a subset of CPUs which are nearby. How about you define a new cpumask like type that consists of a start/stop CPU and a mask for that range only and ...
Sep 8, 4:01 am 2008
Mike Travis
Re: [RFC 09/13] genapic: reduce stack pressuge in io_api ...
Thanks for the comments. I did mull over something like this early on in researching this "cpumask" problem, but the problem of having different cpumask operators didn't seem worthwhile. But perhaps for a very limited use (with very few ops), it would be worthwhile. But how big to make these? Variable sized? Config option? Should I introduce some kind of MAX_CPUS_PER_NODE constant? (NR_CPUS/MAX_NUMNODES I don't think is the right answer.) Thanks, Mike --
Sep 8, 9:03 am 2008
Ingo Molnar
Re: [RFC 07/13] sched: Reduce stack size requirements in ...
seconded. Mike, since none of this is v2.6.27 material, lets do it right with a v2.6.28 target. You know all the cpumask_t using code sites inside out already, so the know-how is all available already :-) Please make it finegrained series of patches so that we can resolve conflicts with other trees more easily. perhaps propose the new cpumask_t API early (in this thread?), so that people can comment on it before NAKs come flying against a full patchset ;-) Ingo --
Sep 8, 11:38 am 2008
Peter Zijlstra
Re: [RFC 07/13] sched: Reduce stack size requirements in ...
The thing is, you add serialization requirements (be it preempt_disable, or a lock for some preemptable form) to code that didn't had any for a case that hardly anyone will ever encounter in real life - I mean, really, who has 4096 cpus? Stuffing the cpumap_t in an already existing structure that has suitable serialization requirements is of course the preferred situation, but lacking that a dynamic cpumap_t is best, since it keeps the references local, and thus doesn't add requirements to ...
Sep 8, 8:05 am 2008
Mike Travis
Re: [RFC 07/13] sched: Reduce stack size requirements in ...
Again, yes, as I got farther into that one, it became clear that having static cpumask_t temps over too large a range was ending up very messy. Thanks, Mike --
Sep 8, 7:56 am 2008
Mike Travis
Re: [RFC 07/13] sched: Reduce stack size requirements in ...
Yeah, I really agree as well. But I wanted to start playing with using cpumask_t pointers in some fairly straight forward manner. Linus's and Ingo's suggestion to just bite the bullet and redefine the cpumask_t would force a lot of changes to be made, but perhaps that's really the way to go. As to obtaining temp cpumask_t's (both early and late), perhaps a pool of them would be better? I believe it could be done similar to alloc_bootmem (but much simpler), and I don't think there's enough ...
Sep 8, 7:54 am 2008
Mike Travis
Re: [RFC 00/13] smp: reduce stack requirements for genap ...
What I'll do is resubmit the changes that have nothing to do with cpumask_ptr's first as they are mostly just "cleaning up extraneous temp cpumask variables". Then I'll try the redefine of cpumask_t to see what kind of hornet's nest is opened up. What do you think of a pool of temp cpumask_t's? That way, they could be made available early (before kmalloc is available). An atomic op could be used for reservation which when the zero-based percpu variables finally get completed, become very ...
Sep 8, 8:17 am 2008
Peter Zijlstra
Re: [Bug #11209] 2.6.27-rc1 process time accounting
commit 49048622eae698e5c4ae61f7e71200f265ccc529 Author: Balbir Singh <balbir@linux.vnet.ibm.com> Date: Fri Sep 5 18:12:23 2008 +0200 sched: fix process time monotonicity Spencer reported a problem where utime and stime were going negative despite the fixes in commit b27f03d4bdc145a09fb7b0c0e004b29f1ee555fa. The suspected reason for the problem is that signal_struct maintains it's own utime and stime (of exited tasks), these are not updated using the new task_utime() ...
Sep 7, 11:40 pm 2008
Martin Michlmayr
Re: [Bug #11334] myri10ge: use ioremap_wc: compilation f ...
Your patch fixes the compilation error I reported, thanks. -- Martin Michlmayr http://www.cyrius.com/ --
Sep 8, 1:52 am 2008
Greg KH
Re: [Bug #11439] [2.6.27-rc4-git4] compilation warnings
Jesse, have you queued up this patch to send to Linus for 2.6.27? thanks, greg k-h --
Sep 7, 9:44 pm 2008
H. Peter Anvin
Re: [PATCH] init: bzip2 or lzma -compressed kernels and ...
Both 7zip and LZMA-Utils have serious file format problems. The author of LZMA-Utils is working on a new format, which is likely to be widely adopted once it materializes. -hpa --
Sep 8, 1:35 am 2008
Jörn
Re: [PATCH] init: bzip2 or lzma -compressed kernels and ...
Less, actually. Iirc gzip takes about 280k for compression and somewhere below 100k for decompression with the kernel runtime zlib. The various copies that unpack kernels at boottime may be worse - they are certainly rather old copies of zlib and haven't seen much maintenance since. Jörn -- Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats. -- Howard Aiken quoted by Ken Iverson quoted by Jim Horning quoted by Raph ...
Sep 8, 6:14 am 2008
Robert Hancock
Re: Q: (2.6.16 & ext3) bad SMP load balancing when writi ...
I suspect this behavior may have already been changed, you may want to try a newer kernel and see.. --
Sep 8, 7:36 am 2008
Ulrich Windl
Re: Q: (2.6.16 & ext3) bad SMP load balancing when writi ...
Robert, back to the question: Assuming the I/O is limited by the controller, communication channel and device, does it ever make any sense to start additional I/O daemons for a device that is already handled by a daemon and doesn't have an alternate communication channel (to make more dirty block go onto the device)? (Assuming no daemon servers more than one device). Regards, --
Sep 8, 12:44 am 2008
Masoud Sharbiani Sep 8, 10:21 am 2008
Kenji Kaneshige
Re: hotplug create_slot hang
I'm sorry, but I don't have any idea so far. Yinghai, does this happen even when pciehp is not configured? Thanks, Kenji Kaneshige --
Sep 8, 5:55 am 2008
Bill Davidsen
Re: nice and hyperthreading on atom
Phil, I got about the same improvement when CFS was being evaluated from patches, so I think you can trust your result, HT really does help in the 1.30..1.35 range depending on the application. It also seems to help when processes or threads are running data through a pipe, and my check Just to provide a confirmation of the magnitude of the benefit, no real new information, although you might have a real piped operation to track, noting the real time, CPU time, and ctx rate. I believe ...
Sep 7, 6:09 pm 2008
Thomas Renninger
Re: ACPI video.c brightness handler conflicts with toshi ...
It is in latest ACPI test branch queued for 2.6.28. The problem in bug: http://bugzilla.kernel.org/show_bug.cgi?id=9614 is another. But the patchset pointed to in comment #43 should fix several, also your problem. If not, please tell me and open a new bug. Thanks, Thomas --
Sep 7, 6:01 pm 2008
Zhang Rui
Re: ACPI video.c brightness handler conflicts with toshi ...
Yes, the patches are in Andi's test tree currently. please run #git-clone git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-acpi-2.6 acpi_test #git-branch -r #git-branch --track test origin/test #git-checkout test to get the source code if you want to give it a try. :) thanks, rui --
Sep 7, 6:13 pm 2008
Andrey Borzenkov
Re: ACPI video.c brightness handler conflicts with toshi ...
It was exactly the right one. I'll get a look at adding proper detection for Toshiba HCI systems. Thank you!
Sep 8, 10:24 am 2008
Nick Piggin
Re: 2.6.27-rc5-mm1: 3 WARN_ON dumps during boot (acpi + ...
It shouldn't be, because the old code has that same warning I think. It also probably shouldn't be the caller, because nothing is using the new interfaces yet. I'm sure it must be something wrong with the vmap rewrite patch, but I'm simply not having any luck reproducing it yet. Is 32-bit a common theme? (I'm trying to test 64-bit with a greatly reduced vmalloc space, but I don't have access to a 32-bit compiler just now - travelling). I might have to send a test-and-report-back debug ...
Sep 8, 2:05 am 2008
Krzysztof Helt
Re: 2.6.27-rc5-mm1: 3 WARN_ON dumps during boot (acpi + ...
On Mon, 8 Sep 2008 19:37:16 +1000 The dmesg with Nick's patch below (now the third WARN_ON is triggered in different module). Regards, Krzysztof Linux version 2.6.27-rc5-mm1 (root@xxx) (gcc version 3.4.6) #2 SMP Mon Sep 8 17:49:16 CEST 2008 PAT WC disabled due to known CPU erratum. BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved) ...
Sep 8, 10:52 am 2008
Nick Piggin
Re: 2.6.27-rc5-mm1: 3 WARN_ON dumps during boot (acpi + ...
OK, would it be possible to test the following patch on the failing machine(s), and send me the complete dmesg trace afterwards, please? The patch does a little bit of extra page table checking, and also prints a trace of operations on the vmap-space. Thanks, Nick
Sep 8, 2:37 am 2008
David Sanders
Re: [git pull] x86 fixes (NOPL issue)
We it be possible to send these fixes back the stable trees 2.6.26.y and 2.6.25.y? David --
Sep 8, 8:02 am 2008
Ingo Molnar
Re: [RFC 0/4] Using HPET in MSI mode and setting up per ...
applied to tip/timers/hpet-percpu, thanks Venki! Ingo --
Sep 8, 10:55 am 2008
Venki Pallipadi
Re: [RFC 0/4] Using HPET in MSI mode and setting up per ...
There was one code path, with CONFIG_PCI_MSI disabled, where we were accessing hpet_devs without initialization. That resulted in the above crash. The change below adds a check for hpet_devs. Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Signed-off-by: Shaohua Li <shaohua.li@intel.com> --- arch/x86/kernel/hpet.c | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) Index: ...
Sep 8, 10:18 am 2008
David Miller
Re: [PATCH 0/3] smp: reduce stack requirements for smp_c ...
From: Mike Travis <travis@sgi.com> Yes, of course, the pointer should be const. --
Sep 8, 1:48 pm 2008
David Miller
Re: [PATCH 0/3] smp: reduce stack requirements for smp_c ...
From: Nick Piggin <nickpiggin@yahoo.com.au> This is a great idea, especially since it will make it even more painfully obvious that essentially any function local cpumask_t variable is a bug. Really, it seems sensible to do something like: 1) Make cpumask_t a pointer. 2) Add cpumask_data_t which is what cpumask_t is now. This gets used when for the actual storage, and will only get applied to datastructures that are dynamically allocated. For example, for the cpu_vm_mask in ...
Sep 8, 12:51 pm 2008
Mike Travis
Re: [PATCH 0/3] smp: reduce stack requirements for smp_c ...
Linus's idea of defining cpumask_t to be a simple long[1] or a pointer to a cpumask is a good one. Unfortunately, the amount (and breadth) of the code changes required is daunting, to say the least. In my source tree there are 892 references to cpumask_t. But I'll start looking into it asap. I don't know however if "NR_CPUS > BITS_PER_LONG" is the correct metric to decide when to use pointers. There must be a better "pain" indicator... ;-) Thanks, Mike --
Sep 8, 8:41 am 2008
Mike Travis
Re: [PATCH 0/3] smp: reduce stack requirements for smp_c ...
Yes, that's what I have done in the past ... but putting it into the QA I was wondering if we'd need to be able to default a cpumask_t pointer argument to be a const and then use a different method for those cases where it shouldn't be? This would strengthen the compiler type checking of functions calls. For example: proto(cpumask_t mask) would imply that *mask is a const, whereas proto(cpumask_var mask) would indicate it to be non-const? But then we couldn't use "cpumask_t" ...
Sep 8, 1:11 pm 2008
Nick Piggin
Re: [PATCH 0/3] smp: reduce stack requirements
Considering that, unless I'm mistaken, you want to run production systems with 4096 CPUs at some point, then I would say you should really consider increasing NR_CPUS _further_ than that in QA efforts, so that we might be a bit more confident of running production kernels with 4096. Is that being tried? Setting it to 8192 or even higher during QA seems like a good idea to me. --
Sep 8, 3:30 am 2008
Jes Sorensen
Re: [PATCH 0/3] smp: reduce stack requirements for smp_c ...
Cool, I think we should, it's like a ticking bomb waiting to explode on us eventually. IMHO it was a big mistake to allow cpumask_t being passed by value in the first place. Cheers, Jes --
Sep 8, 2:48 am 2008
Mike Travis
Re: [PATCH 0/3] smp: reduce stack requirements for smp_c ...
That's a good idea. I do occasionally set it to 16k (and 64k) for experimental reasons (and to really highlight where cpumask_t space hogs reside), but I hadn't thought to do it in the QA environment. Thanks, Mike --
Sep 8, 8:47 am 2008
Aaron Straus
Re: [NFS] blocks of zeros (NULLs) in NFS files in kernel ...
Hi Chuck, I think fp.flush() in Python is equivalent to fflush() i.e. it only flushes the stdio buffer. It doesn't actually call fsync or fdatasync or anything like that. We can pretty easily change the Python code to use the syscall I've exported them on the server as sync e.g. in exports: /export 192.168.0.0/24(rw,sync) However I don't give any special options when mounting e.e. on the client: mount machine:/export mntpnt Anyway thanks for looking at this and let me ...
Sep 8, 3:02 pm 2008
Aaron Straus
Re: [NFS] blocks of zeros (NULLs) in NFS files in kernel ...
Hi, OK in addition to the bisection I've collected trace data for the good (commit 4d770ccf4257b23a7ca2a85de1b1c22657b581d8) and bad (commit e261f51f25b98c213e0b3d7f2109b117d714f69d) cases. Attached is a file called trace.tar.bz2 inside you'll find 4 files, for the two sessions: bad-wireshark bad-strace good-wireshark good-strace From a quick glance the difference seems to be the bad case does an UNSTABLE NFS WRITE call. I don't really know what that means or what its ...
Sep 8, 12:02 pm 2008
Chuck Lever
Re: [NFS] blocks of zeros (NULLs) in NFS files in kernel ...
A little analysis reveals the bad behavior on the wire. I filtered the network traces for just WRITE requests. There were six in the good trace, and five in the bad. This seems to correspond with the strace logs, which show that you stopped the bad run before it generated more writes. Good: time: offset: len: sync: byte range: 35.402734 0 8000 FILE_SYNC [0, 7999] 100.405170 4096 11904 FILE_SYNC ...
Sep 8, 2:15 pm 2008
Yinghai Lu
Re: [2.6.27] overlapping early reservations [was: early ...
On Mon, Sep 8, 2008 at 10:54 AM, Luca Tettamanti <kronos.it@gmail.com> wrote: can you post boot log with working kernel + "debug"? YH --
Sep 8, 11:04 am 2008
Luca Tettamanti
Re: [2.6.27] overlapping early reservations [was: early ...
BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009c800 (usable) BIOS-e820: 000000000009c800 - 00000000000a0000 (reserved) BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 00000000bbf90000 (usable) BIOS-e820: 00000000bbf90000 - 00000000bbf9e000 (ACPI data) BIOS-e820: 00000000bbf9e000 - 00000000bbfe0000 (ACPI NVS) BIOS-e820: 00000000bbfe0000 - 00000000bc000000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 ...
Sep 8, 1:00 pm 2008
Yinghai Lu Sep 8, 1:46 pm 2008
Luca Tettamanti
Re: [2.6.27] overlapping early reservations [was: early ...
Nope, parse_early_param() is called in start_kernel(), my kernel dies How does LILO decides where to put the initrd (I find LILO code... obscure)? I mean, it gets a compressed image: how does it know the size of the uncompressed kernel image? Is it the payload_length in the real mode header? (answer to self: no, it appears to be the compressed I'm already using the latest version. Luca --
Sep 8, 10:54 am 2008
Yinghai Lu
Re: [2.6.27] overlapping early reservations [was: early ...
that could explain sth. big kernel use more, and lilo put ramdisk need to figure out, lilo put ramdisk so low... need to know e820 table layout... YH --
Sep 8, 12:35 pm 2008
Luca Tettamanti
Re: [2.6.27] overlapping early reservations [was: early ...
Yes, that's correct, but it doesn't seem related to a particular configuration item (moon phase maybe). For example the kernel I'm using right now (-rc4-something) has the same config as a non-working kernel minus LOCKDEP, but git-current minus LOCKDEP does not work. On another kernel I got a working config just enabling DEBUG_INFO, in another case I disabled MTD. Luca --
Sep 8, 2:25 pm 2008
Yinghai Lu Sep 8, 3:32 pm 2008
Luca Tettamanti
Re: [2.6.27] overlapping early reservations [was: early ...
This is the map of the early reservations (will send the dmesg + debug later): [ 0.000000] (6 early reservations) ==> bootmem [0000000000 - 00bbf90000] [ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000] [ 0.000000] #1 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - 0000008000] [ 0.000000] #2 [0000200000 - 0000d012b8] TEXT DATA BSS ==> [0000200000 - 0000d012b8] [ 0.000000] #3 [00037dc000 - 00040fe2d9] RAMDISK ...
Sep 8, 12:14 pm 2008
Nick Piggin
Re: [PATCH] [RESEND] x86_64: add memory hotremove config ...
Well, just for executing code (and reading RO data), then it shouldn't matter at all actually if the CPU starts executing from the new page or the old page, so long as there is a way to quiesce NMIs before freeing the old page. So the NMI can run, and read data, but it may have a problem with stores. At least, some kind of redesign of NMI handlers might be required so that they can make a note of the pending operation and try to do something sane in that case. Or, there could be a small ...
Sep 8, 6:48 am 2008
Andi Kleen
Re: [PATCH] [RESEND] x86_64: add memory hotremove config ...
Even with that there are lots of issues, like keeping track of Agreed. -Andi -- ak@linux.intel.com --
Sep 8, 2:36 am 2008
Andi Kleen
Re: [PATCH] [RESEND] x86_64: add memory hotremove config ...
It's hard for NMIs at least. They cannot execute faults. In the end you would need to define a core kernel which cannot be remapped and the rest which can and you end up Well in general someone remapping all the memory beyond you. That's essentially a hypervisor in my book. -Andi --
Sep 8, 4:30 am 2008
Andi Kleen
Re: [PATCH] [RESEND] x86_64: add memory hotremove config ...
First blocking arbitary code is hard. There is some code parts which are not allowed to block arbitarily. Machine check or NMI handlers come to mind, but there are likely more. Then that would be essentially a hypervisor or micro kernel approach. e.g. Xen does that already kind of, but even there it would be quite hard to do fully in a general way. And for hardware hotplug only the fully generally way is actually useful unfortunately. -Andi --
Sep 8, 3:30 am 2008
Nick Piggin
Re: [PATCH] [RESEND] x86_64: add memory hotremove config ...
Sorry, by "block", I really mean spin I guess. I mean that the CPU will be forced to stop executing due to the page fault during this sequence: for prot RO: alloc new page memcpy(new, old) ptep_clear_flush(ptep) <--- from here set_pte(ptep, newpte) <--- until here for prot RW, the window also would include the memcpy, however if that adds too much latency for execute/reads, then it can be mapped RO first, What would be? Blocking in interrupts? Or non-linear kernel ...
Sep 8, 4:19 am 2008
Badari Pulavarty
[PATCH] Cleanup to make remove_memory() arch neutral
There is nothing architecture specific about remove_memory(). remove_memory() function is common for all architectures which support hotplug memory remove. Instead of duplicating it in every architecture, collapse them into arch neutral function. Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com> arch/ia64/mm/init.c | 17 ----------------- arch/powerpc/mm/mem.c | 17 ----------------- arch/s390/mm/init.c | 11 ----------- mm/memory_hotplug.c | 10 ++++++++++ 4 files ...
Sep 8, 2:52 pm 2008
Nick Piggin
Re: [PATCH] [RESEND] x86_64: add memory hotremove config ...
Right, but the "high level" software solution is to have nonlinear kernel mappings. Executing kernel code should not be so hard because it could be handled just like executing user code (ie. the CPU that is executing will subsequently fault and be blocked until the relocation is complete). DMAs aren't trivial at all, but I guess there could be say, a method to submit and revoke areas of memory for DMA, and the submit would block if the memory is currently being relocated underneath it ...
Sep 8, 2:46 am 2008
Badari Pulavarty
[PATCH] x86: add memory hotremove config option
Cleaned up patch with out remove_memory(). Depends on make remove_memory() arch neutral patch. Thanks, Badari Add memory hotremove config option to x86 Memory hotremove functionality can currently be configured into the ia64, powerpc, and s390 kernels. This patch makes it possible to configure the memory hotremove functionality into the x86 kernel as well. Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com> Signed-off-by: Gary Hade <garyhade@us.ibm.com> --- arch/x86/Kconfig | ...
Sep 8, 2:56 pm 2008
Nick Piggin
Re: [PATCH] [RESEND] x86_64: add memory hotremove config ...
You use non-linear mappings for the kernel, so that kernel data is not tied to a specific physical address. AFAIK, that is the only way to really do it completely (like the fragmentation problem). Of course, I don't think that would be a good idea to do that in the forseeable future. --
Sep 7, 10:52 pm 2008
Alan D. Brunelle
Re: Benchmarking results: DSS elapsed time values w/ rq_ ...
Jens: The graph up at : http://free.linux.hp.com/~adb/jens/09-08-05/p_stats2.png may or may not help clarify some things (the p_stats2.agr file in the same directory can be fed into xmgrace, it may show better then the .png file that was rendered). The bottom graph shows reads (as measured by iostat), then above that are the %user, %system and (%user+%system) values (as measured by iostat). Black lines are rq_affinity=0 and red are for rq_affinity=1 /All/ values presented are ...
Sep 8, 3:30 pm 2008
Jens Axboe
Re: Benchmarking results: DSS elapsed time values w/ rq_ ...
Thanks a lot for these numbers Alan, it definitely looks like a clear win (and a pretty big one) for all of the above and the previous mail. It would be interesting to see sys and usr times seperately, as well as trying to compare profiles of two runs. On the testing that I did with a 4-way ppc box, lock contention and bouncing was way down with XFS and btrfs. I didn't test other file systems yet. I saw mean acquisition and hold time reductions in the 20-30% range and waittime reductions of ...
Sep 8, 11:10 am 2008
Jan Beulich
Re: [PATCH] x86: x86_{phys,virt}_bits field also for i386 (v2)
Sorry, I don't recall anything else I needed to address. Jan --
Sep 8, 8:30 am 2008
Ingo Molnar
Re: [PATCH] x86: x86_{phys,virt}_bits field also for i386 (v2)
applied to tip/x86/mm-debug - thanks Jan! Ingo --
Sep 8, 6:40 am 2008
Jan Beulich
Re: [PATCH] x86: x86_{phys,virt}_bits field also for i386 (v2)
This is my take at it: Make the x86_{phys,virt}_bits common for 32- and 64-bits, and use the former in ioremap's phys_addr_valid() check also on 32bit/PAE. Signed-off-by: Jan Beulich <jbeulich@novell.com> --- arch/x86/kernel/cpu/common.c | 22 +++++++++++++++++++++- arch/x86/mm/ioremap.c | 13 ++++++------- include/asm-x86/processor.h | 4 ++-- 3 files changed, 29 insertions(+), 10 deletions(-) --- linux-x86.orig/arch/x86/kernel/cpu/common.c +++ ...
Sep 8, 3:50 am 2008
Ingo Molnar
Re: [PATCH] x86: x86_{phys,virt}_bits field also for i386 (v2)
-tip testing found various kernel crashes on 32-bit testboxes and i've bisected it down to: | 3766e71257859cecb73d929c4974c729efeae51f is first bad commit | commit 3766e71257859cecb73d929c4974c729efeae51f | Author: Jan Beulich <jbeulich@novell.com> | Date: Mon Sep 8 11:50:21 2008 +0100 | | x86: x86_{phys,virt}_bits field also for i386 (v2) # bad: [6b822d60] manual merge of x86/xen # good: [bce7f793] Linux 2.6.26 # good: [6069fb2e] Re-delete zombie ...
Sep 8, 11:54 am 2008
Yinghai Lu
Re: [PATCH] x86: x86_{phys,virt}_bits field also for i386 (v2)
these lines should be in early_init_intel/init_intel. also need to be checked if it could be overwriten by others functions later.. BTW, did you address Peter's concern? YH --
Sep 8, 7:53 am 2008
MinChan Kim
Re: [PATCH 1/4] pull out the page pre-release and sanity ...
Why do you need to clear down anonymous mapping ? I think if you don't convert this cleardown in free_hot_cold_page(), you don't need it. -- Thanks, MinChan Kim --
Sep 8, 7:11 am 2008
Andy Whitcroft
Re: [PATCH 0/4] Reclaim page capture v3
The absolute improvement is the literal change in success percentage, the literal percentage of all memory which may be allocated as huge pages. The effective improvement is percentage of the baseline success rates that this change represents; for the powerpc results we get some 20% of memory allocatable without the patches, and 25% with, 25% more The test case simulates a constant demand for huge pages, at various rates. This is intended to replicate the scenario where a system is used ...
Sep 8, 4:44 am 2008
Nick Piggin
Re: [PATCH 0/4] Reclaim page capture v3
*Much* less likely, actually. Because there should be very little allocation required for reclaim (only dirty pages, and only when backed by filesystems that do silly things like not ensuring their own reserves before allowing the page to be dirtied). Also, your scheme still doesn't avoid allocation for reclaim so I don't see I don't see why it should be unfair to allow a process to allocate 1024 order-0 pages ahead of one order-10 page (actually, yes the order 10 page is I guess ...
Sep 8, 6:59 am 2008
Andy Whitcroft
Re: [PATCH 0/4] Reclaim page capture v3
In the common use model, use of huge pages is all or nothing. Either there are sufficient pages allocatable at application start time or there are not. As huge pages are not swappable once allocated they stay there. Applications either start using huge pages or they fallback to small pages and continue. This makes the real metric, how often does the customer get annoyed becuase their application has fallen back to small pages and is slow, or how often does their database fail to start. It is ...
Sep 8, 9:41 am 2008
Andy Whitcroft
Re: [PATCH 1/4] pull out the page pre-release and sanity ...
Yeah that has slipped through from where originally this patch used to merge two different instances of this code. Good spot. Will sort that -apw --
Sep 8, 8:14 am 2008
Nick Piggin
Re: [PATCH 0/4] Reclaim page capture v3
These are the numbers for the improvement of hugepage allocation success? Then what do you mean by absolute and effective? What sort of constant stream of high order allocations are you talking about? In what "real" situations are you seeing higher order page allocation failures, and in those cases, how much do these patches help? I must say I don't really like this approach. IMO it might be better to put some sort of queue in the page allocator, so if memory becomes low, then processes ...
Sep 7, 11:08 pm 2008
Joerg Roedel
Re: [PATCH] x86: use __GFP_NORETRY in the case of GFP_DM ...
Ok, so please add a comment to this so we know in the future why this is there. Joerg -- | AMD Saxony Limited Liability Company & Co. KG Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany System | Register Court Dresden: HRA 4896 Research | General Partner authorized to represent: Center | AMD Saxony LLC (Wilmington, Delaware, US) | General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, ...
Sep 8, 4:41 am 2008
Ingo Molnar
Re: [PATCH 0/3] fix alloc_coherent allocation issues (ti ...
some other commits came inbetween already - i applied the delta below. Ingo ---------------> From 53f79ced9d2c42a52290b460b88a4720a481a3ed Mon Sep 17 00:00:00 2001 From: Ingo Molnar <mingo@elte.hu> Date: Mon, 8 Sep 2008 20:13:06 +0200 Subject: [PATCH] x86: fix alloc_coherent allocation issues (tip/x86/iommu), warning fixes fix warnings. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Ingo Molnar <mingo@elte.hu> --- include/asm-x86/dma-mapping.h | ...
Sep 8, 11:15 am 2008
Ingo Molnar
Re: [PATCH 0/3] fix alloc_coherent allocation issues (ti ...
btw., the build became very noisy - see the messages below. Ingo ----------> init/initramfs.c:517: warning: 'clean_rootfs' defined but not used In file included from include/linux/dma-mapping.h:53, from include/linux/dmaengine.h:30, from include/linux/skbuff.h:30, from include/linux/netlink.h:156, from include/linux/genetlink.h:5, from include/net/genetlink.h:5, from ...
Sep 8, 10:35 am 2008
FUJITA Tomonori
Re: [PATCH 0/3] fix alloc_coherent allocation issues (ti ...
On Mon, 8 Sep 2008 19:35:25 +0200 Very sorry, I should have compile this on X86_32... Can you replace the fourth patch with this? = From: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Subject: [PATCH] x86: dma_alloc_coherent sets gfp flags properly Non real IOMMU implemenations (which doesn't do virtual mappings, e.g. swiotlb, pci-nommu, etc) need to use proper gfp flags and dma_mask to allocate pages in their own dma_alloc_coherent() (allocated page need to be suitable for device's ...
Sep 8, 11:06 am 2008
Ingo Molnar
Re: 2.6.27-rc5 xen balloon driver warnings
ok - i've picked up your narrowed patch into tip/x86/urgent. Ingo --
Sep 8, 11:21 am 2008
Jeremy Fitzhardinge
Re: 2.6.27-rc5 xen balloon driver warnings
The rest of that patch updates the sysfs entries in line with Andi's changes, but I don't think they're in mainline yet. The sysfs namespace clash means that Xen balloon and hotplug memory try to register the same name, which is bad because one of them is going to lose. J --
Sep 8, 11:13 am 2008
Rambaldi
Re: 2.6.27-rc5 xen balloon driver warnings
Hi Jeremy, I used the complete patch, I had some compile warnings. The oops is gone and I was able to access the /sys/devices/system/xen_memory/xen_memory0/info/current_kb entry. thanks, R. --
Sep 8, 8:37 am 2008
Jeremy Fitzhardinge
Re: 2.6.27-rc5 xen balloon driver warnings
No, because it caused compile-time warnings. The signatures on sysfs access functions changed, so that patch will break unless the rest of the sysfs changes went in. J --
Sep 8, 11:14 am 2008
Ingo Molnar
Re: 2.6.27-rc5 xen balloon driver warnings
We could certainly propagate it to x86/urgent, if it fixes a real issue. It cherry-picks just fine. Ingo --
Sep 8, 10:59 am 2008
Ingo Molnar
Re: 2.6.27-rc5 xen balloon driver warnings
i cherry-picked the whole thing as that's the tested commit. Is that fine too? Ingo --
Sep 8, 11:01 am 2008
Jeremy Fitzhardinge
Re: 2.6.27-rc5 xen balloon driver warnings
Well, the compile warning are bad news. Just use the first hunk. Ingo, could you send this up to Linus? It's a subset of a patch you've already got in your tree. Thanks, J Subject: xen-balloon: fix balloon sysfs name Set the class so it doesn't clash with the normal memory class. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> =================================================================== --- a/drivers/xen/balloon.c +++ b/drivers/xen/balloon.c @@ ...
Sep 8, 9:54 am 2008
Jens Axboe Sep 8, 2:30 am 2008
Jens Axboe
Re: 2.6.27-rc5-mm1: rmmod ide-cd_mod: tried to init an i ...
Hmm, I don't think that it does. There's a queue per drive in the old IDE driver, so there should be a 1:1 relation between queues and gendisk -- Jens Axboe --
Sep 8, 1:43 am 2008
Andrew Morton
Re: [PATCH -mm] Fix dev_load() compilation again
On Fri, 05 Sep 2008 12:54:51 -0700 Give that there's already a fix in linux-next, I can't do anything here. Rusty, the regression was introduced by commit 4cb9da6ecc2b0e25056b45981239475f8509d59d Author: Johannes Berg <johannes@sipsolutions.net> AuthorDate: Wed Jul 9 10:28:42 2008 +0200 Commit: Stephen Rothwell <sfr@canb.auug.org.au> CommitDate: Tue Aug 26 10:19:47 2008 +1000 remove CONFIG_KMOD from net Some code here depends on CONFIG_KMOD to not try to load ...
Sep 8, 3:17 pm 2008
Jens Axboe
Re: 2.6.27-rc5-mm1: rmmod ide-cd_mod: tried to init an i ...
I think the problem here is due to the usage of kobject_init_and_add(). When we hit the add the second time, the ->state_initalised in the kojb is still 1. The below should fix it. The ->state_initalised stuff is a disaster imho, it should be shot and killed. diff --git a/block/blk-core.c b/block/blk-core.c index 6cb3c6d..820132b 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -495,6 +495,7 @@ struct request_queue *blk_alloc_queue_node(gfp_t gfp_mask, int node_id) ...
Sep 8, 2:27 am 2008
Andrew Morton
Re: [PATCH 2/3] PCI: revise VPD access interface
On Thu, 04 Sep 2008 13:56:38 -0700 But this (I think) is assigning a ssize_t-returning function to an int-returning function pointer. --
Sep 8, 1:46 pm 2008
Stephen Hemminger
Re: [PATCH 1/3] PCI: vpd handle longer delays in access
On Mon, 8 Sep 2008 13:40:25 -0700 What is a good way to say "i am polling for a while"? --
Sep 8, 2:08 pm 2008
Andrew Morton
Re: [PATCH 1/3] PCI: vpd handle longer delays in access
On Thu, 04 Sep 2008 13:56:37 -0700 It doesn't call schedule() - it calls yield(). yield() is pretty notoriously badly behaved in the presence of lots of runnable tasks and there's been a general move to eradicate its in-kernel callsites. An alternative would be nice. --
Sep 8, 1:40 pm 2008
Arjan van de Ven
Re: [PATCH 1/3] PCI: vpd handle longer delays in access
On Mon, 8 Sep 2008 14:08:24 -0700 can you take a fixed time delay? or use cond_resched() -- 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:26 pm 2008
Jan Kara
Re: [Bug 11506] oops during unmount - ext3? (2.6.27-rc5)
Hmm, from this disassembly it seems that somebody has overwritten our page->private pointer to 1000c20d02020000 and then we obviously failed to get bh->b_size. But I don't really see how this can happen. What also puzzles me a bit is that I don't see BUG_ON(!PagePrivate(page)) in the disassembly but it should be there because of page_buffers() implementation... Anyone has an idea? Honza -- Jan Kara <jack@suse.cz> SuSE CR Labs --
Sep 8, 9:02 am 2008
Cyrill Gorcunov
Re: [patch 3/3] x86: io-apic - code style cleaning for s ...
Btw Yinghai, do you really have a machine with that many unconnected pins? --
Sep 7, 9:20 pm 2008
Cyrill Gorcunov
Re: [patch 3/3] x86: io-apic - code style cleaning for s ...
Thanks Yinghai! The patch enveloped. I'm overzealous with KERN_DEBUG marker. Sorry. (Can't send it inlined - hope it's not a big problem) Cyrill
Sep 7, 9:18 pm 2008
Cyrill Gorcunov
Re: [patch 3/3] x86: io-apic - code style cleaning for s ...
thanks for explanation Yinghai, i was reffering to MP and didn't take a look on ACPI facility (that is why I've asked you). Thanks! --
Sep 7, 10:17 pm 2008
Yinghai Lu
Re: [patch 3/3] x86: io-apic - code style cleaning for s ...
correction: sparseirq does not change the behavoir... ENABLING IO-APIC IRQs init IO_APIC IRQs IO-APIC (apicid-pin) 0-0 not connected. IOAPIC[0]: Set routing entry (0-1 -> 0x31 -> IRQ 1 Mode:0 Active:0) IOAPIC[0]: Set routing entry (0-2 -> 0x30 -> IRQ 0 Mode:0 Active:0) IOAPIC[0]: Set routing entry (0-3 -> 0x33 -> IRQ 3 Mode:0 Active:0) IOAPIC[0]: Set routing entry (0-4 -> 0x34 -> IRQ 4 Mode:0 Active:0) IOAPIC[0]: Set routing entry (0-5 -> 0x35 -> IRQ 5 Mode:0 Active:0) IOAPIC[0]: Set routing ...
Sep 7, 10:07 pm 2008
Yinghai Lu
Re: [patch 3/3] x86: io-apic - code style cleaning for s ...
got 0-16<7> 0-17<7> 0-18<7> 0-19<7> 0-20<7> 0-21<7> 0-22<7> 0-23<7> (apicid-pin) not connected 1-0<7> 1-1<7> 1-2<7> 1-3<7> 1-4<7> 1-5<7> 1-6<7> 1-7<7> 1-8<7> 1-9<7> 1-10<7> 1-11<7> 1-12<7> 1-13<7> 1-14<7> 1-15<7> 1-16<7> 1-17<7> 1-18<7> 1-19<7> 1-20<7> 1-21<7> 1-22<7> 1-23<7> (apicid-pin) not connected can you remove the extra <7>? YH --
Sep 7, 5:24 pm 2008
Yinghai Lu
Re: [patch 3/3] x86: io-apic - code style cleaning for s ...
Yes recent change in sparseirq, we only init irq [0,16) at that point. so pins on other io apic controller all unconnected... YH --
Sep 7, 9:38 pm 2008
hamidreza jahanjou
Re: [PATCH] VM: Implements the swap-out page-clustering ...
Thank you for the review and comments. You are right in that searching the whole process address space is not a good idea. The idea is to make the scan range flexible, thus normally, assuming that the code has been well-tuned, only a very limited number of VMA's are scanned. In general, i think that the cluster size and the scan range should be tuned depending on the backing storage characteristics and the low-on-memory severity. Like any VM code, this one needs tuning. BTW, the code could ...
Sep 8, 2:51 am 2008
Zan Lynx
Re: [PATCH] VM: Implements the swap-out page-clustering ...
Rik van Riel wrote: How about writing the nearby pages to swap anyway and mark the still in-use pages as SwapCache. --
Sep 7, 5:28 pm 2008
Li Yu
Re: [PATCH] VM: Implements the swap-out page-clustering ...
I do not think that the virt_to_page() can work well on userland virtual address space. And the linear searching for whole address space of a vma is not good --
Sep 7, 8:50 pm 2008
Rik van Riel
Re: [PATCH] VM: Implements the swap-out page-clustering ...
On Sun, 07 Sep 2008 18:28:30 -0600 That is what will happen pretty much automatically. Another thing the swap out page clustering code could do is move pages that were recently referenced back to the active list, so the VM will not have to scan those pages again. -- All rights reversed. --
Sep 7, 5:55 pm 2008
Alan Cox
Re: SCSI or libata problem with an RDX removable disk
Your disk went offline and then refused to come back when the link was reset. The initial trigger appears to have been the drive, the fact it didn't come back could either be the drive or a controller problem. We've seen a few cases where devices or controllers fail to recover from one end being stuck expecting data. Mark Lord did some patches to try and drain data in this case but I don't remember if they were merged yet. Alan --
Sep 8, 3:21 am 2008
Pascal GREGIS
Re: SCSI or libata problem with an RDX removable disk
Hi everyone, I posted this problem last week on this mailing list, I got an answer from Alan Cox requiring more informations. Then when I gave those informations, I didn't get any other answer. So I try another time to get help from some of you. Here is my problem : I have a Linux box with an RDX removable disk in SATA. A software uses regularly this RDX, mounts it, reads and/or writes to it and unmounts it. But after a certain time or a certain number of uses (not clearly identified), the ...
Sep 8, 1:19 am 2008
Mark Lord
Re: SCSI or libata problem with an RDX removable disk
.. That would be this patch, currently not merged, not maintained, and probably needs rework for some chipsets. But for the record: I think this original patch still applies cleanly on at least 2.6.23-rc7. Drain up to 512 words from host/bridge FIFO on stuck DRQ HSM violation, rather than just getting stuck there forever. Signed-off-by: Mark Lord <mlord@pobox.com> --- --- old/drivers/ata/libata-sff.c 2007-09-28 09:29:22.000000000 -0400 +++ ...
Sep 8, 11:58 am 2008
Dave Hansen
Re: [RFC v3][PATCH 4/9] Memory management (dump)
I'm not sure "tuning" it to make those arrays longer than PAGE_SIZE will ever be a good idea. Seems like we should just keep the structures at PAGE_SIZE to me. -- Dave --
Sep 8, 8:55 am 2008
Cedric Le Goater
Re: [Devel] Re: [RFC v3][PATCH 1/9] Create syscalls: sys ...
Jumping in the API thread : how will this API interact with the namespaces ? I think the exact question is how are we seeing the restart sequence ? shall we (1) restart from inside a set of pre established namespaces or (2) restore the state of the namespaces upon restart ? I think (1) is the best option in semantic, because it's closer to what the kernel does: create a directory (a container) and then fill it with files (tasks). That's how the cgroup framework works and I have ...
Sep 8, 9:07 am 2008
Dave Hansen
Re: [RFC v3][PATCH 8/9] File descriprtors (dump)
I'd suggest the double loop. I think it is much more straightforward I think we have a basically different philosophy on these. I'd say don't define them unless absolutely necessary. The less you spell out explicitly, the more flexibility you have in the future, and the less code you spend doing simple conversions. Anyway, I see why you're doing it this way. -- Dave --
Sep 8, 9:57 am 2008
Dave Hansen
Re: [RFC v3][PATCH 5/9] Memory managemnet (restore)
I'd suggest not storing virtual addresses in 'unsigned long'. It's passable when you're doing lots of arithmetic on the addresses, but that isn't happening here. That probably means cascading back and changing Have you looked at mprotect_fixup()? It deals with two things: 1. altering the commit charge against RSS if the mapping is actually writable. 2. Merging the VMA with an adjacent one if possible We don't want to do either of these two things. Even if we do merge the VMA, it ...
Sep 8, 9:49 am 2008
Andrey Mirkin
Re: [Devel] Re: [RFC v3][PATCH 1/9] Create syscalls: sys ...
'ctid' in my patchset will be used later (when we will have container infrastructure) to specify container ID. Right now we can drop this 'ctid' --
Sep 8, 8:02 am 2008
Jeff Garzik
Re: [PATCH] ahci: Fix long standing Marvell regressions
applied. I edited the text a bit, for formatting and clarity only (see attached)
Sep 8, 9:12 am 2008
Uwe Kleine-König
[PATCH] Fix section for sa11xx-uda1341 platform driver
Don't use __init but __devinit to define probe function. A pointer to sa11xx_uda1341_probe is passed to the core via platform_driver_register and so the function must not disappear after the module is loaded. Using __init and having HOTPLUG=y and SND_SA11XX_UDA1341=m the following probably oopses: echo -n sa11xx_uda1341.1 > /sys/bus/platform/driver/sa11xx_uda1341/unbind echo -n sa11xx_uda1341.1 > /sys/bus/platform/driver/sa11xx_uda1341/bind Signed-off-by: Uwe Kleine-K
Sep 8, 5:13 am 2008
Uwe
[RESEND, PATCH] Fix section for sa11xx-uda1341 platform driver
Don't use __init but __devinit to define probe function. A pointer to sa11xx_uda1341_probe is passed to the core via platform_driver_register and so the function must not disappear after the module is loaded. Using __init and having HOTPLUG=y and SND_SA11XX_UDA1341=m the following probably oopses: echo -n sa11xx_uda1341.1 > /sys/bus/platform/driver/sa11xx_uda1341/unbind echo -n sa11xx_uda1341.1 > /sys/bus/platform/driver/sa11xx_uda1341/bind Signed-off-by: Uwe Kleine-König ...
Sep 8, 11:51 am 2008
Andrew Morton
Re: [PATCH] Allow recursion in binfmt_script and binfmt_misc
On Sat, 6 Sep 2008 18:09:55 +0300 That's a strange position in which to add the new field. It will prevent the compiler from using the same word for sh_bang, misc_bang and taso. Why "4"? Why make linux_binprm.recursion_depth a u8? There would be practically (or actually) zero cost to making it 32-bit. Admittedly a depth >256 would be a bit odd, but did we gain anything from this restriction? --
Sep 8, 3:39 pm 2008
Arjan van de Ven
Re: [PATCH 12/13] hrtimer: create a "timer_slack" field ...
On Mon, 8 Sep 2008 15:27:16 +0200 timers are slacking today, at least for select() and poll(), and are a great deal more so than the defaults in this patchkit. The great advantage of the prctl() approach (which is usable) over new system calls and glibc APIs is that it will get used, because the admin can use it just like he uses the "nice" command, on existing software. -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power ...
Sep 8, 6:40 am 2008
Pavel Machek
Re: [PATCH 12/13] hrtimer: create a "timer_slack" field ...
Yes, it is a great advantage, but it feels like a hack. Maybe it is better done with LD_PRELOAD or something? I'd certianly want the applications to specify slack themselves in like 10 years. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html --
Sep 8, 7:15 am 2008
Pavel Machek
Re: [PATCH 12/13] hrtimer: create a "timer_slack" field ...
...and new applications, yes. I believe applications should explicitely enable slacking timers. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html --
Sep 8, 6:27 am 2008
Arjan van de Ven
Re: [PATCH 12/13] hrtimer: create a "timer_slack" field ...
On Mon, 8 Sep 2008 16:15:55 +0200 that's not working very well in general, and doesn't work across exec We've been talking to Ulrich to figure out what the right API for this is (eg how to extend select/poll for this) and I still plan to work on this, but both Linus and Ulrich seem to be very ademant that it means only few apps will use it (and I agree with that, just look at how many apps use linux specific APIs such as sendfile(), linux AIO etc... ) -- If you want to reach me at my ...
Sep 8, 7:22 am 2008
Henrique de Moraes H ...
Re: Lenovo 3000 N100 i8042 problems
No, we'd need the dmidecode output of the two *specific* 3000-N100 machines involved in the issue, so that we can know the specific BIOS version they are running. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh --
Sep 8, 1:24 pm 2008
Renato S. Yamane
Re: Lenovo 3000 N100 i8042 problems
dmidecode just from 3000-N100? Attached a dmidecode from a Lenovo Thinkpad T61. I have a Lenovo 3000-V200 too. You want a dmidecode from it? Regards, Renato
Sep 8, 12:41 pm 2008
Daniel Barkalow
Re: Lenovo 3000 N100 i8042 problems
It's almost certainly only 3000 series that's interesting; I think they test the Thinkpads with Linux and wouldn't ship with a quirky BIOS there. The 3000 series only officially supports Windows, and so there can be problems (evidently, mine does something odd with the legacy mux, and newer ones do something odd with the active mux). You might want to poke at the quirk in the patch in this thread and see if one or the other mode works better, or if they're the same on your machines. In ...
Sep 8, 12:55 pm 2008
David Brownell
Re: [RFC][PATCH] MMC: Use write timeout value as read from CSR
OK by me. I was viewing those values as ceilings, such that waiting too long wouldn't much matter. If there are cases where the CSR values are larger, they clearly should trump. --
Sep 8, 12:18 pm 2008
Matt Fleming
Re: [RFC][PATCH] MMC: Use write timeout value as read from CSR
You're right, I changed the patch accordingly (I also fixed the read timeout path). From 03b2d04b2e597ec073f2ff61224df1d3dee3b9de Mon Sep 17 00:00:00 2001 From: Matthew Fleming <matthew.fleming@imgtec.com> Date: Mon, 8 Sep 2008 14:10:14 +0100 Subject: [PATCH] MMC: Use timeout values from CSR Currently, the MMC/SD over SPI code has a hard-coded timeout value of 250ms on writes and 100ms on reads. This is correct for SDHC cards and is specified in the spec, but it is not correct for MMC/SD ...
Sep 8, 6:28 am 2008
Randy Dunlap
Re: [PATCH 4/4 v2] PCI: document the change
--- ~Randy Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA http://linuxplumbersconf.org/ --
Sep 8, 10:08 am 2008
Balbir Singh
Re: [RFC][PATCH] Remove cgroup member from struct page
Sorry for the delay in sending out the new patch, I am traveling and thus a little less responsive. Here is the update patch v3...v2 1. Convert flags to unsigned long 2. Move page_cgroup->lock to a bit spin lock in flags v2...v1 1. Fix a small bug, don't call radix_tree_preload_end(), if preload fails This is a rewrite of a patch I had written long back to remove struct page (I shared the patches with Kamezawa, but never posted them anywhere else). I spent the weekend, cleaning them ...
Sep 8, 8:28 am 2008
Steven King
Re: 2.6.26.[1-3] + x61 tablet + x6ultrabase: no resume
I suppose its not too surprising, but I noticed that if I suspend-to-disk after undocking I can then suspend-to-ram. -- Steven King -- sfking at fdwdc dot com --
Sep 8, 3:17 pm 2008
Stephen Hemminger
Re: [PATCH] bridge: don't allow setting hello time to zero
On Mon, 8 Sep 2008 23:35:19 +0200 The basics: * Hello timer is always enabled * STP defaults to off unless you turn it on * Turn STP on/off with brctl. In the existing design, the hello timer always runs, even when STP is not turned on. If STP is not enabled, the packet is just never created. Fixing it would not be hard (or gain much), but would have to deal with complex lock ordering and timer problems, so it isn't worth fixing for current releases. --
Sep 8, 3:33 pm 2008
David Miller
Re: [PATCH] bridge: don't allow setting hello time to zero
From: Stephen Hemminger <shemminger@vyatta.com> Applied, thanks Stephen. I added more information to the commit message so that Dushan's incredibly contribution to this bug getting fixed are mentioned. I don't see how we would have figured out Bridging as even the cause without his detective work. So it's definitely wrong not to give him at least some mention in the commit message :-/ bridge: don't allow setting hello time to zero Dushan Tcholich reports that on his system ksoftirqd can ...
Sep 8, 1:46 pm 2008
Dushan Tcholich
Re: [PATCH] bridge: don't allow setting hello time to zero
I don't know what to say :) A little nitpick: 200 times greater context switch rate :), like Btw. is there a way to make the command to turn STP off work too? brctl stp br0 off Because AFAIK if I shut down STP the hello timer should shut down too, but it still continues to work. Thank you for your time and effort --
Sep 8, 2:35 pm 2008
Jeff Moyer
Re: [PATCH 0/6] detect online disk resize
I re-tested this new patch series using an iSCSI target via the following steps: 1) Connect to iSCSI storage, creating the /dev/sd* devices. 2) Create a file system on the block device 3) Mount the file system, and leave a shell active on the mount point. 4) resize the iSCSI LUN 5) rescan the iSCSI session 6) resize the file system This procedure worked fine. Cheers, Jeff --
Sep 8, 11:01 am 2008
Randy Dunlap
Re: [PATCH 4/4] Add documentation for hard disk shock pr ...
--- ~Randy Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA http://linuxplumbersconf.org/ --
Sep 8, 3:04 pm 2008
Tejun Heo
Re: [PATCH] SATA: Blacklist systems that spin off disks ...
libata part looks good to me but I think it would be better to separate out DMI changes into a separate patch. Thanks. -- tejun --
Sep 8, 4:38 am 2008
Hugh Dickins
Re: [PATCH RFC] x86: check for and defend against BIOS m ...
I've no experience of what happens if NX is set to a non-NX-supporting CPU, so can't advise on that at all. But I think you're looking at it the wrong way round - or else I am. Here's the declaration and comment on level2_ident_pgt in head_64.S: NEXT_PAGE(level2_ident_pgt) /* Since I easily can, map the first 1G. * Don't set NX because code runs from these pages. */ PMDS(0, __PAGE_KERNEL_LARGE_EXEC, PTRS_PER_PMD) (The "Since I easily can" comment is there because it used to ...
Sep 8, 4:35 am 2008
Hugh Dickins
Re: [PATCH RFC] x86: check for and defend against BIOS m ...
That would be much the neatest answer: I hadn't realized that inheritance (perhaps I'm still living in early-i386 days, when IIRC there was a bug in inheriting WP from higher levels). But then I stumbled across static_protections() in pageattr.c (takes both addr and pfn, latter seems weird), whose BIOS_BEGIN and BIOS_END seem to echo the ISA_START_ADDR and ISA_END_ADDR used by is_ISA_range() in ioremap.c. And peering at the pagetables I've got here for that area of the direct map in ...
Sep 8, 12:14 pm 2008
Jeremy Fitzhardinge Sep 8, 12:45 pm 2008
Jeremy Fitzhardinge
Re: [PATCH RFC] x86: check for and defend against BIOS m ...
Well, if we never want the direct map to be non-executable (which I think would be OK, since all the code is either core kernel or modules which are mapped elsewhere), then we can set NX on the level4 for the Well, the specific reason I made these changes was to make sure that there was never more than one entry mapping any kernel page, so that you can update the page permissions on a kernel page with just one update. This is pretty much a requirement for Xen, and very convenient at ...
Sep 8, 10:16 am 2008
Hidehiro Kawai
Re: [PATCH] coredump_filter: add hugepage core dumping
[Added CC to Roland McGrath] I think it was just forgotten to be updated. Bit 4 was introduced by Roland McGrath, and it means elf header pages in file-backed private VMAs are dumped even if bit 2 is cleared. Thanks, Subject: [PATCH] coredump_filter: add description of bit 4 There is no description of bit 4 of coredump_filter in the documentation. This patch adds it. Signed-off-by: Hidehiro Kawai <hidehiro.kawai.ez@hitachi.com> CC: Roland McGrath <roland@redhat.com> --- ...
Sep 7, 6:51 pm 2008
Jeff Garzik Sep 8, 9:16 am 2008
Andrew Morton
Re: [PATCH] cgroup(fix critical bug): new handling for t ...
On Thu, 04 Sep 2008 22:34:47 -0700 kmalloc becomes more unreliable above 32 kbytes and 100% unreliable above MAX_ORDER. --
Sep 8, 2:16 pm 2008
Paul Menage
Re: Re: [PATCH] cgroup(fix critical bug): new handling f ...
Given the "if" test directly above, those two are equivalent. Paul --
Sep 8, 8:42 am 2008
Paul Menage
Re: [PATCH] cgroup(fix critical bug): new handling for t ...
Agreed, but that's something to be fixed in a different patch - the existing cgroups code (and cpusets originally) has had this kind of kmalloc call in it. I think it should be reasonably straightforward to replace it with an array of page allocations. Paul --
Sep 8, 3:05 pm 2008
Lai Jiangshan
Re: Re: [PATCH] cgroup(fix critical bug): new handling f ...
It's great, Thanks! Lai Jiangshan. Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com> --
Sep 8, 1:19 am 2008
Török Edwin
Re: Quad core CPUs loaded at only 50% when running a CPU ...
After some more careful testing with the real program (clamd) I can say that there is no regression. If I scan the exact same files as the box running 2.6.18 I get similar results, the difference is within 10% [1]. There is however a problem with mmap [mmap with N threads is as slow as mmap with 1 thread, i.e. it is sequential :(], pagefaults and disk I/O, I think I am hitting the problem described in this thread (2 years ...
Sep 8, 12:10 pm 2008
Pekka Paalanen
Re: [Patch] Tracing/ftrace: Adds a marker to allow user ...
On Sun, 7 Sep 2008 13:29:40 -0400 (EDT) Yes, I forgot the per-cpu buffers. When merging you want the first one wrt. timestamp, and when continuing you want the next on that cpu's My first idea was to filter out all newlines from messages, making a message a single line, and then force a newline, but now I realize that would be an exception to the printk convention. Maybe I should just start a new line in the output, when I get a newline :-) Although that probably means my version of ...
Sep 8, 10:19 am 2008
Michael Kerrisk
Re: paccept() oddity
Ulrich -- ping! ---------- Forwarded message ---------- From: Michael Kerrisk <mtk.manpages@googlemail.com> Date: Aug 29, 2008 10:45 PM Subject: Re: paccept() oddity To: Ulrich Drepper <drepper@redhat.com> Cc: Davide Libenzi <davidel@xmailserver.org>, Andrew Morton <akpm@linux-foundation.org>, lkml <linux-kernel@vger.kernel.org>, Linus Torvalds <torvalds@linux-foundation.org> Ulrich -- Ping! On Wed, Aug 20, 2008 at 6:50 PM, Michael Kerrisk -- Michael Kerrisk Linux man-pages ...
Sep 8, 6:31 am 2008
Michael Kerrisk
Re: Rationale for paccept() sigset argument?
Ulrich -- ping! ---------- Forwarded message ---------- From: Michael Kerrisk <mtk.manpages@googlemail.com> Date: Sep 2, 2008 9:58 AM Subject: Re: Rationale for paccept() sigset argument? To: Ulrich Drepper <drepper@gmail.com> Cc: Michael Kerrisk <mtk.manpages@googlemail.com>, Ulrich Drepper <drepper@redhat.com>, Davide Libenzi <davidel@xmailserver.org>, lkml <linux-kernel@vger.kernel.org>, Andrew Morton <akpm@linux-foundation.org>, Jakub Jelinek <jakub@redhat.com>, Linus Torvalds ...
Sep 8, 6:33 am 2008
Joe Peterson
Re: [PATCH] TTY: Fix loss of echoed characters (2nd foll ...
Here is another follow-on patch. It gets applied after and probably should be consolidated (for final submission) with the following two: tty-fix-loss-of-echoed-characters.patch tty-minor-code-efficiency-and-style-cleanup.patch This one fixes handling of some tab erasure cases and also improves locking for the echo buffer. Thanks, Joe
Sep 8, 9:11 am 2008
Lennart Sorensen
Re: 2.6.26: thinkpad x60 is cooled passively
Amazing what that does. My wife's Asus R1F was giving occational "throtled CPU due to overtemperature" and I took the cpu fan out and removed the dust from the heatsink using a q-tip, and the cpu temperature dropped 16C and the fan is much quieter now. I will have to remember to do that more often. -- Len Sorensen --
Sep 8, 8:02 am 2008
Pavel Machek
Re: 2.6.26: thinkpad x60 is cooled passively
Okay, seems like vojtech fixed my notebook with a bit of compressed air... a lot of dust came out, and machine works okay now. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html --
Sep 8, 6:29 am 2008
Paulo Marques
Re: [PATCH] exclude h8300 local symbols (Re: kallsyms ex ...
I've just looked at that post and it seems that there are a lot of regular symbols that start with '.' on powerpc (see: http://userweb.kernel.org/~akpm/nm-n.txt ). I guess the best solution would be to change the patch to use that filter only when the target architecture is h8300, so that it doesn't mess with other architectures. -- Paulo Marques - www.grupopie.com "To be, or not to be? That is ..... liable to be removed at -O2 and above." --
Sep 8, 12:20 pm 2008
Andrew Morton Sep 7, 11:56 pm 2008
Hugh Dickins
Re: [PATCH] exclude h8300 local symbols (Re: kallsyms ex ...
No, that won't work right on PowerPC if there's function called something like LookUpTable: we want the symbol ".LookUpTable". Hugh --
Sep 8, 4:39 pm 2008
Yoshinori Sato
Re: [PATCH] exclude h8300 local symbols (Re: kallsyms ex ...
At Sun, 7 Sep 2008 23:56:27 -0700, Hmm... h8300 local symbol head of '.L'. But powerpc don't have '.L' pattern. I think add condition "str[1] == 'L'". -- Yoshinori Sato <ysato@users.sourceforge.jp> --
Sep 8, 1:58 pm 2008
Yasunori Goto Sep 7, 8:07 pm 2008
Sergei Shtylyov
Re: [PATCH 02/18] ide: use I/O ops directly in ide-dma.c
Seems like the above 3 sequences are asking to be factored out into ide_dma_write_status(); with the latter two possibly factored out into MBR, Sergei --
Sep 8, 8:49 am 2008
Mark Ryden
Re: [PATCH 1/8] sysfs: Implement sysfs tagged directory ...
Hi, Well, I believe that again it was somehow forgotten or was not applied for other reasons, since polling the following URL several times in last days did not show this patch (url: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/patches.git) Regards, MR --
Sep 8, 11:39 am 2008
Herbert Xu
Re: Crypto Fixes for 2.6.27
Hi Linus: This push reverts a patch that caused a regression after 2.6.26. It broke the Camellia algorithm which may be used by IPsec or for encrypted disks. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git or master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6.git Herbert Xu (1): Revert "crypto: camellia - Use kernel-provided bitops, unaligned access helpers" crypto/camellia.c | 84 ...
Sep 7, 9:33 pm 2008
Ingo Molnar
Re: [PATCH 1/2] VMware detection support for x86 and x86-64
hm, i know it's not your fault as you just took this vmware code, but this is really not an acceptable method of detection. The above is totally unsafe to do on native hardware - we dont know whether there's anything on that port. vmware could have used one of the following methods to communicate to the guest kernel: - a CPUID and an MSR range - like a good virtual CPU should. That way even bootloaders could detect the presence of vmware. - or a PCI ID and a PCI driver like KVM ...
Sep 8, 7:04 am 2008
David Dillow
Re: [PATCH 1/2] VMware detection support for x86 and x86-64
If you want this to be used by more callsites, it probably doesn't make sense to have it print out a message each time. In fact would it make more sense to have a framework (cpu feature flag?) to detect that we're in any virtualized environment and make this one of the detection routines, and perhaps cache the result. Especially if this detection would be used to manage anything near a hot-path in the page cache as you suggested. But maybe that's overkill. --
Sep 7, 5:36 pm 2008
Yan Li
Re: [PATCH 1/2] VMware detection support for x86 and x86-64
Sure. Another possible solution is to print that message at the first call only, it's good for debugging to keep that in dmesg. If it's not possible to do live migration in/out of a running VMware environment, we can also safely do this detection only at the first That sounds good too. And I think the current routines for detecting KVM, Xen and VMWare are all ready. I can do that if there are more positive feedbacks. Thanks. -- Li, Yan "Everything that is really great and ...
Sep 7, 6:49 pm 2008
previous daytodaynext day
September 7, 2008September 8, 2008September 9, 2008