linux-kernel mailing list

FromSubjectsort iconDate
Michal Piotrowski
2.6.23-rc6: known regressions with patches v2
Hi all, Here is a list of some known regressions in 2.6.23-rc6 with patches available. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces Name Regressions fixed since 21-Jun-2007 Adrian Bunk 10 Andi Kleen 7 Linus Torvalds 6 Alan Stern 5 Hugh Dickins 5 Trond Myklebust ...
Sep 14, 10:29 pm 2007
Michal Piotrowski
Re: [3/3] 2.6.23-rc6: known regressions v2
Hi all, Here is a list of some known regressions in 2.6.23-rc6. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces Name Regressions fixed since 21-Jun-2007 Adrian Bunk 10 Andi Kleen 7 Linus Torvalds 6 Alan Stern 5 Hugh Dickins 5 Trond Myklebust 5 Andrew Morton ...
Sep 14, 10:29 pm 2007
Michal Piotrowski
Re: [2/3] 2.6.23-rc6: known regressions v2
Hi all, Here is a list of some known regressions in 2.6.23-rc6. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces Name Regressions fixed since 21-Jun-2007 Adrian Bunk 10 Andi Kleen 7 Linus Torvalds 6 Alan Stern 5 Hugh Dickins 5 Trond Myklebust 5 Andrew Morton ...
Sep 14, 10:29 pm 2007
Michal Piotrowski
[1/3] 2.6.23-rc6: known regressions v2
Hi all, Here is a list of some known regressions in 2.6.23-rc6. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces Name Regressions fixed since 21-Jun-2007 Adrian Bunk 10 Andi Kleen 7 Linus Torvalds 6 Alan Stern 5 Hugh Dickins 5 Trond Myklebust 5 Andrew Morton ...
Sep 14, 10:29 pm 2007
Eric Moore
[PATCH] MAINTAINERS : mpt fusion mailing list change
Mailing list changed. The former list at mpt_linux_developer@lsi.com is no longer in service. Please use the new email provided listed in this patch. Signed-off-by: Eric Moore <Eric.Moore@lsi.com> diff -uarpN b/MAINTAINERS a/MAINTAINERS --- b/MAINTAINERS 2007-08-15 16:33:58.000000000 -0600 +++ a/MAINTAINERS 2007-09-14 19:20:34.000000000 -0600 @@ -2375,7 +2375,7 @@ LSILOGIC MPT FUSION DRIVERS (FC/SAS/SPI) P: Eric Moore M: Eric.Moore@lsi.com M: support@lsi.com -L: mpt_linux_developer@ls...
Sep 14, 9:08 pm 2007
Steven Rostedt
[PATCH - Ketchup] update for new RT patch location
With the move of the RT patch to kernel.org, here's a patch to ketchup to accommodate the change (/me puts on his snake suit). I also updated it to try a non zipped patch if the zipped versions are not there. This is because the main patches are zipped, but the archived "older" versions are not zipped, but will probably be in the future. Signed-off-by: Steven Rostedt Index: x/ketchup =================================================================== --- x.orig/ketchup 2007-09-14 20:01:06.0000...
Sep 14, 8:49 pm 2007
Rene Herman
Per option CFLAGS?
Hi Kai, Sam. I have a single file foo.c that I want to generate two (ALSA) modules from, snd-foo2000.ko and snd-foo2001.ko, by compiling with either FOO2000 or FOO2001 defined. I can do this, and ALSA does this a few times, by providing dummy foo2000.c and foo2001.c files, like: === foo2000.c #define FOO2000 #include "foo.c" === and a regular Makefile === foo2000-objs := foo2000.o foo2001-objs := foo2001.o obj-$(CONFIG_SND_FOO2000) += snd-foo2000.o obj-$(CONFIG_SND_F002001) += ...
Sep 14, 7:07 pm 2007
H. Peter Anvin
Re: Per option CFLAGS?
The stub source file is usually considered a good way to do this. -hpa -
Sep 14, 7:13 pm 2007
Rene Herman
Re: Per option CFLAGS?
Mmm. If I'll have to live with it, I can, but thought I'd ask if there was some nice build trickery available instead. Rene. -
Sep 14, 7:30 pm 2007
Heikki Orsila
On thread scheduling
Consider a simple embedded system: void interrupt_handler(void) { ... } int main(void) { ... } I would like to "emulate" this system with a workstation to make development faster. I would create two threads, one executing the main() function, and the other occasionally calling interrupt_handler(). Before interrupt_handler() is called, the main() thread should be stopped asynchronously. I looked into pthreads documentation and found only pthread_kill(thread, SIGTSTP) to do async...
Sep 14, 6:40 pm 2007
Christoph Lameter
[PATCH] Configurable reclaim batch size
This patch allows a configuration of the basic reclaim unit for reclaim in vmscan.c. As memory sizes increase so will the frequency of running reclaim. Configuring the reclaim unit higher will reduce the number of times reclaim has to be entered and reduce the number of times that the zone locks have to be taken. Signed-off-by: Christoph Lameter <clameter@sgi.com> --- include/linux/mmzone.h | 1 + kernel/sysctl.c | 8 ++++++++ mm/vmscan.c | 41 ++++++++++++++...
Sep 14, 6:23 pm 2007
Peter Zijlstra
Re: [PATCH] Configurable reclaim batch size
It increases the lock hold times though. Otoh it might work out with the lock placement. Do you have any numbers that show this is worthwhile? -
Sep 14, 7:20 pm 2007
Christoph Lameter
[RFC] SLUB: Make NUMA support optional on NUMA machines
NUMA support in the slab allocators may create unnecessary overhead for small NUMA configurations (especially those that realize multiple nodes on a motherboard like Opterons). If NUMA support is disabled on a NUMA machines then the NUMA locality controls will not work for slab allocations anymore. However, the resulting memory imbalances and non optimal placements may not matter much if the system is small. Is this worth doing? Signed-off-by: Christoph Lameter <clameter@sgi.com> Inde...
Sep 14, 6:18 pm 2007
Christian Volkmann
2.6.23-rc6: usb 1-1: device not accepting address 2, error -62
Hi everybody, I have an error message with 2.6.23-rc6. This did not happen with 2.6.22. The kernel reports message like this: <3>usb 1-1: device not accepting address 2, error -62 <3>hub 2-2.1:1.0: hub_port_status failed (err = -71) Does this message harm or is something broken in 2.6.23-rc6 ? I get this kind of messages also with 2.6.23-rc3 Best regards, Christian Please see below for: grep -e hub -e usb boot.msg for a 2.6.23-rc6 boot. (that boot was without (err = ...
Sep 14, 5:28 pm 2007
Jon Masters
SCO files for bankruptcy
Hey, I wouldn't normally post news stories...but in case anyone is living under a rock, not reading Slashdot, LWN, or one of a bazillion other news sites that are *bound* to cover this at some point about now... http://www.groklaw.net/article.php?story=20070914152904577 Have an awesome weekend, everyone! :-) Jon. -
Sep 14, 5:19 pm 2007
Sam Ravnborg
Re: [PATCH 2.6.23-rc4] qconf ("make xconfig") Search Dialog ...
Thanks for being persistent on this. Unless I hear otherwise from Roman I plan to apply your patch during the weekend. Sam -
Sep 14, 5:11 pm 2007
Sam Ravnborg
[patch] i386: fix section mismatch warning in intel.c
Fix following section mismatch warning: WARNING: vmlinux.o(.text+0xc88c): Section mismatch: reference to .init.text:trap_init_f00f_bug (between 'init_intel' and 'cpuid4_cache_lookup') init_intel are __cpuint where trap_init_f00f_bug is __init. Fixed by declaring trap_init_f00f_bug __cpuinit. Moved the defintion of trap_init_f00f_bug to the sole user in init.c so the ugly prototype in intel.c could get killed. Frank van Maarseveen <frankvm@frankvm.com> supplied the .config used to reproduc...
Sep 14, 4:30 pm 2007
Larry Finger
Interpretation of sparse warning
The code sequence u32 macstat; ..... macstat = le32_to_cpu(rxhdr->mac_status); generates the following sparse warnings drivers/net/wireless/b43legacy/xmit.c:446:12: warning: cast to restricted type drivers/net/wireless/b43legacy/xmit.c:446:12: warning: cast from restricted type (#446 is the macstat = ..... line) My version of sparse is from the git tree and was downloaded today. I think the code sequence is correct. What, if anything, should I do to eliminate the warn...
Sep 14, 4:01 pm 2007
Stephen Hemminger
Re: Interpretation of sparse warning
On Fri, 14 Sep 2007 15:01:09 -0500 Is rxhdr->mac_status properly declared as le32? -
Sep 14, 4:17 pm 2007
Denys Vlasenko
[PATCH] add consts where appropriate in fs/nls/*
Hi Alexander, Attached patch adds const modifiers to a few struct nls_table's member pointers in include/linux/nls.h and adds a lot of const's in fs/nls/*.c files. Resulting changes as visible by size: text data bss dec hex filename 113612 481216 2368 597196 91ccc nls.org/built-in.o 593548 3296 288 597132 91c8c nls/built-in.o Apparently compiler managed to optimize code a bit better because of const-ness. No other changes are made. Patch is compile...
Sep 14, 3:52 pm 2007
Anthony Liguori
[PATCH] Refactor hypercall infrastructure
This patch refactors the current hypercall infrastructure to better support live migration and SMP. It eliminates the hypercall page by trapping the UD exception that would occur if you used the wrong hypercall instruction for the underlying architecture and replacing it with the right one lazily. It also introduces the infrastructure to probe for hypercall available via CPUID leaves 0x40000002. CPUID leaf 0x40000003 should be filled out by userspace. A fall-out of this patch is that the unhand...
Sep 14, 3:45 pm 2007
Jeremy Fitzhardinge
Re: [PATCH] Refactor hypercall infrastructure
I guess it would be pretty rude/unlikely for these opcodes to get reused in other implementations... But couldn't you make the page trap Is this compatible with Xen's (and other's) use of cpuid? That is, 0x40000000 returns a hypervisor-specific signature in e[bcd]x, and eax has the max hypervisor leaf. J -
Sep 14, 4:53 pm 2007
Rusty Russell
Re: [PATCH] Refactor hypercall infrastructure
That's a pain for inline hypercalls tho. I was planning on moving lguest to this model (which is interesting, because AFAICT this insn will cause a #UD or #GP depending on whether VT is supported on this box so I have to look for both). Cheers, Rusty. -
Sep 14, 10:35 pm 2007
Anthony Liguori
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure
The whole point of using the instruction is to allow hypercalls to be used in many locations. This has the nice side effect of not requiring a central hypercall initialization routine in the guest to fetch the hypercall page. A PV driver can be completely independent of any other Xen is currently using 0/1/2. I had thought it was only using 0/1. The intention was not to squash Xen's current CPUID usage so that it would still be possible for Xen to make use of the guest code. Can we agre...
Sep 14, 5:02 pm 2007
Jeremy Fitzhardinge
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure
I see. So you take the fault, disassemble the instruction, see that its another CPU's vmcall instruction, and then replace it with the current No, the point is that you're supposed to work out which hypervisor it is from the signature in leaf 0, and then the hypervisor can put anything it wants in the other leaves. J -
Sep 14, 5:22 pm 2007
Anthony Liguori
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure
Yeah, see, the initial goal was to make it possible to use the KVM paravirtualizations on other hypervisors. However, I don't think this is really going to be possible in general so maybe it's better to just use leaf 0. I'll let others chime in before sending a new patch. Regards, -
Sep 14, 5:46 pm 2007
Jeremy Fitzhardinge
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure
Hm. Obviously you can just define a signature for "kvm-compatible hypercall interface" and make it common that way, but it gets tricky if the hypervisor supports multiple hypercall interfaces, including the kvm one. Start the kvm leaves at 0x40001000 or something? J -
Sep 14, 5:52 pm 2007
Anthony Liguori
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure
Yeah, that works with me. Regards, -
Sep 14, 6:08 pm 2007
Nakajima, Jun
RE: [kvm-devel] [PATCH] Refactor hypercall infrastructure
To me this is the beginning of fragmentation. Why do we need different and VMM-specific Linux paravirtualization for hardware-assisted Jun --- Intel Open Source Technology Center -
Sep 14, 6:40 pm 2007
Jeremy Fitzhardinge
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure
On the contrary. Xen already has a hypercall interface, and we need to keep supporting it. If we were to also support a vmm-independent interface (aka "kvm interface"), then we need to be able to do that in parallel. If we have a cpuid leaf clash, then its impossible to do so; if we define the new interface to be disjoint from other current users of cpuid, then we can support them concurrently. J -
Sep 14, 7:00 pm 2007
Nakajima, Jun
RE: [kvm-devel] [PATCH] Refactor hypercall infrastructure
Today, 3 CPUID leaves starting from 0x4000_0000 are defined in a generic fashion (hypervisor detection, version, and hypercall page), and those are the ones used by Xen today. We should extend those leaves (e.g. starting from 0x4000_0003) for the vmm-independent features as well. If Xen needs additional Xen-specific features, we need to allocate some leaves for those (e.g. 0x4000_1000) Jun --- Intel Open Source Technology Center -
Sep 14, 8:10 pm 2007
Jeremy Fitzhardinge
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure
But the signature is "XenVMMXenVMM", which isn't very generic. If we're presenting a generic interface, it needs to have a generic signature, otherwise guests will need to have a list of all hypervisor signatures supporting their interface. Since 0x40000000 has already been established as the base leaf of the hypervisor-specific interfaces, the generic interface will have to be elsewhere. J -
Sep 14, 8:28 pm 2007
Nakajima, Jun
RE: [kvm-devel] [PATCH] Refactor hypercall infrastructure
The hypervisor detection machanism is generic, and the signature returned is implentation specific. Having a list of all hypervisor signatures sounds fine to me as we are detecting vendor-specific Jun --- Intel Open Source Technology Center -
Sep 14, 9:04 pm 2007
Zachary Amsden
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure
But if the instruction is architecture dependent, and you run on the wrong architecture, now you have to patch many locations at fault time, introducing some nasty runtime code / data cache overlap performance problems. Granted, they go away eventually. I prefer the idea of a hypercall page, but not a central initialization. Rather, a decentralized approach where PV drivers can detect using CPUID which hypervisor is present, and a common MSR shared by all hypervisors that provides the location o...
Sep 14, 5:20 pm 2007
Anthony Liguori
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure
We're addressing that by blowing away the shadow cache and holding the big kvm lock to ensure SMP safety. Not a great thing to do from a performance perspective but the whole point of patching is that the cost So then each module creates a hypercall page using this magic MSR and the hypervisor has to keep track of it so that it can appropriately change the page on migration. The page can only contain a single instruction or else it cannot be easily changed (or you have to be able to prev...
Sep 14, 5:44 pm 2007
Zachary Amsden
Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure
I agree, multiple hypercall pages is insane. I was thinking more of a single hypercall page, fixed in place by the hypervisor, not the kernel. Then each module can read an MSR saying what VA the hypercall page is at, and the hypervisor can simply flip one page to switch architectures. Zach -
Sep 14, 11:37 pm 2007
Evgeniy Polyakov
Distributed storage. Move away from char device ioctls.
Hi. I'm pleased to announce fourth release of the distributed storage subsystem, which allows to form a storage on top of remote and local nodes, which in turn can be exported to another storage as a node to form tree-like storages. This release includes new configuration interface (kernel connector over netlink socket) and number of fixes of various bugs found during move to it (in error path). Further TODO list includes: * implement optional saving of mirroring/linear information on the re...
Sep 14, 2:54 pm 2007
Jeff Garzik
Re: Distributed storage. Move away from char device ioctls.
My thoughts. But first a disclaimer: Perhaps you will recall me as one of the people who really reads all your patches, and examines your code and proposals closely. So, with that in mind... I question the value of distributed block services (DBS), whether its your version or the others out there. DBS are not very useful, because it still relies on a useful filesystem sitting on top of the DBS. It devolves into one of two cases: (1) multi-path much like today's SCSI, with distributed...
Sep 14, 3:07 pm 2007
Mike Snitzer
Re: Distributed storage. Move away from char device ioctls.
This distributed storage is very much needed; even if it were to act as a more capable/performant replacement for NBD (or MD+NBD) in the near term. Many high availability applications don't _need_ all the additional complexity of a full distributed filesystem. So given that, its discouraging to see you trying to gently push Evgeniy away from all the promising work he has published. Evgeniy, please continue your current work. Mike -
Sep 14, 10:54 pm 2007
J. Bruce Fields
Re: Distributed storage. Move away from char device ioctls.
What exactly do you mean by "POSIX-only"? --b. -
Sep 14, 5:12 pm 2007
Jeff Garzik
Re: Distributed storage. Move away from char device ioctls.
Don't bother supporting attributes, file modes, and other details not supported by POSIX. The prime example being NFSv4, which is larded down with Windows features. NFSv4.1 adds to the fun, by throwing interoperability completely out the window. Jeff -
Sep 14, 5:14 pm 2007
J. Bruce Fields
Re: Distributed storage. Move away from char device ioctls.
I am sympathetic.... Cutting those out may still leave you with What parts are you worried about in particular? --b. -
Sep 14, 5:18 pm 2007
Jeff Garzik
Re: Distributed storage. Move away from char device ioctls.
I'm not worried; I'm stating facts as they exist today (draft 13): NFS v4.1 does something completely without precedent in the history of NFS: the specification is defined such that interoperability is -impossible- to guarantee. pNFS permits private and unspecified layout types. This means it is impossible to guarantee that one NFSv4.1 implementation will be able to talk another NFSv4.1 implementation. Even if Linux supports the entire NFSv4.1 RFC (as it stands in draft 13 anyway), ...
Sep 14, 6:32 pm 2007
J. Bruce Fields
Re: Distributed storage. Move away from char device ioctls.
No, servers are required to support ordinary nfs operations to the metadata server. At least, that's the way it was last I heard, which was a while ago. I agree that it'd stink (for any number of reasons) if you ever *had* to get a layout to access some file. Was that your main concern? --b. -
Sep 14, 6:42 pm 2007
Al Boldi
Re: Distributed storage. Move away from char device ioctls.
This http://lkml.org/lkml/2007/8/12/159 may provide a fast-path to reaching that goal. Thanks! -- Al -
Sep 14, 4:46 pm 2007
Denys Vlasenko
[PATCH] add consts where appropriate in sound/pci/hda/*
Hi Takashi, There is a lot of data structures in that code, and most of them seems to be read-only. I added const modifiers to most of such places: text data bss dec hex filename 106315 179564 36 285915 45cdb snd-hda-intel.o 283051 2624 36 285711 45c0f snd-hda-intel_patched.o Patch is attached. It moves "static struct hda_codec_preset *hda_preset_tables[]" from hda_patch.h to hda_codec.c, and then adds #include "hda_patch.h" in a few .c files so t...
Sep 14, 1:48 pm 2007
Denys Vlasenko
Re: [PATCH] add consts where appropriate in sound/pci/hda/*
After additional testing I found a place where I forgot to add 'const', and build throws warnings at me. Updated patch is attached. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> -- vda
Sep 14, 6:12 pm 2007
Joe Perches
Re: [PATCH] add consts where appropriate in sound/pci/hda/*
The SND_HDA_PRESETS define doesn't seem useful. It's only used once. diff -urp linux-2.6.23-rc6/sound/pci/hda/hda_codec.c linux-2.6.23-rc6.bigdata/sound/pci/hda/hda_codec.c --- linux-2.6.23-rc6/sound/pci/hda/hda_codec.c 2007-07-09 00:32:17.000000000 +0100 +++ linux-2.6.23-rc6.bigdata/sound/pci/hda/hda_codec.c 2007-09-14 18:32:24.000000000 +0100 @@ -57,6 +57,10 @@ static struct hda_vendor_id hda_vendor_i /* codec presets */ #include "hda_patch.h" +static const struct hda_codec_preset *const ...
Sep 14, 2:09 pm 2007
Denys Vlasenko
Re: [PATCH] add consts where appropriate in sound/pci/hda/*
It is defined in .h file and used in .c file. It is made so because defining static data variables in .h file is a bad style in general and in this case will result in build-time warnings in particular. Therefore definition of hda_preset_tables[] is moved to .c file. It looks like this: static const struct hda_codec_preset *const hda_preset_tables[] = { snd_hda_preset_realtek, snd_hda_preset_cmedia, snd_hda_preset_analog, snd_hda_preset_sigmatel, snd_h...
Sep 14, 3:34 pm 2007
Avi Kivity
[PATCH -rc][RESEND] KVM: MMU: Fix rare oops on guest context...
A guest context switch to an uncached cr3 can require allocation of shadow pages, but we only recycle shadow pages in kvm_mmu_page_fault(). Move shadow page recycling to mmu_topup_memory_caches(), which is called from both the page fault handler and from guest cr3 reload. Signed-off-by: Avi Kivity <avi@qumranet.com> --- drivers/kvm/kvm.h | 10 +++++++--- drivers/kvm/mmu.c | 5 +++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kv...
Sep 14, 1:26 pm 2007
previous daytodaynext day
September 13, 2007September 14, 2007September 15, 2007