linux-kernel mailing list

FromSubjectsort iconDate
Carles Pina i Estany
network accounting by process
Hello, Recently I've discovered the IO Accounting (I mean, /proc/PID/io). It's very interesting, specially together with iotop (thanks!) I wonder: is there something in the proc fs similar for network? How much bytes the _process_ are receiving/sending just now? I've checked and I haven't found. If there isn't any wat to get this information: is there any technical problem to not have it? It looks like it would be possible to add something similar in ipv4 level (net/ipv4/af_inet.c for ...
Aug 15, 4:44 pm 2008
Carles Pina i Estany
Re: network accounting by process
Hi, Ops! From this webpage: http://lkml.org/lkml/2008/4/2/60 This is already done: http://lkml.org/lkml/2008/4/2/60 Looks like a patch for 2.6.24.4, I will do some tests. Looks like from April, so maybe there is more news in the list. I will check it. -- Carles Pina i Estany GPG id: 0x17756391 http://pinux.info --
Aug 15, 4:51 pm 2008
Yinghai Lu
[PATCH 2/7] x86: make headers files the smae in io_apic_xx.c
also make no_timer_check to be global on 64 bit, because vmi_32 is using that. Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/io_apic_32.c | 15 ++++++++++++--- arch/x86/kernel/io_apic_64.c | 12 +++++++++--- 2 files changed, 21 insertions(+), 6 deletions(-) Index: linux-2.6/arch/x86/kernel/io_apic_32.c =================================================================== --- linux-2.6.orig/arch/x86/kernel/io_apic_32.c +++ ...
Aug 15, 4:42 pm 2008
Yinghai Lu
[PATCH 0/7] merge io_apic_xx.c
merge io_apic_xx.c Thanks Yinghai Lu --
Aug 15, 4:42 pm 2008
Yinghai Lu
[PATCH 3/7] x86: make 64 handle sis_apic_bug like the 32 bit
do we have 64bit system with sis chipset? Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/io_apic_64.c | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) Index: linux-2.6/arch/x86/kernel/io_apic_64.c =================================================================== --- linux-2.6.orig/arch/x86/kernel/io_apic_64.c +++ linux-2.6/arch/x86/kernel/io_apic_64.c @@ -65,7 +65,11 @@ int ioapic_force; -int sis_apic_bug; /* not ...
Aug 15, 4:42 pm 2008
Yinghai Lu
[PATCH 6/7] rename io_apic_64.c to io_apic.c
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/Makefile | 2 arch/x86/kernel/io_apic.c | 3898 +++++++++++++++++++++++++++++++++++++++++++ arch/x86/kernel/io_apic_32.c | 3220 ----------------------------------- arch/x86/kernel/io_apic_64.c | 3898 ------------------------------------------- 4 files changed, 3899 insertions(+), 7119 deletions(-) Index: ...
Aug 15, 4:42 pm 2008
Yinghai Lu
[PATCH 7/7] make 32 bit have io_apic resource in /proc/iomem
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/io_apic.c | 8 -------- 1 file changed, 8 deletions(-) Index: linux-2.6/arch/x86/kernel/io_apic.c =================================================================== --- linux-2.6.orig/arch/x86/kernel/io_apic.c +++ linux-2.6/arch/x86/kernel/io_apic.c @@ -3785,7 +3785,6 @@ void __init setup_ioapic_dest(void) } #endif -#ifdef CONFIG_X86_64 #define IOAPIC_RESOURCE_NAME_SIZE 11 static struct resource ...
Aug 15, 4:42 pm 2008
Yinghai Lu
[PATCH 1/7] x86: ordering functions in io_apic_32.c - fix
add calling setup_msi_irq back to arch_setup_msi_irq Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Index: linux-2.6/arch/x86/kernel/io_apic_32.c =================================================================== --- linux-2.6.orig/arch/x86/kernel/io_apic_32.c +++ linux-2.6/arch/x86/kernel/io_apic_32.c @@ -2686,7 +2695,6 @@ static unsigned int build_irq_for_pci_de int arch_setup_msi_irq(struct pci_dev *dev, struct msi_desc *desc) { - struct msi_msg msg; int irq, ret; ...
Aug 15, 4:42 pm 2008
Yinghai Lu
[PATCH 5/7] x86: make io_apic_64.c and io_apic_32.c the same
all the same except INTR_REMAPPING related and ioapic io resource Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/io_apic_32.c | 213 ++++++++++++- arch/x86/kernel/io_apic_64.c | 666 ++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 832 insertions(+), 47 deletions(-) Index: linux-2.6/arch/x86/kernel/io_apic_32.c =================================================================== --- linux-2.6.orig/arch/x86/kernel/io_apic_32.c +++ ...
Aug 15, 4:42 pm 2008
Yinghai Lu
[PATCH 4/7] x86: remve ioapic_force
no user Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> diff --git a/arch/x86/kernel/apic_64.c b/arch/x86/kernel/apic_64.c index 6709393..cf89524 100644 --- a/arch/x86/kernel/apic_64.c +++ b/arch/x86/kernel/apic_64.c @@ -1555,7 +1555,6 @@ static int __init apic_set_verbosity(char *str) { if (str == NULL) { skip_ioapic_setup = 0; - ioapic_force = 1; return 0; } if (strcmp("debug", str) == 0) diff --git a/arch/x86/kernel/io_apic_64.c b/arch/x86/kernel/io_apic_64.c index ...
Aug 15, 4:42 pm 2008
Arjan van de Ven
PATCH] debug: add notifier chain debugging
From: Arjan van de Ven <arjan@linux.intel.com> Subject: [PATCH] debug: add notifier chain debugging during some development we suspected a case where we left something in a notifier chain that was from a module that was unloaded already... and that sort of thing is rather hard to track down. This patch adds a very simple sanity check (which isn't all that expensive) to make sure the notifier we're about to call is actually from either the kernel itself of from a still-loaded module, avoiding ...
Aug 15, 3:29 pm 2008
Ingo Molnar
Re: PATCH] debug: add notifier chain debugging
applied for testing, thanks Arjan. Ingo --
Aug 15, 3:53 pm 2008
Michael Buesch
oops in exit_mmap
I just had the following oops on a wireless-testing.git kernel, which is based on 2.6.27-rc2. The oops happened while copying files. [27931.315928] Unable to handle kernel paging request for data at address 0x00000595 [27931.317713] Faulting instruction address: 0xc0082db0 [27931.318841] Oops: Kernel access of bad area, sig: 11 [#1] [27931.319341] PREEMPT PowerMac [27931.319784] Modules linked in: b43 ssb mac80211 appletouch rfkill_input rfkill led_class input_polldev af_packet ohci_hcd ...
Aug 15, 3:14 pm 2008
Stefan Richter
[RFC patch 1/3] ieee1394: raw1394: replace BKL by local ...
This removes the last usage of the Big Kernel Lock from the ieee1394 stack, i.e. from raw1394's (unlocked_)ioctl and compat_ioctl. The ioctl()s don't need to take the BKL, but they need to be serialized per struct file *. In particular, accesses to ->iso_state need to be serial. We simply use a blocking mutex for this purpose because libraw1394 does not use O_NONBLOCK. In practice, there is no lock contention anyway because most if not all libraw1394 clients use a libraw1394 handle only in a ...
Aug 15, 3:11 pm 2008
Stefan Richter
[RFC patch 3/3] ieee1394: raw1394: make write() thread-safe
Application programs should use a libraw1394 handle only in a single thread. The raw1394 driver was apparently relying on this, because it did nothing to protect its fi->state variable from corruption due to concurrent accesses. We now serialize the fi->state accesses. This affects the write() path. We re-use the state_mutex which was introduced to protect fi->iso_state accesses in the ioctl() path. These paths and accesses are independent of each other, hence separate mutexes could be used. ...
Aug 15, 3:15 pm 2008
Stefan Richter
[RFC patch 2/3] ieee1394: raw1394: narrow down the state ...
Refactor the ioctl dispatcher in order to move a fraction of it out of the section which is serialized by fi->state_mutex. This is not so much about performance but more about self-documentation: The mutex_lock()/ mutex_unlock() calls are now closer to the data accesses which the mutex protects, i.e. to the iso_state switch. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> --- drivers/ieee1394/raw1394.c | 207 +++++++++++++++++++------------------ 1 file changed, 108 ...
Aug 15, 3:12 pm 2008
David Witbrodt
Re: HPET regression in 2.6.26 versus 2.6.25 -- NMI watch ...
Responding to this for a second time: be advised that I am an end user, not a developer. I didn't even know the NMI watchdog existed! When developing my custom .config for the first time (~Feb 2007), I did read quite a bit of Documentation/*, but to be honest it mostly went over my head. Since then, I mostly have been only reading kernel documentation when presented with new features during 'make oldconfig'. If there are other obvious tricks like "NMI watchdog" that should be applied, ...
Aug 15, 3:11 pm 2008
Adam Litke
[BUG] __GFP_THISNODE is not always honored
While running the libhugetlbfs test suite on a NUMA machine with 2.6.27-rc3, I discovered some strange behavior with __GFP_THISNODE. The hugetlb function alloc_fresh_huge_page_node() calls alloc_pages_node() with __GFP_THISNODE but occasionally a page that is not on the requested node is returned. Since the hugetlb code assumes that the page will be on the requested node, badness follows when the page is added to the wrong node's free_list. There is clearly something wrong with the buddy ...
Aug 15, 3:01 pm 2008
Milan Broz
Mount ext3 with barrier=1 doesn't send real barrier bio?
Hi, I run some barrier tests over device-mapper (which currently doesn't support barrier bio at all) and even if I set barrier=1 in ext3 mount, there is never any bio with barrier flag... (in 2.6.27-rc) How is the barrier=1 flag supposed to work in ext3 (JBD) now? See: If you specify barrier=1, JFS_BARRIER flag is set in ext3_init_journal_params journal->j_flags |= JFS_BARRIER; Now, journal_write_commit_record is called and this happens: if (journal->j_flags & JFS_BARRIER) ...
Aug 15, 2:31 pm 2008
Marcin Slusarz
[PATCH] mm: mminit_loglevel cannot be __meminitdata anymore
mminit_loglevel is now used from mminit_verify_zonelist <- build_all_zonelists <- 1. online_pages <- memory_block_action <- memory_block_change_state <- store_mem_state (sys handler) 2. numa_zonelist_order_handler (proc handler) so it cannot be annotated __meminit - drop it fixes following section mismatch warning: WARNING: vmlinux.o(.text+0x71628): Section mismatch in reference from the function mminit_verify_zonelist() to the variable .meminit.data:mminit_loglevel The function ...
Aug 15, 2:02 pm 2008
Leonid Podolny
CPU load after killing iwlagn with RF kill switch
Hi, With a new iwlagn driver and 2.6.27-rc3, if I turn off the wireless (intel 4965ag) by RF kill switch, the CPU utilization of ksoftirqd process raises to 100% and stays there until I rmmod the module. Please let me know what further information I can provide. --
Aug 15, 1:50 pm 2008
Yousaf Jindal
Re: [ANNOUNCE] Wifi Link 5300 and 5100 Series
I am using the iwl500 branch from the above git repository and I am also receiving the timeout error. This is on a Wifi Link 5100 on an Asus M50VM laptop. $ dmesg|grep iw [ 8.574423] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27kds [ 8.574655] iwlagn: Copyright(c) 2003-2008 Intel Corporation [ 8.575055] iwlagn 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [ 8.575369] iwlagn 0000:03:00.0: setting latency timer to 64 [ 8.575425] iwlagn: ...
Aug 15, 1:07 pm 2008
Andi Kleen
Please pull more ACPI/cpuidle updates
Linus, please pull more ACPI updates. This mainly includes the cpuidle latency updates Venki did some time ago for your system (due to some SNAFU they didn't get included earlier) and also a fix for a ioremap PAT regression exposed by ACPI. -Andi git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-acpi-2.6 release-2.6.27 Andi Kleen (3): x86: Fix ioremap off by one BUG Merge branch 'ioremap' into release-2.6.27 Merge branch 'cpuidle' into ...
Aug 15, 12:33 pm 2008
Dhaval Giani
Default values for cpuset.mems, cpus for children created
Hi, While playing around with libcgroup, one of the isses hit was that attaching a task failed. Looking deeper into it, cpusets had been mounted along with other subsystems. And since we did not care about cpusets, we did not set cpus and mems there. Now an application programmer does not really care where and how subsystems are mounted (or at least that is what libcgroup aims to achieve :-) ). And such a scenario when the cpuset has not been handled is going to lead to failures which a user ...
Aug 15, 12:31 pm 2008
Cyrill Gorcunov
[patch 2/2] x86: apic - sync_Arb_IDs style fixup
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> --- No cnages on binary level Index: linux-2.6.git/arch/x86/kernel/apic_32.c =================================================================== --- linux-2.6.git.orig/arch/x86/kernel/apic_32.c 2008-08-15 22:41:52.000000000 +0400 +++ linux-2.6.git/arch/x86/kernel/apic_32.c 2008-08-15 22:49:09.000000000 +0400 @@ -913,13 +913,15 @@ void __init sync_Arb_IDs(void) */ if (modern_apic() || boot_cpu_data.x86_vendor == X86_VENDOR_AMD) ...
Aug 15, 12:05 pm 2008
Cyrill Gorcunov
[patch 1/2] x86: apic - unify init_bsp_APIC
- remove redundant read of APIC_LVR register in 64bit mode - APIC is always integrated for 64bit mode so gcc will eliminate lapic_is_integrated call Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> --- Index: linux-2.6.git/arch/x86/kernel/apic_32.c =================================================================== --- linux-2.6.git.orig/arch/x86/kernel/apic_32.c 2008-08-15 22:14:45.000000000 +0400 +++ linux-2.6.git/arch/x86/kernel/apic_32.c 2008-08-15 22:41:52.000000000 +0400 @@ ...
Aug 15, 12:05 pm 2008
Cyrill Gorcunov
[patch 0/2] apic fixes, unification continued
Ingo, Maciej, here is updated series (well... two patches only :). Nothing that new - just fixed the parts wich were not well formed in previous series. Please review. CID: tip/master 1a2450e636df465318fd9dcd31e37ea6af300405 - Cyrill - -- --
Aug 15, 12:05 pm 2008
Ingo Molnar
Re: [patch 0/2] apic fixes, unification continued
looks good to me - applied to tip/x86/apic - thanks Cyrill. Maciej, any objections? Ingo --
Aug 15, 12:56 pm 2008
Maciej W. Rozycki Aug 15, 4:08 pm 2008
J. Bruce Fields
Re: [PATCH] Fix allocation sizes of knfsd raparm hash
Whoops, my fault, now fixed; thanks! (Out of curiosity--how did you find this?) --
Aug 15, 12:02 pm 2008
Sean Young
AMD Elan regression with 2.6.27-rc3
With CONFIG_SC520_CPUFREQ=y on AMD Elan (ancient CPU where rdtsc is not supported), I get: invalid opcode: 0000 [#1] Pid: 1, comm: swapper Not tainted (2.6.27-rc3-00216-gffaa5b9 #1) EIP: 0060:[<c0105b43>] EFLAGS: 00010082 CPU: 0 EIP is at native_read_tsc+0x6/0xf EAX: 1211fa10 EBX: 00000000 ECX: fffedb53 EDX: 00000000 ESI: 00000246 EDI: c0287fac EBP: c0281a6c ESP: c1c1ddec DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 Process swapper (pid: 1, ti=c1c1c000 task=c1c1a000 ...
Aug 15, 11:37 am 2008
Andi Kleen
Please pull ioremap fix
ACPI exposed a off by one bug in the PAT/ioremap changes. Please pull the fix from the ACPI tree. This fixes http://bugzilla.kernel.org/show_bug.cgi?id=11346 git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-acpi-2.6 ioremap Andi Kleen (1): x86: Fix ioremap off by one BUG arch/x86/mm/ioremap.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) --
Aug 15, 10:42 am 2008
Ingo Molnar
Re: [PATCH] ftrace: merge fix up
ah, in tip/master - that's a conflict resolution artifact i suspect. Thx. Ingo --
Aug 15, 9:54 am 2008
Steven Rostedt
[PATCH] ftrace: merge fix up
Somehow we got two calls to ftrace_init. Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- init/main.c | 2 -- 1 file changed, 2 deletions(-) Index: linux-tip.git/init/main.c =================================================================== --- linux-tip.git.orig/init/main.c 2008-08-15 11:22:19.000000000 -0400 +++ linux-tip.git/init/main.c 2008-08-15 12:43:41.000000000 -0400 @@ -824,8 +824,6 @@ asmlinkage void __init start_kernel(void ftrace_init(); ...
Aug 15, 9:45 am 2008
Ingo Molnar
Re: [GIT PULL] new shot at time.c integration
thanks, i've pulled it and rebased it to -git - as that's the best base this early in the cycle. I've pushed out the result into tip/x86/time - havent integrated it into tip/master yet. Ingo --
Aug 15, 9:51 am 2008
Glauber Costa
[GIT PULL] new shot at time.c integration
Ingo, please pull the latest master git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/glommer/linux-2.6-x86-integration.git master into your tree It is based on your tip/master branch. This addresses the issues you raise in the last trial. In particular, I have a commit in the end that moves even comments and blank lines from time_32.c to time_64.c, making the files exactly equal prior to the merge. I also found a bug in earlier series, (it's always good when it's found ...
Aug 15, 9:25 am 2008
Ken Chen
[patch] fix NPTL thread iterator construct in cap_set_pg()
The usage of while_each_pid_task() construct in cap_set_pg() looks incorrect. The macro is meant to form 'do ... while' loop instead of a simple while loop. I think currently it will skip thread leader of a NPTL process. Fix by convert to 'do ... while' style. Signed-off-by: Ken Chen <kenchen@google.com> diff --git a/kernel/capability.c b/kernel/capability.c index 0101e84..26d8eda 100644 --- a/kernel/capability.c +++ b/kernel/capability.c @@ -167,7 +167,7 @@ static inline int cap_set_pg ...
Aug 15, 9:24 am 2008
Alex Nixon
[PATCH] change init_gdt to update the gdt via write_gdt, ...
From: Alex Nixon <alex.nixon@citrix.com> Date: Fri, 15 Aug 2008 11:21:56 +0100 Subject: [PATCH] change init_gdt to update the gdt via write_gdt, rather than a direct write. By writing directly, a memory access violation can occur whilst hotplugging a CPU if the entry was previously marked read-only. Signed-off-by: Alex Nixon <alex.nixon@citrix.com> --- arch/x86/kernel/smpcommon.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/kernel/smpcommon.c ...
Aug 15, 9:21 am 2008
Ingo Molnar
Re: [PATCH] change init_gdt to update the gdt via write_ ...
applied to tip/x86/urgent - thanks Alex. Ingo --
Aug 15, 9:58 am 2008
Takashi Iwai
[GIT PULL] ALSA fixes #2 for 2.6.27-rc3
Linus, please pull ALSA updates for 2.6.27-rc3 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git for-linus which contains more two changes to ASoC in addition to the last pending request. Thanks! Takashi === Clemens Ladisch (1): ALSA: virtuoso: add Xonar D1 support Mark Brown (2): ALSA: wm8990: Fix routing of left DAC to speaker mixer ALSA: wm8990: Implement speaker volume PGA Documentation/sound/alsa/ALSA-Configuration.txt | ...
Aug 15, 9:00 am 2008
David Woodhouse
[ANNOUNCE] linux-firmware.git repository.
I have created a git repository containing firmware files for use with the Linux kernel. There is a daily script¹ which extracts the contents of the firmware/ directory from the kernel itself, which is what has seeded the repository: git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=shortlog We are also able to include other firmware files from vendors who have chosen not to contribute their firmware ...
Aug 15, 8:58 am 2008
Stephen Hemminger
[PATCH] lockdep: fix build if CONFIG_PROVE_LOCKING not defined
If CONFIG_PROVE_LOCKING not defined, then no dependency information is available. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> --- a/kernel/lockdep_proc.c 2008-08-15 09:21:46.000000000 -0700 +++ b/kernel/lockdep_proc.c 2008-08-15 09:29:59.000000000 -0700 @@ -82,7 +82,6 @@ static void print_name(struct seq_file * static int l_show(struct seq_file *m, void *v) { - unsigned long nr_forward_deps, nr_backward_deps; struct lock_class *class = v; struct lock_list *entry; ...
Aug 15, 9:33 am 2008
Ingo Molnar
Re: [PATCH] lockdep: fix build if CONFIG_PROVE_LOCKING n ...
applied to tip/core/urgent, thanks Stephen. I'm wondering, could you send me the config that produces the build error? I do fairly comprehensive build testing but this one does not seem to trigger. Ingo --
Aug 15, 10:22 am 2008
John Kacur
[PATCH] Compile problems in locking-selftest.c with CONF ...
The attached patch fixes the following compiler error in the rt-kernel if CONFIG_DEBUG_PREEMPT is enabled. lib/locking-selftest.c: In function 'dotest': lib/locking-selftest.c:951: error: incompatible types in initialization lib/locking-selftest.c:1003: error: incompatible types in assignment
Aug 15, 8:57 am 2008
ASP B
ASP HOSTING'DE KAMPANYA !!! KA
KAPMANYALI PAKETİMİZİ İNCELEDİNİZ Mİ ? 50 MB alan 3 GB aylık transfer Sınırsız POP3 e-mail Sınırsız Subdomain 1 Mysql veritabanı MS Access desteği SOAP desteği ASP, ASP.NET, PHP, PERL,PHYTON,AJAX,WAP,XML Yıllık sadece 12 YTL ASP Bilişim ve İnternet Hizmetleri Ltd.Şti. Web : www.aspbilisim.net Msn Destek : destek@aspbilisim.com E-Mail : info@aspbilisim.net Tel : 0232 671 52 56 Gsm : 0506 276 54 37 --
Aug 15, 6:53 am 2008
Steven Rostedt
Re: [PATCH] ftrace: update recordmount.pl arch changes
OK, I'll set up one of my x86_64 boxes to compile the kernel for i386s, and see if I can come up with something. The reason I did this patch, is to get the PPC patches ready to go on top. I still need to port to ppc32 (I have 64 working). -- Steve --
Aug 15, 8:57 am 2008
Ingo Molnar
Re: [PATCH] ftrace: update recordmount.pl arch changes
actually, i thought of this as a quick hack to let -tip testing continue. Dont we have all the proper information available in kbuild and should just pass that to scripts/recordmcount.pl when called - like we pass in things like OBJDUMP which might have cross-build overrides, etc. Ingo --
Aug 15, 8:42 am 2008
Steven Rostedt
[PATCH] ftrace: update recordmount.pl arch changes
Ingo, I'm trying to keep all the arch changes in recordmcount.pl in one place. I moved your code into that area, by adding the flags to the commands that were passed in. Does this change still work for you when compiling i386 on a x86_64 box? Signed-off-by: Steven Rostedt <srostedt@redhat.com> Index: linux-tip.git/scripts/recordmcount.pl =================================================================== --- linux-tip.git.orig/scripts/recordmcount.pl 2008-08-15 10:54:00.000000000 ...
Aug 15, 8:40 am 2008
Paul Lussier
Questions about (unstable) clocksources
Hi all, I'm trying to understand the issues surrounding the recent (2.6.2[456]) troubles involving unstable clocksources. Not being a kernel developer I'm somewhat in the dark. Also, if this isn't the correct forum to ask these questions, please direct me to the proper place. I have no wish to clutter the channel with off-topic discussion. My questions involve the characteristics and manifestations of the problems as related to the clocksource when it becomes unstable (whether it's tsc, ...
Aug 15, 7:32 am 2008
Ken Chen
[patch] fix setpriority(PRIO_PGRP) thread iterator breakage.
When user calls sys_setpriority(PRIO_PGRP ...) on a NPTL style multi-LWP process, only the task leader of the process is affected, all other sibling LWP threads didn't receive the setting. The problem was that the iterator used in sys_setpriority() only iteartes over one task for each process, ignoring all other sibling thread. Introduce a new macro do_each_pid_thread / while_each_pid_thread to walk each thread of a process. Convert 4 call sites in {set/get}priority ...
Aug 15, 8:25 am 2008
Alan Cox
Re: 2.6.25.11-97.fc9 (P): idr_remove called for id=236 w ...
There were (and probably are) tty races and there might be some more so I'd actually be interested to know if its repeatable and if you can provide the test code that triggers it. Could be nVidiot stuff but quite frankly it looks like a quite believable real pty layer race in areas of code that were touched recently. Alan --
Aug 15, 8:26 am 2008
Vegard Nossum
2.6.25.11-97.fc9 (P): idr_remove called for id=236 which ...
Hi, First the confessions: It's fedora-patched kernel, 2.6.25.11-97.fc9, tainted by NVIDIA driver. So feel free to drop to /dev/null until I can reproduce on a clean and recent kernel. (But -rc3 didn't boot for me, and I don't have anything else handy atm.) By bashing on random device nodes (with mknod + mmap as root), I got a few messages of this kind: idr_remove called for id=236 which is not allocated. Pid: 3019, comm: a.out Tainted: P 2.6.25.11-97.fc9.i686 #1 [<c04f030c>] ...
Aug 15, 8:11 am 2008
Alan Cox
Re: 2.6.25.11-97.fc9 (P): idr_remove called for id=236 w ...
Thats definitely not good and wants digging into further. --
Aug 15, 8:28 am 2008
Vegard Nossum
Re: 2.6.25.11-97.fc9 (P): idr_remove called for id=236 w ...
Okay! I've attached my program. On 2.6.27-rc3 the message appears at least a couple of times per second, so you should have no trouble in reproducing it. On the 2.6.25 I get it maybe once a minute. Compile with: gcc -std=gnu99 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
Aug 15, 8:50 am 2008
Vegard Nossum
Re: 2.6.25.11-97.fc9 (P): idr_remove called for id=236 w ...
Now it looks more like this (with very frequent messages): ida_remove called for id=112 which is not allocated. ida_remove called for id=67 which is not allocated. ida_remove called for id=191 which is not allocated. ida_remove called for id=23 which is not allocated. ..and with no backtrace, so I guess it means "not harmful". Sorry for the noise. Vegard -- "The animistic metaphor of the bug that maliciously sneaked in while the programmer was not looking is intellectually ...
Aug 15, 8:27 am 2008
Vegard Nossum
Re: 2.6.25.11-97.fc9 (P): idr_remove called for id=236 w ...
Hi, I've now been digging. This reproduces it accurately: # mknod fubar c 128 42 # cat fubar <ctrl-c> idr_remove called for id=42 which is not allocated. Major nr. 128 is UNIX98_PTY_MASTER_MAJOR. The Documentation/devices.txt tells us to access these through /dev/ptmx only. So when we don't follow that rule, tty_open() is called instead of ptmx_open() when the device is opened. ptmx_open() would allocate a new id to use. But since we call tty_open(), it will use tty->index which is ...
Aug 15, 2:26 pm 2008
Steven Rostedt
[PATCH RT] fix flags in usb code
Fix flags in usb code Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- drivers/usb/host/isp1760-hcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: linux-2.6.26-rt1/drivers/usb/host/isp1760-hcd.c =================================================================== --- linux-2.6.26-rt1.orig/drivers/usb/host/isp1760-hcd.c 2008-08-12 11:36:53.000000000 -0400 +++ linux-2.6.26-rt1/drivers/usb/host/isp1760-hcd.c 2008-08-12 11:37:40.000000000 -0400 @@ -1592,7 +1592,7 ...
Aug 15, 8:04 am 2008
Steven Rostedt
[PATCH RT] infiniband: change flags from int to long
It is a bug to have irq saved flags as an int and not long since some archs may use more that 32 bits in flags. Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- drivers/infiniband/hw/ipath/ipath_verbs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: linus.git/drivers/infiniband/hw/ipath/ipath_verbs.c =================================================================== --- linus.git.orig/drivers/infiniband/hw/ipath/ipath_verbs.c 2008-08-12 10:23:25.000000000 ...
Aug 15, 8:02 am 2008
Vegard Nossum
-rc3-gb635ace: oops in kgdbts
Hi, I gave -rc3-gb635ace a spin on my laptop, but it oopses, I think somewhere in kgdb code. There were several backtraces, but I only got the last one, and here's what I could write down in a hurry: beyond end of test on 'singlestep_breakpoint_test' line 13 WARNING: drivers/misc/kgdbts.c:696 backtrace: run_simple_test kgdb_put_char put_packet kgdb_handle_exception kgdb_notify ... __die die do_page_fault error_code ... init_kgdbts I'm sorry for the poor report; it happens ...
Aug 15, 8:01 am 2008
Steven Whitehouse
fs: Make linux kernel parser's match_table_t const
Hi, This is a second go at this patch. I believe that I've fixed the main problem with the last version which caused sparc to fail to compile. I don't have a sparc to test with though, so I'll have to leave that to others to test, I'm afraid. Unlike the previous version, I've put the "const" by the individual variable declarations, all aside from the nfsroot one that is which was the cause of the problems. That is marked as __initconst instead. This patch is against linux-next, but it ...
Aug 15, 7:00 am 2008
Takashi Iwai
[PATCH] kbuild: Fix creation of include2/asm symlink
The directory include2/asm can point wrongly to a non-existing directory on architectures that have moved include/asm under arch/*. This patch fixes it by checking firstly whether arch/*/include/asm is available. Signed-off-by: Takashi Iwai <tiwai@suse.de> --- diff --git a/Makefile b/Makefile index 53bf6ec..bcbb764 100644 --- a/Makefile +++ b/Makefile @@ -934,7 +934,11 @@ ifneq ($(KBUILD_SRC),) fi; $(Q)if [ ! -d include2 ]; then \ mkdir -p ...
Aug 15, 6:45 am 2008
Sam Ravnborg
Re: [PATCH] kbuild: Fix creation of include2/asm symlink
Hi Takashi. I understand why you try to avoid include2/asm as it is not pretty. And I had a similar patch once - but I dropped it as the symlink do not harm and it will anyway be gone when the remaining architectures has shifted to use arch/$ARCH/include/... So I will not apply it. Sam --
Aug 15, 12:49 pm 2008
Valdis.Kletnieks
[PATCH v2] 2.6.27-rc3-mmotm tpm-correct-tpm-timeouts-to ...
Patch tpm-correct-tpm-timeouts-to-jiffies-conversion reveals a bug in the Broadcom BCM0102 TPM chipset used in the Dell Latitude D820 - although most of the timeouts are returned in usecs as per the spec, one is apparently returned in msecs, which results in a too-small value leading to a timeout when the code treats it as usecs. To prevent a regression, we check for the known too-short value and adjust it to a value that makes things work. Version 2: Clarify comment somewhat, fix if statement ...
Aug 15, 2:56 am 2008
Ingo Molnar
Re: [PATCH] x86: fix /proc/meminfo DirectMap
i think they are borderline useful - so i've applied your fixes to hm, exactly what change have you tried? (patch?) Ingo --
Aug 15, 6:28 am 2008
Hugh Dickins
Re: [PATCH] x86: fix /proc/meminfo DirectMap
Yes, that's what I meant by the TLB optimizers. But it's going to be a fractional effect, isn't it, when you're trying to get the last 1% out of the machine? And in such a case, you might wonder more what all the 4k ones are actually being used for (no problem at all if they've ended up behind vmalloced module text). Hugh --
Aug 15, 6:32 am 2008
Ingo Molnar
Re: [PATCH] x86: fix /proc/meminfo DirectMap
i cannot see any performance difference myself between 2MB and 1GB TLBs. There are measurements that Andi Kleen did originally in this commit: commit 8346ea17aa20e9864b0f7dc03d55f3cd5620b8c1 Author: Andi Kleen <andi@firstfloor.org> Date: Wed Mar 12 03:53:32 2008 +0100 x86: split large page mapping for AMD TSEG [lower is better] no split stddev split stddev delta Elapsed Time 87.146 (0.727516) 84.296 (1.09098) -3.2% User Time ...
Aug 15, 6:45 am 2008
Hugh Dickins
Re: [PATCH] x86: fix /proc/meminfo DirectMap
As soon as that kernel failed to boot, I chucked the patch away and erased it from my mind: much better to leave such a change to the people who are intimate with this sequence and can debug it. It wasn't anything much, the page to use has already been set aside for alloc_low_page, I thought it was just a matter of breaking the association with level2_ident_pgt at the right level then letting phys_pmd_init do its usual setup from scratch. Maybe it didn't work because I got it slightly ...
Aug 15, 7:30 am 2008
Hugh Dickins
[PATCH] x86: fix /proc/meminfo DirectMap
Do we actually want these DirectMap lines in the x86 /proc/meminfo? I can see they're interesting to CPA developers and TLB optimizers, but they don't fit its usual "where has all my memory gone?" usage. If they are to stay, here are some fixes. 1. On x86_32 without PAE, they're not 2M but 4M pages: no need to mess with the internal enum, but show the right name to users. 2. Many machines can never show anything but 0 for DirectMap1G, so suppress that line unless direct_gbpages are ...
Aug 15, 5:58 am 2008
Andi Kleen
Re: [PATCH] x86: fix /proc/meminfo DirectMap
I made them unconditional to minimize the risk of some dumb parser not being able to deal with them. Longer term there will be more and more machines that support them. Admittedly that's not a very strong argument. -Andi --
Aug 15, 6:15 am 2008
Andi Kleen
Re: [PATCH] x86: fix /proc/meminfo DirectMap
Depending on the workload it can be much more than that. -Andi --
Aug 15, 6:36 am 2008
David Witbrodt
Re: HPET regression in 2.6.26 versus 2.6.25 -- question ...
I have to go to work for a few hours right now, but will try this out when I get home. (Actually, I'm late for work as I type this... but I have my priorities straight! ;) Quick question: a quick browse of 'Documentation/nmi_watchdog.txt' suggests that I should use "nmi_watchdog=1", since I have SMP (CPU = Athlon 64 X2, with CONFIG_SMP=y). Should I follow your suggestion later, or follow the recommendation of the 'nmi_watchdog.txt' doc? Much thanks, Dave W. --
Aug 15, 5:49 am 2008
Ingo Molnar
Re: HPET regression in 2.6.26 versus 2.6.25 -- question ...
you could try both, starting with nmi_watchdog=2 - and trying nmi_watchdog=1 if that doesnt work. The problem with nmi_watchdog=1 is that it disables high-res timers. (because it has to - it piggy-backs on the back of a periodic timer interrupt) you might even want to test the NMI watchdog with an intentional user-space hard lockup - with the attached lockupcli.c program. (Warning: if you run it as root it will really lock up your box hard. Run it from a VGA text mode console to see ...
Aug 15, 6:26 am 2008
David Witbrodt
Re: HPET regression in 2.6.26 versus 2.6.25 -- why Yingh ...
Thanks for this Bill. I got home pretty late last night, so I only tried a few things before hitting the sack. Your suggestion is something I was planning, but didn't get to yet. It seems like any change after 3def3d6d that touches insert_resource() causes kernels to lock up on 2 of my 3 machines. Mike Galbraith sent an offlist reply with a very good idea for finding out whether a commit _before_ 3def3d6d is the actual cause of my troubles. I am more intrigued by this possibility than ...
Aug 15, 5:33 am 2008
david
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
please define your threat model. the section above makes no sense with the currently defined threat model. if the linux kernel squashes stuff from a filesystem such that the scanners cannot see it then how in the world can linux then server this bad stuff to other systems (what the current threat model is defined as) if you are saying that you want linux to mount filesystems and scan them, then unmount them and allow other systems to mount them and be safe, I think you alone in this ...
Aug 15, 10:31 am 2008
Rob Meijer
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
This "permitted to execute" is what I feel is the wrong aproach with respect to malware. If you simply allow everything to 'execute', I think that untrusted programs may still be used for usefull things, but without the potential do do malice. If you start from the point where everything both trusted and untrusted is permitted to be executed, you could make it the job of SELinux or any other LSM to make untrusted code run without doing malice, but with the possibility to still run and do ...
Aug 15, 5:22 am 2008
Alan Cox
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
SELinux is quite happy to apply different rules to content labelled in different ways. WHat specific things do you need that it can't do ? --
Aug 15, 7:18 am 2008
Peter Dolding
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
They way I look at this. Most users complain that creating profiles for applications is too complex. Lets look for where a system that deals with the same kind of issue. Its in the firewall with ipset http://ipset.netfilter.org/. You have a set of rules to do things assigned in the firewall. With secuirty this would be the LSM. User gets to choose from a predefined list for applications without profiles. Lets look at some basics here. Firefox and most internet applications don't need ...
Aug 15, 6:27 am 2008
David Witbrodt
Re: HPET regression in 2.6.26 versus 2.6.25 -- retried 2 ...
Yes, Yinghai's first response when I tried his 2.6.27-rc3 patch and the kernel still locked was "there is some other problem" (besides the changes in 3def3d6d). You may have misunderstood my meaning: I was only saying that a further experiment of mine showed that 3def3d6d... alone is not the problem, so that trying to undo the changes from that commit all the way up near the git HEAD was unlikely to work. I did not mean that his patch was a bad idea, or that it should not have been tried. ...
Aug 15, 5:22 am 2008
Nick Warne
[PATCH] Fixup KERN_INFO in tmscsim.c
Hi all, Setting up my new AMD64 I noticed a curious one liner in syslogs: ^Iwith "disable_clustering=1" and report to maintainers The attached patch fixes this up so he goes back to his wife in /var/log/messages (or wherever KERN_INFO logs on the system): DC390: clustering now enabled by default. If you get problems load with "disable_clustering=1" and report to maintainers The patch was created on stable 2.6.26.2 git tree. Nick Signed off by: "Nick Warne" <nick@ukfsn.org> -- ...
Aug 15, 4:10 am 2008
Guennadi Liakhovetski
Re: [PATCH] Fixup KERN_INFO in tmscsim.c
The message priority is indeed missing in the second line, but it has nothing to do with the "^I" in your log. I do not know why your syslogd / klogd converts a TAB to "^I". But if it is a problem, I think, the correct fix would be something like - printk(KERN_INFO "DC390: clustering now enabled by default. If you get problems load\n" - "\twith \"disable_clustering=1\" and report to maintainers\n"); + printk(KERN_INFO "DC390: clustering now enabled by default. If you get ...
Aug 15, 1:17 pm 2008
Daniel THOMPSON
[PATCH] sound: Fix esoteric double free in the dummy sou ...
The dummy driver uses runtime->private_free but still frees its pcm structures on error paths. This is esoteric because the error paths in question are unreachable. Thus the bug is only a problem when someone copies this code into other drivers. Signed-off-by: Daniel R Thompson <daniel.thompson@st.com> --- sound/drivers/dummy.c | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/sound/drivers/dummy.c b/sound/drivers/dummy.c index 4e4c69e..90fc1ce 100644 --- ...
Aug 15, 2:53 am 2008
Jeff Chua
Re: 2.6.27rc1 cannot boot more than 8CPUs
Attached. cpu.8 CONFIG_X86_32=y CONFIG_X86_PC=y CONFIG_X86=y CONFIG_NR_CPUS=8 Attached. cpu.16 CONFIG_X86_32=y CONFIG_X86_PC=y CONFIG_X86=y CONFIG_NR_CPUS=16 Attached cpu.16.big CONFIG_X86_32=y CONFIG_X86=y CONFIG_X86_GENERICARCH=y CONFIG_X86_BIGSMP=y # CONFIG_X86_PC is not set CONFIG_NR_CPUS=16 Attached cpu.16.nobig (same as cpu.16 except with modifed patch) CONFIG_X86_32=y CONFIG_X86_PC=y CONFIG_X86=y ...
Aug 15, 3:34 am 2008
Ingo Molnar
Re: 2.6.27rc1 cannot boot more than 8CPUs
thanks. To make sure it's all sorted out you might want to boot today's tip/master and check whether it just does the right thing by default. (it really should) Ingo --
Aug 15, 7:07 am 2008
Stoyan Gaydarov
Compile warnings
I am not that great at C and I don't quite have any time right now but I figured someone else can fix this if I can't: LD drivers/isdn/hardware/avm/built-in.o CC drivers/isdn/hardware/eicon/divasi.o CC drivers/isdn/hardware/eicon/idifunc.o CC drivers/isdn/hardware/eicon/um_idi.o CC drivers/isdn/hardware/eicon/dqueue.o CC drivers/isdn/hardware/eicon/capimain.o CC drivers/isdn/hardware/eicon/capifunc.o CC ...
Aug 15, 3:34 am 2008
Jan Beulich
Why can't _PAGE_PROTNONE be _PAGE_ACCESSED?
With the overlaying of _PAGE_PSE and _PAGE_PAT there is a latent issue with the definition of _PAGE_PROTNONE: As soon as _PAGE_PAT gets actively used, it'll need to become part of _PAGE_CHG_MASK, and hence _PAGE_PROTNONE cannot use _PAGE_PSE anymore. One option certainly is to use one of the two remaining unused (available) bits, but it would seem to me that simply using _PAGE_ACCESSED here ought to work - but perhaps I'm overlooking some critical aspect? The background of this is that Xen's ...
Aug 15, 3:25 am 2008
Rob Meijer
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
The package manager approach is interesting in that it marks 'trusted', and is thus permissive rather than restrictive. Maybe it would be possible to extend on this and simply define a set of currently unprivileged access as privileged for untrusted applications. That way you could allow untrusted software to run without risk, even if that untrusted software turns out to be malware. That is, it may be possible to solve the malware problem in a much more fundamental way here by just allowing ...
Aug 15, 3:10 am 2008
Alan Cox
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
Its called SELinux and SELinux can already do this sort of stuff, including things like "only rpm may create files you are permitted to execute" --
Aug 15, 4:02 am 2008
Artem Bityutskiy
[GIT PULL] UBIFS updates for 2.6.27-rc4
Hi Linus, please pull from git://git.infradead.org/~dedekind/ubifs-2.6.git linux-next The following changes since commit 30a2f3c60a84092c8084dfe788b710f8d0768cd4: Linus Torvalds (1): Linux 2.6.27-rc3 are available: Adrian Hunter (8): UBIFS: fix error return in failure mode UBIFS: ensure UBIFS switches to read-only on error UBIFS: make ubifs_ro_mode() not inline UBIFS: do not union creat_sqnum and del_cmtno UBIFS: fix typos in comments ...
Aug 15, 4:07 am 2008
Bryan Wu
[PATCH 0/4] Blackfin RTC Driver updates
Hi folks, These the latest 4 Blackfin RTC driver updating patches. Thanks, -Bryan --
Aug 15, 2:01 am 2008
Bryan Wu
[PATCH 3/4] Blackfin RTC Driver: BF561 not have on-chip RTC
From: Graf Yang <graf.yang@analog.com> Signed-off-by: Graf Yang <graf.yang@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> --- drivers/rtc/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 90ab738..9a9755c 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -561,7 +561,7 @@ config RTC_DRV_AT91SAM9_GPBR config RTC_DRV_BFIN tristate "Blackfin On-Chip RTC" - depends on ...
Aug 15, 2:01 am 2008
Bryan Wu
[PATCH 1/4] Blackfin RTC Driver: move irq request/free o ...
From: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> --- drivers/rtc/rtc-bfin.c | 51 ++++++++++++++++++----------------------------- 1 files changed, 20 insertions(+), 31 deletions(-) diff --git a/drivers/rtc/rtc-bfin.c b/drivers/rtc/rtc-bfin.c index a1af4c2..51741dc 100644 --- a/drivers/rtc/rtc-bfin.c +++ b/drivers/rtc/rtc-bfin.c @@ -218,26 +218,6 @@ static irqreturn_t bfin_rtc_interrupt(int irq, ...
Aug 15, 2:01 am 2008
Bryan Wu
[PATCH 2/4] Blackfin RTC Driver: do all initialization b ...
From: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> --- drivers/rtc/rtc-bfin.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/rtc-bfin.c b/drivers/rtc/rtc-bfin.c index 51741dc..9d2da1c 100644 --- a/drivers/rtc/rtc-bfin.c +++ b/drivers/rtc/rtc-bfin.c @@ -371,6 +371,7 @@ static int __devinit bfin_rtc_probe(struct platform_device *pdev) if (unlikely(!rtc)) ...
Aug 15, 2:01 am 2008
Bryan Wu
[PATCH 4/4] Blackfin RTC Driver: dont let RTC programmin ...
From: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> --- drivers/rtc/rtc-bfin.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/rtc/rtc-bfin.c b/drivers/rtc/rtc-bfin.c index 9d2da1c..34439ce 100644 --- a/drivers/rtc/rtc-bfin.c +++ b/drivers/rtc/rtc-bfin.c @@ -363,6 +363,7 @@ static int __devinit bfin_rtc_probe(struct platform_device *pdev) struct bfin_rtc ...
Aug 15, 2:01 am 2008
Bryan Wu
[PATCH 1/1] Video/Framebuffer: add fuctional power manag ...
From: Michael Hennerich <michael.hennerich@analog.com> Fix bug: does nor properply resume after suspend mem Fix for PM_SUSPEND_MEM: Save and restore peripheral base and DMA registers Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> --- drivers/video/bf54x-lq043fb.c | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/video/bf54x-lq043fb.c b/drivers/video/bf54x-lq043fb.c index ...
Aug 15, 2:07 am 2008
Bryan Wu
[PATCH 1/1] Input/keyboard: add uctional power managemen ...
From: Michael Hennerich <michael.hennerich@analog.com> Fix Bug: does nor properply resume after suspend mem Fix for PM_SUSPEND_MEM: Save and restore peripheral base registers Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> --- drivers/input/keyboard/bf54x-keys.c | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/drivers/input/keyboard/bf54x-keys.c b/drivers/input/keyboard/bf54x-keys.c index ...
Aug 15, 2:02 am 2008
Dmitry Torokhov Aug 15, 12:03 pm 2008
Bryan Wu
[PATCH 1/1] checkpatch script: add Blackfin checks for H ...
From: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> --- scripts/checkpatch.pl | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index bc67793..eb764b0 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -1200,6 +1200,18 @@ sub process { WARN("adding a line without newline at end of file\n" . ...
Aug 15, 1:32 am 2008
Bryan Wu
[PATCH 1/1] Blackfin SPORTS UART Drvier: __FUNCTION__ is ...
From: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> --- drivers/serial/bfin_sport_uart.c | 60 +++++++++++++++++++------------------- 1 files changed, 30 insertions(+), 30 deletions(-) diff --git a/drivers/serial/bfin_sport_uart.c b/drivers/serial/bfin_sport_uart.c index dd8564d..529c0ff 100644 --- a/drivers/serial/bfin_sport_uart.c +++ b/drivers/serial/bfin_sport_uart.c @@ -99,7 +99,7 ...
Aug 15, 1:40 am 2008
Randy Dunlap Aug 15, 4:41 pm 2008
Randy Dunlap
Re: linux-next: Tree for August 15 (bnx2) [resend/lost]
When VLAN is not enabled, bnx2 build fails with: drivers/net/bnx2.c: In function 'bnx2_rx_int': drivers/net/bnx2.c:2959: error: dereferencing pointer to incomplete type drivers/net/bnx2.c:2960: error: dereferencing pointer to incomplete type make[2]: *** [drivers/net/bnx2.o] Error 1 on these lines: ve->h_vlan_proto = htons(ETH_P_8021Q); ve->h_vlan_TCI = htons(vtag); --- ~Randy Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon ...
Aug 15, 8:41 am 2008
Stephen Rothwell
linux-next: Tree for August 15
Hi all, Changes since next-20080814: New trees: oprofile and fastboot. The tip-core tree lost its conflict. The cpus4096 tree lost its conflict. The ftrace tree gained a conflict against the driver-core tree and a build failure required the revert of a commit. The stackprotector tree gained a conflict against the ftrace tree. The x86 tree gained a conflict against the stackprotector tree but lost two conflicts and a build fix patch. The kvm tree gained a conflict against the ...
Aug 15, 1:40 am 2008
David Miller
Re: linux-next: Tree for August 15 (bnx2) [resend/lost]
From: Randy Dunlap <randy.dunlap@oracle.com> Does this fix it for you? diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index d454810..2486a65 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c @@ -35,8 +35,8 @@ #include <linux/time.h> #include <linux/ethtool.h> #include <linux/mii.h> -#if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE) #include <linux/if_vlan.h> +#if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE) #define BCM_VLAN 1 ...
Aug 15, 3:17 pm 2008
David Woodhouse
Re: [PATCH 1/1] MTD Maps: initial driver for using gpios ...
You've added that macro twice in MTD code already -- and now you're adding it twice more (although I suspect only one was intentional). Where are we with putting it in include/linux/ where it belongs? -- David Woodhouse Open Source Technology Centre David.Woodhouse@intel.com Intel Corporation --
Aug 15, 2:29 am 2008
Mike Frysinger
Re: [PATCH 1/1] MTD Maps: initial driver for using gpios ...
i havent tried since the last thread on the topic went nowhere. guess i could try again. -mike --
Aug 15, 5:48 am 2008
Bryan Wu
[PATCH 1/1] MTD Maps: initial driver for using gpios to ...
From: Mike Frysinger <vapier.adi@gmail.com> extend driver to handle arbitrary number of gpios Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> --- drivers/mtd/maps/Kconfig | 9 + drivers/mtd/maps/Makefile | 1 + drivers/mtd/maps/gpio-addr-flash.c | 419 ++++++++++++++++++++++++++++++++++++ 3 files changed, 429 insertions(+), 0 deletions(-) create mode 100644 drivers/mtd/maps/gpio-addr-flash.c diff --git ...
Aug 15, 1:37 am 2008
Bryan Wu
[PATCH 1/1] mtd/maps: blackfin async flash maps - fix bu ...
From: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> --- drivers/mtd/maps/bfin-async-flash.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/maps/bfin-async-flash.c b/drivers/mtd/maps/bfin-async-flash.c index 6fec86a..576611f 100644 --- a/drivers/mtd/maps/bfin-async-flash.c +++ b/drivers/mtd/maps/bfin-async-flash.c @@ -152,14 +152,18 @@ static int __devinit ...
Aug 15, 1:34 am 2008
Bryan Wu
[PATCH 1/1] MTD Maps: make uclinux mapping driver depend ...
From: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> --- drivers/mtd/maps/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig index df8e00b..50bb046 100644 --- a/drivers/mtd/maps/Kconfig +++ b/drivers/mtd/maps/Kconfig @@ -522,7 +522,7 @@ config MTD_BFIN_ASYNC config MTD_UCLINUX tristate "Generic uClinux RAM/ROM ...
Aug 15, 1:26 am 2008
Yinghai Lu
[PATCH] x86: order variables in io_apic_xx.c
move first_system_vector to apic_64.c also add #ifdef CONFIG_INTR_REMAP to prepare 32 bit to use same file Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/apic_64.c | 5 + arch/x86/kernel/io_apic_32.c | 79 +++++++++------------ arch/x86/kernel/io_apic_64.c | 160 ++++++++++++++++++++++--------------------- 3 files changed, 127 insertions(+), 117 deletions(-) Index: ...
Aug 15, 1:27 am 2008
Ingo Molnar
Re: [PATCH] x86: order variables in io_apic_xx.c
applied to tip/irq/sparseirq - thanks. Ingo --
Aug 15, 1:54 am 2008
Bryan Wu
[PATCH 0/2] Blackfin Serial Drivers bug fixing (v2)
Hi Alan, Sorry for sending out a patch (Blackfin Serial Driver: Fix bug - request UART2/3 peripheral mapped interrupts in PIO mode) you acked before. This time is the 2 bug fixing patches in my queue. Thanks -Bryan --
Aug 15, 1:23 am 2008
Mike Frysinger
Re: [PATCH 2/2] Blackfin Serial Driver: Add a debug func ...
it doesnt really make sense to export the symbol or make it available when debugging is not enabled. -mike --
Aug 15, 5:47 am 2008
Alan Cox
Re: [PATCH 0/2] Blackfin Serial Drivers bug fixing (v2)
On Fri, 15 Aug 2008 16:23:35 +0800 Look fine to me Acked-by: Alan Cox <alan@redhat.com> --
Aug 15, 2:03 am 2008
Bryan Wu
[PATCH 1/2] Blackfin Serial Driver: fix bug - Avoid null ...
From: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> --- drivers/serial/bfin_5xx.c | 43 ++++++++++++++++++++++++++----------------- 1 files changed, 26 insertions(+), 17 deletions(-) diff --git a/drivers/serial/bfin_5xx.c b/drivers/serial/bfin_5xx.c index 487a562..a5ff54e 100644 --- a/drivers/serial/bfin_5xx.c +++ b/drivers/serial/bfin_5xx.c @@ -124,8 +124,6 @@ static void ...
Aug 15, 1:23 am 2008
Bryan Wu
[PATCH 2/2] Blackfin Serial Driver: Add a debug function ...
From: Graf Yang <graf.yang@analog.com> Signed-off-by: Graf Yang <graf.yang@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> --- drivers/serial/bfin_5xx.c | 53 ++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 52 insertions(+), 1 deletions(-) diff --git a/drivers/serial/bfin_5xx.c b/drivers/serial/bfin_5xx.c index a5ff54e..1917904 100644 --- a/drivers/serial/bfin_5xx.c +++ b/drivers/serial/bfin_5xx.c @@ -21,6 +21,7 @@ #include <linux/tty.h> #include ...
Aug 15, 1:23 am 2008
Bob Copeland
Re: ath5k on the Acer Aspire One
BTW the original report you said you were using AR2425. I believe support for that was only added for 2.6.27. -- Bob Copeland %% www.bobcopeland.com --
Aug 15, 6:41 am 2008
Bob Copeland
Re: ath5k on the Acer Aspire One
The encryption fixes I know about for WPA should already be in 2.6.26. But ath5k uses mac80211 for encryption so if it is encryption related, then it's in the interface code between them, or else more wireless cards would have It looks like you didn't get any scan results. Does 'iwlist wlan0 scan' work? CCing ath5k-devel, you'll probably get more help there. -- Bob Copeland %% www.bobcopeland.com --
Aug 15, 6:39 am 2008
Bob Copeland
Re: [ath5k-devel] ath5k on the Acer Aspire One
PSK. I'll claim ignorance on EAP though I don't know why it wouldn't work. The change I was thinking of in 2.6.26 was related to some packets not being decrypted properly (http://marc.info/?l=linux-wireless&m=121064141521711). There was also this one related to association failures around .27-rc1: http://marc.info/?l=linux-wireless&m=121732394028001. Let us know what you find out. -- Bob Copeland %% www.bobcopeland.com --
Aug 15, 11:11 am 2008
J.A.
Re: ath5k on the Acer Aspire One
I'm using 2.6.26.2 from Mandriva cooker. I'm also thinking its a soft/encryption problem: one:~# wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -Dwext -d Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' ctrl_interface='/var/run/wpa_supplicant' eapol_version=1 ap_scan=1 fast_reauth=1 Line 771: ...
Aug 15, 1:21 am 2008
Jaco Kroon
Re: [ath5k-devel] ath5k on the Acer Aspire One
Is this using WPA-PSK or WPA-EAP? I know my card works with PSK but I'm seeing similar results with EAP. Haven't had time to properly analyze the problem yet and my AP is in the office for the weekend. Regards, --
Aug 15, 9:36 am 2008
Bryan Wu
[PATCH 0/2] Blackfin serial driver bug fixing
Hi Alan, Here is 2 critical bug fixing patch for Blackfin serial driver. And as you acked the previous 8 Blackfin serial driver patches, need I push them to blackfin-2.6 git tree and ask Linus to pull from that or they were queued in your serial tree? Thanks, -Bryan --
Aug 15, 1:14 am 2008
Bryan Wu
[PATCH 1/2] Blackfin Serial Driver: Fix bug - request UA ...
From: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> --- arch/blackfin/kernel/bfin_dma_5xx.c | 13 ++++----- drivers/serial/bfin_5xx.c | 50 +++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 7 deletions(-) diff --git a/arch/blackfin/kernel/bfin_dma_5xx.c b/arch/blackfin/kernel/bfin_dma_5xx.c index 93229b3..339293d 100644 --- a/arch/blackfin/kernel/bfin_dma_5xx.c +++ ...
Aug 15, 1:14 am 2008
Bryan Wu
[PATCH 2/2] Blackfin Serial Driver: fix bug - Avoid null ...
From: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> --- drivers/serial/bfin_5xx.c | 43 ++++++++++++++++++++++++++----------------- 1 files changed, 26 insertions(+), 17 deletions(-) diff --git a/drivers/serial/bfin_5xx.c b/drivers/serial/bfin_5xx.c index 487a562..a5ff54e 100644 --- a/drivers/serial/bfin_5xx.c +++ b/drivers/serial/bfin_5xx.c @@ -124,8 +124,6 @@ static void ...
Aug 15, 1:14 am 2008
Alan Cox
Re: [PATCH 0/2] Blackfin serial driver bug fixing
On Fri, 15 Aug 2008 16:14:07 +0800 The existing ones were queued for 2.6.28 as I assumed that was what your email meant you want to do. If you have critical fixes at this point in the -rc series I would send them direct to Linus --
Aug 15, 2:00 am 2008
David Witbrodt
Re: HPET regression in 2.6.26 versus 2.6.25 -- retried 2 ...
Yinghai, When I got home from work tonight, I decided to make sure that I applied your patch correctly. I considered trying it once with cat/patch and once with 'git apply', and then comparing the results with 'diff'. I ended up becoming convinced that 'git apply' worked just fine, and never tried the cat/patch method: ================================= $ git show |head commit 30a2f3c60a84092c8084dfe788b710f8d0768cd4 Author: Linus Torvalds <torvalds@linux-foundation.org> Date: Tue Aug ...
Aug 14, 8:40 pm 2008
Ingo Molnar
Re: HPET regression in 2.6.26 versus 2.6.25 -- retried 2 ...
i'm still wondering whether we could try to figure out something about the nature of the hard lockup itself. Have you tried to activate the NMI watchdog? It _usually_ works fine if you use a boot option along the lines of: "lapic nmi_watchdog=2 idle=poll" The best test would be to first boot the broken kernel with also hpet=disable and the above options, and check in /proc/interrupts whether the NMI count is increasing. If the NMI watchdog is working, you should see a steady ...
Aug 15, 2:07 am 2008
Andrew Morton
Re: [PATCH 2/2] omfs: fix oops when file metadata is corrupted
btw, put_bh() is the fashionable way of dropping a buffer refcount. We still use brelse() when the pointer might be NULL, but often it is known to not be. --
Aug 15, 12:34 am 2008
Bob Copeland
[PATCH 1/2] omfs: fix potential oops when directory size ...
Testing with a modified fsfuzzer reveals a couple of locations in omfs where filesystem variables are ultimately used as loop counters with insufficient sanity checking. In this case, dir->i_size is used to compute the number of buckets in the directory hash. If too large, readdir will overrun a buffer. Since it's an invariant that dir->i_size is equal to the sysblock size, and we already sanity check that, just use that value instead. This fixes the following oops: BUG: unable to handle ...
Aug 14, 8:13 pm 2008
Bob Copeland
Re: [PATCH 1/2] omfs: fix potential oops when directory ...
Good point, probably not. I'll audit for this... -- Bob Copeland %% www.bobcopeland.com --
Aug 15, 4:35 am 2008
Andrew Morton
Re: [PATCH 1/2] omfs: fix potential oops when directory ...
We don't need to use i_size_write() on this code path, but we do in other places. There's also i_size_read(). I wonder if omfs gets it right everywhere.. --
Aug 15, 12:19 am 2008
Steven Rostedt
[PATCH 3/3] ftrace: remove old pointers to mcount
When a mcount pointer is recorded into a table, it is used to add or remove calls to mcount (replacing them with nops). If the code is removed via removing a module, the pointers still exist. At modifying the code a check is always made to make sure the code being replaced is the code expected. In-other-words, the code being replaced is compared to what it is expected to be before being replaced. There is a very small chance that the code being replaced just happens to look like code that ...
Aug 14, 7:47 pm 2008
Steven Rostedt
[PATCH 2/3] ftrace: move notrace to compiler.h
The notrace define belongs in compiler.h so that it can be used in init.h Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- include/linux/compiler.h | 2 ++ include/linux/linkage.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) Index: linux-tip.git/include/linux/compiler.h =================================================================== --- linux-tip.git.orig/include/linux/compiler.h 2008-08-14 22:42:59.000000000 -0400 +++ ...
Aug 14, 7:47 pm 2008
Steven Rostedt
[PATCH 1/3] ftrace: do not show freed records in availab ...
Seems that freed records can appear in the available_filter_functions list. This patch fixes that. CC: Abhishek Sagar <sagar.abhishek@gmail.com> Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- kernel/trace/ftrace.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) Index: linux-tip.git/kernel/trace/ftrace.c =================================================================== --- linux-tip.git.orig/kernel/trace/ftrace.c 2008-08-14 22:43:01.000000000 -0400 +++ ...
Aug 14, 7:47 pm 2008
Ingo Molnar
Re: [PATCH 0/3] ftrace: handle kernel code remove
hm, massive build failures: ld: Relocatable linking with relocations from format elf32-i386 (init/.tmp_gl_calibrate.o) to format elf64-x86-64 (init/.tmp_mx_calibrate.o) i CC arch/x86/mm/extable.o objcopy: 'init/.tmp_mx_calibrate.o': No such file rm: cannot remove `init/.tmp_mx_calibrate.o': No such file or directory ld: Relocatable linking with relocations from format elf32-i386 (arch/x86/mm/extable.o) to format elf64-x86-64 (arch/x86/mm/.tmp_mx_extable.o) is not supported mv: cannot ...
Aug 15, 2:38 am 2008
Ingo Molnar
Re: [PATCH 0/3] ftrace: handle kernel code remove
the problem is that i'm building a 32-bit kernel on a 64-bit host, and the scripts/recordmcount.pl script does not create the temporary object files in the proper (32-bit) output ELF format. Ingo --
Aug 15, 2:48 am 2008
Ingo Molnar
Re: [PATCH 0/3] ftrace: handle kernel code remove
the crude hack below got me going for now - but this needs a proper solution. Ingo ---------------------> From 52a4a65bcb5b796b7ad83ad069968c476142706f Mon Sep 17 00:00:00 2001 From: Ingo Molnar <mingo@elte.hu> Date: Mon, 9 Jun 2008 20:54:22 +0200 Subject: [PATCH] ftrace: scripts/recordmcount.pl cross-build hack hack around: ld: Relocatable linking with relocations from format elf32-i386 (init/.tmp_gl_calibrate.o) to format elf64-x86-64 (init/.tmp_mx_calibrate.o) i CC ...
Aug 15, 3:06 am 2008
Sam Ravnborg
Re: [PATCH 0/3] ftrace: handle kernel code remove
recordmount.pl should use the already define environment variables: $CC + $CFLAGS $LD + $LDFLAGS $OBJCOPY, $OBJCOPYFLAGS $OBJDUMP We need to set $OBJCOPYFLAFS to a sensible variable in arch/x86/Makefile And we should introduce $OBJDUMPFLAGS too. This would solve all the problems - no? I am limited in time atm - so relying on one of you to create the patch and do some testing. Sam --
Aug 15, 1:02 pm 2008
Ingo Molnar
Re: [PATCH 0/3] ftrace: handle kernel code remove
applied to tip/tracing/ftrace - thanks Steve! I merged it into tip/master and started testing it. Ingo --
Aug 15, 2:28 am 2008
Steven Rostedt
[PATCH 0/3] ftrace: handle kernel code remove
The dynamic ftrace feature keeps a table of all the places that call mcount to either disable them (replacing them with nops) or to enable them (calling some trace function). This table of functions is also displayed to the user interface to let users enable or disable specific functions. This allows users to only trace some functions within the kernel. When a module or init sections are removed, the pointers to their locations still exist in this table. To protect against faults and writing ...
Aug 14, 7:47 pm 2008
Ingo Molnar
Re: [PATCH 0/3] ftrace: handle kernel code remove
updated hack - it now works on 64-bit too. ( Btw., whoever came up with those fantastic variations of BFD, architecture name and ELF format names and sprinkled them around various tools with different command line switches and variants and underscore versus dash names, must not be let near any serious open-source code base again, until the end of his life. ) Ingo -------------> From 9f982af9fb45c438415c2c411cda0d8f1e5f1bb7 Mon Sep 17 00:00:00 2001 From: Ingo Molnar ...
Aug 15, 3:14 am 2008
amruth
KGDB 2..26 fails to wait while booting
Hi I have created 2.6.26 kernel with KGDB enabled but the system fails to wait. Can anybody provide me detailed info on how to setup the grub configuration to wait until gdb connects from development machine. Thanks Amruth p.v --
Aug 14, 7:46 pm 2008
Dmitry Torokhov
Re: [git pull] Input updates for 2.6.27-rc0 (round 2)
Oops, that should read "Input updates for 2.6.27-rc3", damn mutt. -- Dmitry --
Aug 14, 7:30 pm 2008
Dmitry Torokhov
[git pull] Input updates for 2.6.27-rc0 (round 2)
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus or master.kernel.org:/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. You will get a bunch of small fixes, the change to evdev to print an warning abount invalid parameters to EVIOCGBIT ioctl and a new driver for Macbook Air touchpads. Changelog: --------- Andrew Morton (1): Input: xilinx_ps2 - fix warning Carlos Corbacho (1): ...
Aug 14, 7:28 pm 2008
Ingo Molnar
Re: [PATCH 3/7] x86: make 32bit support per_cpu vector fix #1
unrelated sidenote - shouldnt the scheduler define cpu_online_map to cpumask_of_cpu(0) on UP, to avoid such ugly #ifdefs? Ingo --
Aug 15, 1:21 am 2008
Yinghai Lu
[PATCH 6/7] x86: ordering functions in io_apic_32.c
try to make functions in the same order to io_apic_64.c Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/io_apic_32.c | 176 ++++++++++++++++++++++-------------------- 1 files changed, 93 insertions(+), 83 deletions(-) diff --git a/arch/x86/kernel/io_apic_32.c b/arch/x86/kernel/io_apic_32.c index e0f85b5..5639404 100644 --- a/arch/x86/kernel/io_apic_32.c +++ b/arch/x86/kernel/io_apic_32.c @@ -1029,23 +1029,6 @@ static int pin_2_irq(int idx, int apic, int pin) ...
Aug 14, 7:20 pm 2008
Yinghai Lu
Re: [PATCH 3/7] x86: make 32bit support per_cpu vector fix #1
copy that from mach_default... should double check if cpu_online_map is cpu_mask_of_cpu(0) if !CONFIG_SMP YH --
Aug 15, 1:29 am 2008
Yinghai Lu
Re: [PATCH 00/07] dyn_array/nr_irqs/sparse_irq support v ...
current arch code use irq_desc directly..., if need to irq_desc to them, need to provide set_irq(..., ...) YH --
Aug 15, 1:34 am 2008
Ingo Molnar
Re: [PATCH 3/7] x86: make 32bit support per_cpu vector fix #1
yeah. Separate clean-up patch i think. Ingo --
Aug 15, 1:51 am 2008
Ingo Molnar
Re: [PATCH 00/07] dyn_array/nr_irqs/sparse_irq support v ...
that's ok - we can do include/linux/irq_desc.h that isnt generally included by drivers via interrupt.h. Then later on we can eliminate that include file altogether. here's the current field usage histogram: 3 desc->action 3 desc->depth 9 desc->affinity 15 desc->chip 22 desc->status desc->status: mostly IRQ_MOVE_PENDING related. irq-balancing code should be abstracted into kernel/irq/* perhaps? desc->action / desc->depth / desc->action: i dont think ...
Aug 15, 1:51 am 2008
Ingo Molnar
Re: [PATCH 00/07] dyn_array/nr_irqs/sparse_irq support v ...
applied to tip/irq/sparseirq - thanks Yinghai, great work! What do you think about Eric's abstraction suggestion, that irq_desc's structure should be hidden from all but kernel/irq/* code. I think that's a sane suggestion. We do it in mm/slab.c too: no external code knows the structure of 'struct kmem_cache'. Ingo --
Aug 15, 1:27 am 2008
Yinghai Lu
[PATCH 2/7] x86: remove union about dest for log/phy
let user decide the bits. Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/io_apic_32.c | 18 +++++++----------- include/asm-x86/io_apic.h | 16 ---------------- 2 files changed, 7 insertions(+), 27 deletions(-) diff --git a/arch/x86/kernel/io_apic_32.c b/arch/x86/kernel/io_apic_32.c index 429889d..2d504fa 100644 --- a/arch/x86/kernel/io_apic_32.c +++ b/arch/x86/kernel/io_apic_32.c @@ -1230,7 +1230,7 @@ static int setup_ioapic_entry(int apic, int irq, ...
Aug 14, 7:20 pm 2008
Yinghai Lu
[PATCH 4/7] x86_64: rename irq_desc/irq_desc_with_new - fix
need to check if desc is null in smp_irq_move_cleanup Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/io_apic_64.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/io_apic_64.c b/arch/x86/kernel/io_apic_64.c index 4d1b02d..e4f03cc 100644 --- a/arch/x86/kernel/io_apic_64.c +++ b/arch/x86/kernel/io_apic_64.c @@ -1950,6 +1950,9 @@ asmlinkage void smp_irq_move_cleanup_interrupt(void) irq = __get_cpu_var(vector_irq)[vector]; ...
Aug 14, 7:20 pm 2008
Peter Zijlstra
Re: [PATCH 00/07] dyn_array/nr_irqs/sparse_irq support v ...
/me pokes a bit at kconfig dependancies, and yes, it seems you're right - lockstat doesn't require irq tracing.. --
Aug 15, 3:28 am 2008
Peter Zijlstra
Re: [PATCH 00/07] dyn_array/nr_irqs/sparse_irq support v ...
Nope, git suggests I poke you about it.. :-) commit 243c7621aac4ed1aa79524c9a1cecf7c05a28124 Author: Ingo Molnar <mingo@elte.hu> Date: Mon Jul 3 00:25:06 2006 -0700 [PATCH] lockdep: annotate genirq Teach special (recursive) locking code to the lock validator. Has no effect on non-lockdep kernels. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> ...
Aug 15, 3:00 am 2008
Yinghai Lu
[PATCH 1/7] x86: some debug info for 32bit sparse_irq
so could figure out who get interrupt, but vector_irq is not initialized. Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/io_apic_32.c | 8 ++++++-- arch/x86/kernel/io_apic_64.c | 2 ++ arch/x86/kernel/irq_32.c | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/arch/x86/kernel/io_apic_32.c b/arch/x86/kernel/io_apic_32.c index 9e111d6..429889d 100644 --- a/arch/x86/kernel/io_apic_32.c +++ b/arch/x86/kernel/io_apic_32.c @@ -1120,8 ...
Aug 14, 7:20 pm 2008
Yinghai Lu
[PATCH 5/7] x86: make 32bit support per_cpu vector fix #2
need to check if desc is null in smp_irq_move_cleanup also migration need to reset vector too, so copy __target_IO_APIC_irq from 64bit Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/io_apic_32.c | 188 +++++++++++++++++++++++++---------------- 1 files changed, 115 insertions(+), 73 deletions(-) diff --git a/arch/x86/kernel/io_apic_32.c b/arch/x86/kernel/io_apic_32.c index 2d504fa..e0f85b5 100644 --- a/arch/x86/kernel/io_apic_32.c +++ ...
Aug 14, 7:20 pm 2008
Yinghai Lu
[PATCH 7/7] x86: ordering functions in io_apic_64.c
try to make functions in the same order Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/io_apic_64.c | 67 ++++++++++++++++++++--------------------- 1 files changed, 33 insertions(+), 34 deletions(-) diff --git a/arch/x86/kernel/io_apic_64.c b/arch/x86/kernel/io_apic_64.c index e4f03cc..a14c29e 100644 --- a/arch/x86/kernel/io_apic_64.c +++ b/arch/x86/kernel/io_apic_64.c @@ -409,40 +409,6 @@ static bool io_apic_level_ack_pending(unsigned int irq) return false; ...
Aug 14, 7:20 pm 2008
Ingo Molnar
Re: [PATCH 00/07] dyn_array/nr_irqs/sparse_irq support v ...
muhaha - i dont even know that guy who did this sloppy commit 2 years ago - "Ingo Molnar", or however he is called. I believe my (mistaken) thinking would have been that desc->irq lockdep class does not matter as long as we dont do irq-tracing. Which might have been borderline correct then but is wrong now, for things like lockstat? Ingo --
Aug 15, 3:19 am 2008
Yinghai Lu
[PATCH 00/07] dyn_array/nr_irqs/sparse_irq support v10 - fix
fix the 32bit with bigsmp fix 64 bit with irq migration ordering functions in io_apic_xx.c to do: merge io_apic_xx.c Thanks Yinghai Lu --
Aug 14, 7:20 pm 2008
Yinghai Lu
[PATCH 3/7] x86: make 32bit support per_cpu vector fix #1
use cpu_online_map as target cpus for bigsmp. just like 64 bit doing also remove some unused TARGET_CPUS macro. Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- include/asm-x86/bigsmp/apic.h | 15 +++++---------- include/asm-x86/es7000/apic.h | 3 +-- include/asm-x86/numaq/apic.h | 2 -- include/asm-x86/summit/apic.h | 1 - 4 files changed, 6 insertions(+), 15 deletions(-) diff --git a/include/asm-x86/bigsmp/apic.h b/include/asm-x86/bigsmp/apic.h index 0a9cd7c..1d9543b ...
Aug 14, 7:20 pm 2008
Ingo Molnar
Re: [PATCH 00/07] dyn_array/nr_irqs/sparse_irq support v ...
btw., one new thing i got in testing due to irq/sparseirq is this new lockdep splat: [ 0.000000] Initializing CPU#0 [ 0.000000] found new irq_desc for irq 0 [ 0.000000] INFO: trying to register non-static key. [ 0.000000] the code is fine but needs lockdep annotation. [ 0.000000] turning off the locking correctness validator. [ 0.000000] Pid: 0, comm: swapper Not tainted 2.6.27-rc3-tip-00191-g98ccb89-dirty #1 [ 0.000000] [<c0153c22>] register_lock_class+0x3d2/0x400 [ ...
Aug 15, 2:35 am 2008
Yinghai Lu
Re: [PATCH 00/07] dyn_array/nr_irqs/sparse_irq support v ...
can you check if #ifdef CONFIG_TRACE_IRQFLAGS void early_init_irq_lock_class(void) { #ifndef CONFIG_HAVE_DYN_ARRAY int i; for (i = 0; i < nr_irqs; i++) lockdep_set_class(&irq_descX[i].lock, &irq_desc_lock_class); #endif } #endif in kernel/irq/handle.c is right too? YH --
Aug 15, 10:07 am 2008
Andi Kleen
Please pull ACPI fixes
Linus, Please pull the latest ACPI fixes from git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-acpi-2.6.git release-2.6.27 Now finally with a octopus merge, hopefully I'm a cool kid too now. -Andi Andi Kleen (1): Merge branches 'acpica-release-fixes', 'ec-fix', 'dock', 'irq-bounds', 'thermal-fix', 'wmi' and 'acpi-cleanups' into release-2.6.27 Bjorn Helgaas (1): ACPI: bounds check IRQ to prevent memory corruption Bob Moore (2): ACPICA: Fix memory leak ...
Aug 14, 7:07 pm 2008
Linus Torvalds
Re: Please pull ACPI fixes
Yup, you're in the cool kid camp now, and this looks like the ACPI merges I remember from yore. Thanks, Linus --
Aug 15, 9:28 am 2008
Dmitry Torokhov
Re: [PATCH/RFC] Resolve 2 year old issue with different ...
Hi Neil, I don't think this is a viable solution - there are other "good" handlers beisdes evdev, such as rfkill-input, which will still get disabled by the "lightweight" grabs. Overall I think it is application's responsibility to not use multiplexing devices if they use evdev, bit I can consider adding a new interface (maybe another ioctl) that would disable event delivery though certain interfaces for a device. -- Dmitry --
Aug 14, 7:24 pm 2008
Neil Brown
[PATCH/RFC] Resolve 2 year old issue with different dem ...
I'll let the comments in the patch below to most of the talking. This came up because I wanted to use EVIOCGRAB in some code on an Openmoko Freerunner, and found that EVIOCGRAG does different things on that kernel to elsewhere. I looked into why, and found that there was a good reason but that the issues hadn't been completely resolved. I hope to help resolve the issues so that EVIOCGRAB can behave the same everywhere, and still meet everybody's needs. I would have Cc:ed to Magnus Vigerlof ...
Aug 14, 7:02 pm 2008
Vegard Nossum
Re: [PATCH -tip] x86_64: uml: fix rename header guard
On Fri, Aug 15, 2008 at 2:25 AM, Hiroshi Shimamoto I guess I screwed up again. Forgot to look for #undefs :-( Thanks, and acked. 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 --
Aug 14, 11:33 pm 2008
Ingo Molnar
Re: [PATCH -tip] x86_64: uml: fix rename header guard
applied to tip/x86/core - thanks! Ingo --
Aug 15, 3:25 am 2008
Hiroshi Shimamoto
[PATCH -tip] x86_64: uml: fix rename header guard
From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> In unistd_64.h, the guard macro _ASM_X86_64_UNISTD_H_ is renamed to ASM_X86__UNISTD_64_H. This change should be applied to arch/um/sys-x86_64/syscall_table.c. Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> --- arch/um/sys-x86_64/syscall_table.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/um/sys-x86_64/syscall_table.c b/arch/um/sys-x86_64/syscall_table.c index c128eb8..32f5fbe ...
Aug 14, 5:25 pm 2008
Ingo Molnar
Re: [PATCH -tip] x86_64: uml: fix rename header guard
that's OK from a change of this width. And the #undefs are definitely #unnice as well. Ingo --
Aug 15, 4:37 am 2008
John W. Linville
Re: ath5k on the Acer Aspire One
2425 stuff went in after 2.6.26 was already released. Try linux-2.6.git. John -- John W. Linville linville@tuxdriver.com --
Aug 15, 6:52 am 2008
Ingo Molnar
Re: [PATCH] msr: Fix NULL pointer deref due to msr_open ...
applied to tip/x86/urgent - thanks Darrick. Ingo --
Aug 15, 4:38 am 2008
Jonathan Corbet Aug 15, 7:57 am 2008
Ingo Molnar
Re: [PATCH] ftrace: use only 5 byte nops for x86
ok. I've applied Steve's patch as it's a good bugfix. The extra paranoia about faulting on 0x90 seems excessive but doesnt hurt ;-) Ingo --
Aug 15, 2:22 am 2008
H. Peter Anvin
Re: [PATCH] ftrace: use only 5 byte nops for x86
There is that, too. The two are orthogonal. -hpa --
Aug 15, 3:52 pm 2008
H. Peter Anvin
Re: [PATCH] ftrace: use only 5 byte nops for x86
I think what we need to do is to test the NOPL instruction and create a Linux-specific CPUID bit for it. I'll do that and submit to tip:x86/cpu. -hpa --
Aug 15, 3:30 pm 2008
Linus Torvalds
Re: [PATCH] ftrace: use only 5 byte nops for x86
I also suspect that we'd really be much better off just fixing the generic NOP tables for the 5-byte nop. As far as I could tell, from all the numbers that have been posted, absolutely _none_ show that there is any point at all to the 2-instruction 3/2-byte sequence. So instead of having a magic special ftrace-only thing, why not just do it right, and fix the generic 5-byte nop sequence? Linus --
Aug 15, 3:44 pm 2008
Jeremy Fitzhardinge
Re: [PATCH] ftrace: use only 5 byte nops for x86
Well, there's two distinct issues here. There's the need for a single-instruction 5 byte nop, and the need for efficient nops. It so happens in this case that they're the same thing. But in general, the generic nop interface is intended to return the most efficient nop, not an atomic nop (or with any other properties). To handle it generically, we'd either need to redefine the meaning of the existing nop-padding interface, or add an "atomic nop" interface. J --
Aug 15, 3:50 pm 2008
Rafael J. Wysocki
Re: [PATCH 2/3] Adapt the sky2 driver to the reworked PCI PM
BTW, if device_can_wakeup(&pdev->dev) returns 'false', pci_enable_wake(pdev, state, true) will fail for any 'state', so the wake-up won't work regardless of the change above. Thanks, Rafael --
Aug 15, 6:32 am 2008
Rafael J. Wysocki
Re: [PATCH 2/3] Adapt the sky2 driver to the reworked PCI PM
device_can_wakeup() returns 'true' if the device is capable of generating PME# from at least one low power state (this is determined on the basis of the contents of the device's PCI PM registers - please have a look at drivers/pci/pci_pm_init() for details) or if ACPI tells us it can wake up. IOW, the BIOSes opinion doesn't matter if we find that the device is capable of generating PME#, so the regression must have been related to something else. I'm very interested in the details, if ...
Aug 15, 6:01 am 2008
Stephen Hemminger
Re: [PATCH 2/3] Adapt the sky2 driver to the reworked PCI PM
On Fri, 15 Aug 2008 15:32:13 +0200 Okay, the problem was false positives from ACPI. It looks like this won't make the problem any worse. --
Aug 15, 9:15 am 2008
Rafael J. Wysocki Aug 15, 6:07 am 2008
Linus Torvalds
Re: [PATCH] x86 alternatives : fix LOCK_PREFIX race with ...
Ok, so I think this is an _excellent_ patch, but I'd like to also then use LOCK_PREFIX in include/asm-x86/futex.h. See commit 9d55b9923a1b7ea8193b8875c57ec940dc2ff027. Linus --
Aug 15, 9:06 am 2008
H. Peter Anvin
Re: [PATCH] x86 : spinlock use LOCK_PREFIX
Full patch series applied to tip:x86/alternatives; we'll migrate it to tip:x86/urgent for upstream delivery after some testing. -hpa --
Aug 15, 1:27 pm 2008
Mathieu Desnoyers
[PATCH] x86 : revert replace LOCK_PREFIX in futex.h
Depends on : x86 alternatives : fix LOCK_PREFIX race with preemptible kernel and CPU hotplug Ok, so I think this is an _excellent_ patch, but I'd like to also then use LOCK_PREFIX in include/asm-x86/futex.h. See commit 9d55b9923a1b7ea8193b8875c57ec940dc2ff027. Linus Applies to 2.6.27-rc2 (and -rc3 unless hell broke loose in futex.h between rc2 and rc3). Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: Linus Torvalds ...
Aug 15, 9:45 am 2008
Mathieu Desnoyers
[PATCH] x86 : spinlock use LOCK_PREFIX
x86 : spinlock use LOCK_PREFIX Unless there a rationale for this, I think these be changed to LOCK_PREFIX too. grep "lock ;" include/asm-x86/spinlock.h "lock ; cmpxchgw %w1,%2\n\t" asm volatile("lock ; xaddl %0, %1\n" "lock ; cmpxchgl %1,%2\n\t" Applies to 2.6.27-rc2. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: Linus Torvalds <torvalds@linux-foundation.org> CC: H. Peter Anvin <hpa@zytor.com> CC: Jeremy Fitzhardinge <jeremy@goop.org> CC: ...
Aug 15, 9:56 am 2008
Linus Torvalds Aug 15, 10:31 am 2008
Aristeu Rozanski
Re: [PATCH] NMI: fix watchdog failure message
a lot better. thanks Ingo -- Aristeu --
Aug 15, 7:02 am 2008
Aristeu Rozanski
[PATCH] NMI: fix watchdog failure message
while at it... Signed-off-by: Aristeu Rozanski <aris@redhat.com> --- arch/x86/kernel/nmi.c | 4 ++++ 1 file changed, 4 insertions(+) --- linus-2.6.orig/arch/x86/kernel/nmi.c 2008-08-12 11:13:35.000000000 -0400 +++ linus-2.6/arch/x86/kernel/nmi.c 2008-08-15 08:33:57.000000000 -0400 @@ -142,11 +142,15 @@ int __init check_nmi_watchdog(void) if (!per_cpu(wd_enabled, cpu)) continue; if (get_nmi_count(cpu) - prev_nmi_count[cpu] <= 5) { + printk("\n"); printk(KERN_WARNING ...
Aug 15, 5:36 am 2008
Ingo Molnar
Re: [PATCH] NMI: fix watchdog failure message
applied to tip/x86/urgent, thanks Aristeu. I've also done the cleanup below - those ugly linebreaks are gone this way as well. Ingo ----------------------> From 8bb851900f5d0a79d3fddac808cc670d9894ef67 Mon Sep 17 00:00:00 2001 From: Ingo Molnar <mingo@elte.hu> Date: Fri, 15 Aug 2008 15:34:32 +0200 Subject: [PATCH] x86, nmi: clean UP NMI watchdog failure message clean up the failure message - and redirect people to bugzilla instead of lkml. Signed-off-by: Ingo Molnar ...
Aug 15, 6:36 am 2008
Aristeu Rozanski
Re: [PATCH] perfctr: don't use CCCR_OVF_PMI1 on Pentium 4Ds
it just won't work at boot time - the second logic unit will be stuck: Booting processor 1/2 APIC 0x1 Initializing CPU#1 Calibrating delay using timer specific routine.. 5586.12 BogoMIPS (lpj=2793063) CPU: Trace cache: 12K uops, L1 D cache: 16K CPU: L2 cache: 1024K CPU: Physical Processor ID: 0 CPU: Processor Core ID: 1 CPU1: Thermal monitoring enabled (TM1) Intel(R) Pentium(R) D CPU 2.80GHz stepping 04 Brought up 2 CPUs testing NMI watchdog ... <4>WARNING: CPU#1: NMI appears ...
Aug 15, 5:16 am 2008
Ingo Molnar
Re: [PATCH] perfctr: don't use CCCR_OVF_PMI1 on Pentium 4Ds
btw., what was the effect - an oops on bootup, or a non-working applied to tip/x86/urgent - thanks Aristeu. Ingo --
Aug 15, 4:59 am 2008
Marcin Slusarz
Re: [PATCH v2 0/6] ftrace: to kill a daemon (small updates)
I don't remember testing any patch for my bug... ;) For which tree this patchset is? I tried to apply it on rc3, rc3+tip/tip and rc3+tip/master and all failed. Marcin --
Aug 15, 5:36 am 2008
Steven Rostedt
Re: [PATCH v2 0/6] ftrace: to kill a daemon (small updates)
Ah, Bruce reported the same error, and said this patch series fixed it. I assumed that this would fix your bug too. But if it does not, then I need to look deeper into what you are reporting. Could you recheck-out the latest tip/master and see if it works for you. Thanks, -- Steve --
Aug 15, 5:50 am 2008
Marcin Slusarz
Re: [PATCH v2 0/6] ftrace: to kill a daemon (small updates)
Ok, I tried tip/master and resume from suspend to ram works again. Thanks! Marcin --
Aug 15, 6:35 am 2008
Gregory Haskins
Re: [PATCH v2 0/6] ftrace: to kill a daemon (small updates)
(From the original mail) ^^^^^^^^^^ I obviously agree with this, so +1 Though, tbh, at the time I suggested it I didn't think of Steve's idea=20 to post-process which was quite clever. But I do agree that having gcc=20 do it will probably save some build time since it will probably be=20 trivial for it to do this when already processing -pg. It would have the = added benefit of letting the arch specific toolchain do the arch=20 specific work (though I think Steve's solution capitalizes ...
Aug 15, 4:22 am 2008
Ingo Molnar
Re: [PATCH v2 0/6] ftrace: to kill a daemon (small updates)
i like this concept alot - i've applied the whole lot to tip/tracing/ftrace. Eventually gcc should be extended to provide a separate section for instrumentation patch sites, instead of us having to disassemble the object code. That would also make the ftrace build faster. Any gcc folks interested in that? Ingo --
Aug 15, 2:24 am 2008
Ingo Molnar
Re: silence mmconfig printk.
applied to tip/x86/urgent - thanks Dave. Ingo --
Aug 15, 4:52 am 2008
Takashi Iwai
Re: ALC883 recording troubles...
At Thu, 14 Aug 2008 20:10:03 +0100, Could you try the patch below? With this patch, unused connections will be disabled. Let me know if it really works so that I can merge it to git tree. Takashi --- diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 9473abb..6f0485a 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -6442,6 +6442,40 @@ static void alc882_auto_init_analog_input(struct hda_codec *codec) } } +static ...
Aug 15, 7:42 am 2008
Daniel J Blueman
Re: ALC883 recording troubles...
Hi Takashi, There were a couple of issues: getting the mute logic right from moving the assignment and increasing the number of inputs beyond the 11 required here to avoid the 'Too many connections' message and fixing the last input being skipped. With the updated patch, the problem is fully addressed; no resulting DC offset, so recording quality is great. This seems logically safe and a hopeful for 2.6.27-rc4... The updated patch is against 2.6.27-rc3. Thanks once again, ...
Aug 15, 3:01 pm 2008
Mel Gorman
Re: [regression?] [resend] Memory zone info seems incomp ...
Assuming you mean the "used for memmap" message, it is being surpressed by the mminit debugging framework which converted a number of printks to mminit_dprintk. The expectation was that they were not generally useful messages except when debugging memory init problems. They would show up The decrease in pages could be accounted for by either a larger memmap (unlikely unless the size of struct page has changed) or a larger reserve needed for the kernel image which is possible if more debugging ...
Aug 15, 3:05 am 2008
Al Viro
Re: oops in proc_sys_compare
Bloody interesting. We never create negative hashed dentries in there and AFAICS we should never get d_delete() called on those... Missing barrier would mean serious trouble in dcache.c and not just for /proc/sys... Are you sure about oops decoding? At least disassembly of proc_sys_compare() in the kernel image in question would be nice to see... --
Aug 14, 9:51 pm 2008
Hugh Dickins
Re: oops in proc_sys_compare
Here it is: I'd changed config meanwhile, so this is from a rebuild, but symbol addresses fit exactly with the trace (and the 2.6.27-rc1-mm1 fs/proc/proc_sysctl.c is identical to that in 2.6.27-rc3 or current git). I did try "objdump -Sd" at first, but that just looked more confusing. c000000000121e7c <.proc_sys_compare>: proc_sys_compare(): /home/hugh/26271E1/fs/proc/proc_sysctl.c:383 c000000000121e7c: 7c 08 02 a6 mflr r0 c000000000121e80: fb e1 ff f0 std ...
Aug 14, 11:48 pm 2008
Ingo Molnar
Re: [PATCH 0/4] AMD IOMMU updates for 2.6.27-rc3
applied to tip/x86/amd-iommu - and merged into tip/x86/urgent as well for v2.6.27. Thanks Joerg, Ingo --
Aug 15, 4:57 am 2008
Ulrich Drepper
Re: AT_EXECFN not useful
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 It is not possible to use the raw path provided. One _always_ would have to canonicalize the path (call realpath etc). That's terribly The information is always correct when it is provided. If the file goes away then the AT_EXECFN use case also fails since realpath fails, or The only case where AT_EXECFN has an advantage is when /proc isn't mounted. That's not supported anyway because this is the only way for many things how the kernel ...
Aug 15, 4:59 pm 2008
John Reiser
Re: AT_EXECFN not useful
AT_EXECFN does provide one actual path, namely the one that was passed to namei. This path works for some uses and some cases, including some uses and some cases of $ORIGIN. The path which sometimes is revealed by readlink("/proc/self/exe",) also works for some uses and some cases, including some uses and some cases of $ORIGIN. Neither /proc/self/exe Please provide a statement or citation which describes "the problem with AT_EXECFN is useful when readlink("/proc/self/exe",) ...
Aug 14, 10:10 pm 2008
James Cloos
Re: Would it be better for git-commits-head to have -M - ...
>>>>> "David" == David Woodhouse <dwmw2@infradead.org> writes: JimC> I think it would also be useful were the From: header of each JimC> message set to the commit's Author. I run each commit through a JimC> script to do that locally, but the archives would also benefit JimC> from that. David> It would be nice, but I'm not sure it's a good idea. They aren't David> always valid email addresses. Maybe a Reply-To: header, rather David> than From: ? I'd still need to pass them through the ...
Aug 15, 4:31 am 2008
Tilman Schmidt
Re: PM_TRACE is no longer experimental
It might be stable, but its effect of trashing the RTC makes it unsuitabl= e for non-experimental use. Therefore I'd prefer the dependency be kept. Thanks, Tilman
Aug 15, 10:11 am 2008
Dave Jones
Re: PM_TRACE is no longer experimental
On Fri, Aug 15, 2008 at 07:11:36PM +0200, Tilman Schmidt wrote: > On 14.08.2008 17:18 Pavel Machek wrote: > > PM_TRACE is stable for quite long. I don't think it needs to depend on > > experimental. > > It might be stable, but its effect of trashing the RTC makes it unsuitable > for non-experimental use. Therefore I'd prefer the dependency be kept. It only does that if you boot with command line options to enable it. Besides, CONFIG_EXPERIMENTAL was always about code maturity, not ...
Aug 15, 1:34 pm 2008
Nigel Cunningham
Re: PM_TRACE is no longer experimental
Hi. I think you're confusing 'experimental' and 'debugging'. You certainly wouldn't want to use it routinely, but that doesn't mean it's still an experimental feature. Regards, Nigel --
Aug 15, 3:34 pm 2008
Ingo Molnar
Re: arch/x86/Kconfig: clean up, experimental adjustement
thanks, applied to tip/x86/urgent. (I left out the stackprotector bit as that is already changed in tip/stackprotector) Ingo --
Aug 15, 5:07 am 2008
Yinghai Lu
Re: [PATCH 00/53] dyn_array/nr_irqs/sparse_irq support v10
On Thu, Aug 14, 2008 at 5:11 PM, Eric W. Biederman TARGET_CPUS only used by ioapic_xx.c now 32bit and 64bit is the same page now... (bigsmp == phys_flat)... will continue to merge io_apic_xx.c YH --
Aug 14, 5:49 pm 2008
Eric W. Biederman
Re: [PATCH 00/53] dyn_array/nr_irqs/sparse_irq support v10
Which is a bug for lowest priority delivery mode. But you said Hmm. In that case I will ask that you look at all of the pieces of irq migration code, and make certain that they have all come from x86_64. There were a lot of little changes that had to be made. If this is an irq migration problem it should be easy to find, by stressing irq migration in user space. You probably want to turn off the in kernel irq balancer while debugging this. Eric --
Aug 14, 6:01 pm 2008
Ingo Molnar
Re: [PATCH 00/53] dyn_array/nr_irqs/sparse_irq support v10
yes - but in the end we should remove all the #ifdefs and try to hide well in the worst case just static array - but lets use the same APIs on them in .c files. i.e. we can make this all gradual and compatible - and we can allow dual use of old-style irq_desc[] _and_ the new APIs in the same kernel even (so that old architectures will work just fine, even if not touched) - ok. The suggestion from Eric is still valid, to use 0xffff0000, to exclude small negative numbers. (so ...
Aug 15, 5:18 am 2008
Yinghai Lu
Re: [PATCH 00/53] dyn_array/nr_irqs/sparse_irq support v10
On Thu, Aug 14, 2008 at 6:01 PM, Eric W. Biederman yes, done. now it is same as 64 bit. YH --
Aug 14, 6:41 pm 2008
Eric W. Biederman
Re: [PATCH 00/53] dyn_array/nr_irqs/sparse_irq support v10
Note: Only vector_allocation_domain matters. That is where we setup the irq to be received. TARGET_CPUS is just a request to send the irq to someplace in that mask. Eric --
Aug 14, 6:09 pm 2008
Eric W. Biederman
Re: [PATCH 00/53] dyn_array/nr_irqs/sparse_irq support v10
Cool. I'm now off until monday. Hopefully I can post some patches and we can have a good debate then. Eric --
Aug 14, 7:33 pm 2008
Eric W. Biederman
Re: [PATCH 00/53] dyn_array/nr_irqs/sparse_irq support v10
Set vector_allocation_domain to CPU_MASK_ALL on 32bit. That doesn't give us the benefit of per cpu vectors right now, but in my research there has not been a 32bit kernel yet that has needed it. We have never shared vectors between 2 gsi on 32bit x86, we have only collapsed the irq space. On x86_64 before I did the per cpu vectors there were machines that combined multiple interrupt sources (gsi) into the same irq. So x86_64 has needed the per cpu vectors. Which means in practice that ...
Aug 14, 5:11 pm 2008
Bill Fink
Re: HPET regression in 2.6.26 versus 2.6.25 -- why Yingh ...
Hi David, I wonder if it would help to revert both the 3def3d6d... and 1e934dda... commits. If there are 2 (or more) problematic commits, then of course it wouldn't help to revert just one of the two commits. This is one of the nastiest type of debugging scenario, when there is more than one cause of the observed problem, although in such case the multiple causes are often related in some way. -Bill --
Aug 15, 1:10 am 2008
Fernando Luis
Re: [PATCH]lockd: fix handling of grace period after lon ...
Hi Bruce! Yes, we did find this problem in production. More often than one would wish, installing new software in a system that has been running without a hiccup for weeks or months is the only thing you will need to bring For simplicity I think we could we get Nakano-san's patch merged first. If needed, moving to a work-based solution should be relatively easily. Thank you for you comments! - Fernando --
Aug 14, 6:32 pm 2008
David Miller
Re: bug in lmb_enforce_memory_limit()
From: Michael Ellerman <michael@ellerman.id.au> Sounds great. Mind if I push the following to Linus? lmb: Fix reserved region handling in lmb_enforce_memory_limit(). The idea of the implementation of this fix is from Michael Ellerman. This function has two loops, but they each interpret the memory_limit value differently. The first loop interprets it as a "size limit" whereas the second loop interprets it as an "address limit". Before the second loop runs, reset memory_limit to ...
Aug 15, 3:25 pm 2008
Andi Kleen
Re: linux-next: Tree for August 14 (sysfs/acpi errors)
I doubt that would help because module_param()s are always registered even with acpi=off. They are not really processed by ACPI, but by kernel/params.c -Andi --
Aug 14, 8:11 pm 2008
Kay Sievers
Re: linux-next: Tree for August 14 (sysfs/acpi errors)
Hi Randy, care to add a printk to the module sysfs setup, and post dmesg again? --- a/kernel/params.c +++ b/kernel/params.c @@ -603,6 +603,8 @@ static void __init param_sysfs_builtin(void) } name_len = dot - kp->name; + printk("XXX adding modparam:'%s' %i (%p)\n", kp->name, i, kp); + /* new kbuild_modname? */ if (strlen(modname) != name_len || strncmp(modname, kp->name, name_len) != 0) { I might show the order of registering the /sys/modules/ directory, and if ...
Aug 15, 4:27 am 2008
Andi Kleen
Re: linux-next: Tree for August 14 (sysfs/acpi errors)
The NULL pointer reference further down actually looks like something foolish in the sysfs layer. But actually ACPI is not doing anything wrong here I think. According to the backtrace it happens when a kernel param (aka module_param) is set. And creating multiple params in the same acpi space is completely legal. It looks more like the high level code that sets up these parameters broke somehow and starts registering these twice and now ACPI is the first one to hit it (maybe because it ...
Aug 14, 7:56 pm 2008
Zhang Rui
Re: linux-next: Tree for August 14 (sysfs/acpi errors)
Please attach the full dmesg output. thanks, rui --
Aug 14, 7:41 pm 2008
Randy Dunlap
Re: linux-next: Tree for August 14 (sysfs/acpi errors)
--- ~Randy Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA http://linuxplumbersconf.org/
Aug 14, 7:46 pm 2008
Zhang Rui
Re: linux-next: Tree for August 14 (sysfs/acpi errors)
Perhaps we could try "acpi=off" and see if it still happens. thanks, rui --
Aug 14, 8:09 pm 2008
Randy Dunlap
Re: linux-next: Tree for August 14 (sysfs/acpi errors)
Done. Full boot log is attached. Extract is: XXX adding modparam:'acpi.power_nocheck' 34 (ffffffff806a4cf0) XXX adding modparam:'processor.latency_factor' 35 (ffffffff806a4d18) XXX adding modparam:'processor.nocst' 36 (ffffffff806a4d40) XXX adding modparam:'processor.max_cstate' 37 (ffffffff806a4d68) XXX adding modparam:'processor.ignore_ppc' 38 (ffffffff806a4d90) XXX adding modparam:'thermal.psv' 39 (ffffffff806a4db8) XXX adding modparam:'thermal.off' 40 (ffffffff806a4de0) XXX adding ...
Aug 15, 8:58 am 2008
Hugh Dickins
Re: kernel BUG at lib/radix-tree.c:473!
Yes, that's it. I think it was ext2 I referred to, when I worried about this when making the change to tmpfs; and my reading of it was that ext2 left a device node's a_ops unset, as I was changing tmpfs to do. (Looking at it again, ext2 doesn't even specify its .set_page_dirty, so even if it had assigned an a_ops, it wouldn't have avoided the default behaviour.) But I'd like to hear what actually happens in practice, rather than relying on my reading. Hugh --
Aug 14, 5:00 pm 2008
Ingo Molnar
Re: [PATCH 2.6.27-rc3 26/29] mdb: export task_curr
FYI, there's a built-in kernel debugger in the upstream kernel already: kernel/kgdb.c - and it does not need that export. So if you are interested in kernel debuggers i'd suggest to work with the KGDB folks to extend it with whatever feature-set is missing. They are friendly, very easy to work with and are open to the thousands-of-years-old scientific method of not duplicating effort, working together, going forward gradually, etc. Ingo --
Aug 15, 5:25 am 2008
jmerkey
Re: [PATCH 2.6.27-rc3 26/29] mdb: export task_curr
Ingo, The patches are submitted so you can stop putting words in my mouth. If it goes in, it goes in -- its submitted. Your comment about this export and comparing it to kgdb demonstrates 1) you have never even looked at the code of either debugger in this area 2) you were unaware I did not need this exported except as a module 3) which kgdb and kdb do not support either. A maintainer would be expected to actually review the code. Its clear from the comments above you have not, so I see ...
Aug 15, 9:26 am 2008
jmerkey
Re: [PATCH 2.6.27-rc3 26/29] mdb: export task_curr
I removed the export from this file and will resubmit the patch series. This will remove you from the decision list for this patch series. What other files do you claim to maintain so I can make certain remove them from my patches? Thanks Jeff --
Aug 15, 10:14 am 2008
Ingo Molnar
Re: [PATCH 2.6.27-rc3 26/29] mdb: export task_curr
doing things alone is your unalienable personal right, and since thus you apparently didnt intend your patch to be included in the Linux kernel that's as far as my interest in this as a maintainer goes. Thanks, Ingo --
Aug 15, 9:39 am 2008
jmerkey
Re: [PATCH 2.6.27-rc3 26/29] mdb: export task_curr
Sorry, but I have my own path and direction, and its not as a tin can on a strong tied to the tail of kdb or kgdb. Again, it matters not what's in Linus' tree or not, but whether this is useful to others and they use it. From what I have seen based on the non-stop downloads from my FTP server, its needed for certain classes of users -- me included. I will continue to enhance it, release it, and move it forward. kdb and kgdb can go their way. I'm certain my code is being reviewed as we ...
Aug 15, 8:58 am 2008
jmerkey
Re: [PATCH 2.6.27-rc3 26/29] mdb: export task_curr
I do not need this export either -- unless mdb runs as a kernel module - which kdb and kgdb cannot do today ... --
Aug 15, 9:13 am 2008
Dmitry Torokhov
Re: [PATCH] Make Dell keyboard repeat quirk apply to a w ...
Applied to 'next', thank you Matthew. -- Dmitry --
Aug 15, 12:04 pm 2008
Ingo Molnar
Re: [PATCH] HPET: Workaround for a BIOS workaround on AM ...
it's all fine - it's queued up for v2.6.27 merging, in a few days. You might want to check the end result in tip/master: http://people.redhat.com/mingo/tip.git/README Ingo --
Aug 15, 5:27 am 2008
crane cai
Re: [PATCH] HPET: Workaround for a BIOS workaround on AM ...
Hi Thomas, Your modification has been checked OK on our SB700 platform. Thank you. Now could you help us to merge your patch to kernel source? Or do I need to resubmit a patch on it? Best regards, - Crane --
Aug 14, 7:09 pm 2008
Dmitry Torokhov
Re: [PATCH 3/3] OLPC: touchpad driver (take 2)
Hi Andres, Hmm, I guess we'll never see 2 such devices in one box, but still moving We should not return success if we can't detect the same hardware. I think if olpc_board_at_least(olpc_board(0xb2) fails we need to return Any particular reason you didn't use PSMOUSE_DEFINE_ATTR? Then you would not need to bother with pinning the driver and provode mutual exclusion with other things. Btw, what do we do if device is powered down an user tries to change some settings via generic ...
Aug 14, 8:14 pm 2008
Pavel Machek
Re: [malware-list] TALPA - a threat model? well sorta.
Me thinks about naming my machine host-inline-real-virus-or-at-least-identifiable-part-here.cz, then having fun with people not able to access their apache logs. Returning an error when you think you see a virus is a great invitation to DoS attack, really. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html --
Aug 15, 7:37 am 2008
Johannes Weiner
Re: [malware-list] TALPA - a threat model? well sorta.
Hi, 2b could also be used as a general lazy scanning mechanism, no? If there is a new signature or the file is dirty or unknown, scan it. Always. So this should all just be one case, no? Hannes --
Aug 14, 10:12 pm 2008
david
RE: [malware-list] TALPA - a threat model? well sorta.
the threat model that was posted two days ago in the initial message of this thread specificly stated that actions of root are not something that this is trying to defend against. David Lang --
Aug 15, 10:33 am 2008
Eric Paris
Re: [malware-list] TALPA - a threat model? well sorta.
So here's where I run into trouble. Lets assume I want to be helpful and engineer in a vacuum for this unknown HSM user as well. Clearly file scanners need the file to be there which means the inode ("on disk" kind) needs to be there and stuff like that. I assume that the HSM user is going to need to hook long before these things even exist. Where would they need to hook? Should I just design for my own needs and include stacking and a priority number and hopefully the HSM people can use ...
Aug 14, 8:25 pm 2008
Arjan van de Ven
Re: [malware-list] TALPA - a threat model? well sorta.
On Fri, 15 Aug 2008 16:16:22 -0400 I believe more that we need block-on-read ;-) (on open we can start an async scan to cut latency) read() (or mmap etc) is where the actual use/transfer of contaminated data happens, not in the open. -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Aug 15, 3:05 pm 2008
david
Re: [malware-list] TALPA - a threat model? well sorta.
this depends on the policy in userspace. you could: 1. plan on doing all scanning as files are opened (this is going to be noticable to users) 2. run the background scanner continuously as a low priority (as soon as you finish one scan, do the next) 3. do one background scan when you get a new signature, and after you complete that only scan files that change. and probably others #3 has the advantage that the only time a user will hit a delay when opening a file is if the ...
Aug 14, 10:28 pm 2008
david
RE: [malware-list] TALPA - a threat model? well sorta.
according to the threat model actions of the administrator do not matter. David Lang --
Aug 15, 9:25 am 2008
Theodore Tso
Re: [malware-list] TALPA - a threat model? well sorta.
Let's go back to the threat model. The Threat Model which Eric Paris has suggested is that we are only trying to solve the Scanning Problem. Just Scanning. That implies if the malware has been written to the disk, we will catch it once AV catching is turned on and the user attempts to run or otherwise access the file with the bad content. However, if the malware starts running, then regardless of whether the malware is running with user privileges, or manages to get root privileges ...
Aug 15, 10:04 am 2008
Valdis.Kletnieks
Re: [malware-list] TALPA - a threat model? well sorta.
This problem is actually identical to "new file scanned, but you don't have the signature available yet so malware isn't detected". Those of us who have seen large mail servers pile up queues in the 10s of millions in the 45 minutes between when the worm went critical-mass and when we got a signature might disagree on it not being a big problem in practice. Of course, if that's considered "outside" the threat model, somebody better start writing down exactly what small corner of threat model ...
Aug 15, 11:06 am 2008
Press, Jonathan
RE: [malware-list] TALPA - a threat model? well sorta.
matter. Sorry, I don't know what you mean. Jon --
Aug 15, 9:30 am 2008
Peter Zijlstra
Re: TALPA - a threat model? well sorta.
This is the source of all that scan on write/close rambling I've seen go past the last couple of days.. So I'd not worry about this particular aspect --
Aug 15, 3:37 am 2008
david
Re: [malware-list] TALPA - a threat model? well sorta.
could you do something like defining a namespace inside posix attributes and then setting up a mechanism in the kernel to alert if the attributes change (with the entire namespace getting cleared if the file gets dirtied)? this would have the advantage of storing the clean/dirty state in a known location on the filesystem (you would need to enable posix attributes, but that should be an acceptable limit), and would allow multiple scanners (virii, indexing, etc) to do their own thing at ...
Aug 14, 6:44 pm 2008
david
Re: TALPA - a threat model? well sorta.
the kernel should not kick off a scan, instead it should check to see an open/read should not kick off a scan, instead it should check to see if the scan generation tag(s) are current should be enough (remember, you may definantly not the kernel. the intent of this is to keep linux from being a storage repository for malware used by other systems. there is no need to penalize linux-only apps by making them wait for a scan to take place. If it lives in glibc there should be a way for ...
Aug 14, 6:31 pm 2008
Press, Jonathan
RE: [malware-list] TALPA - a threat model? well sorta.
I think you may have missed the point of any such statement. Just to clarify... The model does not exclude root-owned processes from the notification and scanning sequence. If root attempts to execute a file, that file would be scanned before the execution is allowed. If a root-owned process attempts to open a file, that access would be blocked until the file is scanned. If a root-owned process closes a file that has been written to, that file would be scanned. In addition, to ...
Aug 15, 10:40 am 2008
david
Re: [malware-list] TALPA - a threat model? well sorta.
all you need is the ability to mark a file as 'dirty', and some way for programs that are interested in dirty files learning about it later and decideing to do a scan. if the file gets dirtied again after they do they scan they will need to do another one (this is a classic trade-off between the 'security' of looking for things quickly or 'efficiancy' of only looking when you don't think they will change again. in other words, policy -> userspace) David Lang --
Aug 14, 6:37 pm 2008
Press, Jonathan
RE: [malware-list] TALPA - a threat model? well sorta.
The problem is that you have to account for the cases where the malware made it onto the system even if you were trying to catch it ahead of time. For example: - Administrator turns off or reduces AV protection for some reason for some period of time. It happens all the time. - New infection makes it onto the machine before the signatures have caught up with it. This also happens. There is an ongoing PR race among AV vendors about who was faster on the draw to get out signatures to ...
Aug 15, 6:10 am 2008
david
Re: [malware-list] TALPA - a threat model? well sorta.
one way this approach would be a pain is that as signature files got updated the attributes would accumulate. a couple ways of dealing with this. 1. scanners clean up after themselves (when they go to add a new one the remove the old one) 2. background sweep through the system removing all tags that aren't in the current 'blessed' set David Lang --
Aug 14, 10:36 pm 2008
Pavel Machek
Re: TALPA - a threat model? well sorta.
How does it work? Memory can still change after mmap; scanning at the mmap time is _NOT_ enough. You could do 'when app attempts to dirty memory, synchronously unmap it from all apps that have it mapped' and then do sync scan on pagefault time; but that sounds impractical. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html --
Aug 15, 9:06 am 2008
Jan Harkes
Re: [malware-list] TALPA - a threat model? well sorta.
Or use either the Fuse or Coda kernel modules and handle such requests in userspace. With FUSE you should even be able to block on a per-page granularity, Coda only has session semantics so it will only notify userspace of the open and close events, while read and write and mmap are passed directly to the underlying file. Jan --
Aug 15, 1:16 pm 2008
david
Re: [malware-list] TALPA - a threat model? well sorta.
go back to the beginning of this thread. that is defining the (very limited) thread model that they are trying to defend against. the rest of us are not trying to defend against this threat model. we are trying to identify the appropriate infrastructure that could be used by the TALPA folks for their work, that can also be reasonable for inclusion in the kernel (which includes being suitable for other similar purposes, such as filesystem indexing) we agree that the threat they are ...
Aug 15, 1:05 pm 2008
douglas.leeder
Re: [malware-list] TALPA - a threat model? well sorta.
Not to mention removable media - it might be old hat, but infected/malware files can come in on floppies, CDs or USB flash discs careless left on the pavement outside an office. -- Douglas Leeder Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom. Company Reg No 2096520. VAT Reg No GB 348 3873 20. --
Aug 15, 6:18 am 2008
david
RE: [malware-list] TALPA - a threat model? well sorta.
questions had been raised about how this model could defend against all the tricky things that root can do, the answer was that they are not trying to defend against root doing tricky things. turning off the scanner, letting things get infected, and turning it back on would fall in the same catagory as marking a file that the scanner marked as bad as sucessfully scanned. in any case the vunerability is limited as the next time the signatures are updated the files would get scanned ...
Aug 15, 10:47 am 2008
Press, Jonathan
RE: [malware-list] TALPA - a threat model? well sorta.
That is exactly the idea. However, the context of this particular thread was the following statement by Helge Hafting: It seems to me that this "scan on file open" business is the wrong way to do things - because it reduces performance. If you scan on file open, then your security sw is too late and getting in the way. We were just pointing out that this is not a good argument in practical terms AGAINST scanning on open. In fact, your reply completely reinforces that ...
Aug 15, 11:09 am 2008
Pavel Machek
Re: [malware-list] TALPA - a threat model? well sorta.
I don't see why HSMs are mixed into this discussion -- they appear very different. For one, you probably have just one filesystem with tape storage, so it makes sense to implement HSM at filesystem level; probably with something like FUSE+unionfs. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html --
Aug 15, 7:31 am 2008
tvrtko.ursulin
Re: TALPA - a threat model? well sorta.
It can never be free - what ever you do it has to happen some time and that can and will clash with something else. So your reason why it is The first thing you have to make clear is whether in your vision inode clean-dirty-unknown status is persistent or not? But in any case I think you are making a problem where there isn't one, think about it a bit. But the idea about the ability to make a clean copy is interesting. So we would need a copy done without userspace intervention and ...
Aug 15, 3:44 am 2008
Helge Hafting
Re: TALPA - a threat model? well sorta.
It seems to me that this "scan on file open" business is the wrong way to do things - because it reduces performance. If you scan on file open, then your security sw is too late and getting in the way. It is better to scan in advance. Most machines has lots of idle time. Use that time to scan in advance, and mark the files as "clean". A "clean" file can be opened without further checking anytime - giving normal high performance. A file that gets written to becomes "dirty" until checked ...
Aug 15, 3:07 am 2008
Press, Jonathan
RE: [malware-list] TALPA - a threat model? well sorta.
Well, I agree that there are things you can't prevent, that's for sure. But the point is to build the "threat model" and application functionality around the idea that IF they happen, you want to be able to plug the resulting holes as well as you can. You can't simply close your eyes to the possibility. Jon Press --
Aug 15, 11:17 am 2008
Arjan van de Ven
Re: [malware-list] TALPA - a threat model? well sorta.
On Thu, 14 Aug 2008 22:04:00 -0400 but we need a "give me all dirty files" solution, not a "is this file dirty" solution. I do not want a virus scanner to constantly have to poll the whole fs for dirty files ;-) -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Aug 14, 8:41 pm 2008
david
Re: [malware-list] TALPA - a threat model? well sorta.
I'm not sure. there are two situations (with the transition between them) 1. unscanned system, we want to do everything. (this happens immediatly after a new signature file is deployed) here you do just want to filter out the files that have been scanned from the list of everything, and you probably want to check at the time of scanning the file in case it was opened (and scanned) in the meantime. 2. mostly scanned system, we only want to scan files that have been dirtied. here ...
Aug 14, 10:05 pm 2008
Alan Cox
Re: [malware-list] TALPA - a threat model? well sorta.
This is another application layer matter. At the end of the day why does the kernel care where this data is kept. For all we know someone might want to centralise it or even distribute it between nodes on a clustered file system. Alan --
Aug 15, 1:51 am 2008
david
RE: [malware-list] TALPA - a threat model? well sorta.
correct, and the threat model that was documented as what we are trying to defend against explicity says that actions by root (or other running programs, including running malware) are not part of the threat model they are trying to address (it doesn't mean that they aren't important, just that they are not trying to deal with them). All they are trying to do is to have a way to scan files. Since there is use in having support for this (for security theater, a little real security, and for ...
Aug 15, 1:08 pm 2008
Theodore Tso
Re: [malware-list] TALPA - a threat model? well sorta.
According to Eric Paris the clean/dirty state is only stored in memory. We could use the extended attribute interface as a way of not defining a new system call, or some other interface, but I'm not sure it's such a great match given that the extended attributes interface are designed for persistent data. I agree that doesn't actually work very well for the tracker use case, where you the clean/dirty bit to be persistent (in case the tracker is disabled due to the fact you are running on ...
Aug 14, 7:04 pm 2008
david
Re: [malware-list] TALPA - a threat model? well sorta.
why would you not want the results of the viris scan to be persistant? assuming that you are not dual-booting( or otherwise taking explicit action to go around the OS), the fact that you scanned the file with signature set 123 is just as valid now as it was yesterday. If you are not trying to work around the actions of root, why are you trying to work around the actions of the person who has physical control of the system? (who could easily become root if they wanted to) David ...
Aug 14, 9:48 pm 2008
Theodore Tso
Re: [malware-list] TALPA - a threat model? well sorta.
For a mail server, I really think something specialized like ClamAV is a much better solution than something in userspace, which will probably decide it has to rescan every single file that gets written, including your mail server logs. :-) A specialized solution for a mail server is *always* going to be able to a more efficient, more practical, and be able to do application-specialized things (such as refusing the e-mail while the connection is still open, so you don't have to worry about ...
Aug 15, 1:17 pm 2008
Ingo Molnar
Re: [PATCH](retry 4) invalidate caches before going into ...
applied to tip/x86/urgent - thanks Mark. Ingo --
Aug 15, 5:04 am 2008
Bill Fink
Re: HPET regression in 2.6.26 versus 2.6.25 -- revert fo ...
You're right. Looking just at the diffs, I didn't realize that all of reserve_crashkernel() is inside "#ifdef CONFIG_KEXEC" and thus crashk_res_ptr is probably null in David's kernel. Unless of course, in the unlikey event that the memory location for crashk_res_ptr was being corrupted somehow. -Bill --
Aug 15, 12:17 am 2008
Alan Stern
Re: [linux-pm] Power management for SCSI
How do you know? Is that just a guess based on some of Greg KH's and I don't see why any computation is needed. If the CPU will need to communicate with any devices on the bus (i.e., if any of these devices are not idle) then you need the connection to the bus, otherwise you don't. It's exactly the same with a tree. The fact that the interconnections form a bus rather than a tree is irrelevant. (Viewed in logical terms, even a true bus can be described as a tree. The nodes are ...
Aug 15, 8:25 am 2008
Oliver Neukum
Re: [linux-pm] Power management for SCSI
Yes, that means under some circumstances you cannot suspend the member closest to the CPU, but under others you can. In a tree this question is very simply answered, on a bus you will actually need to compute whether you need the connection to the bus. It is true that you won't need the bus if all other members on the bus have been suspended, but that's not very good because physically spinning down and up a disk is a very expensive operation, while suspending a host adapter can be ...
Aug 15, 12:16 am 2008
Alan Cox
Re: Linux 2.6.27-rc3
On Wed, 13 Aug 2008 15:24:15 -0700 (PDT) tty: remove resize window special case From: Alan Cox <alan@redhat.com> This moves it to being a tty operation. That removes special cases and now also means that resize can be picked up by um and other non vt consoles which may have a resize operation. Signed-off-by: Alan Cox <alan@redhat.com> --- drivers/char/tty_io.c | 72 +++++++++++++++++++++------------------ drivers/char/vt.c | 82 ...
Aug 15, 2:39 am 2008
Ingo Molnar
Re: pthread_create() slow for many threads; also time to ...
makes sense. Updated patch below. I've also added your Acked-by. Queued it up in tip/x86/urgent, for v2.6.27 merging. ( also, just to make sure: all Linux kernel versions will ignore such extra flags, so you can just update glibc to use this flag unconditionally, correct? ) Ingo ---------------------------> From 2fdc86901d2ab30a12402b46238951d2a7891590 Mon Sep 17 00:00:00 2001 From: Ingo Molnar <mingo@elte.hu> Date: Wed, 13 Aug 2008 18:02:18 +0200 Subject: [PATCH] x86: add ...
Aug 15, 10:19 am 2008
Andi Kleen
Re: pthread_create() slow for many threads; also time to ...
MAP_32BIT was not actually added for this originally. It was originally added for the X server's old dynamic loader, which needed 2GB memory. Not sure what the semantics of that would be. For me it would seem ugly to hardcode specific semantics in the kernel for this ("mechanism not policy") But for most possible semantics I can think of the data structure would still IMHO the correct solution is to fix the data structure to not have such a bad complexity in this corner case. We ...
Aug 15, 6:33 am 2008
Ingo Molnar
Re: pthread_create() slow for many threads; also time to ...
it's upstream now: | commit cd98a04a59e2f94fa64d5bf1e26498d27427d5e7 | Author: Ingo Molnar <mingo@elte.hu> | Date: Wed Aug 13 18:02:18 2008 +0200 | | x86: add MAP_STACK mmap flag thanks everyone, Ingo --
Aug 15, 12:00 pm 2008
Ingo Molnar
Re: pthread_create() slow for many threads; also time to ...
Of course - what you are missing is that _10 milliseconds_ thread creation overhead is completely unacceptable overhead: it is so bad as Nonsense, i had such a P4 based 64-bit box and it was painful. Everyone with half a brain used them as 32-bit machines. Nor is the context-switch overhead in any way significant. Plus, as Arjan mentioned that's a lot of handwaving with no actual numbers. The numbers in this discussion show that the context-switch overhead is small and that the ...
Aug 15, 5:43 am 2008
Ulrich Drepper
Re: pthread_create() slow for many threads; also time to ...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Actually, I would define the flag as "do whatever is best assuming the allocation is used for stacks". For instance, minimally the /proc/*/maps output could show "[user stack]" or something like this. For security, perhaps, setting of PROC_EXEC can be prevented. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - ...
Aug 15, 10:13 am 2008
Ulrich Drepper
Re: pthread_create() slow for many threads; also time to ...
As soon as the patch hits Linus' tree I can change the code. --
Aug 15, 10:23 am 2008
Ingo Molnar
Re: pthread_create() slow for many threads; also time to ...
just about anything i guess - but since those CPUs do not really matter anymore in terms of bleeding-edge performance, what we care about is the intended current use of this flag: thread stacks. Ingo --------------------> From 4812c2fddc7f5a3a4480d541a4cb2b7e4ec21dcb Mon Sep 17 00:00:00 2001 From: Ingo Molnar <mingo@elte.hu> Date: Wed, 13 Aug 2008 18:02:18 +0200 Subject: [PATCH] x86: add MAP_STACK mmap flag as per this discussion: http://lkml.org/lkml/2008/8/12/423 Pardo ...
Aug 15, 9:03 am 2008
Jamie Lokier
Re: pthread_create() slow for many threads; also time to ...
I think the flag makes sense but it's name is confusing - 64BIT for a flag which means "maybe request 32-bit stack"! Suggest: +#define MAP_STACK 0x20000 /* 31bit or 64bit address for stack, */ + /* whichever is faster on this CPU */ Also, is this _only_ useful for thread stacks, or are there other memory allocations where 31-bitness affects execution speed on old P4s? -- Jamie --
Aug 15, 8:54 am 2008
Robin Holt
Re: ia64 allmodconfig on current mainline
Not sure if anybody is looking into this. Just tried a compile of generic and allmod. The differences are not that significant with the exception of per_cpu__kmem_cache_cpu at 0x28a0. A couple other low-hanging fruit here are per_cpu__shadow_flush_counts and per_cpu__mmu_gathers each of which takes approx 16k. Thanks, Robin --
Aug 15, 5:01 am 2008
Luck, Tony
RE: ia64 allmodconfig on current mainline
Ah. That perhaps explains the recent jump in usage that has put allmodconfig over the limit. mmu_gathers is an int[NR_CPUS], and NR_CPUS was just raised from 1024 to 4096 -Tony --
Aug 15, 9:11 am 2008
Ingo Molnar
Re: [PATCH v2] x86: fix section mismatch warning - spp_g ...
perfect - applied to tip/x86/urgent, thanks Marcin. Ingo --
Aug 15, 10:14 am 2008
Marcin Slusarz
[PATCH v2] x86: fix section mismatch warning - spp_getpage()
Thanks. arch_setup_additional_pages -> map_compat_vdso -> __set_fixmap -> native_set_fixmap How about this one? --- From: Marcin Slusarz <marcin.slusarz@gmail.com> Subject: [PATCH v2] x86: fix section mismatch warning - spp_getpage() WARNING: vmlinux.o(.text+0x17a3e): Section mismatch in reference from the function set_pte_vaddr_pud() to the function .init.text:spp_getpage() The function set_pte_vaddr_pud() references the function __init spp_getpage(). This is often because ...
Aug 15, 9:32 am 2008
Ingo Molnar
Re: [PATCH] x86: fix 2 section mismatch warnings - find_ ...
the callchain would be: [ 20.116039] PM: Adding info for No Bus:vcsa1 [ 20.180039] BUG: unable to handle kernel paging request at c0833e44 [ 20.180039] IP: [<c0833e44>] native_set_fixmap+0x0/0x1d [ 20.180039] *pde = 36f2a163 *pte = 00833162 [ 20.180039] Oops: 0000 [#1] SMP DEBUG_PAGEALLOC [ 20.180039] Modules linked in: [ 20.180039] [ 20.180039] Pid: 1, comm: init Not tainted (2.6.27-rc3-00005-g844342a-dirty #24071) [ 20.180039] EIP: 0060:[<c0833e44>] EFLAGS: 00010216 ...
Aug 15, 6:50 am 2008
Marcin Slusarz
Re: [PATCH] x86: fix 2 section mismatch warnings - find_ ...
$ git grep arch_setup_additional_pages | cat arch/powerpc/include/asm/elf.h:/* vDSO has arch_setup_additional_pages */ arch/powerpc/include/asm/elf.h:extern int arch_setup_additional_pages(struct linux_binprm *bprm, arch/powerpc/kernel/vdso.c:int arch_setup_additional_pages(struct linux_binprm *bprm, arch/sh/include/asm/elf.h:/* vDSO has arch_setup_additional_pages */ arch/sh/include/asm/elf.h:extern int arch_setup_additional_pages(struct linux_binprm ...
Aug 15, 5:32 am 2008
Milan Plzik
RE: Possible CPU_IDLE bug [WAS: Re: Timer unstability on ...
I did some further testing on 2.6.27-rc3 today; unfortunately I found out that the 'press key or I won't move' issue is still present, although I have not noticed it first time. I tried to switch cpuidle governors on the fly and found out one interesting thing -- if powertop shows ~ 10000 wakeups/sec and I just probability (usually second attempt made it) the number of wakeups/sec changes to more reasonable value, roughly 700. But this happened even if I echoed the same name as the ...
Aug 15, 4:46 am 2008
H. Peter Anvin
Re: Possible false positive in checkpatch
Personally, I rather strongly prefer (*(type *)ptr). -hpa --
Aug 15, 2:58 pm 2008
Jan Harkes
Re: [RFC] readdir mess
Not sure either and I was the one that sent the patch that introduced that. My closest guess would be that I looked too long at a getdents(2) manpage, but then again it doesn't really match that either. Signed-off-by: Jan Harkes <jaharkes@cs.cmu.edu> --- If I understood your description, then the following would be the correct fix. We return 0 as long as we managed to read some entries, and any non-zero return value from filldir otherwise. diff --git a/fs/coda/dir.c ...
Aug 14, 10:06 pm 2008
Linus Torvalds
Re: [RFC] readdir mess
This looks fine. On the other hand, you really _should_ be able to just drop "result" entirely, and just do "return ret" at the end. But no, you can't do it right now, becasue the callers are broken crap. But that really isn't your fault. Also, you don't really need to change the if (ret < 0) goto out; to if (ret != 0) goto out; because the "filldir()" functions should all do the right thing anyway. But there's certainly nothing wrong with doing it ...
Aug 15, 9:58 am 2008
Al Viro
Re: [RFC] readdir mess
Simply return 0 unless you get an error in iterator itself. Returning the first error from filldir requires changes in callers. --
Aug 14, 10:34 pm 2008
Ingo Molnar
Re: [PATCH -v3 6/7] kexec jump: __ftrace_enabled_save/restore
use the proper comment style please: /* * hm, what is this used for? also, instead of such an ugly inline, why not create a proper kernel/trace/* function for this. That would also give it access to all the proper locking mechanisms - instead of relying on some extral mechanism. Ingo --
Aug 15, 5:49 am 2008
Jesse Barnes
Re: [PATCH 2.6.26.2][RESEND] irq: irq and pci_ids patch ...
Somehow the whitespace was still damaged, but I fixed it up by hand. It's applied to my for-linus branch so it'll be included in the next pull request I send to Linus. Thanks, Jesse --
Aug 15, 9:17 am 2008
Matt Helsley
Re: [linux-pm] [PATCH 0/5] Container Freezer v6: Reuse S ...
Hi Andrew, Sorry for being so quiet. I've been carefully considering your email and composing what I hope is a much better description of why the code should eventually be merged: The cgroup freezer is useful to batch job management system which start and stop sets of tasks in order to schedule the resources of a machine according to the desires of a system administrator. This sort of program is often used on HPC clusters to schedule access to the cluster as a whole. The cgroup freezer ...
Aug 15, 2:54 pm 2008
Ingo Molnar
Re: [git pull] core fixes
generally i agree and replace patches - but in this case i went for the delta because -rc3 was imminent and the previous patch was already well-tested with practical workloads, even though broken in the slowpath. Also, in terms of judging risks, it was easier to look at the delta between the two commits and say "that obviously cannot make it Note that the two commits were kept together tightly so the chance of bisection going in the middle of it _and_ hitting the obscure slowpath is ...
Aug 15, 5:58 am 2008
Ingo Molnar
Re: [PATCH] trace: Fix some mistakes in error messages
applied to tip/tracing/ftrace - thanks Frédéric! Ingo --
Aug 15, 12:54 pm 2008
Ingo Molnar
Re: [PATCH] trace: Fix some mistakes in error messages
hm, the patch is nice, but it is whitespace damaged. Please resend along the lines of Documentation/email-clients.txt, or as an attachment. Ingo --
Aug 15, 5:59 am 2008
Frédéric Weisbecker Aug 15, 12:08 pm 2008
Jesse Barnes
Re: [PATCH 1/1] PCI: acpi_pcihp, run _OSC on a root bridge
[Cc'ing Alex & Kenji-san for their comments on this fix.] -- Jesse Barnes, Intel Open Source Technology Center --
Aug 15, 9:33 am 2008
Arnd Bergmann
Re: [RFC: 2.6 patch] s390: use kernel/uid.c
I tried doing this before but couldn't figure out an easy way, but the circumstances may have changed by now. Back then, the basic problem was that CONFIG_UID16 had side-effects that break the 64-bit versions of some syscalls. I don't see that being the case any more, but from what I can tell, you still need to add definitions for __kernel_old_uid_t etc on s390x. If that does the trick, great work! Arnd <>< --
Aug 15, 8:34 am 2008
Adrian Bunk
Re: [RFC: 2.6 patch] s390: use kernel/uid.c
They are already in arch/s390/include/asm/posix_types.h The one thing I can say about my patch is that it compiles with the cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed --
Aug 15, 12:00 pm 2008
Bjorn Helgaas
Re: [Bug #11276] build error: CONFIG_OPTIMIZE_INLINING=y ...
Since I supplied a patch, I assume I don't need to do anything more. Let me know if my assumption is incorrect. Bjorn --
Aug 15, 4:21 pm 2008
Randy Dunlap
Re: PROBLEM: USB keyboards works only 4 per PC host port
[adding linux-usb mailing list] Hi, I finally got 5 USB keyboards together along with 2 hubs. I daisy-chained the hubs and connected 1 keyboard to the hub that is on the notebook computer USB port, then I connected 4 keyboards to the second hub. They all worked for me, meaning that I can type on all of them and have their characters show up on my console. I'm testing with 2.6.7-rc2. 'usbtree' output of the USB subsystem is attached. --- ~Randy Linux Plumbers Conference, 17-19 ...
Aug 14, 6:49 pm 2008
Alan Cox
Re: [PATCH] vt: kill tty->count usage (v2)
On Tue, 12 Aug 2008 10:58:12 -0400 Ack this. Will want some tweaking for the ttydev tree as it wants to switch to using krefs for vc->vc_tty as well now. Alan --
Aug 15, 2:58 am 2008
Alan Cox
Re: [PATCH 1/4] integrity: TPM internel kernel interface
On Fri, 15 Aug 2008 14:50:01 -0400 Our disk layer will retry, reset, change cable speeds and if that fails and you are running raid with multipaths or sufficient mirrors continue. We capture processor exceptions and when possible log and continue although most CPU failures report with the context corrupt. We log and the EDAC layer handles as much as it possible can for memory errors (actually we could be a bit more selective here and there are proposals The Linux userbase ranges from fault ...
Aug 15, 2:17 pm 2008
Kenneth Goldman
Re: [PATCH 1/4] integrity: TPM internel kernel interface
Is fault tolerance a requirement just for the TPM, or is it a general> Linux requirement? Has it always been there, or is it new? For example, does kernel software have to gracefully handle failures in the disk controller, processor, memory controller, BIOS flash memory, etc? I'd think it would be quite hard to code around motherboard failures in a commodity platform not designed for fault tolerance. --
Aug 15, 11:50 am 2008
Peter Dolding
Re: [PATCH 1/4] integrity: TPM internel kernel interface
Remember even soldered on stuff can fail. How linux handles the death of the TPM module needs to be covered. Peter Dolding --
Aug 15, 3:37 am 2008
Valdis.Kletnieks
Re: [PATCH 1/4] integrity: TPM internel kernel interface
Well, on a dual/quad core/socket/whatever system, a failing processor can be downed and the system keep going. On a NUMA box, you can yank a node with a bad memory controller after you take it down. Similarly for a disk controller if you have more than one, and the failed one isn't critical for system operation. And the TPM chip is more like a USB controller, in that there's a *high* degree of probability that the system will still be able to run even if it fails or goes insane (consider ...
Aug 15, 12:22 pm 2008
Stefan Weinhuber
Re: [PATCH] S390 : Set SLI on PSF/PRSSD on Dasd ECKD ini ...
Hi Ivan, while I agree that your patch is technically correct, I think I'd rather like to fix the problematic data length instead of making the storage server ignore it. There is no need for the dasd_psf_prssd_data structure to be 16 bytes long as it is only used for suborders that require 12 bytes. The current layout of that structure was probably just a mistake. If we ever go to use a suborder that requires more data, we should either define a further structure specific to that purpose or ...
Aug 15, 7:15 am 2008
Fernando Luis
Re: request->ioprio
Does that mean you are not going to incorporate the prio class system that is used in Linux? Please note that the three upper bits of ioprio contain the ioprio class. We currently have three classes encoded as follows: IOPRIO_CLASS_RT: 1 IOPRIO_CLASS_BE: 2 IOPRIO_CLASS_IDLE: 3 As things stand now, if we passed ioprio as is to the backend driver requests would get priority inverted. For example, requests in the idle class would be prioritized in detriment of the real time ...
Aug 14, 10:51 pm 2008
Andi Kleen
Re: Efficient x86 and x86_64 NOP microbenchmarks
Ok. But it's a serious one. It gives slightly more gain as your whole complicated patching exercise. Ok maybe it would be better to just properly fix gcc, but the problem is it takes forever for the user base to actually start using a new gcc :/ -Andi --
Aug 15, 2:51 pm 2008
Steven Rostedt
Re: Efficient x86 and x86_64 NOP microbenchmarks
[ Finally got my goodmis email back ] The new code does not discover the places at runtime. The old code did that. The "to kill a daemon" removed the runtime discovery and replaced it The current patch set, pretty much does exactly this. Yes, I patch at boot up all in one go, before the other CPUS are even active. This is the only advantage that you have. -- Steve --
Aug 15, 2:34 pm 2008
Ingo Molnar
Re: [PATCH] bootup: Add built-in kernel command line for ...
applied to tip/x86/commandline for v2.6.28 merging - thanks Tim! Ingo --
Aug 15, 7:03 am 2008
Ingo Molnar
Re: [PATCH] bootup: Add built-in kernel command line for ...
FYI, this tab-to-space whitespace error caused this build failure in -tip testing: arch/x86/Kconfig:1500: unknown option "set" arch/x86/Kconfig:1501: unknown option "the" arch/x86/Kconfig:1503: unknown option "Systems" arch/x86/Kconfig:1504: unknown option "should" arch/x86/Kconfig:1519: unknown option "In" arch/x86/Kconfig:1520: unknown option "by" arch/x86/Kconfig:1521: unknown option "file" Ingo --
Aug 15, 7:12 am 2008
Grant Grundler
Re: [2.6 patch] binfmt_som.c: add MODULE_LICENSE
On Mon, Aug 11, 2008 at 10:56:51AM -0400, John David Anglin wrote: My bad. I thought HP owned the copy right to the bulk of the code Correct. I thought the work was done by HP employees and that was wrong. sorry, --
Aug 15, 2:44 pm 2008
Chris Mason
Re: Btrfs v0.16 released
It was a very confusing use of the word thread. I have the same number of kernel threads running, but the single spindle on the drive has to deal with 3 different streams of writes. The seeks/sec portion of the graph shows a big enough increase in seeks on the duplication run to It does, I'll give the test a shot on other hardware too. To be honest I'm pretty happy at matching ext4 with duplication on. The graph shows even writeback and the times from each iteration are fairly ...
Aug 15, 6:00 am 2008
Andi Kleen
Re: Btrfs v0.16 released
Ok was just speculation. The big difference still seems odd. -Andi --
Aug 14, 6:39 pm 2008
Chris Mason
Re: Btrfs v0.16 released
It sounds like ext4 would show the writeback_index bug with fragmentation on disk and btrfs would show it with seeks during the benchmark. I was only watching the throughput numbers and not looking pdflush and delalloc and raid stripe alignment and lots of other things don't play well together. In general, I think we need one or more pdflush threads per mounted FS so that write_cache_pages doesn't have to bail out every time it hits congestion. The current write_cache_pages code even ...
Aug 15, 1:37 pm 2008
Chris Mason
Re: Btrfs v0.16 released
Have you tried this one: http://article.gmane.org/gmane.linux.file-systems/25560 This bug should cause fragmentation on small files getting forced out due to memory pressure in ext4. But, I wasn't able to really demonstrate it with ext4 on my machine. -chris --
Aug 15, 10:52 am 2008
Chris Mason
Re: Btrfs v0.16 released
Looks like I can get the btrfs defaults up to 64MB/s with some writeback The async worker threads should be spreading the load across CPUs pretty well, and even a single CPU could keep up with 100MB/s checksumming. But, the async worker threads do randomize the IO somewhat because the IO goes from pdflush -> one worker thread per CPU -> submit_bio. So, maybe that 3rd thread is more than the drive can handle? btrfsck tells me the total size of the btree is only 20MB larger with The ...
Aug 14, 6:25 pm 2008
Theodore Tso
Re: Btrfs v0.16 released
There were two reasons why I wanted to play with compilebench. The first is we have a fragmentation problem with delayed allocation and small files getting forced out due to memory pressure, that we've been working for the past week. My intuition (which has proven to be correct) is that compilebench is a great tool to show it off. It may not matter so much for write throughput results, since usually the separation distance between the first block and the rest of the file is small, and the ...
Aug 15, 6:45 am 2008
Theodore Tso
Re: Btrfs v0.16 released
I've been able to use compilebench to see the fragmentation problem very easily. Annesh has been workign on it, and has some fixes that he queued up. I'll have to point him at your proposed fix, thanks. This is what he came up with in the common code. What do you think? - Ted (From Annesh, on the linux-ext4 list.) As I explained in my previous patch the problem is due to pdflush background_writeout. Now when pdflush does the writeout we may have only few pages for the file and ...
Aug 15, 12:59 pm 2008
Chris Mason
Re: Btrfs v0.16 released
Whoops the link above is wrong, try: http://oss.oracle.com/~mason/compilebench It is worth noting that the end throughput doesn't matter quite as much as the writeback pattern. Ext4 is pretty solid on this test, with very consistent results. -chris --
Aug 15, 5:46 am 2008
Chris Mason
Re: Btrfs v0.16 released
Similar. I used compilebench -i 30 -r 0, which means create 30 initial kernel trees and then do nothing. compilebench simulates compiles by writing to the FS files of the same size that you would get by creating kernel trees or compiling them. The idea is to get all of the IO without needing to keep 2.6.28.tar.bz2 in cache or the compiler using up CPU. http://www.oracle.com/~mason/compilebench -chris --
Aug 14, 6:10 pm 2008
Ingo Molnar
Re: [PATCH tip/core/rcu] classic RCU locking and memory- ...
applied to tip/core/rcu - thanks Paul! Ingo --
Aug 15, 7:09 am 2008
Ingo Molnar
Re: [PATCH tip/core/rcu] classic RCU locking and memory- ...
Paul, one of your two recent RCU patches caused this lockdep splat in -tip testing: -------------------> Brought up 2 CPUs Total of 2 processors activated (6850.87 BogoMIPS). PM: Adding info for No Bus:platform khelper used greatest stack depth: 3124 bytes left ================================= [ INFO: inconsistent lock state ] 2.6.27-rc3-tip #1 --------------------------------- inconsistent {softirq-on-W} -> {in-softirq-W} usage. ksoftirqd/0/4 [HC0[0]:SC1[1]:HE1:SE0] takes: ...
Aug 15, 7:24 am 2008
Paul E. McKenney
Re: [PATCH tip/core/rcu] classic RCU locking and memory- ...
I will beat this up on my plane flight back home. Note to self: add lockdep to testing mix. :-/ --
Aug 15, 7:58 am 2008
Ingo Molnar
Re: [PATCH tip/core/rcu] classic RCU locking and memory- ...
yep, reverting that one made the lockdep warning go away. (note, i still kept the commit in tip/core/rcu so a delta fix against the previous patch would be preferred) Ingo --
Aug 15, 7:56 am 2008
Ingo Molnar
Re: [PATCH 1/1] [x86] Configuration options to compile o ...
applied to tip/x86/cpu, thanks Thomas. (I've done a trivial cleanup: converted the macro to an inline.) Peter, do you like this version of the patch or would you like further improvements? Ingo --
Aug 15, 7:18 am 2008
H. Peter Anvin
Re: [PATCH 1/1] [x86] Configuration options to compile o ...
I'm fine with it. I think there might still be cross-dependencies, but it doesn't break anything old, so we can deal with that via bug reports. The other thing that probably should be done is breaking out the Intel-specific versus generic parts of intel_cacheinfo.c. -hpa --
Aug 15, 1:36 pm 2008
Ingo Molnar
Re: [PATCH 1/1] [x86] Configuration options to compile o ...
-tip testing found a couple of build failures: LD .tmp_vmlinux1 arch/x86/lib/lib.a(usercopy_32.o): In function `__copy_to_user_ll': (.text+0x11e): undefined reference to `movsl_mask' arch/x86/lib/lib.a(usercopy_32.o): In function `__copy_from_user_ll': (.text+0x1fa): undefined reference to `movsl_mask' arch/x86/lib/lib.a(usercopy_32.o): In function `__copy_from_user_ll_nozero': (.text+0x2d6): undefined reference to `movsl_mask' arch/x86/lib/lib.a(usercopy_32.o): In function ...
Aug 15, 7:38 am 2008
Theodore Tso
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
Every few hours?!? I hadn't noticed Windows AV programs getting updates that frequently, at least not the ones that I've been familiar with. (Semantec, Norton, McAfee) - Ted --
Aug 15, 6:55 am 2008
Eric Paris
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
No, I'm not claiming to protect against running processes. I'll leave that for SELinux. I haven't seen this supposed libmalware.so so take anything I say with a grain of sand. But I take it that the solutions to the problems are 'don't do that.' aka malware is allowed to flow freely across linux nfs servers. Great, I'm sure corperate IT organizations are going to love knowing there isn't a darn thing they can do to protect their nfs server from being storage grounds other than hope they ...
Aug 14, 8:00 pm 2008
david
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
libmalware.so is shorthand for 'have a userspace library do the scanning nfs isn't secure anyway so you better control the border. it's only the kernel nfs daemon that won't use the library, so the answer is don't use that daemon. I beleive that there is a FUSE NFS option, or if nothing else, mount a filesystem with FUSE (linked against libmalware.so) libmalware can intercept the mmap call and decide to either prohibit it, copy the file so that the program is operating from it's own ...
Aug 14, 10:22 pm 2008
david
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
actually, instead of trying to have one scanner trust the results of another, a better approach would be for libmalware to look for the package manager approval and if it finds that it could skip asking the other scanners to look at it. this sort of thing can easily be done in userspace libraries, but you definantly would _not_ want to do in a kernel-level enforcement mechanism. David Lang --
Aug 14, 10:38 pm 2008
douglas.leeder
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
Yes the current proposal has temporary markers in the in-memory representation if inodes. This is a problem for current anti-malware scanning, as virus data updates come every few hours (at which point the entire clean/infected state has to be cleared), so the loss after a reboot is limited. -- Douglas Leeder Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom. Company Reg No 2096520. VAT Reg No GB 348 3873 20. --
Aug 15, 6:22 am 2008
Valdis.Kletnieks
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
Try running a mail server that provides virus scanning for a large population of 100K or so mailboxes. You end up pulling from your vendor on an hourly basis, just because a virus on a burn through your userbase can toast you that quickly. Since 9AM Sunday (is now 11:30AM Friday as I write this), we've pulled new signatures 33 times (one new signature each time in this case) from our vendor. So yeah, about once every 3-4 hours we get a new updated one for a new variant of whatever. I've ...
Aug 15, 8:42 am 2008
Theodore Tso
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
But Pavel is raising a good question. In Eric's proposed threat model, he claimed the only thing that he was trying to solve was "scanning". Just file scanning. That implies no root privileges, but it also implied that he wasn't worried about malware running with user privileges, either. Presumbly, that would be caught and stopped by the file scanner before the malware had a chance to run; that is the execve(2) system call would also be blocked until the executable was scanned. So if ...
Aug 14, 5:43 pm 2008
david
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
one reason to layer scanners is that you could have one that just checks to see if the file was deployed from a OS package, if it was (and still has the same hash as the package manager thinks it should have) it sets a flag that other scanners could look for (if they see it they can skip scanning the file) David Lang --
Aug 14, 10:33 pm 2008
douglas.leeder
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
Of course I mean't NOT a problem... -- Douglas Leeder Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom. Company Reg No 2096520. VAT Reg No GB 348 3873 20. --
Aug 15, 6:28 am 2008
douglas.leeder
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
From one of our Linux machines that configured to update normally: Fri 15 Aug 2008 15:02:23 BST Fri 15 Aug 2008 12:52:19 BST Fri 15 Aug 2008 08:32:24 BST Fri 15 Aug 2008 04:12:27 BST Fri 15 Aug 2008 02:02:23 BST That was the sort of time period I remember being told - but the AV products probably don't make a song and dance about a small virus data updates so you probably wouldn't notice them. -- Douglas Leeder Sophos Plc, The Pentagon, Abingdon Science Park, ...
Aug 15, 7:19 am 2008
Theodore Tso
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
Sure, as long as we're very clear about the semantics of the bits. If the bits are not persistent, but which get dropped if the inode is every evicted from memory, and it's considered OK, or even desirable, to rescan the file when it is brought back into memory, that may be acceptable to the rubber gloves folks (make people go through lots superflous of security scans, even when they are transfering betewen flights --- security is always more important than passengers' convenience!), but ...
Aug 15, 6:16 am 2008
Press, Jonathan
RE: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
An interesting example is (please don't scream everyone -- it's just an illustration of one approach to the problem) NetWare. (In fact, we still have a lot of active NetWare customers, so the fact that it is an archaic OS is not really the issue.) NetWare takes the kitchen-sink approach. It has an interface that allows notification on a whole host of i/o events, way more than we have ever found useful, and the application can register for the ones it wants and go from there. The kernel does ...
Aug 15, 5:57 am 2008
Rik van Riel
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
On Fri, 15 Aug 2008 00:39:18 +0200 If you're trolling, you're not being very good at it. Just because you cannot easily infect a Linux system from a user application does not mean malware cannot do all kinds of damage with user privileges. Think of a key sniffer (using the same interface that the X screensavers use) or a spam bot running with user privileges. Firefox, OpenOffice.org and other (mostly desktop) programs are extremely large and complex, deal with untrusted data on a ...
Aug 14, 5:00 pm 2008
Theodore Tso
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
If it's a good interface that also happens to address HSM/DMAPI functionality, as well as a more efficient way for trackerd to work, I agree completely. I think you will agree the proposed TALPA interface is a bit too virus-scanner specific, though? Especially with explicit talk of specialized (persistent or not) "clean/dirty/infected" bits that the kernel would store in the inode for the benefit of the AV scanner? That's rather optimized for the ...
Aug 15, 4:35 am 2008
Rik van Riel
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
On Thu, 14 Aug 2008 20:43:35 -0400 You bring up a very good point - malware does not need to be stored on a filesystem in order to run or cause damage. -- All rights reversed. --
Aug 14, 6:02 pm 2008
Alan Cox
Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinte ...
And static binaries, and other kernel modular file I/O done on behalf of applications, and making a library work well which is *hard*, and labelling and scalability, and sharing a cache between users, and aggregating events across processes .. and a few other things. I don't think this is useful. I don't actually care what the virus folks want to implement. I would rather see useful general purpose interfaces that are practical and make sense. I cdon't really care whether people use the ...
Aug 15, 1:35 am 2008
Ingo Molnar
Re: AGP and PAT (induced?) problem (on AMD family 6)
(more people Cc:-ed) agreed - +12 seconds wait suggest some rather fundamental breakage. Did we go back to uncached for some critical display area that makes X start up (shut down) that slowly? Did we mark the BIOS uncacheable perhaps, causing X to execute BIOS code very slowly? Ingo --
Aug 15, 7:22 am 2008
Rene Herman
Re: AGP and PAT (induced?) problem (on AMD family 6)
Quite a lot "uncached-minus" in those lists. I am desperately trying to avoid a clue about mostly anything graphics related so, "I dunno". I haven't just disabled PAT yet (although I was about to just do so) and am available for testing. Rene. --
Aug 15, 8:24 am 2008
Ingo Molnar
Re: [PATCH] x86: fix spin_is_contended()
applied to tip/x86/urgent, with your: Acked-by: Nick Piggin <npiggin@suse.de> thanks Jan. Ingo --
Aug 15, 7:26 am 2008
Andrew Morton
Re: cramfs and named-pipe
On Tue, 05 Aug 2008 12:09:09 +0900 (JST) Nothing seems to have happened. Al, do you think your (now tested) patch is good for 2.6.27 and 2.6.26.x? And, it seems, 2.6.25.x. (All the way down to 2.6.14.x!) --
Aug 15, 3:52 pm 2008
Ingo Molnar
Re: [patch 2/2] reduce tlb/cache flush times of agpgart ...
applied to tip/x86/pat - thanks! I've Cc:-ed more PAT folks - any objections? Ingo --
Aug 15, 7:31 am 2008
Arjan van de Ven
Re: [patch 2/2] reduce tlb/cache flush times of agpgart ...
On Fri, 15 Aug 2008 16:31:31 +0200 it really needs something else instead; it needs airlied's array allocator otherwise you hit the second wall as well (the pat checks per page) in reality an array version of ioremap (or set_pages_X) is what is needed --
Aug 15, 7:40 am 2008
Ingo Molnar Aug 15, 7:43 am 2008
Ingo Molnar
Re: [PATCH] x86: remove nesting CONFIG_HOTPLUG_CPU
applied to tip/x86/cleanups - thanks. Ingo --
Aug 15, 7:33 am 2008
Ingo Molnar Aug 15, 7:41 am 2008
Marcin Slusarz
Re: [PATCH] x86, acpi: temp_stack is used only when CONF ...
Should I resend this patch? Or is there anything wrong with second version? Marcin --
Aug 15, 5:12 am 2008
Ingo Molnar
Re: [PATCH 2/5] x86: Coding style fixes to arch/x86/kern ...
hm - i changed your patch to the one below, to align the break's vertically, which makes the original variant a lot more readable (and even more readable than the new one). Checkpatch still complains about it but that's OK, there are always exceptions. Ingo -------------------> Subject: x86: coding style fixes to arch/x86/kernel/bios_uv.c From: Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com> Date: Sat, 2 Aug 2008 21:24:06 +0200 paolo@paolo-desktop:~/linux.trees.git$ md5sum ...
Aug 15, 7:52 am 2008
Ingo Molnar
Re: [PATCH] x86: Coding style fixes
thanks, applied them to tip/x86/cleanups. (Note: i changed the second one) Thanks Paolo, Ingo --
Aug 15, 7:53 am 2008
Ingo Molnar
Re: [PATCH 1/1] x86: coding style fixes to arch/x86/kern ...
applied to tip/x86/cleanups - thanks Gustavo! Ingo --
Aug 15, 9:11 am 2008
Gregory Haskins
[PATCH RT RFC v2 4/8] rtmutex: formally initialize the r ...
We will be adding more logic to rt_mutex_waiters and therefore lets centralize the initialization to make this easier going forward. Signed-off-by: Gregory Haskins <ghaskins@novell.com> --- kernel/rtmutex.c | 26 ++++++++++++++------------ 1 files changed, 14 insertions(+), 12 deletions(-) diff --git a/kernel/rtmutex.c b/kernel/rtmutex.c index 7d11380..12de859 100644 --- a/kernel/rtmutex.c +++ b/kernel/rtmutex.c @@ -805,6 +805,15 @@ static int adaptive_wait(struct rt_mutex_waiter ...
Aug 15, 5:08 am 2008
Gregory Haskins
[PATCH RT RFC v4 2/8] sched: add the basic PI infrastruc ...
This is a first pass at converting the system to use the new PI library. We dont go for a wholesale replacement quite yet so that we can focus on getting the basic plumbing in place. Later in the series we will begin replacing some of the proprietary logic with the generic framework. Signed-off-by: Gregory Haskins <ghaskins@novell.com> --- include/linux/sched.h | 37 +++++++-- include/linux/workqueue.h | 2 kernel/fork.c | 1 kernel/rcupreempt-boost.c | 23 ...
Aug 15, 1:28 pm 2008
Gregory Haskins
[PATCH RT RFC v3] add generalized priority-inheritance i ...
[ of course, 2 seconds after I hit "send" on v2 I realized there was a race condition in libpi w.r.t. the sinkref->prio. Rather than spam you guys with a full "v3" refresh of the series, here is a fixed version of patch 1/8 which constitutes "v3" when used with patches 2-8 from v2. ] The kernel currently addresses priority-inversion through priority- inheritence. However, all of the priority-inheritence logic is integrated into the Real-Time Mutex infrastructure. This causes a ...
Aug 15, 6:16 am 2008
Gregory Haskins
[PATCH RT RFC v2 6/8] rtmutex: use runtime init for rtmutexes
The system already has facilities to perform late/run-time init for rtmutexes. We want to add more advanced initialization later in the series so we force all rtmutexes through the init path in preparation for the later patches. Signed-off-by: Gregory Haskins <ghaskins@novell.com> --- include/linux/rtmutex.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/include/linux/rtmutex.h b/include/linux/rtmutex.h index b263bac..14774ce 100644 --- ...
Aug 15, 5:08 am 2008
Gregory Haskins
[PATCH RT RFC v4 5/8] RT: wrap the rt_rwlock "add reader ...
We will use this later in the series to add PI functions on "add". Signed-off-by: Gregory Haskins <ghaskins@novell.com> --- kernel/rtmutex.c | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git a/kernel/rtmutex.c b/kernel/rtmutex.c index 12de859..62fdc3d 100644 --- a/kernel/rtmutex.c +++ b/kernel/rtmutex.c @@ -1122,6 +1122,12 @@ static void rw_check_held(struct rw_mutex *rwm) # define rw_check_held(rwm) do { } while (0) #endif +static inline ...
Aug 15, 1:28 pm 2008
Gregory Haskins
[PATCH RT RFC v2 1/8] add generalized priority-inheritan ...
The kernel currently addresses priority-inversion through priority- inheritence. However, all of the priority-inheritence logic is integrated into the Real-Time Mutex infrastructure. This causes a few problems: 1) This tightly coupled relationship makes it difficult to extend to other areas of the kernel (for instance, pi-aware wait-queues may be desirable). 2) Enhancing the rtmutex infrastructure becomes challenging because there is no seperation between the locking code, and ...
Aug 15, 5:08 am 2008
Gregory Haskins
[PATCH RT RFC v4 8/8] rtmutex: pi-boost locks as late as ...
PREEMPT_RT replaces most spinlock_t instances with a preemptible real-time lock that supports priority inheritance. An uncontended (fastpath) acquisition of this lock has no more overhead than its non-rt spinlock_t counterpart. However, the contended case has considerably more overhead so that the lock can maintain proper priority queue order and support pi-boosting of the lock owner, yet remaining fully preemptible. Instrumentation shows that the majority of acquisitions under ...
Aug 15, 1:29 pm 2008
Gregory Haskins
[PATCH RT RFC v2 2/8] sched: add the basic PI infrastruc ...
This is a first pass at converting the system to use the new PI library. We dont go for a wholesale replacement quite yet so that we can focus on getting the basic plumbing in place. Later in the series we will begin replacing some of the proprietary logic with the generic framework. Signed-off-by: Gregory Haskins <ghaskins@novell.com> --- include/linux/sched.h | 37 +++++++-- include/linux/workqueue.h | 2 kernel/fork.c | 1 kernel/rcupreempt-boost.c | 23 ...
Aug 15, 5:08 am 2008
Gregory Haskins
[PATCH RT RFC v4 6/8] rtmutex: use runtime init for rtmutexes
The system already has facilities to perform late/run-time init for rtmutexes. We want to add more advanced initialization later in the series so we force all rtmutexes through the init path in preparation for the later patches. Signed-off-by: Gregory Haskins <ghaskins@novell.com> --- include/linux/rtmutex.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/include/linux/rtmutex.h b/include/linux/rtmutex.h index b263bac..14774ce 100644 --- ...
Aug 15, 1:28 pm 2008
Gregory Haskins
[PATCH RT RFC v2 0/8] Priority Inheritance enhancements
** RFC for PREEMPT_RT branch, 26-rt1 ** Synopsis: We gain a 13%+ IO improvement in the PREEMPT_RT kernel by re-working some of the PI logic. [ pi-enhancements v2 Changes since v1: *) Added proper reference counting to prevent tasks from deleting while a node->update() is still in flight *) unified the RCU boost path ] [ fyi -> you can find this series at the following URLs in addition to this thread: ...
Aug 15, 5:08 am 2008
Gregory Haskins
[PATCH RT RFC v4 1/8] add generalized priority-inheritan ...
The kernel currently addresses priority-inversion through priority- inheritence. However, all of the priority-inheritence logic is integrated into the Real-Time Mutex infrastructure. This causes a few problems: 1) This tightly coupled relationship makes it difficult to extend to other areas of the kernel (for instance, pi-aware wait-queues may be desirable). 2) Enhancing the rtmutex infrastructure becomes challenging because there is no seperation between the locking code, and ...
Aug 15, 1:28 pm 2008
Gregory Haskins
[PATCH RT RFC v2 3/8] sched: rework task reference count ...
Signed-off-by: Gregory Haskins <ghaskins@novell.com> --- include/linux/sched.h | 5 +++-- kernel/fork.c | 32 +++++++++++++++----------------- kernel/sched.c | 23 +++++++++++++++++++++++ 3 files changed, 41 insertions(+), 19 deletions(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index 63ddd1f..9132b42 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1305,6 +1305,8 @@ struct task_struct { struct pi_node node; struct pi_sink ...
Aug 15, 5:08 am 2008
Gregory Haskins
[PATCH RT RFC v4 4/8] rtmutex: formally initialize the r ...
We will be adding more logic to rt_mutex_waiters and therefore lets centralize the initialization to make this easier going forward. Signed-off-by: Gregory Haskins <ghaskins@novell.com> --- kernel/rtmutex.c | 26 ++++++++++++++------------ 1 files changed, 14 insertions(+), 12 deletions(-) diff --git a/kernel/rtmutex.c b/kernel/rtmutex.c index 7d11380..12de859 100644 --- a/kernel/rtmutex.c +++ b/kernel/rtmutex.c @@ -805,6 +805,15 @@ static int adaptive_wait(struct rt_mutex_waiter ...
Aug 15, 1:28 pm 2008
Gregory Haskins
[PATCH RT RFC v2 8/8] rtmutex: pi-boost locks as late as ...
PREEMPT_RT replaces most spinlock_t instances with a preemptible real-time lock that supports priority inheritance. An uncontended (fastpath) acquisition of this lock has no more overhead than its non-rt spinlock_t counterpart. However, the contended case has considerably more overhead so that the lock can maintain proper priority queue order and support pi-boosting of the lock owner, yet remaining fully preemptible. Instrumentation shows that the majority of acquisitions under ...
Aug 15, 5:08 am 2008
Gregory Haskins
[PATCH RT RFC v2 5/8] RT: wrap the rt_rwlock "add reader ...
We will use this later in the series to add PI functions on "add". Signed-off-by: Gregory Haskins <ghaskins@novell.com> --- kernel/rtmutex.c | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git a/kernel/rtmutex.c b/kernel/rtmutex.c index 12de859..62fdc3d 100644 --- a/kernel/rtmutex.c +++ b/kernel/rtmutex.c @@ -1122,6 +1122,12 @@ static void rw_check_held(struct rw_mutex *rwm) # define rw_check_held(rwm) do { } while (0) #endif +static inline ...
Aug 15, 5:08 am 2008
Gregory Haskins
[PATCH RT RFC v2 7/8] rtmutex: convert rtmutexes to full ...
We have previously only laid some of the groundwork to use the PI library, but left the existing infrastructure in place in the rtmutex code. This patch converts the rtmutex PI code to officially use the PI library. Signed-off-by: Gregory Haskins <ghaskins@novell.com> --- include/linux/rt_lock.h | 2 include/linux/rtmutex.h | 15 - include/linux/sched.h | 21 - kernel/fork.c | 2 kernel/rcupreempt-boost.c | 2 kernel/rtmutex-debug.c | 4 ...
Aug 15, 5:08 am 2008
Gregory Haskins
[PATCH RT RFC v4 7/8] rtmutex: convert rtmutexes to full ...
We have previously only laid some of the groundwork to use the PI library, but left the existing infrastructure in place in the rtmutex code. This patch converts the rtmutex PI code to officially use the PI library. Signed-off-by: Gregory Haskins <ghaskins@novell.com> --- include/linux/rt_lock.h | 2 include/linux/rtmutex.h | 15 - include/linux/sched.h | 21 - kernel/fork.c | 2 kernel/rcupreempt-boost.c | 2 kernel/rtmutex-debug.c | 4 ...
Aug 15, 1:28 pm 2008
Gregory Haskins
[PATCH RT RFC v4 3/8] sched: rework task reference count ...
Signed-off-by: Gregory Haskins <ghaskins@novell.com> --- include/linux/sched.h | 7 +++++-- kernel/fork.c | 32 +++++++++++++++----------------- kernel/sched.c | 21 +++++++++++++++++++++ 3 files changed, 41 insertions(+), 19 deletions(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index 5521a64..7ae8eca 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1305,6 +1305,8 @@ struct task_struct { struct pi_node node; struct pi_sink ...
Aug 15, 1:28 pm 2008
Gregory Haskins
[PATCH RT RFC v4 0/8] Priority Inheritance enhancements
** RFC for PREEMPT_RT branch, 26-rt1 ** Synopsis: We gain a 13%+ IO improvement in the PREEMPT_RT kernel by re-working some of the PI logic. [ Changelog: v4: 1) Incorporated review comments *) Fixed checkpatch warning about extern in .c *) Renamed s/snk/sink *) Renamed s/addref/get *) Renamed s/dropref/put *) Made pi_sink use static *ops 2) Fixed a bug w.r.t. enabling interrupts too early v3: *) fixed a race with ...
Aug 15, 1:28 pm 2008
Gregory Haskins Aug 15, 1:32 pm 2008
Ingo Molnar
Re: [PATCH] remove list_for_each_rcu()
applied to tip/core/rcu - thanks. Ingo --
Aug 15, 8:03 am 2008
Ingo Molnar
Re: [PATCH -tip/core/rcu] fixes to include/linux/rcupreempt.h
applied to tip/core/rcu - thanks Paul. Ingo --
Aug 15, 8:02 am 2008
Ingo Molnar
[PATCH] ftrace: build fix
From 00968bd78e3346f35dc809f7a7c811a3d88cf07c Mon Sep 17 00:00:00 2001 From: Ingo Molnar <mingo@elte.hu> Date: Fri, 15 Aug 2008 17:48:02 +0200 Subject: [PATCH] ftrace: build fix MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit fix: In file included from init/main.c:65: include/linux/ftrace.h:166: error: expected ‘,' or ‘;' before ‘{' token make[1]: *** [init/main.o] Error 1 make: *** [init/main.o] Error 2 Signed-off-by: Ingo Molnar ...
Aug 15, 8:49 am 2008
Ingo Molnar
Re: [PATCH v2 0/2] ftrace: printk formatted recording
applied all 3 patches to tip/tracing/ftrace - thanks Steve. Ingo --
Aug 15, 8:00 am 2008
Trevor Woollacott [ ...
RE: POSIX_FADV_DONTNEED
Thanks for the advice NOTE: This e-mail message is subject to the MTN Group disclaimer see http://www.mtn.co.za/default.aspx?pid=34411 --
Aug 15, 1:23 am 2008
Ingo Molnar
Re: [PATCH] reorder struct prop_local_single to remove p ...
applied all 3 patches to tip/sched/devel - thanks Richard! Ingo --
Aug 15, 8:15 am 2008
Ingo Molnar
Re: [patch 0/2] x86: microcode patch loader cleanup and fix
applied to tip/x86/microcode - thanks Peter. Ingo --
Aug 15, 8:19 am 2008
Ingo Molnar
Re: [rfc][patch] x86: avoid highmem cache attribute aliasing
ok, i've queued it up in tip/x86/pat. Ingo --
Aug 15, 8:22 am 2008
Ingo Molnar
Re: [PATCH] x86_64: remove empty lines from stack traces ...
ok - i've queued up your fix in tip/x86/debug. Arjan, can the removal of empty newlines break the kerneloops.org parser? Ingo --
Aug 15, 8:25 am 2008
Arjan van de Ven
Re: [PATCH] x86_64: remove empty lines from stack traces ...
On Fri, 15 Aug 2008 17:25:55 +0200 nope is fine; the parser isn't that fragile against empty lines (in fact they get filtered out ;-) -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Aug 15, 8:49 am 2008
Ingo Molnar
Re: [PATCH] x86-64: fix overlap of modules and fixmap areas
applied to tip/x86/urgent - thanks Jan! Ingo --
Aug 15, 8:32 am 2008
Ingo Molnar
Re: [PATCH] geode-mfgpt: check IRQ before using MFGPT as ...
i've applied it to tip/x86/geode. Should it go into v2.6.27 via x86/urgent, or should wait for v2.6.28? Ingo --
Aug 15, 8:11 am 2008
Jordan Crouse
Re: geode-mfgpt: check IRQ before using MFGPT as clocksource
It fixes a real system hang for some folks, so 2.6.27 would be great if you and Linus agree. Thanks, Jordan -- Jordan Crouse Systems Software Development Engineer Advanced Micro Devices, Inc. --
Aug 15, 8:29 am 2008
Ingo Molnar
Re: geode-mfgpt: check IRQ before using MFGPT as clocksource
ok - i've put it into tip/x86/urgent as well. Ingo --
Aug 15, 8:53 am 2008
Marcel Holtmann
Re: Core kernel parameters and /sys/parameters?
if you guys dislike /sys/module/kernel/* for core stuff, then you should do the change as soon as possible since userspace relies on it for a lot of tasks. Even I started using it. However I only want one general place for kernel/module parameters. A symlink might help us in the meantime to get the transition done smoothly. Regards Marcel --
Aug 14, 7:16 pm 2008
Ingo Molnar
Re: VolanoMark regression with 2.6.27-rc1
i've queued this up in tip/sched/urgent as it makes sense - but i'm also wondering, does this impact the volano numbers? Ingo --
Aug 15, 8:37 am 2008
Ingo Molnar
Re: [PATCH v2] ftrace: dump out ftrace buffers to consol ...
we had this in the latency tracer - so it's a very useful feature. Applied to tip/tracing/ftrace, thanks Steve. Ingo --
Aug 15, 8:40 am 2008
Ingo Molnar
[PATCH] ftrace: ftrace_kill_atomic() build fix
From 62aa63382a5b20a6441f665c423a39f2f01e9b5e Mon Sep 17 00:00:00 2001 From: Ingo Molnar <mingo@elte.hu> Date: Fri, 15 Aug 2008 18:22:09 +0200 Subject: [PATCH] ftrace: ftrace_kill_atomic() build fix fix: kernel/built-in.o: In function `ftrace_dump': (.text+0x2e2ea): undefined reference to `ftrace_kill_atomic' Signed-off-by: Ingo Molnar <mingo@elte.hu> --- include/linux/ftrace.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/ftrace.h ...
Aug 15, 9:26 am 2008
Ingo Molnar
Re: [PATCH 2/2] rcu: trace fix possible mem-leak
applied to tip/core/rcu - thanks. Ingo --
Aug 15, 8:55 am 2008
Ingo Molnar Aug 15, 8:54 am 2008
Tim Hockin
Re: [patch 1/3] kmsg: Kernel message catalog macros.
Part of the problem, imho, is the "if any" part. But I am more than happy to build on existing solutions. All the world is not a dev, though. I'd like to be able to report something like an OOM kill in (roughly) the same way as an ATA error, and I want (though could be talked out of) a way to tell these "events" (for lack of a better word) apart from plain-old-printk()s. Tim --
Aug 14, 10:33 pm 2008
Greg KH
Re: [patch 1/3] kmsg: Kernel message catalog macros.
Eeek! What is wrong with what we have already agreed to standardise on here people? dev_printk() for devices! It uniquely shows the device, what driver is bound to it (if any), the bus id, and everything else. It's in a parseable, standard format, that everyone agreed a few years was going to be the way to go! And now you want to create your own new one? Come on, please don't be that foolish. Please work with what we already have. Extend it or something to have these "magic tokens" ...
Aug 14, 8:44 pm 2008
Tim Hockin
Re: [patch 1/3] kmsg: Kernel message catalog macros.
Sorry, I never meant to imply that dev_printk() was to be ignored, my examples was meant to be trivial to demonstrate :) dev_printk() is good. We should keep it :) --
Aug 15, 10:03 am 2008
Tim Hockin
Re: [patch 1/3] kmsg: Kernel message catalog macros.
Please don't misinterpret. I don't want to make other errors parse like an ATA error, I want to make the plumbing be parallel. I want one umbrella mechanism for reporting things that are more important than just-another-printk(). Because frankly, "parse dmesg" is a pretty crappy way to have to monitor your system for failures, and I am tired of explaining to people why we still do that. Tim --
Aug 15, 8:39 am 2008
Rick Troth
Re: [patch 1/3] kmsg: Kernel message catalog macros.
I second this suggestion (or propose something like it). A short hash or even an index into some off-line table lets the user hit the right page when looking for an explanation. I've been using a similar (and perhaps ugly to some eyes) numeric message catalog for years (with token substitution and all). The catalogs can be translated and then replaced with local language so the users don't have to learn English (or French, or German, or Japanese, or Chinese). -- R; <>< --
Aug 15, 1:05 pm 2008
Jan Blunck
Re: [patch 1/3] kmsg: Kernel message catalog macros.
If I interpret Martins patches correctly he wants to be able to put add extended information to specific messages the kernel is printing. This is a good way to explain the rational of certain situations to people unwilling to read the sources ;) I don't think that he wants to unify all the printk's in the system. I don't think that reporting all errors "in the same way as an ATA error" makes any sense. That would just lead to very stupid and unnatural messages for all errors that are not like ...
Aug 15, 4:21 am 2008
Joe Perches
Re: [patch 1/3] kmsg: Kernel message catalog macros.
I think adding system/subsystem/driver prefixes to function names is not good. Though Martin Schwidefsky thinks KMSG_COMPONENT is necessary, I am unconvinced. Perhaps using something like Jason Baron's new dynamic debug infrastructure, all the event logging functions could optionally print KBUILD_MODNAME, __func__ and __line__ I'd prefer every printk(KERN_<level> become pr_<level> and kernel.h be reorganized so that all logging functions are declared in a separate include file, maybe ...
Aug 14, 8:08 pm 2008
Greg KH
Re: [patch 1/3] kmsg: Kernel message catalog macros.
That's great, then create something that can handle both! Don't throw away some wonderful information that way over half the kernel has access to just because the minority doesn't. That would mean that we would loose information in those drivers overall. thanks, greg k-h --
Aug 15, 9:03 am 2008
Ingo Molnar
Re: [PATCH 2.6.27-rc1] x86: fix readb() et al compile er ...
applied to tip/x86/urgent - thanks Mikael. Ingo --
Aug 15, 5:31 am 2008
Valdis.Kletnieks
Re: [PATCH] 2.6.26-mmotm tpm-correct-tpm-timeouts-to-jif ...
I suppose I could have worded the comment block better - the intent was to point out what the Broadcom chip returns, but by that point in the code Actually, that's probably a better idea, because my kernel is built with HZ=1000 - usecs_to_jiffies will do something different than ==1 for HZ=100 Let me go cook up and test another iteration of the patch, will probably be a few hours...
Aug 15, 2:39 am 2008
Ingo Molnar
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
hm, -tip testing has found that this patch causes a hard hang during bootup: initcall ali_init+0x0/0x1b returned 0 after 3 msecs calling amd_init+0x0/0x1b bus: 'pci': add driver pata_amd bus: 'pci': driver_probe_device: matched device 0000:00:06.0 with driver pata_amd bus: 'pci': really_probe: probing driver pata_amd with device 0000:00:06.0 pata_amd 0000:00:06.0: version 0.3.10 pata_amd 0000:00:06.0: setting latency timer to 64 [hard hang] should have continued with: ...
Aug 15, 11:00 am 2008
Ingo Molnar
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
applied to tip/x86/gart, thanks! Any v2.6.27-urgency of this patch? Ingo --
Aug 15, 9:16 am 2008
Ingo Molnar
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
below is a bootlog and lspci output. There's nothing special about it - run of the mill whitebox PC, ASUS A8N-E, Athlon64 X2 3800+, 1GB RAM. Ingo ---------------> Initializing cgroup subsys cpuset Linux version 2.6.27-rc3-tip (mingo@dione) (gcc version 4.2.3) #24581 SMP Fri Aug 15 23:11:30 CEST 2008 Command line: root=/dev/sda6 earlyprintk=serial,ttyS0,115200,keep debug initcall_debug apic=verbose sysrq_always_enabled ignore_loglevel selinux=0 nmi_watchdog=0 highres=0 nmi_watchdog=0 ...
Aug 15, 2:20 pm 2008
Prarit Bhargava
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
Ingo, can you please send me details on the system? I'll try to track it down. --
Aug 15, 1:39 pm 2008
Langsdorf, Mark
RE: [PATCH 01/01][retry 5] x86: L3 cache index disable f ...
Yes. Single inline function with asm instructions and a documented clflush check in asm/processor.h and the call to wbinvd_halt() in both processor_32.c and processor_64.h. It looks like we're done here. -Mark Langsdorf Operating System Research Center AMD --
Aug 15, 1:02 pm 2008
Ingo Molnar
Re: [PATCH 01/01][retry 5] x86: L3 cache index disable f ...
ok, that's good - that's the latest, right? Ingo --
Aug 15, 12:57 pm 2008
Langsdorf, Mark
RE: [PATCH 01/01][retry 5] x86: L3 cache index disable f ...
tip/master looks likes it has the version 5 of my patch in it already. Am I missing something? -Mark Langsdorf Operating System Research Center AMD --
Aug 15, 12:21 pm 2008
Ingo Molnar
Re: [PATCH 01/01][retry 5] x86: L3 cache index disable f ...
hm, looks good - but since i've got an earlier version of this included in -tip already: commit a24e8d36f5fc047dac9af6200322ed393f2e3175 Author: Mark Langsdorf <mark.langsdorf@amd.com> Date: Tue Jul 22 13:06:02 2008 -0500 x86: L3 cache index disable for 2.6.26 could you please send a delta patch against tip/master? http://people.redhat.com/mingo/tip.git/README Thanks, Ingo --
Aug 15, 9:42 am 2008
Ingo Molnar
Re: [git pull] ftrace for v2.6.27
it's now integrated into tip/master (with a few other ftrace goodies), if you want to test the end result check out tip/master via: http://people.redhat.com/mingo/tip.git/README Ingo --
Aug 15, 2:29 am 2008
Jesse Barnes
Re: [PATCH/RFC] pci: dynids.use_driver_data considered harmful
Yeah it doesn't seem to be very heavily used at this point. :) I see around 400 uses of id->driver_data right now, and only 2 of use_driver_data. If we remove the use_driver_data field, drivers (except for the 2 using the field) will start to see whatever values userspace passes to them rather than 0, and at least in some of the few cases I looked at that could cause breakage due to out of bounds references. So I think your point about dynamic IDs in general is a good one; this flag ...
Aug 15, 10:46 am 2008
Jean Delvare
Re: [PATCH/RFC] pci: dynids.use_driver_data considered harmful
Hi Greg, Hmm, so in fact you don't have a clue? ;) I wasn't involved in the addition of this flag, but my impression is that it was added in the hope that it would prevent users from passing additional data to drivers using the driver_data field but not prepared (read: not robust enough) to handle possibly wrong data from user-space. Probably, the idea was that the person adding the dynids.use_driver_data flag would be responsible for verifying that the driver had the required checks in ...
Aug 15, 8:50 am 2008
Milton Miller
Re: [PATCH/RFC] pci: dynids.use_driver_data considered harmful
So please identify at least one such driver where the only correct answer is 0. I even made it easy for you, i identified which drivers set dynamic_id and how. I identified specific drivers where its the wrong answer. So: If you are arguing the code is still needed, please identify at least one case that it is correct. (Oh, I don't buy that if 0 is safe but 1 is equally safe, that the existing code is correct). milton --
Aug 15, 7:50 am 2008
Jesse Barnes
Re: [PATCH/RFC] pci: dynids.use_driver_data considered harmful
Well the audit would show if user supplied "new" values are needed; otherwise the approach sounds good to me. Thanks -- Jesse Barnes, Intel Open Source Technology Center --
Aug 15, 12:15 pm 2008
Jean Delvare
Re: [PATCH/RFC] pci: dynids.use_driver_data considered harmful
Hi Jesse, In fact we can do even better than that. We could accept from user-space only driver_data values which at least one device ID entry in the driver already uses. That should be fairly easy to implement, and would offer a level of safety an order of magnitude above what we have at the moment... And it works both ways: if 0 is not a valid data for some driver, that would force the user to provide a non-zero (and valid) data value. And it guarantees that the user can't ask for something ...
Aug 15, 11:55 am 2008
David Miller
Re: Bootmem allocator broken
From: "Alexander Beregalov" <a.beregalov@gmail.com> Thanks for your testing and patience :) --
Aug 15, 2:13 pm 2008
Alexander Beregalov
Re: Bootmem allocator broken
It is working! Thanks a lot David and Mikulas! alexb@sparky ~ $ zgrep LOCKDEP /proc/config.gz CONFIG_LOCKDEP_SUPPORT=y CONFIG_LOCKDEP=y CONFIG_DEBUG_LOCKDEP=y alexb@sparky ~ $ uname -a Linux sparky 2.6.27-rc3-00171-gb635ace-dirty #3 PREEMPT Fri Aug 15 14:52:40 MSD 2008 sparc64 sun4u TI UltraSparc IIi (Sabre) GNU/Linux --
Aug 15, 4:09 am 2008
Tom Zanussi
Re: [PATCH 1/3] relay: Fix 4 off-by-one errors occuring ...
Hi, Just a small problem compiling - there was no Makefile or configure, and the README doesn't say anything about autogen.sh, though I later saw something about it in the kernel documentation. Anyway, autogen.sh failed because I didn't have autoconf/automake installed; after doing that I didn't have a problem compiling. I did notice a couple printf format warnings, though. I then ran kmemtraced and ran the check and report on the output. The check passed but the report tool just spewed ...
Aug 14, 9:31 pm 2008
Borislav Petkov Aug 15, 12:34 am 2008
Borislav Petkov
Re: [PATCH 03/18] ide-cd: cdrom_decode_status: factor ou ...
Hi Bart, here's a first attempt at that. These are only RFC of nature, please take a look when there's time. They've been lightly tested but I'll do more later since this path is not hit that often and a special test case will be required. --- From: Borislav Petkov <petkovbb@gmail.com> Date: Sun, 10 Aug 2008 18:54:03 +0200 Subject: [PATCH 1/2] ide-cd: move error handling outside of cdrom_decode_status() There should be no functionality change resulting from this patch. Signed-off-by: ...
Aug 15, 12:34 am 2008
KOSAKI Motohiro
Re: No, really, stop trying to delete slab until you've ...
> This is a NUMA system right? True. My system is CPU: ia64 x8 Please let me know that operations ? --
Aug 15, 9:44 am 2008
Christoph Lameter
Re: No, really, stop trying to delete slab until you've ...
The control over the preferences of node local vs. remote defrag is occurring via /sys/kernel/slab/<slabcache>/remote_node_defrag ratio. Default is 10%. Comments in get_any_partial explain the operations. The default setting means that in 9 out of 10 cases slub will prefer creating a new slab over taking one from the remote node (meaning the memory is node local, probably not important in your 2 node case). It will therefore waste memory because local memory may be more efficient to ...
Aug 15, 11:24 am 2008
Christoph Lameter
Re: No, really, stop trying to delete slab until you've ...
As pointed out by Adrian D. off list: The max remote_node_defrag_ratio is 99. Maybe we need to change the comparison in remote_node_defrag_ratio_store() to allow 100 to switch off any node local allocs? --
Aug 15, 12:42 pm 2008
Sven Wegener
Re: [PATCHv3] leds-pca955x: Add proper error handling an ...
Thanks for testing! Andrew, could you please update the patch in -mm with the one below. It contains the below fixes, that were applied after you added it to -mm, and is identical to the one Nate tested. - Another 32 -> sizeof() conversion - Move the unregister code to where we also free the memory on failure - cancel_work_sync() when unregistering on failure From 2f8a666be724f272236cd724d1bc5e280675bc3e Mon Sep 17 00:00:00 2001 From: Sven Wegener <sven.wegener@stealer.net> Date: Thu, 7 ...
Aug 15, 12:36 pm 2008
Maciej W. Rozycki
Re: [patch 8/8] x86: apic - unify init_bsp_APIC
I just questioned the purpose of reformatting the comment. I see no problem with lapic_is_integrated() appearing in 64-bit code -- if someone cannot figure out why it would appear there, they better practised some thinking at home before coming back. We have plenty of places with such constructs that expand to literals for some configurations all over our tree anyway. Maciej --
Aug 15, 8:31 am 2008
Cyrill Gorcunov
Re: [patch 8/8] x86: apic - unify init_bsp_APIC
[Maciej W. Rozycki - Fri, Aug 15, 2008 at 04:31:57PM +0100] | On Fri, 15 Aug 2008, Cyrill Gorcunov wrote: | | > Since lapic_is_integrated is just eliminated on 64bit I thought | > it's better to have smooth code flow as much as possible. By 'smooth' | > I mean to not use #ifdef until there is no chance to escape from. | | Of course! | | > And Maciej - you're so right - if someone will take a look on the | > apic_64.c code now he will be quite wondered what lapic_is_integrated | > is doing ...
Aug 15, 9:35 am 2008
Ingo Molnar
Re: [patch 8/8] x86: apic - unify init_bsp_APIC
yeah - in fact for most unifications we did the 32-bit counterpart was the cleaner one. (which is no big surprise, 80%-90% of the x86 Linux use, even today, is on the 32-bit side - so most developers watch that one.) Ingo --
Aug 15, 6:48 am 2008
Ingo Molnar
Re: [patch 8/8] x86: apic - unify init_bsp_APIC
no problem with having such temporary state at all - and we want to test things out as well. Ingo --
Aug 15, 7:47 am 2008
Maciej W. Rozycki
Re: [patch 8/8] x86: apic - unify init_bsp_APIC
Indeed -- the change just moves a comment around from the obvious place (where it means: "the condition true applies to the 82489DX") to elsewhere while rephrasing it in a way that makes me wonder: "What the hell is that meant to mean?" Perhaps it is clearer to the others, but for me it is just obfuscation. I think the comment as it is is clear enough and is also clearly visible when browsing through the source, when you want to spot all the odd bits related to the discrete APIC. This ...
Aug 15, 5:15 am 2008
Cyrill Gorcunov
Re: [patch 8/8] x86: apic - unify init_bsp_APIC
[Ingo Molnar - Fri, Aug 15, 2008 at 03:48:01PM +0200] | | * Maciej W. Rozycki <macro@linux-mips.org> wrote: | | > > If that was the question, the answer would be: to unify apic_32.c | > > and apic_64.c we first use tiny little changes to bring the two | > > files in sync. Presumably, each such change is a NOP or at least | > > very safe - and clearly bisectable in the worst-case. | > | > If the obfuscation comes from apic_64.c, then the clean-up should be | > done in th other direction ...
Aug 15, 7:45 am 2008
Cyrill Gorcunov
Re: [patch 8/8] x86: apic - unify init_bsp_APIC
On Thu, Aug 14, 2008 at 11:44 PM, Maciej W. Rozycki Hi Maciej, don't really understand what do you mean. Do you mean it should be a separate patch for this code snippet? Actually since we always have lapic integrated on 64bit cpu gcc will eliminate this check. Cyrill --
Aug 14, 11:41 pm 2008
Ingo Molnar
Re: [patch 8/8] x86: apic - unify init_bsp_APIC
i suspect the question might have been: 'why this change'. If that was the question, the answer would be: to unify apic_32.c and apic_64.c we first use tiny little changes to bring the two files in sync. Presumably, each such change is a NOP or at least very safe - and clearly bisectable in the worst-case. In this case, something that only makes sense on 32-bit has been added over to the 64-bit side. The resulting apic.c file will have to have legacy code as well - but hopefully not ...
Aug 15, 4:51 am 2008
previous daytodaynext day
August 14, 2008August 15, 2008August 16, 2008