linux-kernel mailing list

FromSubjectsort iconDate
Adrian Bunk
[2.6 patch] kconfig: remove "enable"
Kconfig had a synonym "enable" for "select" that was neither documented nor used. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- scripts/kconfig/zconf.gperf | 1 - scripts/kconfig/zconf.hash.c_shipped | 14 +++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) 6b3161305f33144e2ae5227bbf32221e2310371d diff --git a/scripts/kconfig/zconf.gperf b/scripts/kconfig/zconf.gperf index 93538e5..2196816 100644 --- a/scripts/kconfig/zconf.gperf +++ b/scripts/kconfig...
Jan 22, 7:54 pm 2008
Anton Salikhmetov
[PATCH -v8 0/4] Fixing the issue with memory-mapped file times
This is the eighth version of my solution for the bug #2645: http://bugzilla.kernel.org/show_bug.cgi?id=2645 Since the previous version, the following has changed: 1) based on Linus' comment, a more efficient PTE walker implemented; 2) the design document added to the kernel documentation. Functional tests successfully passed. Please comment. --
Jan 22, 7:21 pm 2008
Anton Salikhmetov
[PATCH -v8 4/4] The design document for memory-mapped file t...
Add a document, which describes how the POSIX requirements on updating memory-mapped file times are addressed in Linux. Signed-off-by: Anton Salikhmetov <salikhmetov@gmail.com> --- Documentation/vm/00-INDEX | 2 + Documentation/vm/msync.txt | 117 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 119 insertions(+), 0 deletions(-) diff --git a/Documentation/vm/00-INDEX b/Documentation/vm/00-INDEX index 2131b00..2726c8d 100644 --- a/Documentation/vm/00-INDEX +++ b/Documen...
Jan 22, 7:21 pm 2008
Anton Salikhmetov
[PATCH -v8 1/4] Massive code cleanup of sys_msync()
Use the PAGE_ALIGN() macro instead of "manual" alignment. Improve readability of the loop, which traverses the process memory regions. Make code more symmetric and possibly boost performance on some RISC CPUs by moving variable assignments. Signed-off-by: Anton Salikhmetov <salikhmetov@gmail.com> --- mm/msync.c | 76 ++++++++++++++++++++++++++++------------------------------- 1 files changed, 36 insertions(+), 40 deletions(-) diff --git a/mm/msync.c b/mm/msync.c index 144a757..60efa36 ...
Jan 22, 7:21 pm 2008
Anton Salikhmetov
[PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys_msy...
Force file times update at the next write reference after calling the msync() system call with the MS_ASYNC flag. Signed-off-by: Anton Salikhmetov <salikhmetov@gmail.com> --- mm/msync.c | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 82 insertions(+), 10 deletions(-) diff --git a/mm/msync.c b/mm/msync.c index 60efa36..87f990e 100644 --- a/mm/msync.c +++ b/mm/msync.c @@ -5,6 +5,7 @@ * Copyright (C) 2008 Anton Salikhmetov <salikhmetov@gmail.com&g...
Jan 22, 7:21 pm 2008
Anton Salikhmetov
[PATCH -v8 2/4] Update ctime and mtime for memory-mapped files
Update ctime and mtime for memory-mapped files at a write access on a present, read-only PTE, as well as at a write on a non-present PTE. Signed-off-by: Anton Salikhmetov <salikhmetov@gmail.com> --- mm/memory.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/mm/memory.c b/mm/memory.c index 6dd1cd8..4b0144b 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -1670,6 +1670,9 @@ gotten: unlock: pte_unmap_unlock(page_table, ptl); if (dirty_page) { + if (vma-...
Jan 22, 7:21 pm 2008
travis
[PATCH 3/3] generic: fixup percpu Kconfig options, fold perc...
[ patches for x86.git ] 03-fix-x86.git-non-x86-changes - non-x86 changes that should fix build errors when x86.git is merged into -mm. [necessary for -mm merge] [percpu_modcopy() being the primary problem but also the config option name for "HAVE_PER_CPU_SETUP" is different.] Cc: David Miller <davem@davemloft.net> Cc: linux-ia64@vger.kernel.org Cc: Paul Mackerras <paulus@samba.org> Cc: schwidefsky@de.ibm.com Cc: tony.luck@intel.com Signed-off-by: Mike Travis <t...
Jan 22, 7:04 pm 2008
travis
[PATCH 1/3] x86: fix percpu, nodeids, apicids in x86.git
[ patches for x86.git ] 01-fix-x86.git-need - fixes up things missing in (08/01/22) x86.git [necessary] This should bring x86.git up-to-date with changes from -mm specific to x86 Cc: David Rientjes <rientjes@google.com> Cc: Eric Dumazet <dada1@cosmosbay.com> Cc: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Mike Travis <travis@sgi.com> --- arch/x86/Kconfig | 2 +- arch/x86/kernel/setup64.c | 10 +++++----- arch/x86/kernel...
Jan 22, 7:04 pm 2008
travis
[PATCH 2/3] x86: add percpu, cpu_to_node debug options
[ patches for x86.git ] 02-fix-x86.git-debug-maxsmp - adds debug options [do not include, except for DEBUG] These are debug options only. Should not be applied but are very helpful when the system panics early or when testing of large count NR_CPUS is desired. Signed-off-by: Mike Travis <travis@sgi.com> --- arch/x86/Kconfig | 22 ++++++++++++++++------ include/asm-x86/page_64.h | 4 ++++ lib/Kconfig.debug | 12 ++++++++++++ 3 files changed, 3...
Jan 22, 7:04 pm 2008
travis
[PATCH 0/3] x86/non-x86: percpu, node ids, apic ids x86.git ...
[ patches for x86.git ] Here is 3 patches to address the following: 01-fix-x86.git-need - fixes up things missing in x86.git [necessary] 02-fix-x86.git-debug-maxsmp - adds debug options [do not include, except for DEBUG] 03-fix-x86.git-non-x86-changes - non-x86 changes that should fix build errors when x86.git is merged into -mm. [necessary for -mm merge] [percpu_modcopy() being the primary problem but also the config option name for "HAVE_PER_CPU_SETUP" is di...
Jan 22, 7:04 pm 2008
Bartlomiej Zolnierki...
[PATCH] ppc: fix #ifdef-s in mediabay driver
* Replace incorrect CONFIG_BLK_DEV_IDE #ifdef in check_media_bay() by CONFIG_MAC_FLOPPY one. * Replace incorrect CONFIG_BLK_DEV_IDE #ifdef-s by CONFIG_BLK_DEV_IDE_PMAC ones. * check_media_bay() is used only by drivers/block/swim3.c so make this function available only if CONFIG_MAC_FLOPPY is defined. * check_media_bay_by_base() and media_bay_set_ide_infos() are used only by drivers/ide/ppc/pmac.c so so make these functions available only if CONFIG_MAC_FLOPPY is defined. Signe...
Jan 22, 7:12 pm 2008
Benjamin Herrenschmidt
Re: [PATCH] ppc: fix #ifdef-s in mediabay driver
I'd rather avoid touching 2.6.24 unless it actually fixes a bug or regression... I'm tempted to actually remove all ifdef's ... if you have a media-bay, then there are about 99% chances it contains an IDE device, with the remaining percent being split with putting a floppy or a battery in. I doubt anybody will care building a kernel without the support for these and with the mediabay support, and still want to save a handful of bytes in that driver. Ben. --
Jan 22, 7:59 pm 2008
Bartlomiej Zolnierki...
[PATCH] ide-cs: use ide_std_init_ports()
No reason to use ide_init_hwif_ports() in ide-cs (as a nice side-effect this makes ide-cs work on archs that don't define IDE_ARCH_OBSOLETE_INIT). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/legacy/ide-cs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/ide/legacy/ide-cs.c =================================================================== --- a/drivers/ide/legacy/ide-cs.c +++ b/drivers/ide/legacy/ide-cs.c @@ -151,7 +151,7 @...
Jan 22, 7:03 pm 2008
Arjan van de Ven
[patch] x86: test case for the RODATA config option
From: Arjan van de Ven <arjan@linux.intel.com> Subject: x86: test case for the RODATA config option This patch adds a test module for the DEBUG_RODATA config option to make sure change_page_attr() did indeed make "const" data read only. This testcase both tests the DEBUG_RODATA code as well as the change_page_attr() code for correct operation. When the tests/ patch gets merged, this module should move to the tests/ directory. Signed-off-by: Arjan van de Ven <arjan@linux.intel.com...
Jan 22, 6:44 pm 2008
Rafael J. Wysocki
2.6.24-rc8-git5: Reported regressions from 2.6.23
This message contains a list of some regressions from 2.6.23 reported since 2.6.24-rc1 was released, for which there are no fixes in the mainline I know of.  If any of them have been fixed already, please let me know. If you know of any other unresolved regressions from 2.6.23, please let me know either and I'll add them to the list.  Also, please let me know if any of the entries below are invalid. Listed regressions statistics: Date Total Pending Unresolved -----------------...
Jan 22, 6:09 pm 2008
Alan Cox
Re: 2.6.24-rc8-git5: Reported regressions from 2.6.23
This has been present in the kernel fixed for some time. --
Jan 22, 6:36 pm 2008
Rafael J. Wysocki
Re: 2.6.24-rc8-git5: Reported regressions from 2.6.23
I'll remove it from the list. Which commit has fixed it, btw? --
Jan 22, 6:46 pm 2008
Pavel Machek Jan 22, 5:24 pm 2008
H. Peter Anvin
Re: factor out common s2ram wakeup code
Would a shared structure be OK for that? That's easier than dealing with symbols. -hpa --
Jan 22, 5:51 pm 2008
Pavel Machek
Re: factor out common s2ram wakeup code
Shared structure would be okay, plus I need pointer to beggining and end of code so that I can copy it to lowmem. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html --
Jan 22, 6:03 pm 2008
H. Peter Anvin
Re: factor out common s2ram wakeup code
OK, that's easy. -hpa --
Jan 22, 6:09 pm 2008
travis
[PATCH 0/1] dummy header
please ignore me -- --
Jan 22, 5:15 pm 2008
travis
[PATCH 1/1] fix possible undefined PER_CPU_ATTRIBUTES
Not sure how this leaked out and I haven't caught it yet in my cross-build testing but to be on the safe side, PER_CPU_ATTRIBUTES should be defined. Applies to 2.6.24-rc8-mm1 + percpu changes Signed-off-by: Mike Travis <travis@sgi.com> --- include/linux/percpu.h | 4 ++++ 1 file changed, 4 insertions(+) --- a/include/linux/percpu.h +++ b/include/linux/percpu.h @@ -9,6 +9,10 @@ #include <asm/percpu.h> +#ifndef PER_CPU_ATTRIBUTES +#define PER_CPU_ATTRIBUTES +#endif ...
Jan 22, 5:15 pm 2008
Harald Dunkel
2.6.24-rc8: iwl3945 gets stuck
Hi folks, If I put some heavy load on the iwl3945, then the network connection gets stuck after a some time. To fix it I have to reload the module. AFAICS this problem was a topic on lkml almost 3 months ago. Any news about this? I would be glad to help to track this down, but I have no idea how to change the scaling algorithm to iwl-3945-rs . Regards Harri --
Jan 22, 4:54 pm 2008
John W. Linville
Re: 2.6.24-rc8: iwl3945 gets stuck
Can you quantify this a bit more? What constitutes a "heavey load"? What (if any) encryption are you using? Are you using any options for iwl3945 in /etc/modprobe.conf? Could you include the output of dmesg and/or the contents of This should happen automatically now. John -- John W. Linville linville@tuxdriver.com --
Jan 22, 6:15 pm 2008
Dan Nica
SiI 3512 Serial ATA Controller - kernel 2.6.23
hello I have a problem with a serial ata controller that uses a SiI 3512 chip. when I'm trying to add a device thats on the 3512 controller to the array that I have, it give me lots of errors in dmesg like this: ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x2400000 action 0x0 ata3.00: BMDMA2 stat 0x8652001 ata3.00: cmd 35/00:80:3f:5c:03/00:02:00:00:00/e0 tag 0 cdb 0x0 data 327680 out res 51/04:80:3f:5e:03/00:00:00:00:00/e0 Emask 0x1 (device error) ata3.00: configured for UDMA/100 ...
Jan 22, 4:43 pm 2008
Jeff Garzik
Re: SiI 3512 Serial ATA Controller - kernel 2.6.23
That's the device reporting an error, when the system issued a WRITE command ("cmd 35/....."), and the SiI controller is happily reporting that error to you. I would worry about the device, if it is reporting errors on WRITE. Jeff --
Jan 22, 5:05 pm 2008
Dan Nica
Re: SiI 3512 Serial ATA Controller - kernel 2.6.23
attached dmesg and lspci 10x jeff >
Jan 22, 5:15 pm 2008
Miguel Ojeda
WARN_ON() at fs/sysfs/dir.c:424 sysfs_add_one()
(Re) Booting 2.6.24-rc8 on my Dell Vostro 1500 laptop I see this: sysfs: duplicate filename 'fan' can not be created WARNING: at fs/sysfs/dir.c:424 sysfs_add_one() Pid: 819, comm: modprobe Not tainted 2.6.24-rc8 #2 [<c01b18ff>] sysfs_add_one+0x9f/0xe0 [<c01b1e38>] create_dir+0x48/0x90 [<c01b1ea9>] sysfs_create_dir+0x29/0x50 [<c024873f>] kobject_get+0xf/0x20 [<c0248bff>] kobject_add+0x8f/0x1b0 [<c0248db1>] kobject_register+0x21/0x50 [<c02dc6f1&gt...
Jan 22, 4:41 pm 2008
Alexey Dobriyan
[PATCH] Remove BKL from sysctl(2)
/proc/sys part of sysctl code runs without BKL held, so BKL during sysctl(2) is useless. Remove misleading comment and "protection" around coredumping code -- kernel.core_pattern can be written without BKL. do_sysctl() and lookup in /proc/sys use identical iterators, so any locking bug BKL supposedly fixed in sysctl(2) code we should have in /proc/sys code anyway. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> --- arch/ia64/ia32/sys_ia32.c | 2 -- arch/mips/kernel/linu...
Jan 22, 4:27 pm 2008
Ingo Molnar
Re: [PATCH] Remove BKL from sysctl(2)
cool! You just shortened the grand 10-year-plan of BKL removal by at least one year :-) Acked-by: Ingo Molnar <mingo@elte.hu> Ingo --
Jan 22, 4:52 pm 2008
Manuel Reimer
Massive IDE problems. Who leaves data here?
Hello, anything started with a try to burn Slackware 12.0 from the original DVD to an new medium with different boot settings. I always got corrupted results and didn't know why. So I started with an "md5sum -c CHECKSUMS.md5" directly on the original media. This resulted in "anything OK". Now I copied the whole DVD to my hard drive and created an ISO from it. I mounted the ISO locally and my md5sum now results in 5 corrupted files. --> A Bug in mkisofs? No, unfortunately not, as a ...
Jan 22, 4:24 pm 2008
Jeff Garzik
Re: Massive IDE problems. Who leaves data here?
If your IDE interface is complaining about BadCRC errors, then it's complaining about hardware problems (bad cable, etc.) Jeff --
Jan 22, 4:25 pm 2008
Manuel Reimer
Re: Massive IDE problems. Who leaves data here?
The cable already has been replaced three times. I even got sure to *not* bend the cable. This all doesn't help. May a bad cable really cause corrupted data? I also have such messages for my cdrom drive (the bad sector messages at the end of the log for drive hdc). I replaced the 40 pin cable with a new 80 pin one and still have the errors... Yours Manuel --
Jan 22, 4:40 pm 2008
Alan Cox
Re: Massive IDE problems. Who leaves data here?
On Tue, 22 Jan 2008 21:40:21 +0100 Yes, or dodgy connectors or other problems. The CRC itself is computed by the hardware each end so a BadCRC error really means the two ends disagree about the data. That is *usually* a cable/electrical noise problem. It can be power and it can occasionally show up if the software misprograms the timing so the two ends are a bit out of sync. Alan --
Jan 22, 6:25 pm 2008
Ray Lee
Re: Massive IDE problems. Who leaves data here?
(Please always do a reply-to-all for this email list.) Bad or almost bad power supplies can cause lots of unhappy problems such as these. If you have another power supply laying around, it can be worth swapping them out. Double-checking that your CPU fan is still spinning, and that memtest86+ doesn't show any errors doesn't hurt either. --
Jan 22, 4:46 pm 2008
Manuel Reimer
Re: Massive IDE problems. Who leaves data here?
Currently I don't have a SMTP server configured. As soon as my system is ... that may be possible... I have all PCI slots filled with cards, two big IDE hard drives and one DVD RAM writer. I already disconnected the DVD drive, as this was nearly unusable with all those IDE errors. The power supply is (AFAIR) a 200 watt one. But may the power supply cause corrupted data? Shouldn't that crash down the PC completely? CU Manuel --
Jan 22, 5:04 pm 2008
Jan Engelhardt
Re: Massive IDE problems. Who leaves data here?
Ugh, 250 W was a safe^[0] minimum even back in '98 when harddisks were like 4.3GB and a dual-speed CD-RW drive was like $400 and up. You seriously need to replace that. [0] e.g. suited for 2 CD drives and 2 harddisks, 2 PCI and 1 AGP --
Jan 22, 7:50 pm 2008
Ray Lee
Re: Massive IDE problems. Who leaves data here?
Oy. Just know that without CC:ing people, I'm having to add Jeff back in by hand, and we may not notice your messages. Please, with whatever you're using to send email, CC: people that you want to read your messages, okay? LKML gets a lot of messages, and it's easy to miss No, not in the least. When power supplies are on the edge and overloaded, the quality of power drops. 12V lines may only supply 11 or less, etc. Some components in your computer will deal with it fine, others won't. In gener...
Jan 22, 5:12 pm 2008
Pavel Machek
factor out common s2ram wakeup code
It seems to compile 32/64bit, and work 32bit... Now, video code should be probably shared with kernel/boot; but that was rewritten to C and I'm not sure if I know enough about linkers... basically the C code should replace mode_set() and friends. Peter, can you help? Pavel --- Factor out common real-mode part of wakeup_{32,64}.S. Signed-off-by: Pavel Machek <pavel@suse.cz> --- commit 2fac1886274433c64e76611e6b1ba2318c5914a4 tree 2d6bdc7c2eda9845b57e1d7128b187df1b1fd2c9 pa...
Jan 22, 3:37 pm 2008
H. Peter Anvin
Re: factor out common s2ram wakeup code
Yes, absolutely. I think we should probably segregate out into a subdirectory the part of the code that should be run in 16-bit mode, and then it's just a matter of pretty much replicating the mechanisms used in arch/x86/boot. How can I best be of help? -hpa --
Jan 22, 4:27 pm 2008
Pavel Machek
Incorrect filename comments in arch/x86/boot
Hi! Not sure if this is worth fixing, or if I should just delete those comments...? (Or does someone want to do that? ;-). Pavel pavel@amd:/data/l/linux/arch/x86/boot$ grep arch/i386/boot *.c a20.c: * arch/i386/boot/a20.c apm.c: * arch/i386/boot/apm.c cmdline.c: * arch/i386/boot/cmdline.c cpu.c: * arch/i386/boot/cpu.c cpucheck.c: * arch/i386/boot/cpucheck.c edd.c: * arch/i386/boot/edd.c main.c: * arch/i386/boot/main.c mca.c: * arch/i386/boot/mca.c memory.c: * arch/i386/boot/memory...
Jan 22, 3:39 pm 2008
H. Peter Anvin
Re: Incorrect filename comments in arch/x86/boot
I'll take care of it. -hpa --
Jan 22, 4:20 pm 2008
Jan Engelhardt
[PATCH] kernel: constify data and function pointer tables
Hi, this one also touches like any place that could be found, so I combined it. ===Patch begins here=== [PATCH] kernel: constify data and function pointer tables Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> --- drivers/char/apm-emulation.c | 2 +- drivers/char/drm/drmP.h | 6 +++--- drivers/char/misc.c | 2 +- drivers/char/tpm/tpm_bios.c | 4 ++-- drivers/isdn/capi/kcapi_proc.c | 10 +++++----- drivers/misc/phantom.c ...
Jan 22, 4:01 pm 2008
Jan Engelhardt
[PATCH] procfs: constify function pointer tables
Hi, This touches so many different places that I did not feel like creating a miniscule patch for each architecture. I hope that is ok. ===Patch begins=== [PATCH] procfs: constify function pointer tables Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> --- arch/alpha/kernel/setup.c | 2 +- arch/blackfin/kernel/setup.c | 2 +- arch/cris/kernel/setup.c | 2 +- arch/frv/kernel/setup.c | 2 +- arch/h8300/kernel/setup.c | 2 +- arch/m32r/kerne...
Jan 22, 4:00 pm 2008
Stephen Rothwell
Re: [PATCH] procfs: constify function pointer tables
Hi Jan, On Tue, 22 Jan 2008 21:00:46 +0100 (CET) Jan Engelhardt <jengelh@computergm= [ and many others ... ] I don't suppose you feel like finding appropriate header files to put these declarations into? --=20 Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/
Jan 22, 7:36 pm 2008
David Howells
Re: [PATCH] procfs: constify function pointer tables
FRV looks okay. Acked-By: David Howells <dhowells@redhat.com> --
Jan 22, 6:57 pm 2008
Mike Frysinger
Re: [PATCH] procfs: constify function pointer tables
there is a linux-arch alias so you dont have to look up every Blackfin changes look fine, thanks Acked-by: Mike Frysinger <vapier@gentoo.org> -mike --
Jan 22, 6:43 pm 2008
Geert Uytterhoeven
Re: [PATCH] procfs: constify function pointer tables
m68k part is: Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds --
Jan 22, 5:25 pm 2008
Jan Engelhardt
[PATCH] x86: constify function pointer tables
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> --- arch/x86/kernel/cpu/proc.c | 2 +- arch/x86/kernel/setup_64.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/cpu/proc.c b/arch/x86/kernel/cpu/proc.c index 3900e46..0282132 100644 --- a/arch/x86/kernel/cpu/proc.c +++ b/arch/x86/kernel/cpu/proc.c @@ -188,7 +188,7 @@ static void *c_next(struct seq_file *m, void *v, loff_t *pos) static void c_stop(struct seq_file *m, void *v) { } -st...
Jan 22, 3:51 pm 2008
previous daytodaynext day
January 21, 2008January 22, 2008January 23, 2008