linux-kernel mailing list

FromSubjectsort iconDate
Ivan Zorin
[question] "copy-on-write" in ext4
Hello, everybody. I have a question to ext4 filesystem developers. Could you tell me please, have you planned to implement (no matter, how soon) in ext4 some "copy-on-write" feature? If you have, then how it will be looks like (and how soon :-) ? If you haven't, then did you think about ability to implement such feature and how it could be? --
Sep 27, 4:08 pm 2008
Tejun Heo
[PATCH] sysfs: use ilookup5() instead of ilookup5_nowait()
As inode creation is protected by sysfs_mutex, ilookup5_nowait() always either fails to find at all or finds one which is fully initialized, so using ilookup5_nowait() or ilookup5() doesn't make any difference. Switch to ilookup5() as it's planned to be removed. This change also makes lookup return value handling a bit simpler. This change was suggested by Al Viro. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Al Viro <viro@hera.kernel.org> --- Greg, can you please put this for 2.6.28? ...
Sep 27, 3:48 pm 2008
Shawn Starr
[2.6.27-rc7-git1] (Fedora) - ACPI instabilities and IRQs ...
Hello, I don't know if anyone else has been experiencing ACPI disable IRQs (specifically IRQ 9) but there seems to be a serious regression recently which causes me grief: I note, I do use VirtualBox, but unless it's somehow causing the usb hub/yenta socket or e1000 devices to go haywire, I would discount it's relation to this. If you think otherwise, I can certainly disable it. System: IBM ThinkPad T42: /proc/interrupts: CPU0 0: 405391 XT-PIC-XT timer 1: ...
Sep 27, 3:40 pm 2008
Uwe
reformating of MAINTAINERS
Hello, I rebased my changes to MAINTAINERS to Linus' current HEAD. In the meantime I'm not convinced anymore that restoring the alphabetic ordering is still worth the effort[1] because I work on decentralizing the info contained in that file. But I still think that merging P and M is sensible. So I changed the order of my commits to have the alphabetic order commit the topmost one. So now there are two branches, maintainers and maintainers-fixes that only differ in that one ...
Sep 27, 3:13 pm 2008
Ingo Molnar
[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, Ingo ------------------> Jeremy Katz (1): x86: disable apm on the olpc arch/x86/kernel/apm_32.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/apm_32.c b/arch/x86/kernel/apm_32.c index 9ee24e6..732d1f4 100644 --- a/arch/x86/kernel/apm_32.c +++ ...
Sep 27, 2:02 pm 2008
Paul
[PATCH] Working packet injection patch for ipw2200 - ena ...
I made this patch using bits and pieces from various other "ipw2200 injection patches". I can not take credit for the content, as I basically just changed the line numbers in the .diff files. However I applied this patch to the version of ipw2200 included in kernel 2.6.27-rc6 (i believe it's ipw2200-1.2.2) and it worked like a charm. Previously I was unable to inject wifi packets using aireplay-ng due to this error: "ARP linktype is set to 1 (Ethernet) - expected ARPHRD_IEEE80211 ...
Sep 27, 1:43 pm 2008
Paul
Re: [PATCH] Working packet injection patch for ipw2200 - ...
Here is the patch, in text form: --- drivers/net/wireless/ipw2200.c 2008-09-09 19:27:49.000000000 -0400 +++ drivers/net/wireless/ipw2200-new.c 2008-09-27 15:48:03.000000000 -0400 @@ -179,7 +179,7 @@ static int ipw_queue_reset(struct ipw_pr static int ipw_queue_tx_hcmd(struct ipw_priv *priv, int hcmd, void *buf, int len, int sync); - +static int ipw_tx_skb(struct ipw_priv *priv, struct ieee80211_txb *txb, int pri); static void ipw_tx_queue_free(struct ...
Sep 27, 1:57 pm 2008
Alexandra
Dein Geldgeschenk
Hallo, wollte Dir nur kurz mitteilen, dass dies die allerletzte Chance ist, Deine 800 Euro abzuholen. Jetzt oder nie: http://www.Bar-Bonus.net/ Viele liebe Grüsse, die Alex (, die gerade von Geschäftsreise in Köln schreibt) --
Sep 27, 1:16 pm 2008
Ingo Molnar
Re: [patch] sched: trivial fix for incorrect comments
that's OK. The risk is of course that if the other bits of this commit break something, and we drop or revert the commit, we drop the cleanup as well. But the patch was perfect in this case so all is fine :-) Ingo --
Sep 27, 11:22 am 2008
Bartlomiej Zolnierki ...
[git pull] IDE fixes
Hi, Linus, please pull from: master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6.git/ to receive the following updates: Documentation/ioctl/cdrom.txt | 4 ++-- drivers/ide/Kconfig | 14 ++++++++++++++ drivers/ide/ide-tape.c | 10 +++++----- drivers/ide/mips/swarm.c | 1 + 4 files changed, 22 insertions(+), 7 deletions(-) Borislav Petkov (1): ide-tape: fix vendor strings Márton Németh (1): cdrom: update ioctl ...
Sep 27, 10:47 am 2008
Rafael J. Wysocki Sep 27, 8:56 am 2008
Rafael J. Wysocki
[Bug #11543] kernel panic: softlockup in tick periodic() ???
This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11543 Subject : kernel panic: softlockup in tick_periodic() ??? Submitter : Joshua Hoblitt <j_kernel@hoblitt.com> Date : 2008-09-11 16:46 (17 days old) References : ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki
[Bug #11210] libata badness
This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11210 Subject : libata badness Submitter : Kumar Gala <galak@kernel.crashing.org> Date : 2008-07-31 18:53 (59 days old) References : ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki
=?utf-8?q?[Bug=20#11512]=20sort-of=20regression=20due=20 ...
config"?To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org> This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11512 Subject : sort-of regression due to "kconfig: speed up all*config + randconfig" Submitter : Alexey Dobriyan ...
Sep 27, 8:56 am 2008
Cyrill Gorcunov Sep 27, 11:50 am 2008
Ingo Molnar Sep 27, 10:44 am 2008
Rafael J. Wysocki Sep 27, 8:56 am 2008
Rafael J. Wysocki
[Bug #11224] Only three cores found on quad-core machine.
This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11224 Subject : Only three cores found on quad-core machine. Submitter : Dave Jones <davej@redhat.com> Date : 2008-08-01 18:15 (58 days old) References : ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki
Re: [Bug #11543] kernel panic: softlockup in tick periodic()
I had tried to close it, but someone reopened it afterwards. Thanks, Rafael --
Sep 27, 12:21 pm 2008
Rafael J. Wysocki
=?utf-8?q?[Bug=20#11230]=20Kconfig=20no=20longer=20outpu ...
nfigs?To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org> This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11230 Subject : Kconfig no longer outputs a .config with freshly updated defconfigs Submitter : Josh Boyer ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki Sep 27, 8:56 am 2008
Rafael J. Wysocki
=?utf-8?q?[Bug=20#11308]=20tbench=20regression=20on=20ea ...
6.28?To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org> This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11308 Subject : tbench regression on each kernel release from 2.6.22 -> 2.6.28 Submitter : Christoph Lameter ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki
[Bug #11607] 2.6.27-rc6  Bug in tty chars in buffer
This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11607 Subject : 2.6.27-rc6  Bug in tty_chars_in_buffer Submitter : John Daiker <daikerjohn@gmail.com> Date : 2008-09-15 2:26 (13 days old) References : ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki
[Bug #11215] INFO: possible recursive locking detected p ...
This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11215 Subject : INFO: possible recursive locking detected ps2_command Submitter : Zdenek Kabelac <zdenek.kabelac@gmail.com> Date : 2008-07-31 9:41 (59 days old) References : ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki
[Bug #11220] Screen stays black after resume
This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11220 Subject : Screen stays black after resume Submitter : Nico Schottelius <nico@schottelius.org> Date : 2008-07-31 21:05 (59 days old) References : ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki
=?utf-8?q?[Bug=20#11380]=20lockdep=20warning:=20cpu_add_ ...
0x14/0x16?To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org> This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11380 Subject : lockdep warning: cpu_add_remove_lock at:cpu_maps_update_begin+0x14/0x16 Submitter : Ingo Molnar ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki
[Bug #11506] oops during unmount - ext3
This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11506 Subject : oops during unmount - ext3? (2.6.27-rc5) Submitter : Marcin Slusarz <marcin.slusarz@gmail.com> Date : 2008-09-04 19:14 (24 days old) References : ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki
[Bug #11476] failure to associate after resume from susp ...
This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11476 Subject : failure to associate after resume from suspend to ram Submitter : Michael S. Tsirkin <m.s.tsirkin@gmail.com> Date : 2008-09-01 13:33 (27 days old) References : ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki
[Bug #11237] corrupt PMD after resume
This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11237 Subject : corrupt PMD after resume Submitter : Alan Jenkins <alan-jenkins@tuffmail.co.uk> Date : 2008-08-02 9:51 (57 days old) References : ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki
[Bug #11340] LTP overnight run resulted in unusable box
This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11340 Subject : LTP overnight run resulted in unusable box Submitter : Alexey Dobriyan <adobriyan@gmail.com> Date : 2008-08-13 9:24 (46 days old) References : ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki Sep 27, 8:56 am 2008
Rafael J. Wysocki Sep 27, 8:56 am 2008
Rafael J. Wysocki Sep 27, 8:56 am 2008
Rafael J. Wysocki
[Bug #11207] VolanoMark regression with 2.6.27-rc1
This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11207 Subject : VolanoMark regression with 2.6.27-rc1 Submitter : Zhang, Yanmin <yanmin_zhang@linux.intel.com> Date : 2008-07-31 3:20 (59 days old) References : ...
Sep 27, 8:54 am 2008
Rafael J. Wysocki
2.6.27-rc7-git5: Reported regressions from 2.6.26
This message contains a list of some regressions from 2.6.26, for which there are no fixes in the mainline I know of. If any of them have been fixed already, please let me know. If you know of any other unresolved regressions from 2.6.26, please let me know either and I'll add them to the list. Also, please let me know if any of the entries below are invalid. Each entry from the list will be sent additionally in an automatic reply to this message with CCs to the people involved in reporting ...
Sep 27, 8:54 am 2008
Rafael J. Wysocki
[Bug #11407] suspend: unable to handle kernel paging request
This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11407 Subject : suspend: unable to handle kernel paging request Submitter : Vegard Nossum <vegard.nossum@gmail.com> Date : 2008-08-21 17:28 (38 days old) References : ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki
[Bug #11382] e1000e: 2.6.27-rc1 corrupts EEPROM/NVM
This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11382 Subject : e1000e: 2.6.27-rc1 corrupts EEPROM/NVM Submitter : David Vrabel <david.vrabel@csr.com> Date : 2008-08-08 10:47 (51 days old) References : ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki
[Bug #11608] 2.6.27-rc6 BUG: unable to handle kernel pag ...
This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11608 Subject : 2.6.27-rc6 BUG: unable to handle kernel paging request Submitter : John Daiker <daikerjohn@gmail.com> Date : 2008-09-16 23:00 (12 days old) References : ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki
[Bug #11442] btusb hibernation/suspend breakage in curre ...
This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11442 Subject : btusb hibernation/suspend breakage in current -git Submitter : Rafael J. Wysocki <rjw@sisk.pl> Date : 2008-08-25 11:37 (34 days old) References : ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki
[Bug #11550] pnp: Huge number of "io resource overlap" m ...
This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11550 Subject : pnp: Huge number of "io resource overlap" messages Submitter : Frans Pop <elendil@planet.nl> Date : 2008-09-09 10:50 (19 days old) References : ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki
Re: 2.6.27-rc7-git5: Reported regressions from 2.6.26
Ah, I forgot about the previous statistics: Listed regressions statistics: Date Total Pending Unresolved ---------------------------------------- 2008-09-27 173 35 28 2008-09-21 169 45 36 2008-09-15 163 46 32 2008-09-12 163 51 38 2008-09-07 150 43 33 2008-08-30 135 48 36 2008-08-23 122 48 40 2008-08-16 103 ...
Sep 27, 10:47 am 2008
Rafael J. Wysocki
[Bug #11549] 2.6.27-rc5 acpi: EC Storm error message on bootup
This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11549 Subject : 2.6.27-rc5 acpi: EC Storm error message on bootup Submitter : <jmerkey@wolfmountaingroup.com> Date : 2008-09-02 21:27 (26 days old) References : ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki
[Bug #11569] Don't complain about disabled irqs when the ...
This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11569 Subject : Don't complain about disabled irqs when the system has paniced Submitter : Andi Kleen <andi@firstfloor.org> Date : 2008-09-02 13:49 (26 days old) References : ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki
[Bug #11404] BUG: in 2.6.23-rc3-git7 in do cciss intr
This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11404 Subject : BUG: in 2.6.23-rc3-git7 in do_cciss_intr Submitter : rdunlap <randy.dunlap@oracle.com> Date : 2008-08-21 5:52 (38 days old) References : ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki
[Bug #11643] ALSA sound/core/pcm native.c:1947: BUG
This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11643 Subject : ALSA sound/core/pcm_native.c:1947: BUG? (err >= 0) Submitter : sangu <sangu.gnome@gmail.com> Date : 2008-09-24 16:51 (4 days old) --
Sep 27, 8:56 am 2008
Rafael J. Wysocki
Re: [Bug #11237] corrupt PMD after resume
OK, I dropped it from the list. Thanks, Rafael --
Sep 27, 10:58 am 2008
Rafael J. Wysocki
[Bug #11629] quad G5 fails to shut down
This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11629 Subject : quad G5 fails to shut down Submitter : Johannes Berg <johannes@sipsolutions.net> Date : 2008-09-23 14:20 (5 days old) Handled-By : Johannes Berg ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki
Re: 2.6.27-rc7-git5: Reported regressions from 2.6.26
Some of the follow-up messages are borked because of a bug in my script. Sorry for that, the script has been fixed already. Thanks, Rafael --
Sep 27, 10:57 am 2008
Rafael J. Wysocki
[Bug #11271] BUG: fealnx in 2.6.27-rc1
This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11271 Subject : BUG: fealnx in 2.6.27-rc1 Submitter : Jaswinder Singh <jaswinderlinux@gmail.com> Date : 2008-08-05 14:58 (54 days old) References : ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki
[Bug #11654] Devices enabled in /proc/acpi/wakeup do not ...
This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11654 Subject : Devices enabled in /proc/acpi/wakeup do not wake up any more Submitter : Tino Keitel <tino.keitel@gmx.de> Date : 2008-09-22 20:29 (6 days old) References : ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki
[Bug #11505] oltp ~10% regression with 2.6.27-rc5 on sto ...
This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11505 Subject : oltp ~10% regression with 2.6.27-rc5 on stoakley machine Submitter : Lin Ming <ming.m.lin@intel.com> Date : 2008-09-04 7:06 (24 days old) References : ...
Sep 27, 8:56 am 2008
Rafael J. Wysocki
=?utf-8?q?[Bug=20#11272]=20BUG:=20parport_serial=20in=20 ...
35?To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org> This message has been generated automatically as a part of a report of recent regressions. The following bug entry is on the current list of known regressions from 2.6.26. Please verify if it still should be listed and let me know (either way). Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11272 Subject : BUG: parport_serial in 2.6.27-rc1 for NetMos Technology PCI 9835 Submitter : Jaswinder Singh ...
Sep 27, 8:56 am 2008
Alan Cox
Re: Serial console not working after device detection.
Known problem - compile out the PnP serial support --
Sep 27, 2:33 pm 2008
Brice Figureau
Serial console not working after device detection.
Hi, On two of my servers (some Dell poweredge 1850 and 2850), booting a 2.6.26 debian kernel while at the same time looking at the serial console, nothing is printed after the following snippet: ... Linux agpgart interface v0.103 Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a NS16550A ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? The serial ...
Sep 27, 10:20 am 2008
Ingo Molnar
Re: [PATCH] x86: TSC resync
hm, that would be a performance problem. coming out of idle is a fastpath: the CPU just got notified of more work, so any delay there costs. [ going _to_ idle is more relaxed from a performance POV - but that doesnt help much here. ] and the default_idle()->tsc_resync_idle_notifier()->tsc_resync()-> ref_clock_tsc_read()->ref_clock() codepath does this: + offset = (uint32_t)hpet_readl(HPET_COUNTER) - ref_clock_last; i.e. we read the HPET every time we exit from ...
Sep 27, 9:51 am 2008
Arjan van de Ven
Re: [PATCH 0/3][RFC] ioctl dispatcher
On Sat, 27 Sep 2008 18:43:59 +0300 this doesn't seem to be much different from the way the DRM code deals with ioctls. Or the V4L code. Personally I hate that code though..... There is a fine balance here; between driver writers screwing something up they shouldn't be doing in the first place and us being able to clearly see what the code is doing; your patch kinda hides some key elements of the ioctl path... I'm afraid it gives a false sense of security though. Not having to deal with one ...
Sep 27, 9:13 am 2008
Avi Kivity
Re: [PATCH 0/3][RFC] ioctl dispatcher
Which key elements? It hides the big switch (ioctl), memory allocation, and error handling, and exposes the actual ioctl-specific code, which I thought was the key element. I'll rename the argp variable to argp_user_supplied. I can't believe you think writing the copy code from scratch (or worse, copy/paste) each time helps security. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain. --
Sep 27, 10:40 am 2008
Avi Kivity
[PATCH 2/3] ioctl: extensible ioctl dispatch
ioctls (as traditionally implemented) are very brittle; one cannot add a field to the argument structure without breaking the ABI. In many cases, this is a good thing as the ABI was not designed for extension. In other cases, however, it makes sense to design an ABI with extension in mind. This patch provides a new ioctl_dispatch_extensible(), which is designed to cope with evolving interfaces: - the ioctl number is matched only by its number and type, allowing size and direction to ...
Sep 27, 8:44 am 2008
Avi Kivity
[PATCH 0/3][RFC] ioctl dispatcher
While ioctls are officially ugly, they are the best choice for some use cases, not to mention compatibility issues. Currently ioctl writers face the following hurdles: - if the ioctl uses a data buffer, the ioctl handler must allocate kernel memory for this buffer - the memory may be allocated on the heap or on the stack, depending on the buffer size - handle any errors from the operation - copy the data from userspace, if necessary - handle any errors from the operation - actually ...
Sep 27, 8:43 am 2008
Avi Kivity
[PATCH 1/3] ioctl: generic ioctl dispatcher
ioctl handler writers currently have the following tasks: - allocate a buffer for the data, either in memory or on the heap, depending on the buffer size - handle errors - copy the data from userspace - handle errors - actually perform the intended operation - copy data back to userspace - handle errors - free the buffer, in case it was allocated on the heap This patch provides a dispatch_ioctl() helper, which will do all of these things for the caller, except for performing the ...
Sep 27, 8:44 am 2008
Avi Kivity
[PATCH 3/3] KVM: Convert x86 vcpu ioctls to use dispatch ...
Signed-off-by: Avi Kivity <avi@redhat.com> --- arch/x86/kvm/x86.c | 241 +++++++++++++++++----------------------------------- 1 files changed, 77 insertions(+), 164 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 4cfdd1b..aa9d228 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -1084,26 +1084,24 @@ static int __msr_io(struct kvm_vcpu *vcpu, struct kvm_msrs *msrs, * * @return number of msrs set successfully. */ -static int msr_io(struct kvm_vcpu ...
Sep 27, 8:44 am 2008
Henrik Rydberg
[PATCH] hwmon: applesmc: Lighter wait mechanism, drastic ...
The read fail ratio is sensitive to the delay between the first byte written and the first byte read; apparently the sensors cannot be rushed. Increasing the minimum wait time, without changing the total wait time, improves the fail ratio from a 8% chance that any of the sensors fails in one read, down to 0.4%, on a Macbook Air. On a Macbook Pro 3,1, the effect is even more apparent. By reducing the number of status polls, the ratio is further improved to below 0.1%. Finally, increasing the total ...
Sep 27, 8:28 am 2008
Rakib Mullick
Compilation error on 2.6.27-rc5-mm1.
Inlining failed with gcc version 3.4 The patch named "sched-clarify-ifdef-tangle.patch" causes the following compilation error. CC kernel/sched.o kernel/sched.c: In function `start_rt_bandwidth': kernel/sched.c:208: sorry, unimplemented: inlining failed in call to 'rt_bandwidth_enabled': function body not available kernel/sched.c:214: sorry, unimplemented: called from here make[1]: *** [kernel/sched.o] Error 1 make: *** [kernel] Error 2 Thanks. --
Sep 27, 8:07 am 2008
Jay Cliburn
[PATCH 4/4] atl1: update introductory comments
Update the driver's introductory comments. Signed-off-by: Jay Cliburn <jacliburn@bellsouth.net> --- drivers/net/atlx/atl1.c | 10 +++------- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c index 5f157e0..3cf59a7 100644 --- a/drivers/net/atlx/atl1.c +++ b/drivers/net/atlx/atl1.c @@ -24,16 +24,12 @@ * file called COPYING. * * Contact Information: - * Xiong Huang <xiong_huang@attansic.com> - * Attansic Technology ...
Sep 27, 7:17 am 2008
Jay Cliburn
[PATCH 0/4] atl1: miscellaneous fixes and updates
Please accept this patchset for the atl1 driver. It includes a bugfix for transmit timeouts reported by Alexey Dobriyan, removal of LLTX (inspired by Kevin Hao's removal of same from atl2), removal of the EXPERIMENTAL tag (initially submitted in slightly different form by Chris Snook, but somehow lost), and an update to the driver's introductory comments. Jay Cliburn (4): atl1: fix transmit timeout bug atl1: remove LLTX atl1: remove EXPERIMENTAL label atl1: update introductory ...
Sep 27, 7:17 am 2008
Jay Cliburn
[PATCH 3/4] atl1: remove EXPERIMENTAL label
Remove the EXPERIMENTAL label from the atl1 driver and change the vendor name to include Attansic's successor, Atheros. We'll leave Attansic in the name since Attansic's PCI ID (1969) is encoded in the PCI config and is what users encounter on their systems. Signed-off-by: Jay Cliburn <jacliburn@bellsouth.net> --- drivers/net/Kconfig | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 4a11296..1c8addf 100644 --- ...
Sep 27, 7:17 am 2008
Jay Cliburn
[PATCH 1/4] atl1: fix transmit timeout bug
See http://marc.info/?l=linux-netdev&m=121931988219314&w=2 Stop the queue and turn off carrier to prevent transmit timeouts when the cable is unplugged/replugged. Signed-off-by: Jay Cliburn <jacliburn@bellsouth.net> Cc: Alexey Dobriyan <adobriyan@gmail.com> --- drivers/net/atlx/atl1.c | 4 +++- drivers/net/atlx/atlx.c | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c index e23ce77..e00a986 100644 --- ...
Sep 27, 7:17 am 2008
Jay Cliburn
[PATCH 2/4] atl1: remove LLTX
NETIF_F_LLTX is deprecated. Remove private TX locking from the driver and remove the NETIF_F_LLTX feature flag. Signed-off-by: Jay Cliburn <jacliburn@bellsouth.net> --- drivers/net/atlx/atl1.c | 18 +----------------- 1 files changed, 1 insertions(+), 17 deletions(-) diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c index e00a986..5f157e0 100644 --- a/drivers/net/atlx/atl1.c +++ b/drivers/net/atlx/atl1.c @@ -2109,7 +2109,6 @@ static u16 atl1_tpd_avail(struct atl1_tpd_ring ...
Sep 27, 7:17 am 2008
Peter Zijlstra
Re: [RFC PATCH] LTTng relay buffer allocation, read, write
Why? What aspects of Steve's ring-buffer interface will hinder us optimizing the implementation to be as light-weight as you like? The thing is, I'd like to see it that light as well ;-) As for the page-spanning entries, I think we can do that with Steve's system just fine, its just that Linus said its a dumb idea and Steve dropped it, but there is nothing fundamental stopping us from recording a length that is > PAGE_SIZE and copying data into the pages one at a time. Nor do I see it ...
Sep 27, 10:10 am 2008
Mathieu Desnoyers
[RFC PATCH] LTTng relay buffer allocation, read, write
As I told Martin, I was thinking about taking an axe and moving stuff around in relay. Which I just did. This patch reimplements relay with a linked list of pages. Provides read/write wrappers which should be used to read or write from the buffers. It's the core of a layered approach to the design requirements expressed by Martin and discussed earlier. It does not provide _any_ sort of locking on buffer data. Locking should be done by the caller. Given that we might think of very lightweight ...
Sep 27, 6:40 am 2008
Jiri Slaby
[PATCH 1/1] Ath5k: add AP mode
Add support for AP mode. This involves: - enablement in ath5k_beacon_config -- initialize beacon timer - add AP to the supported modes in ath5k_add_interface - handle beacon change even for AP in ath5k_config_interface - remove useless test for IBSS in ath5k_beacon_update Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Cc: Nick Kossifidis <mickflemm@gmail.com> Cc: Luis R. Rodriguez <mcgrof@gmail.com> --- drivers/net/wireless/ath5k/base.c | 42 +++++++++++++++---------------------- 1 files ...
Sep 27, 5:48 am 2008
Mark Brown
Re: [alsa-devel] [PATCH] Drop Vladimir Barinov's e-mail ...
I can confirm this - he posted to alsa-devel saying that in response to Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> --
Sep 27, 4:51 am 2008
Jean Delvare
[PATCH] Drop Vladimir Barinov's e-mail address
Every e-mail I've sent to Vladimir Barinov bounced back to me, so I guess he no longer works at MontaVista. Signed-off-by: Jean Delvare <khali@linux-fr.org> --- arch/arm/plat-omap/include/mach/mtd-xip.h | 2 +- drivers/usb/host/ehci-ixp4xx.c | 2 +- sound/soc/codecs/tlv320aic3x.c | 2 +- sound/soc/codecs/tlv320aic3x.h | 2 +- sound/soc/davinci/davinci-evm.c | 2 +- sound/soc/davinci/davinci-i2s.c | 2 +- ...
Sep 27, 4:36 am 2008
Hirokazu Takata
[GIT PULL] m32r updates
Hello, Linus, Please pull m32r updates from the following tree: git://www.linux-m32r.org/git/takata/linux-2.6_dev.git linux-m32r Thank you. -- Takata --- Adrian Bunk (5): m32r: remove the unused NOHIGHMEM option m32r: don't offer CONFIG_ISA m32r: export empty_zero_page m32r: export __ndelay m32r/kernel/: cleanups --- arch/m32r/Kconfig | 10 +--------- arch/m32r/kernel/entry.S | 2 +- arch/m32r/kernel/head.S | 1 - ...
Sep 27, 3:39 am 2008
Zhao, Yu
[PATCH 6/6 v3] PCI: document the change
Create how-to for SR-IOV user and device driver developer. Cc: Jesse Barnes <jbarnes@virtuousgeek.org> Cc: Randy Dunlap <randy.dunlap@oracle.com> Cc: Grant Grundler <grundler@parisc-linux.org> Cc: Alex Chiang <achiang@hp.com> Cc: Matthew Wilcox <matthew@wil.cx> Cc: Roland Dreier <rdreier@cisco.com> Cc: Greg KH <greg@kroah.com> Signed-off-by: Yu Zhao <yu.zhao@intel.com> --- Documentation/DocBook/kernel-api.tmpl | 2 + Documentation/PCI/pci-iov-howto.txt | 227 ...
Sep 27, 1:28 am 2008
Zhao, Yu
[PATCH 5/6 v3] PCI: reserve bus range for SR-IOV
Reserve bus range for SR-IOV at device scanning stage. Cc: Jesse Barnes <jbarnes@virtuousgeek.org> Cc: Randy Dunlap <randy.dunlap@oracle.com> Cc: Grant Grundler <grundler@parisc-linux.org> Cc: Alex Chiang <achiang@hp.com> Cc: Matthew Wilcox <matthew@wil.cx> Cc: Roland Dreier <rdreier@cisco.com> Cc: Greg KH <greg@kroah.com> Signed-off-by: Yu Zhao <yu.zhao@intel.com> --- drivers/pci/iov.c | 24 ++++++++++++++++++++++++ drivers/pci/pci.h | 5 +++++ drivers/pci/probe.c | 3 +++ ...
Sep 27, 1:28 am 2008
Zhao, Yu Sep 27, 1:28 am 2008
Zhao, Yu
[PATCH 3/6 v3] PCI: support ARI capability
Add Alternative Routing-ID Interpretation (ARI) support. Cc: Jesse Barnes <jbarnes@virtuousgeek.org> Cc: Randy Dunlap <randy.dunlap@oracle.com> Cc: Grant Grundler <grundler@parisc-linux.org> Cc: Alex Chiang <achiang@hp.com> Cc: Matthew Wilcox <matthew@wil.cx> Cc: Roland Dreier <rdreier@cisco.com> Cc: Greg KH <greg@kroah.com> Signed-off-by: Yu Zhao <yu.zhao@intel.com> --- drivers/pci/pci.c | 31 +++++++++++++++++++++++++++++++ drivers/pci/pci.h | 12 ++++++++++++ ...
Sep 27, 1:28 am 2008
Zhao, Yu
[PATCH 2/6 v3] PCI: add new general functions
Centralize capability related functions into several new functions and put PCI resource definitions into an enum. Cc: Jesse Barnes <jbarnes@virtuousgeek.org> Cc: Randy Dunlap <randy.dunlap@oracle.com> Cc: Grant Grundler <grundler@parisc-linux.org> Cc: Alex Chiang <achiang@hp.com> Cc: Matthew Wilcox <matthew@wil.cx> Cc: Roland Dreier <rdreier@cisco.com> Cc: Greg KH <greg@kroah.com> Signed-off-by: Yu Zhao <yu.zhao@intel.com> --- drivers/pci/pci-sysfs.c | 119 ...
Sep 27, 1:27 am 2008
Zhao, Yu
[PATCH 1/6 v3] PCI: export some functions and macros
Export some functions and move some macros from c file to header file. Cc: Jesse Barnes <jbarnes@virtuousgeek.org> Cc: Randy Dunlap <randy.dunlap@oracle.com> Cc: Grant Grundler <grundler@parisc-linux.org> Cc: Alex Chiang <achiang@hp.com> Cc: Matthew Wilcox <matthew@wil.cx> Cc: Roland Dreier <rdreier@cisco.com> Cc: Greg KH <greg@kroah.com> Signed-off-by: Yu Zhao <yu.zhao@intel.com> --- drivers/pci/pci-sysfs.c | 10 ++++---- drivers/pci/pci.c | 2 +- drivers/pci/pci.h | ...
Sep 27, 1:27 am 2008
Matthew Wilcox
Re: [PATCH 1/6 v3] PCI: export some functions and macros
That's absolutely not everything this patch does. You need to split this into smaller pieces and explain what you're doing and why for each The original intent here was to have a pci_read_base() that called __pci_read_base() and then did things like translate physical BAR addresses to virtual ones. That patch is in the archives somewhere. We ended up not including that patch because my user found out he could get the address he wanted from elsewhere. I'm not sure we want to remove the __ ...
Sep 27, 5:59 am 2008
Javier Guerra Giraldez
Re: [PATCH 0/6 v3] PCI: Linux kernel SR-IOV support
sounds great, i think some Infiniband HBAs have this capability; they even= =20 suggested using on Xen for faster (no hypervisor intervention) communicatio= n=20 between DomU's on the same box. (and transparently to out of the box, of=20 course) does it need an IOMMU (VT-d), or the whole magic is done by the PCI device? =2D-=20 Javier
Sep 27, 11:07 am 2008
Zhao, Yu
[PATCH 0/6 v3] PCI: Linux kernel SR-IOV support
Greetings, Following patches are intended to support SR-IOV capability in the Linux kernel. With these patches, people can turn a PCI device with the capability into multiple ones from software perspective, which can benefit KVM and achieve other purposes such as QoS, security, etc. [PATCH 1/6 v3] PCI: export some functions and macros [PATCH 2/6 v3] PCI: add new general functions [PATCH 3/6 v3] PCI: support ARI capability [PATCH 4/6 v3] PCI: support SR-IOV capability [PATCH 5/6 v3] PCI: ...
Sep 27, 1:27 am 2008
Yinghai Lu
[PATCH 3/3] x86: mtrr_cleanup optimization v2
fix hpa's t61 with 4g ram change layout from (n - 1)*chunksize + chunk_size - NC to n*chunksize - NC Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/cpu/mtrr/main.c | 81 ++++++++++++++++++---------------------- 1 file changed, 38 insertions(+), 43 deletions(-) Index: linux-2.6/arch/x86/kernel/cpu/mtrr/main.c =================================================================== --- linux-2.6.orig/arch/x86/kernel/cpu/mtrr/main.c +++ ...
Sep 27, 12:30 am 2008
Ingo Molnar
Re: [PATCH 3/3] x86: mtrr_cleanup optimization v2
applied the three patches to tip/x86/mtrr, thanks Yinghai! i'm wondering, arent 2/3 and 3/3 also for v2.6.27? Ingo --
Sep 27, 9:09 am 2008
Ingo Molnar Sep 27, 10:38 am 2008
Yinghai Lu
Re: [PATCH 3/3] x86: mtrr_cleanup optimization v2
let queue to 2.6.28, and later back port to 2.6.27 , 2.6.26 stable YH --
Sep 27, 10:30 am 2008
Yinghai Lu
[PATCH 2/3] x86: don't need to go to chunksize to 4G
change back chunksize max to 2g otherwise will get strange layout in 2G ram system like 0 - 4g WB, 2040M - 2048M UC, 2048M - 4G NC instead of 0 - 2g WB, 2040M - 2048M UC Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/cpu/mtrr/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Index: linux-2.6/arch/x86/kernel/cpu/mtrr/main.c =================================================================== --- ...
Sep 27, 12:30 am 2008
Yinghai Lu
[PATCH 1/3] x86: add mtrr_cleanup_debug command line
add mtrr_cleanup_debug to print out more info about layout Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/cpu/mtrr/main.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) Index: linux-2.6/arch/x86/kernel/cpu/mtrr/main.c =================================================================== --- linux-2.6.orig/arch/x86/kernel/cpu/mtrr/main.c +++ linux-2.6/arch/x86/kernel/cpu/mtrr/main.c @@ -836,6 +836,13 @@ static int __init ...
Sep 27, 12:30 am 2008
Tom Zanussi
[RFC PATCH 10/10] relay - Remove sub-buffers from relay.
Remove sub-buffers from relay. This patch removes the concept of sub-buffers from relay - everything now just operates on pages. relay_open() was also changed accordingly; instead of specifying buffer sizes in terms of sub-buffer sizes and numbers, the buffer size is specfied in pages. There's also a new param that specifies how often to wake up consumers, in terms of every n pages produced. If 0 is given for this param, consumers are never woken up. --- block/blktrace.c | 7 +- ...
Sep 26, 11:18 pm 2008
Tom Zanussi
[RFC PATCH 9/10] relay - Replace subbuf_start and notify ...
Replace subbuf_start and notify_consumers callbacks with new_subbuf. The subbuf_start callback was too confusing and there's no reason to have a separate callback to notify consumers; this patch combines them both and simplifies the interface. It's only called when there actually has been a switch to a new sub-buffer and there's now no return value saying whether the buffer is full or not - that's now handled internally. Keeping a count of dropped events is also now done internally, so the ...
Sep 26, 11:18 pm 2008
Tom Zanussi
[RFC PATCH 8/10] relay - Clean up remaining padding-rela ...
Clean up remaining padding-related junk. Removes the rest of the padding-related junk. Also simplifies the subbuf_start callback a bit. --- block/blktrace.c | 5 +++-- include/linux/relay.h | 12 ++---------- kernel/relay.c | 20 ++++---------------- virt/kvm/kvm_trace.c | 7 ++++--- 4 files changed, 13 insertions(+), 31 deletions(-) diff --git a/block/blktrace.c b/block/blktrace.c index 150c5f7..271b7b7 100644 --- a/block/blktrace.c +++ b/block/blktrace.c @@ ...
Sep 26, 11:18 pm 2008
Tom Zanussi
[RFC PATCH 7/10] relay - Remove padding-related code fro ...
Remove padding-related code from relay_read()/relay_splice_read() et al. Because we no longer write padding, we no longer have to read it or account for it anywhere else, greatly simplifying the related code. --- kernel/relay.c | 149 ++++++++------------------------------------------------ 1 files changed, 20 insertions(+), 129 deletions(-) diff --git a/kernel/relay.c b/kernel/relay.c index d382528..b55466d 100644 --- a/kernel/relay.c +++ b/kernel/relay.c @@ -965,72 +965,13 @@ static ...
Sep 26, 11:18 pm 2008
Tom Zanussi
[RFC PATCH 6/10] relay - Replace relay_reserve/relay_wri ...
Replace relay_reserve/relay_write with non-padded versions. The old versions of relay_reserve/relay_write would write/reserve an event only if the whole thing could fit in the remaining space of the current sub-buffer; if it couldn't it would add padding to the current sub-buffer and reserve in the next. The new versions don't add padding but use up all the space in a sub-buffer and write the remainder in the next sub-buffer. They won't however write a partial event - if there's not enough ...
Sep 26, 11:18 pm 2008
Tom Zanussi
[RFC PATCH 5/10] relay - Map the first sub-buffer at the ...
Map the first sub-buffer at the end of the buffer, for temporary convenience. Make relay buffers 'circular' for writing by mapping the first subbuf at end of last subbuf. This is so we can do writes across last subbuf boundary without adding special write logic. This is a temporary state of affairs and it all goes away in a future patch, but it's here now so things will still work. --- kernel/relay.c | 26 +++++++++++++++----------- 1 files changed, 15 insertions(+), 11 ...
Sep 26, 11:18 pm 2008
Tom Zanussi
[RFC PATCH 4/10] relay - Add reserved param to switch-su ...
Add reserved param to switch-subbuf, in preparation for non-pad write/reserve. Because a write/reserve can now cross sub-buffer boundaries, we use the length returned as a remainder for the new sub-buffer, and use the reserved param to return a pointer to the reserved space, or NULL if it couldn't be reserved. This patch also changes write/reserve to preserve their current behavior despite that change. This all goes away in a future patch, but is here now so things don't break. --- ...
Sep 26, 11:18 pm 2008
Tom Zanussi
[RFC PATCH 3/10] relay - Add channel flags to relay, rem ...
Add channel flags to relay, remove global callback param. relay should probably have had a flags param from the beginning; it wasn't originally added because it wasn't originally needed - it probably would have helped avoided some of the callback contortions that were added due to a lack of flags. This adds them and does a small amount of low-hanging cleanup, and is also in preparation for some new flags in future patches. --- block/blktrace.c | 5 ++--- include/linux/relay.h | 21 ...
Sep 26, 11:17 pm 2008
Tom Zanussi
[RFC PATCH 2/10] relay - Make the relay sub-buffer switc ...
Make the relay sub-buffer switch code replaceable. With this patch, tracers now have complete control over the relay write (or reserve) path if they choose to do so, by implementing their own version of the sub-buffer switch function (switch_subbuf()), in addition to their own local write/reserve functions. Tracers who choose not to do so automatically default to the normal behavior. --- include/linux/relay.h | 23 ++++++++++++++++++----- kernel/relay.c | 13 ++++++++----- 2 ...
Sep 26, 11:17 pm 2008
Tom Zanussi
[RFC PATCH 1/10] relay - Clean up relay_switch_subbuf() ...
Clean up relay_switch_subbuf() and make waking up consumers optional. Over time, relay_switch_subbuf() has accumulated some cruft - this patch cleans it up and at the same time makes available some of it available as common functions that any subbuf-switch implementor would need (this is partially in preparation for the next patch, which makes the subbuf-switch function completely replaceable). It also removes the hard-coded reader wakeup and moves it into a replaceable callback called ...
Sep 26, 11:17 pm 2008
Tom Zanussi
[RFC PATCH 0/10] relay revamp, third installment
Here's the current relay cleanup patchset. 1-2 make the write path completely replaceable. 3 adds flags along with some related cleanup. 4-8 remove the padding in several stages. The new patches in this set are: 9 simplifies the callbacks - now that we have flags, the subbuf_start callback is much simpler, has been combined with notify_consumers and has been renamed new_subbuf. Because part of the simplification has been to handle buffer-full conditions and count lost events ...
Sep 26, 11:17 pm 2008
Zhang, Yanmin
[PATCH] merge the define of PCI_CFG_SPACE_SIZE
Subject: pci: merge define of PCI_CFG_SPACE_SIZE From: "Zhang, Yanmin" <yanmin_zhang@linux.intel.com> 3 files define PCI_CFG_SPACE_SIZE. Move the define to file pci_regs.h. Signed-off-by: Zhang Yanmin <yanmin_zhang@linux.intel.com> --- diff -Nraup linux-2.6.27-rc7/drivers/pci/pcie/aer/aerdrv_core.c linux-2.6.27-rc7_cleanup/drivers/pci/pcie/aer/aerdrv_core.c --- linux-2.6.27-rc7/drivers/pci/pcie/aer/aerdrv_core.c 2008-09-27 09:35:32.000000000 +0800 +++ ...
Sep 26, 8:08 pm 2008
Yinghai Lu
[PATCH] x86: mtrr_cleanup optimization
fix hpa's t61 with 4g ram 1. add mtrr_cleanup_debug to print out more info about layout 2. change layout from (n - 1)*chunksize + chunk_size - NC to n*chunksize - NC 3. change back chunksize to 2g otherwise will get strange layout in 2G ram system like 0 - 4g WB, 2040M - 2048M UC, 2048M - 4G NC instead of 0 - 2g WB, 2040M - 2048M UC Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/cpu/mtrr/main.c | 72 ...
Sep 26, 7:55 pm 2008
Avi Kivity
Re: inconsistent lock state. (kvm)
This is sort of known, which is why decache_vcpus_on_cpu no longer exists. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain. --
Sep 27, 2:56 am 2008
Dave Jones
inconsistent lock state. (kvm)
I just triggered this with just modprobe kvm_intel ; rmmod kvm kvm_intel Dave ================================= [ INFO: inconsistent lock state ] 2.6.26.3-29.fc9.x86_64.debug #1 --------------------------------- inconsistent {hardirq-on-W} -> {in-hardirq-W} usage. Xorg/2680 [HC1[1]:SC0[0]:HE0:SE1] takes: (kvm_lock){+-..}, at: [<ffffffffa0463ad6>] decache_vcpus_on_cpu+0x20/0xbd [kvm] {hardirq-on-W} state was registered at: [<ffffffff81058ead>] __lock_acquire+0x62f/0xd89 ...
Sep 26, 7:30 pm 2008
Serge E. Hallyn
[PATCH 3/6] file capabilities: uninline cap_safe_nice
This reduces the kernel size by 289 bytes. Signed-off-by: Serge E. Hallyn <serue@us.ibm.com> --- security/commoncap.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/security/commoncap.c b/security/commoncap.c index 9bfef94..d48fdd8 100644 --- a/security/commoncap.c +++ b/security/commoncap.c @@ -512,7 +512,7 @@ int cap_task_post_setuid (uid_t old_ruid, uid_t old_euid, uid_t old_suid, * yet with increased caps. * So we check for increased caps on the target ...
Sep 26, 7:27 pm 2008
Andrew G. Morgan
Re: [PATCH 3/6] file capabilities: uninline cap_safe_nice
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Acked-by: Andrew G. Morgan <morgan@kernel.org> Cheers -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI3bX0+bHCR3gb8jsRApVqAKCuFmvJTlIiAYxXW5W3JNncFYmmrQCfa95h Ik/MLVnpPtZdmuInkJSOof4= =3aYe -----END PGP SIGNATURE----- --
Sep 26, 9:26 pm 2008
Serge E. Hallyn
[PATCH 6/6] file capabilities: remove needless (?) bprm_ ...
Andrew Morgan, if you have a moment, please do take a close look and make sure I'm not doing anything stupid/wrong in the cleanups! However ltp shows no difference with and without the patchset. Following are the kernel sizes after some of the patches. original, pre-patch, with file capabilities compiled out: text data bss dec hex filename 4188468 234432 316472 4739372 48512c vmlinux original, pre-patch, with file capabilities compiled in: 4189356 234432 316472 ...
Sep 26, 7:27 pm 2008
James Morris
Re: [PATCH 3/6] file capabilities: uninline cap_safe_nice
This one makes sense on its own, applied to: git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next - James -- James Morris <jmorris@namei.org> --
Sep 26, 10:27 pm 2008
Serge E. Hallyn
[PATCH 4/6] file capabilities: clean up setcap code
Clean up the sys_capset codepath a bit to account for the fact that you can now not ever, never, capset on another task. Signed-off-by: Serge E. Hallyn <serue@us.ibm.com> --- kernel/capability.c | 83 +++++++++++++++++++------------------------------- 1 files changed, 32 insertions(+), 51 deletions(-) diff --git a/kernel/capability.c b/kernel/capability.c index d39c989..92dd85b 100644 --- a/kernel/capability.c +++ b/kernel/capability.c @@ -132,46 +132,31 @@ static int ...
Sep 26, 7:27 pm 2008
Andrew G. Morgan
Re: [PATCH 4/6] file capabilities: clean up setcap code
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Serge, I have to say I'm a bit confused by this one. Specifically, the cap_get_target_pid() change. In your 5/6 patch, you say this change ("the previous patch") makes the kernel bigger? Is this because of the cap_get_target_pid() changes? Since you are fighting to reduce space, if it bloats the code does the cap_get_target_pid() part of the change make sense? Cheers Andrew -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 ...
Sep 26, 9:58 pm 2008
Serge E. Hallyn Sep 26, 7:27 pm 2008
Serge E. Hallyn
Re: [PATCH 4/6] file capabilities: clean up setcap code
Yes I think it does. Yes my goal was to decrease the kernel size, but having cleaner code - and getting rid of dead codepaths - is more important. It may be hard to tell by looking at the patch, but I think the end-result is really far better. thanks, -serge --
Sep 27, 6:43 am 2008
Andrew G. Morgan
Re: [PATCH 5/6] file capabilities: remove needless inlin ...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Serge, I'd much rather simply remove the target argument from the security_capset_check() call. Relying on the caller to not do something bad seems fragile... If the code internally operates on current only, then it doesn't need a target argument... No? (Evidently, such a change is also needed to selinux_capset_check() too, but this doesn't look like it will pose a problem for the selinux code.) Cheers Andrew -----BEGIN PGP ...
Sep 26, 9:39 pm 2008
Serge E. Hallyn
Re: [PATCH 5/6] file capabilities: remove needless inlin ...
Yes, I did do that in a patch on top of all of these. It increased the kernel size by 8 (or was it 16) bytes :) I assume that was because now there were more references to 'current' which is inlined? So I should be able to fix that by saving current() away at the top of the fn. Will try that. thanks, --
Sep 27, 6:40 am 2008
Serge E. Hallyn
[PATCH 5/6] file capabilities: remove needless inline fu ...
cap_limit_ptraced_target always returns 1, so nix it. cap_block_setpcap can't return 1 any more, because kernel/capabilities.c:sys_capset() will return -EPERM if it is called on a task other than current, and will never get to cap_capset_check. This brings the vmlinux size with my config down another 16 bytes (making up for the 8 byte increase from the last patch). Signed-off-by: Serge E. Hallyn <serue@us.ibm.com> --- security/commoncap.c | 22 +++------------------- 1 files changed, ...
Sep 26, 7:27 pm 2008
Serge E. Hallyn
[PATCH 6/6] file capabilities: remove needless (?) bprm_ ...
Two error conditions at the top of get_file_caps() call bprm_clear_caps(). However, the bprm capabilities have not yet been set at this point. Remove those calls (saving another 16 bytes on vmlinux). Signed-off-by: Serge E. Hallyn <serue@us.ibm.com> --- security/commoncap.c | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/security/commoncap.c b/security/commoncap.c index e5afb7c..43bba7a 100644 --- a/security/commoncap.c +++ b/security/commoncap.c @@ ...
Sep 26, 7:27 pm 2008
Serge E. Hallyn
[PATCH 1/6] file capabilities: add no_file_caps switch (v3)
From: Serge Hallyn <serue@us.ibm.com> Add a no_file_caps boot option when file capabilities are compiled into the kernel (CONFIG_SECURITY_FILE_CAPABILITIES=y). This allows distributions to ship a kernel with file capabilities compiled in, without forcing users to use (and understand and trust) them. When no_file_caps is specified at boot, then when a process executes a file, any file capabilities stored with that file will not be used in the calculation of the process' new capability ...
Sep 26, 7:27 pm 2008
Andrew G. Morgan
Re: [PATCH 2/6] file capabilities: remove CONFIG_SECURIT ...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [...snip...] Cheers Andrew -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI3bW9+bHCR3gb8jsRAoD6AKCdF8HNGdT8MPqWUBqrf8+BXGEyZwCfZc2T +/hD1+FB2fTLae+vEbKpWX0= =NerD -----END PGP SIGNATURE----- --
Sep 26, 9:25 pm 2008
Serge E. Hallyn
[PATCH 2/6] file capabilities: remove CONFIG_SECURITY_FI ...
From: Serge Hallyn <serue@us.ibm.com> Remove the option to compile the kernel without file capabilities. Not compiling file capabilities actually makes the kernel less safe, as it includes the possibility for a task changing another task's capabilities. Some are concerned that userspace tools (and user education) are not up to the task of properly configuring file capabilities on a system. For those cases, there is now the ability to boot with the no_file_caps boot option. This will prevent ...
Sep 26, 7:27 pm 2008
Serge E. Hallyn
[PATCH 0/6] file capabilities cleanups: introduction
Following is a set of file capabilities cleanups. The first two patches are a repost of my previous patches which introduce a no_file_caps boot option, and remove the CONFIG_SECURITY_FILE_CAPABILITIES config option. The rest of the patches both clean up some of the capabilities code and reduce the kernel size (since enabling file capabilities grew it). Andrew Morgan, if you have a moment, please do take a close look and make sure I'm not doing anything stupid/wrong in the ...
Sep 26, 7:27 pm 2008
Alberto Bertogli
[PATCH] Documentation/block/data-integrity.txt: Fix sect ...
Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar> --- Documentation/block/data-integrity.txt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/block/data-integrity.txt b/Documentation/block/data-integrity.txt index e9dc8d8..e8ca040 100644 --- a/Documentation/block/data-integrity.txt +++ b/Documentation/block/data-integrity.txt @@ -246,7 +246,7 @@ will require extra work due to the application tag. retrieve the tag buffer using ...
Sep 26, 7:10 pm 2008
Alberto Bertogli
[PATCH] bio.h: Remove unused conditional code
The whole bio_integrity() definition is inside an #ifdef CONFIG_BLK_DEV_INTEGRITY, there's no need for the conditional code. Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar> --- include/linux/bio.h | 9 +-------- 1 files changed, 1 insertions(+), 8 deletions(-) diff --git a/include/linux/bio.h b/include/linux/bio.h index 0933a14..57f9532 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h @@ -458,14 +458,7 @@ static inline char *__bio_kmap_irq(struct bio *bio, unsigned ...
Sep 26, 7:09 pm 2008
Jeremy Fitzhardinge
Re: Use CPUID to communicate with the hypervisor.
I'm sympathetic to the idea, but it seems a bit under-defined. Are you leaving a gap between 0x40000000 and -10 for what? Future extension? Avoiding existing hypervisor-specific leaves? I think there's a move towards doing a scan for a signature, such as checking every 16 leaves after 0x40000000 for "a while" looking for interesting signatures, so that a hypervisor can support multiple ABIs at once. Given this, it would be better to define a "Generic Hypervisor ABI" signature, and put ...
Sep 26, 6:02 pm 2008
H. Peter Anvin
Re: Use CPUID to communicate with the hypervisor.
Uhm, no, they're defined by the _hypervisor_. -hpa --
Sep 26, 6:55 pm 2008
Alok Kataria
Re: Use CPUID to communicate with the hypervisor.
I was just quoting Microsoft's documentation that's available on MSDN. http://msdn.microsoft.com/en-us/library/bb969724.aspx Maybe by standard they mean standard definitions for them, the meaning of the rest of the definitions change according to the value returned by leaf 0x40000001 (Hypervisor vendor-neutral interface id). Thanks, --
Sep 26, 10:37 pm 2008
H. Peter Anvin
Re: Use CPUID to communicate with the hypervisor.
I don't, realistically, think we can phase them out for a very long time, and then it's usually a "why bother". What we want to do is Agreed. However, that's obviously beyond our immediate control. -hpa --
Sep 26, 5:32 pm 2008
H. Peter Anvin
Re: Use CPUID to communicate with the hypervisor.
The first two? And standard according to whom? -hpa --
Sep 26, 9:20 pm 2008
Alok Kataria
Re: Use CPUID to communicate with the hypervisor.
Hi Jeremy, Please see my comments below. Avoiding existing leaves, Microsoft's Hypervisor is using levels 0x40000000 - 0x40000005. The first 2 are standard levels and the rest of them are Microsoft The unused (reserved) value is set to zero right now, whenever a need is For power management, the trend, even on native hardware, is toward a constant rate TSC. So, I don't see this is a big concern; after all a virtual cpu should be able to virtualize the TSC as constant rate even when ...
Sep 26, 8:11 pm 2008
Nakajima, Jun
RE: Use CPUID to communicate with the hypervisor.
T24gOS8yNi8yMDA4IDU6MzI6MjYgUE0sIEguIFBldGVyIEFudmluIHdyb3RlOg0KPiBBbG9rIEth dGFyaWEgd3JvdGU6DQo+ID4gPiA+DQo+ID4gPiBUaGlzIGlzIGdyZWF0LCBvYnZpb3VzbHkuLi4g YWx0aG91Z2ggd2UnbGwgaGF2ZSB0byBkZWFsIHdpdGgNCj4gPiA+IGxlZ2FjeSBtZXRob2RzIGZv ciBhIHdoaWxlIGlmIG5vdCBpbmRlZmluaXRlbHkgKGp1c3QgYXMgd2UgaGF2ZSB0bw0KPiA+ID4g Zm9yIHByZS1DUFVJRCBwcm9jZXNzb3JzKS4NCj4gPg0KPiA+IE9rLCBkbyB5b3UgdGhpbmsgd2Ug c2hvdWxkIGtlZXAgdGhvc2UgKGxlZ2FjeSkgaW50ZXJmYWNlcyBzZXBhcmF0ZQ0KPiA+IHNvIHRo YXQgdGhleSBjYW4gYmUgcGhhc2VkIG91dCB3aGVu ...
Sep 26, 5:59 pm 2008
H. Peter Anvin
Re: Use CPUID to communicate with the hypervisor.
This is great, obviously... although we'll have to deal with legacy methods for a while if not indefinitely (just as we have to for This should be broken out into a separate file in cpu/*, because we I would call this "vmware_tsc_freq()" because it is a VMWare-defined interface... you can't just poke at 0x40000010 and assume it is using the VMWare definition. In order for *that* to be safe, you'd have to have well-defined ranges for different virtualization vendors where each of ...
Sep 26, 5:09 pm 2008
Alok Kataria
Re: Use CPUID to communicate with the hypervisor.
Hi Peter, Thanks for the comments, please find my replies below. Ok, do you think we should keep those (legacy) interfaces separate so I would like to see this as a generic hypervisor way to get frequency My motivation for doing this is to have a standard across all the hypervisor's. If all the different hypervisor guys can come to some sought of consensus on the various hypervisor leafs that would help keep Ok makes sense, will do that. Thanks, --
Sep 26, 5:30 pm 2008
Nakajima, Jun
RE: Use CPUID to communicate with the hypervisor.
Obviously the hypervisor implements such features, and the features available/exposed are up to the hypervisor. My point is that the kernel community can define such generic hypervisor features for Linux because the Linux kernel code needs to be modified anyway. Otherwise, each VMM vender could start changing the kernel in a random fashion. Or nothing happens... Today each hypervisor already defines and implements such features (or API), and they would need some kind of translation layer to support ...
Sep 26, 9:52 pm 2008
H. Peter Anvin
Re: Use CPUID to communicate with the hypervisor.
That's kind of iffy, although at least it does have a modicum of being controlled. There is already a de facto standard for doing this: on a (currently) 64K boundary, add a leaf with a vendor ID and a limit; the presence is detectable by the limit in EAX having the proper upper bits. Then have each vendor pick a range that they maintain. Intel uses 0x0000xxxx (although they claim control of the entire numberspace), AMD uses 0x8000xxxx, VIA uses 0xC000xxxx, Transmeta used 0x8086xxxx, ...
Sep 26, 6:28 pm 2008
Matthew Wilcox
Re: [PATCH] pci: introduce an ioremap_pcibar(pdev, barnr ...
So we already have a pci_iomap() which takes a 'max' argument. If you make 'max' -1, don't you get this same behaviour? -- Matthew Wilcox Intel Open Source Technology Centre "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." --
Sep 26, 7:56 pm 2008
Arjan van de Ven
Re: [PATCH] pci: introduce an ioremap_pcibar(pdev, barnr ...
On Fri, 26 Sep 2008 20:56:14 -0600 there are many ways to map a bar... I'm just arguing for providing a really simple, hard-to-get-wrong, one which only takes a device and a bar number. The goal of my patch isn't to introduce new functionality per se (although having the ability to add checks is nice and welcome), it's mostly to provide a simple, hard-to-get-wrong interface. Less chance to get it wrong -> less hard to diagnose bugs. -- Arjan van de Ven Intel Open Source Technology ...
Sep 27, 8:35 am 2008
Jiri Slaby Sep 27, 5:42 am 2008
Bob Copeland
Re: [ath5k-devel] Release of Atheros 802.11abg HAL under ...
Awesome news!! Thank you Luis and Atheros! -- Bob Copeland %% www.bobcopeland.com --
Sep 27, 6:09 am 2008
John W. Linville
Re: Release of Atheros 802.11abg HAL under the ISC
Awesome...simply, awesome! I hereby nominate Atheros for this year's "Most Improved Open Source Corporate Citizen" award! :-) Great job, Luis! John -- John W. Linville Linux should be at the core linville@tuxdriver.com of your literate lifestyle. --
Sep 27, 7:38 am 2008
Tim Gardner
Re: Release of Atheros 802.11abg HAL under the ISC
Luis _has_ done a great job. Having dealt with Atheros in another life, I can appreciate the mountains he's moved. I would also offer my appreciation to those unnamed, enlightened individuals within Atheros that made this possible. Nothing would please me more then to be able to drop the madwifi HAL in favor of full support from ath5k. rtg -- Tim Gardner tim.gardner@canonical.com --
Sep 27, 8:34 am 2008
david
Re: [RFC] 0/11 fanotify: fscking all notifiction and fil ...
sending a message out for every READ/WRITE seems like it will generate a LOT of messages, and very few will be ones that anyone cares about. one of the nice things about the TALPA approach was that there was an ability to notify only on a change of state (i.e. when a file that had been scanned was changed) this could do a similar thing, but I think it would be a much more expensive process to do it all in userspace. David Lang --
Sep 26, 11:05 pm 2008
Eric Paris
Re: [RFC] 0/11 fanotify: fscking all notifiction and fil ...
See the fastpath patch and explaination. Doesn't help for writes... --
Sep 27, 7:04 am 2008
Alan Cox
Re: [RFC] 0/11 fanotify: fscking all notifiction and fil ...
On read there isn't much point anyway, on write if you simply send one, save an event counter number and don't send another until the last one is cleared it all works well. When the last event is cleared if another event has occurred then the event counter will have changed so you know to send one immediately, if the app doesn't want to receive them for a while it can just hang onto the event for a minute or two before clearing it. --
Sep 27, 4:20 am 2008
Ingo Molnar
Re: [PATCH 2/4] x86: Add UV bios call infrastructure v2
ok - i'll wait for v3 of this patchset. Ingo --
Sep 27, 9:10 am 2008
Huang Ying
Re: [PATCH 2/4] x86: Add UV bios call infrastructure v2
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= efi_call_virt<n> and efi_call_phys<n> is the API instead of efi_call<n>. And please put the implementation without CONFIG_EFI defined out of #ifdef CONFIG_X86_32 <...> #else <...> #endif Best Regards, Huang Ying
Sep 26, 6:21 pm 2008
Huang Ying
Re: [PATCH 1/4] x86: Add UV EFI table entry v2
Acked-by: Huang Ying <ying.huang@intel.com> Best Regards, =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
Sep 26, 6:23 pm 2008
Vegard Nossum
Re: Swap on loop device on tmpfs locks up machine
Just playing with the kernel :-) Sometimes the "insane" things to do will turn up real errors in the code. This one is in the borderlands, but I thought it wouldn't hurt to post the results in either case. 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 27, 11:30 am 2008
David Newall
Re: Swap on loop device on tmpfs locks up machine
Doesn't tmpfs use otherwise-free virtual memory? I expect the machine would lock up if you put swap (i.e. additional virtual memory) on such a device. --
Sep 27, 5:49 am 2008
Bill Davidsen
Re: Swap on loop device on tmpfs locks up machine
To reinstate the paragraph from the O.P. you snipped: >> I'm not sure it's really a very good idea to do this in the first >> place, but should something give a warning or prevent a user from >> doing it? I think you are both right, it is a bad thing to do, it does seem to lock up, and something should prevent a user from doing that. But it may be easier to fix the lockup than get the "prevent" right, there appears to be a loop there. Just a simple questions to the O.P.: what were you ...
Sep 27, 10:38 am 2008
Ingo Molnar
Re: [PATCH 0/4] futex: get_user_pages_fast() for shared ...
hm, very interesting. Since this is an important futex usecase i started testing it in tip/core/futexes: cd33272: futex: cleanup fshared a135356: futex: use fast_gup() 39ce77b: futex: reduce mmap_sem usage 0d7a336: futex: rely on get_user_pages() for shared futexes Nick, it would be nice to get an Acked-by/Reviewed-by from you, before we think about whether it should go upstream. Ingo --
Sep 27, 9:17 am 2008
Frédéric Weisbecker
Re: [PATCH -tip 2/3] Tracing/ftrace: Adapt mmiotrace to ...
No problem, I have one other option: ignoring and sleep again before receiving another entries. I can do another patch this week end to implement that. The third patch only concerns the boot tracer. It relays to other output functions. Just tell me if you agree with the ignoring... Thanks ! --
Sep 27, 5:17 am 2008
Ingo Molnar
Re: [PATCH -tip 2/3] Tracing/ftrace: Adapt mmiotrace to ...
ok, i'll defer your patchset to until there's tentative agreement from Pekka, as this issue affects both the mmiotrace and fastboot tracers. Ingo --
Sep 27, 9:19 am 2008
Eric W. Biederman
Re: 2.6.27-rc7-sha1: EIP at proc_sys_compare+0x36/0x50
Where is that? This is an issue because if we can get negative dentries the other dentry operations are wrong as well.n We hold the directory mutex in real_lookup before calling i_op->lookup. So lookups should be serialized. proc_sys_lookup always either succeeds and calls d_add with a valid inode or fails and returns an error code in which case real_lookup puts the dentry before it is hashed. We hold the directory mutex in readdir before calling file->f_op->readdir. Deep inside ...
Sep 27, 1:44 am 2008
Ingo Molnar
Re: [PATCH 0/7] traps: x86: irqtrace cleanup and some tr ...
Correct. Generally you'll hear from the -tip maintainers if there's any trouble with a topic. If you see it integrated into tip/master and if you see no applied to tip/x86/traps, thanks. Ingo --
Sep 27, 9:30 am 2008
Dave Chinner
Re: Whats going on? (somebody can say something?)
What kernel? I have seen all those XFS oops/stack traces before. With the last pull request to linus for 2.6.27-rc7, all known causes of the btree corruption reported in your log messages should be fixed. I guess you'll have to wait for 2.6.27-rc8 or 2.6.28 for them.... FWIW, next time you have XFS issues, please make it clear in the subject line and cc xfs@oss.sgi.com. Cheers, Dave. -- Dave Chinner david@fromorbit.com --
Sep 26, 6:44 pm 2008
Ingo Molnar Sep 27, 9:32 am 2008
Francois Romieu
Re: [PATCH git latest] drivers/net: fixing a datarace re ...
(Please Cc: netdev@vger.kernel.org) Lin Tan <tammy000@gmail.com> : I would not bet that the irq handler does not race with el3_close() in the first place. Could you dig it ? -- Ueimor --
Sep 27, 2:44 pm 2008
Tim Gardner Sep 26, 9:20 pm 2008
Brandeburg, Jesse Sep 26, 5:05 pm 2008
Krzysztof Halasa
Re: e1000e NVM corruption issue status
I don't know the ICH 8/9/10 very well but it seems typical, i.e., the flash is a X Mbit device usually mapped at some really high address and then copied/decompressed to RAM ("shadow ROM" at the usual locations 0xC0000 for VGA, 0xF0000 or so for system BIOS, something between the two for Ethernet PXE). Is the protection you write about the hardware flash region protection? It can be easily removed by another command (another write). Anyway the problem in question is EEPROM, not ...
Sep 27, 11:45 am 2008
Jeremy Fitzhardinge Sep 27, 9:17 am 2008
Jeremy Fitzhardinge
Re: [patch] ioremap sanity check to catch mapping reques ...
Yeah, that's fine. I mean using ioremap on system memory is a bug. J --
Sep 27, 7:43 am 2008
Alan Cox
Re: [patch] ioremap sanity check to catch mapping reques ...
We use it to ioremap things like the BIOS... --
Sep 27, 4:21 am 2008
Ingo Molnar Sep 27, 9:35 am 2008
Arjan van de Ven
Re: [patch] ioremap sanity check to catch mapping reques ...
the existing sanity check checks to see if the kernel thinks if the memory is usable for its own use, eg it uses the e820 table, the same one we use for feeding all memory into the page allocator. reserved and other similar types is not what ioremap complains about --
Sep 27, 12:24 pm 2008
Jeremy Fitzhardinge
Re: [patch] ioremap sanity check to catch mapping reques ...
Any attempt to use ioremap on memory is a bug, so you should warn about J --
Sep 27, 12:16 am 2008
Arjan van de Ven Sep 27, 8:09 am 2008
Alan Cox
Re: [patch] ioremap sanity check to catch mapping reques ...
On Sat, 27 Sep 2008 07:43:55 -0700 On system memory mapped by the kernel which I assume is what you mean - the BIOS is often shadowed system memory and we have platforms where memory pages not mapped into or managed the OS are ioremap() targets. That however is getting pedantic - I just didn't want anyone to overdo the sanity checks Alan --
Sep 27, 9:25 am 2008
Avi Kivity
Re: 20080923-mmotm arch/x86/kvm/built-in.o: In function ...
This ought to be fixed already. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain. --
Sep 27, 3:27 am 2008
Ingo Molnar Sep 27, 9:56 am 2008
Linus Torvalds
Re: [PATCH v6] Unified trace buffer
It would probably be better to use something else than 'rb_', because that prefix is already used by the red-black trees, and exported as such (eg "rb_next()" etc). But at least as long as it's static, it's probably not _too_ noticeable if the rest of the names don't overlap. We _do_ include <linux/rbtree.h> almost everywhere, since we use those things in the VM, in timers etc, so it comes in through pretty much all headers. Linus --
Sep 26, 5:13 pm 2008
Ingo Molnar Sep 27, 1:34 pm 2008
Steven Rostedt
Re: [PATCH v6] Unified trace buffer
For kicks I just added #include <linux/rbtree.h> and it still passed. I don't think we'll be adding new functions to rbtree.h, so it may be fine to stay with the rb_ prefix. -- Steve --
Sep 26, 5:28 pm 2008
Steven Rostedt
Re: [PATCH v6] Unified trace buffer
Actually in this case I chose num_possible_cpus(). Reason being is that later I may add an interface to allow the user to select which CPUs they want to trace, and this will only allocate a subset of CPU buffers. (not going to implement that in the first release). But to lay the ground work, I set a buffers->cpumask to be that of all the cpus with buffers allocated. For now that mask is set to cpu_possible_map. Since num_possible_cpus() is defined as cpus_weight_nr(cpu_possible_map) ...
Sep 26, 5:18 pm 2008
Steven Rostedt
[PATCH v9] Unified trace buffer
[ Changes since version 8: Two major bug fixes! - Had mix of referencing the pages link list with both page->lru and buffer_page->list. Perhaps they luckily were lined up. But I have no idea why this didn't totally crash my box. - Missed a write stamp update that would cause funny times ] From: Steven Rostedt <srostedt@redhat.com> Subject: Unified trace buffer This is a unified tracing buffer that implements a ring buffer that hopefully everyone will ...
Sep 26, 11:06 pm 2008
Steven Rostedt
Re: [PATCH v6] Unified trace buffer
Well, I just compiled it and it didn't have any name collisions, but that doesn't mean that this wont change in the future. What would you suggest? buffer_ ? ringbuf_ ? -- Steve --
Sep 26, 5:23 pm 2008
Steven Rostedt
Re: [PATCH v6] Unified trace buffer
Thanks for the explanation. I'll change buffer->cpus to be set to nr_cpu_ids. -- Steve --
Sep 26, 5:52 pm 2008
Steven Rostedt
Re: [PATCH v9] Unified trace buffer
I don't mind the extra typing, it is just a bit more difficult to keep in It is a hot path in the internals. Perhaps I'll make an inline function in the interal code "rb_event_length" and have the other users call. unsigned ring_buffer_event(struct ring_buffer_event *event) { return rb_event_length(event); But then we have: RB_TYPE_PADDING, /* * Left over page padding * array is ignored * size is ...
Sep 27, 12:54 pm 2008
Mike Travis
Re: [PATCH v6] Unified trace buffer
One problem though, it's *theoretically* possible for num_possible to be less than nr_cpu_ids and a cpu index may extend past the end of your allocated array. This would happen if the cpu indices are allocated some other way than as each cpu is discovered. For example, a system might want a group of cpus in one section (say by node, or socket) and then a hole in the cpu_possible_map until the next group. nr_cpu_ids is guaranteed to be the highest possible cpu + 1. Cheers, Mike --
Sep 26, 5:46 pm 2008
Ingo Molnar
Re: [PATCH v5] Unified trace buffer
btw., now that it's getting into shape, could you please fix the ftrace ... to not have known bugs, so that we could try it in tip/ftrace and make sure it works well in practice? it's a ton of changes already, it would be nice to get to some stable known-working state and do delta patches from that point on, and keep its 'works well' quality. Ingo --
Sep 27, 10:02 am 2008
Ingo Molnar
Re: [PATCH v9] Unified trace buffer
small nitpicking review, nothing structural yet: hm, should not be raw, at least initially. I am 95% sure we'll see lockups, we always did when we iterated ftrace's buffer implementation please use consistent vertical whitespaces. Above, in the struct ring_buffer definition, you can add another tab to most of the vars - that will also make the '**buffers' line look nice. same for all structs across this file. In my experience, a 50% vertical please name it ...
Sep 27, 11:39 am 2008
Steven Rostedt
Re: [PATCH v5] Unified trace buffer
OK, the patch that I was using was against Linus's tree. I'll port it over to linux-tip on Monday and get it past the "proof of concept" stage. Actually, the verison I have on my desk works pretty well. The main issues to solve is that some other tracers and the self test stick their noses into the buffering system, which would need to be fixed. There's also some bugs in the status numbers printed in the latency_trace header. But I have not hit any bugs with the buffering ...
Sep 27, 10:18 am 2008
Steven Rostedt
[PATCH v8] Unified trace buffer
[ Changes since v7: - added the size of data in the page into the page frame. Suggested by Martin Bligh and Mathieu Desnoyers - Converted all static functions to be named with a rb_ prefix. This may conflict with rbtree functions in the future, but if this does happen, we will need to rename the functions in this file. The rb_ prefixed functions here are all static, so it only affects this code. Thanks to Arnaldo Carvalho de Melo. - Added some ...
Sep 26, 7:02 pm 2008
Steven Rostedt
Re: [PATCH v9] Unified trace buffer
Hi Ingo, Thanks for the review! Yeah, Linus pointed this out with the rb_ static function names. But since the functions are static I kept them as is. But here we have global names. Ah, I think I had it more complex and changed it to a literal without No biggy. I thought this would be nicer as inline. But I have no problem It was to prevent lockdep from checking the locks from inside. We had issues with ftroce and lockdep in the past, because ftrace would trace ...
Sep 27, 12:24 pm 2008
Ingo Molnar
Re: [PATCH v9] Unified trace buffer
that's really not a hard limit, but yeah. oh, btw., that's a spelling mistake: s/extend/extend ? Ingo --
Sep 27, 1:00 pm 2008
Ingo Molnar
Re: [PATCH v9] Unified trace buffer
that's even worse i think :-/ And this isnt bikeshed-painting really, the RNGBF_ name hurts my eyes and RB_ is definitely confusing to read. (as the rbtree constants are in capitals as well and similarly named) RING_TYPE_PADDING or: RINGBUF_TYPE_PADDING yes, way too big. Sometimes we make savings from a 10 bytes function already. (but it's always case dependent - if a function has a lot of parameters then uninlining can hurt) the only exception would be if there's normally ...
Sep 27, 12:41 pm 2008
Mike Travis Sep 26, 5:05 pm 2008
Martin Bligh
Re: [PATCH v9] Unified trace buffer
Would using tb_ (trace buffer) rather than rb_ help ? --
Sep 27, 1:07 pm 2008
Ingo Molnar
Re: [RFC PATCH v2 -tip 0/4] x86: signal handler improvement
assuming it's reported to the gcc folks too, do you have any objections against including this in tip/x86/signal? The 1% improvement in lmbench is quite nice. Ingo --
Sep 27, 10:11 am 2008
Casey Schaufler
Re: SMACK netfilter smacklabel socket match
I confess that I'm still not completely sure what you're up too, but you might want to look at smackpolyport (it's in the smack-util tarball) and might make your life easier if you want to have a single server (running at foo) that deals with connections from processes with multiple labels. --
Sep 26, 10:01 pm 2008
Martin Schwidefsky
Re: [patch 2/6] kmsg: tagged device messages.
Is the dynamic debug printk work going upstream with the next merge window? If yes then I'll wait until it hit Linus tree and update my patch. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. --
Sep 27, 4:11 pm 2008
Rusty Russell
Re: [patch 1/6] kmsg: tagged kernel messages.
Yes, but since it's a new message API, I thought you might have an idea. It's hard for authors (eg. me) to know which level to use. As a result, levels currently seem to be chosen randomly. If you felt inspired to rationalize them, it would let us clean that up as things moved to kmsg :) Cheers, Rusty. --
Sep 27, 12:15 am 2008
Martin Schwidefsky
Re: [patch 1/6] kmsg: tagged kernel messages.
Urgs, you are after a sort of definition what the differences is between a warning, an error, an alert, etc is, aren't you? -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. --
Sep 27, 4:16 pm 2008
Jack Steiner
Re: [PATCH] - UV fix for size of hub mappings
Good point. I'll send the fixes to you early next week. Recently, I've been focused on a distro release which is still waiting for Unfortunately, we really need a uv genapic. IPIs on large UV systems can't use an x2apic model. Because of the size of our large systems, APICIDs in the cpu MSRs are not globally unique. We have a special feature in the UV chipset that must be used for on large systems for IPIs. Small & medium sized system can and do use the x2apic genapic. --- jack --
Sep 27, 12:56 pm 2008
Ingo Molnar
Re: [PATCH] - UV fix for size of hub mappings
not a problem really - it's not really complex or intrusive, we just want to make sure all unnecessary duplication is eliminated. Ingo --
Sep 27, 1:02 pm 2008
Ingo Molnar
Re: [PATCH] - UV fix for size of hub mappings
applied to tip/x86/uv, thanks Jack! i'm wondering, the code still has a couple of ZZZ fixmes like: #ifdef ZZZ /* Needs x2apic patch */ static void uv_send_IPI_self(int vector) { apic_write(APIC_SELF_IPI, vector); } #endif x2apic support is available in tip/master, so it would be nice to glue UV to generic x2apic support properly and remove duplication and fixmes. For example, do we really need apic_x2apic_uv_x, or could we use ...
Sep 27, 10:42 am 2008
Ingo Molnar
Re: [Patch -tip 3/3] Tracing/ftrace: Don't consume entri ...
hm, right now i can see a lot of problems with that approach - the buffers are partly per tracer and partly global. the new trace-ringbuffer design Steve is working on would abstract away this complication - then we could make tracers truly independent entities. Ingo --
Sep 27, 10:47 am 2008
Steven Rostedt Sep 27, 11:25 am 2008
Ingo Molnar
Re: [Patch -tip 1/3] Tracing/ftrace: Relay unhandled ent ...
dont worry about that aspect too much, the ring buffer API will be a transparent replacement, so try to iterate whatever is there at the moment towards perfection :) Ingo --
Sep 27, 10:50 am 2008
Ingo Molnar
Re: [Patch -tip 1/3] Tracing/ftrace: Relay unhandled ent ...
btw., i removed the 2 patches that got NAK-ed by Pekka from tip/master - could you please re-send whatever consensus patch you come up with Pekka? Ingo --
Sep 27, 10:53 am 2008
Ingo Molnar
Re: [PATCH 3/3] x86/iommu: use __GFP_ZERO instead of mem ...
applied these patches to tip/x86/iommu: 0114267: x86/iommu: use __GFP_ZERO instead of memset for GART 3610f21: x86/iommu: convert GART need_flush to bool 237a622: x86/iommu: make GART driver checkpatch clean thanks Joerg! Fujita, do they look fine to you too? Ingo --
Sep 27, 11:14 am 2008
Ingo Molnar
Re: [PATCH 3/3] x86/iommu: use __GFP_ZERO instead of mem ...
another thing: How hard would it be to add an CONFIG_IOMMU_DEBUG option that forces as many DMA requests to go via the IOMMU as possible? This slows things down of course so it's only for debugging - but it also makes sure that we utilize the IOMMU code to the maximum - which is not normally the case. Would be nice to have it .config driven (default-disabled), so that -tip's randconfig testing can stumble upon it every now and then. I've got GART test-systems - this way we could ...
Sep 27, 11:18 am 2008
Bartlomiej Zolnierki ... Sep 27, 9:27 am 2008
Ingo Molnar Sep 27, 11:48 am 2008
Ingo Molnar
Re: [PATCH 7/7] x86: print out irq nr for msi/ht -v2
ok, figure it out, the problem was that your change depended on tip/timers/hpet-percpu. sorted it out. Ingo --
Sep 27, 11:44 am 2008
Ingo Molnar
Re: [PATCH 7/7] x86: print out irq nr for msi/ht -v2
incidentally, in tip/timers/hpet-percpu [ new feature tree: MSI HPETs with per-CPU clockevents ] we have grown a struct device in that place, so it was easy :) Ingo --
Sep 27, 11:53 am 2008
Cyrill Gorcunov
Re: [PATCH 7/7] x86: print out irq nr for msi/ht -v2
[Ingo Molnar - Sat, Sep 27, 2008 at 08:53:06PM +0200] | ... A bit offtopic...well...completely offtopic I would say :) Ingo maybe you have any PCI specs? I've asked several people for this. Peter adviced to ask HW vendors but I don't have friends who has access to a such docs. Evgeniy Polyakov promised to ask someone but I think there will not be success too :(. I'll ask Maciej too later since now he seems to be quite busy. - Cyrill - --
Sep 27, 12:02 pm 2008
KAMEZAWA Hiroyuki
Re: [PATCH 9/12] memcg allocate all page_cgroup at boot
On Fri, 26 Sep 2008 10:43:36 +0900 I think I saw page_mapped() case (in your shmem/page test.) I'll check what cause this if I have time. Thanks, -Kame --
Sep 26, 8:25 pm 2008
Balbir Singh
Re: [PATCH 5/12] memcg make page_cgroup->flags atomic
Looks good to me Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com> provided we push in the lockless ones too :) -- Balbir --
Sep 26, 11:58 pm 2008
kamezawa.hiroyu
Re: Re: [PATCH 7/12] memcg add function to move account
Hmm, good point. considering force_empty, head is better. (But I don't think about this seriously because I assumed root cgroup is unlimited) I don't think this kind of internal behavior should not be documented as UI yes. of course. please do as you like if this goes. adding logic to do so needs more patch, so please wait. I'll remove this charge() and change protocol to be yes, I think so. please check SwapCache behavior. It's costly to call page_cgroup_zoneinfo() again. so just saves ...
Sep 27, 1:35 am 2008
KAMEZAWA Hiroyuki
Re: [PATCH 0/12] memcg updates v5
On Fri, 26 Sep 2008 19:43:09 +0900 This helps some, but causes other troubles. (But I know what it is.) I'll add lock_page_cgroup() to charge side and see what happens. Thanks, --
Sep 26, 7:53 pm 2008
KAMEZAWA Hiroyuki
Re: [PATCH 0/12] memcg updates v5
On Fri, 26 Sep 2008 19:36:02 +0900 I'll do in following way in the next Monday. Divide patches into 2 set in early fix/optimize set. - push (2) - push (4) - push (6) - push (1) drops (3). I don't want to remove all? pages-never-on-LRU before fixing force_empty. in updates - introduce atomic flags. (5) - add move_account() function (7) - add memory.attribute to each memcg dir. (NEW) - enhance force_empty (was (8)) - remove "forget all" logic. and add ...
Sep 26, 8:19 pm 2008
KAMEZAWA Hiroyuki
Re: [PATCH 9/12] memcg allocate all page_cgroup at boot
On Fri, 26 Sep 2008 14:54:22 +0900 Try to illustrate what is trouble more precisely. in do_swap_page(), page is charged when SwapCache lookup ends. Here, - charged when page is not mapped. - not charged when page is mapped. set_pte() etc...are done under appropriate lock. On the other side, when a task exits, zap_pte_range() is called. It calls page_remove_rmap(). Case A) Following is race. Thread A Thread B do_swap_page() ...
Sep 26, 8:47 pm 2008
Balbir Singh
Re: [PATCH 7/12] memcg add function to move account
What is the interface for moving the accounting? Is it an explicit call like force_empty? The other concern I have is about merging two LRU lists, when we move LRU pages from one mem_cgroup to another, where do we add them? To the head or tail? I think we need to think about it and document it well. The other thing is that once we have mult-hierarchy support (which we really Please BUG_ON() if the charging fails, we can be sure we catch assumptions that Coding style above is broken. ...
Sep 27, 12:56 am 2008
David Brownell
Re: [patch 2.6.27-rc7] gpiolib: request/free hooks
I'm not so keen on that particular overloading, but I can understand why it might be wanted on systems which have a happy one-to-one mapping between GPIOs and pins. If you do that, be ready to provide a pinmux-only interface Yeah. Better to test-and-set the flag and then request, and backout if it fails, than the other way. Just who wrote that crap in the first place? Sigh. (Notice it's done that way already in the code path handling implicit requesting ... ) I'll send an updated ...
Sep 27, 11:29 am 2008
Magnus Damm
Re: [patch 2.6.27-rc7] gpiolib: request/free hooks
Hi David, Looking good. I'm currently hacking on some pinmuxed gpio code for SuperH, and I'd like to use these request/free callbacks to select proper pinmux state. The code above doesn't catch double gpio_request() user calls properly. Or rather, the user will receive an error but the chip->request() callback may get called twice. What about modifying the gpiolib code to handle that? I think that sounds like a better idea than cover ing that case in the chip code... Thanks! / ...
Sep 27, 8:00 am 2008
Dan Williams Sep 27, 11:13 am 2008
Ingo Molnar
Re: v2.6.27-rc7: x86: #GP on panic?
yes - it smells like it tries to deliver vector 0, after the panic code has deinitialized the lapic / ioapic. Ingo --
Sep 27, 11:43 am 2008
Ingo Molnar
Re: [PATCH] x86_64: be less annoying on boot
that has some marginal use: it shows that we are past the really basic system setup code, we decompressed the kernel and entered protected mode with boot paging enabled. we had bugs in the past where we'd hang/crash after GRUB starts us and before we reach this printk. OTOH ... forcing it upon all users is strong. Feel free to send another patch that removes it. Ingo --
Sep 27, 11:50 am 2008
dcg
Re: [PATCH] x86_64: be less annoying on boot
What I find annoying about that printk is that I see it even with the "quiet" boot flag. --
Sep 27, 12:11 pm 2008
Ingo Molnar
Re: [PATCH] x86_64: be less annoying on boot
(Cc: added. Mail-Followup-To is evil.) --
Sep 27, 11:51 am 2008
Ingo Molnar
Re: [PATCH] x86_64: be less annoying on boot
that's a property of early_printk() - it just doesnt listen to any of the normal printk modifiers. (and that's the point of early_printk()) could you please send a patch that only calls that early_printk() if console_loglevel == 10? (i.e. if "debug" has been passed) Ingo --
Sep 27, 12:18 pm 2008
Peter Zijlstra
Re: [RFC PATCH 1/3] Unified trace buffer
Mathieu seems to disagree, it would be good if he can share some specifics so we can work on resolving those. --
Sep 27, 10:50 am 2008
Ingo Molnar
Re: [RFC PATCH 1/3] Unified trace buffer
correct. The price is all the notifier/callback overhead and the loss of type checking of the record contents. But that's an unavoidable price of yes, very nice! :) Ingo --
Sep 27, 11:42 am 2008
Steven Rostedt
Re: [RFC PATCH 1/3] Unified trace buffer
Just a note. The current ring buffering system that I'm proposing keeps its own time stamp counter (currently sched_clock) that will most likely be updated later. I'm trying to keep this ring buffer system as dumb as possible. It does not even implement the merge sort. That's up to the tracer to handle. There's nothing stopping the trace from adding some atomic counter to each event to help it sort. So yes, the tracer can implement anything it wants on top of the ring buffer ...
Sep 27, 10:38 am 2008
Steven Rostedt Sep 27, 11:18 am 2008
Ingo Molnar
Re: [RFC PATCH 1/3] Unified trace buffer
ah, i see what you mean. I think that's an orthogonal property. Well, it's important in some cases, not that important in other cases. Historically we've been flip-flopping on that issue in ftrace, whether it should be coherent by default or not. We had at least three of four variations of global synchronization. (one was an atomic generation counter, another variant a global lock) Eventually people noticed the overhead and asked for it to be faster. If all you do is to trace ...
Sep 27, 10:16 am 2008
Ingo Molnar
Re: [RFC PATCH 1/3] Unified trace buffer
let me outline why that flip-flopping occured. - coherent tracer: has built-in serialization of global events. If the tracer shows events to be after each other, they were after each other. - incoherent tracer: events might be mixed up slightly on the micro scale. In your tree you'll see dozens of fixes from me in the past 10 years or so where i used various tracers to find some bug. Some of them were done with coherent tracers, some of them were done with incoherent ...
Sep 27, 10:36 am 2008
Kay Sievers
Re: [PATCH] Create PNP device attributes via dev_attrs f ...
Looks good to me, and seems to work fine here. Thanks for the patch. Greg, can you pick up the patch below? Thanks, Kay From: Drew Moseley <dmoseley@mvista.com> Subject: PNP: create device attributes via default device attributes This creates the attributes before the uevent is sent. Signed-off-by: Drew Moseley <dmoseley@mvista.com> Acked-by: Kay Sievers <kay.sievers@vrfy.org> --- diff --git a/drivers/pnp/base.h b/drivers/pnp/base.h index 9fd7bb9..3532984 100644 --- ...
Sep 27, 4:31 pm 2008
Ingo Molnar
Re: Should irq_chip->mask disable percpu interrupts to a ...
note that we already do _almost_ that in tip/irq/sparseirq. dyn_array[] will extend itself in a NUMA-aware fashion. (normal device irq_desc entries will be allocated via kmalloc) what would be needed is to deallocate/reallocate irq_desc when the IRQ affinity is changed? (i.e. when a device is migrated to a specific NUMA agreed - the kstat_irqs cacheline bounce would show up in Xen benchmarks i'm sure. Ingo --
Sep 27, 12:44 pm 2008
Muli Ben-Yehuda
Re: [PATCH 9/9] x86/iommu: use dma_ops_list in get_dma_ops
I'm not sure what you have in mind, but I agree with Amit that conceptually pvdma should be called after the guest's "native" dma_ops have done their thing. This is not just for nommu, consider a guest that is using an (emulated) hardware IOMMU, or that wants to use swiotlb. We can't replicate their functionality in the pv_dma_ops layer, we have to let them run first and then pass deal with whatever That's a very good question. The host will need to be aware of a device's DMA capabilities in ...
Sep 26, 5:13 pm 2008
Thomas Gleixner
Re: [Bug #11516] severe performance degradation on x86_6 ...
I have to admit that I'm confused. The dmesg output [ 0.000000] Linux version 2.6.27-rc6.jvd ... .... [ 26.204477] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000 says 26 seconds up to the point where user space should start. Also USB is active in that log and I dont see timeout messages at all. I have a hard time to connect this to your problem description (timeouts, USB off, 15 minutes) Len, any opinon on this: [ 0.000000] ACPI Error (tbfadt-0453): 32/64X address ...
Sep 27, 2:23 am 2008
Bartlomiej Zolnierki ...
Re: [PATCH] IDE-TAPE NULL terminate strings.
On Wednesday 24 September 2008, Sergei Shtylyov wrote: applied --
Sep 27, 10:04 am 2008
Rafael J. Wysocki
Re: I need some serious help to debug suspend to ram problem
Please look at http://bugzilla.kernel.org/show_bug.cgi?id=11415 . Perhaps you can add some information into it. Thanks, Rafael --
Sep 27, 6:15 am 2008
Maxim Levitsky Sep 27, 7:53 am 2008
Rafael J. Wysocki Sep 27, 9:01 am 2008
Maxim Levitsky
Re: I need some serious help to debug suspend to ram problem
No, but just did, EC storm issue is gone, but thats all that is gone, still same hang after second resume No ec storm message after first resume ether, now no error messages at all in dmesg.... Best regards, Maxim Levitsky --
Sep 27, 11:12 am 2008
Bartlomiej Zolnierki ...
Re: [PATCH] ide-cd: fix debug printk
Thanks, I merged it into the original patch. --
Sep 27, 9:24 am 2008
Ingo Molnar
Re: [patch] sched: trivial fix for incorrect comments
hm, these seem to be fixed already, via: | commit 9a7e0b180da21885988d47558671cf580279f9d6 | Author: Peter Zijlstra <a.p.zijlstra@chello.nl> | Date: Tue Aug 19 12:33:06 2008 +0200 | | sched: rt-bandwidth fixes is all in tip/master. (or is perhaps the direction of your patch wrong?) Ingo --
Sep 27, 11:10 am 2008
Peter Zijlstra
Re: [patch] sched: trivial fix for incorrect comments
No I think he got it right, as I vaguely remember fixing it too - now I know where I left it ;-) I often leave such trivial comment fixes in whatever patch I'm working on at that moment. --
Sep 27, 11:19 am 2008
Ingo Molnar
Re: [PATCH -tip/master] x86: io-apic - interrupt remapping fix
applied to tip/irq/sparseirq - and added your Acked-by. Thanks guys! Ingo --
Sep 27, 9:54 am 2008
Ingo Molnar
Re: How how latent should non-preemptive scheduling be?
yeah. The latency starts here: cat-5901 0dNh. 1us : default_wake_function (__wake_up_common) cat-5901 0.Nh. 2us : kill_fasync (snd_pcm_period_elapsed) [...] and ends here: [...] cat-5901 0.N.. 270501us+: mutex_lock (acpi_ec_transaction) cat-5901 0d... 270507us : __cond_resched (_cond_resched) 270 _milliseconds_ later. That's excessive. The main overhead is starting here: cat-5901 0.N.. 167us : acpi_ds_result_push ...
Sep 27, 1:48 pm 2008
Ingo Molnar
Re: unpredictability in scheduler test results -- still ...
very weird. Would be very nice to figure it out. and in tip/master we dont have the 'ftraced' kernel-patching kernel thread anymore, so ftrace should be passive by all means. OTOH, what does 'truning on dftrace' exactly mean? Just enabling it in the .config, or also activating it via /debug/tracing/current_tracer? Ingo --
Sep 27, 1:04 pm 2008
Steven Rostedt
Re: [ath9k-devel] ath9k: massive unexplained latency in ...
OK, on Monday, as I work on getting ftrace to use the ring buffer, I'll also look to see which features are only in -rt that need to go to tip. -- Steve --
Sep 27, 12:28 pm 2008
Steven Rostedt
Re: [ath9k-devel] ath9k: massive unexplained latency in ...
I hate trips where my email box becomes filled. I skip over a lot of emails that I should not have. I think I added a way to do this. Hmm, I think it was in -rt that I added it, and have not gotten around to sending you the updates. Yes, we need an easy way to disable the tracer. I think we have ftrace_disable() function. Perhaps that only disables tracing that checks the tracing_disabled variable. Anyway, I made sure the new ring_buffer code has an easy way to disable it. -- ...
Sep 26, 6:23 pm 2008
Ingo Molnar
Re: [ath9k-devel] ath9k: massive unexplained latency in ...
we have kill_ftrace(), but that will permanently zap it. Ingo --
Sep 27, 12:20 pm 2008
Frans Pop
Re: Warning/Oops report of the week of September 16th, 2008
Thanks Greg, but I'm afraid that still gives me the error: ppdev0: registered pardevice sysctl table check failed: /dev/parport/parport0/devices/ppdev0/timeslice Sysctl already exists Pid: 7104, comm: hpijs Not tainted 2.6.27-rc7 #21 Call Trace: [<ffffffff8024d2ac>] set_fail+0x48/0x53 [<ffffffff8024d7a1>] sysctl_check_table+0x4ea/0x531 [<ffffffff8024d7ba>] sysctl_check_table+0x503/0x531 [<ffffffff8024d7ba>] sysctl_check_table+0x503/0x531 [<ffffffff8024d7ba>] ...
Sep 27, 8:21 am 2008
Ingo Molnar
Re: [patch 1/2] x86: track memtype for RAM in page struct - v3
applied to tip/x86/pat, thanks! Nice patch. Ingo --
Sep 27, 10:59 am 2008
Ingo Molnar Sep 27, 11:08 am 2008
Bartlomiej Zolnierki ...
Re: [PATCH] drivers/ide/ide-probe.c: uninitialized varia ...
Did I miss the final patch version? [ Could you please re-send and/or re-cast it? ] Thanks, Bart --
Sep 27, 8:40 am 2008
Frans Pop
Re: [Bug #11550] pnp: Huge number of "io resource overla ...
No problem at all. Works correctly (applied on top of current git). I don't see any unexpected changes in the dmesg output, so: Tested-by: Frans Pop <elendil@planet.nl> Cheers, FJP --
Sep 27, 8:16 am 2008
Ingo Molnar
Re: [Bug #11550] pnp: Huge number of "io resource overla ...
cool! Looks like a pretty significant fix, for all sorts of legacy devices. Worth backporting? Ingo --
Sep 27, 1:53 pm 2008
Bartlomiej Zolnierki ...
Re: [PATCH 08/18] ide-floppy: use drive->capacity64 for ...
Hi, ...my patch just modified the code to also set ->capacity64 in places which previously were modifying ->blocks and/or ->bs_factor (since ->capacity64 replaced open-coded ->blocks * ->bs_factor calculation), so I think that the above problem is as an orthogonal issue and it is the best to address it in separate pre- or post- patch (could you please take care of it?). I did it ide_floppy_capacity()-way to match ide_disk_capacity() and ease the merge (probably ide_gd_capacity() can ...
Sep 27, 8:34 am 2008
Tejun Heo
Re: SATA Cold Boot problems on >2.6.25 with NV
Sorry about lack of response. I was on vacation after a series of conferences. There's a bug entry for this problem and I just posted a patch. http://bugzilla.kernel.org/show_bug.cgi?id=11615 Can you please try the patch attached there and post the result there? Thanks. -- tejun --
Sep 27, 2:22 pm 2008
Ingo Molnar
Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
could you please send whatever .c changes you have already, so that we can have a look at how the end result will look like? Doesnt have to build, i'm just curious about how it looks like in practice, semantically. Ingo --
Sep 27, 12:16 pm 2008
Ian Campbell
Re: NFS regression? Odd delays and lockups accessing an ...
2.6.24.x was good 2.6.25.y was not. The Debian packages don't include the stable release numbers in their version so I'm unsure of x and y, Judging from the changelog entries I think 2.6.24.3 and 2.6.25.10.=20 Since I have been building my own kernels I have seen repros with: a551b98d5f6fce5897d497abd8bfb262efb33d2a Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block (was tip of git at the time I tested it a while ago) c02a79dedc7f3c3d4fdbb5eb2000cacea5df4cde ...
Sep 27, 3:16 am 2008
J. Bruce Fields
Re: NFS regression? Odd delays and lockups accessing an ...
OK, so apologies, but this has been a long thread, and maybe we could use a summary of the symptoms and the results so far. I think you said 2.6.24 or .25 was the last you're *positive* was good? --b. --
Sep 26, 8:54 pm 2008
Matthew Wilcox
Re: Multiple MSI, take 3
The status is that I was working on it on the plane home from Plumbers and didn't quite managed to get it working on x86-32 yet. This is a requirement from Ingo before he'll accept the x86-64 implementation. I was hoping to work on it some more this week, but a combination of being ill and having other things to work on (including a lot of patch review) has meant that I have not had time to look at it. I did start setting up to test again on Friday ... hopefully I'll have time on ...
Sep 27, 12:04 pm 2008
previous daytodaynext day
September 26, 2008September 27, 2008September 28, 2008