Attansic L1 page corruption (was: 2.6.22-rc5: pdflush oops under heavy disk load)

2007-06-25 Thread Jay L. T. Cornwall
Jay Cliburn wrote: For reasons not yet clear to me, it appears the L1 driver has a bug or the device itself has trouble with DMA in high memory. This patch, drafted by Luca Tettamanti, is being explored as a workaround. I'd be interested to know if it fixes your problem. Yes, it certainly

Re: [patch 2/2] HFS+: Add custom dentry hash and comparison operations

2007-06-25 Thread Roman Zippel
Hi, On Wed, 20 Jun 2007, Duane Griffin wrote: Add custom dentry hash and comparison operations for HFS+ filesystems that are case-insensitive and/or do automatic unicode decomposition. The new operations reuse the existing HFS+ ASCII to unicode conversion, unicode decomposition and case

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-25 Thread Takashi Iwai
At Mon, 25 Jun 2007 13:36:23 +0200 (CEST), Tomasz Kłoczko wrote: [1 text/plain; ISO-8859-2 (8bit)] On Mon, 25 Jun 2007, Takashi Iwai wrote: [..] Sound it in not rocket science. In 99.9% cases you need well abstracted API which ALSA doe not provide and this is real cause why so poor sound

Re: [PATCH]is_power_of_2-ufs/super.c

2007-06-25 Thread Robert P. J. Day
On Mon, 25 Jun 2007, Johannes Weiner wrote: Hi, On Thu, Jun 14, 2007 at 01:39:18PM +0530, vignesh babu wrote: Replacing (n (n-1)) in the context of power of 2 checks with is_power_of_2 You might want to run egrep -R '([a-zA-Z0-9_.]+) * *\(\1 *- *1\)' /usr/src/linux This does

Oops: 2.6.21.3 via_rhine

2007-06-25 Thread Andrew A. Razdolsky
= 0. cat /etc/slackware-version Slackware 11.0.0 (x86_64) =

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-25 Thread Olivier Galibert
On Mon, Jun 25, 2007 at 02:40:23PM +0200, Jan Engelhardt wrote: On Jun 25 2007 14:31, Takashi Iwai wrote: It was started in time when most cheap sound cards was without hw mixer. And .. when today you use ALSA on sound card without hw mixer still all this (past ?) problems are actual.

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-25 Thread Bartlomiej Zolnierkiewicz
Hi, On Monday 25 June 2007, Tomasz Kłoczko wrote: On Mon, 25 Jun 2007, Takashi Iwai wrote: [..] Any plans for doing this ? Did you count the number of devices that tree supports? What is harder ? Bring ALSA API to the same level of functionalities as OSS provides or port (FOSS) ALSA

Re: [patch, 2.6.22-rc6] fix nmi_watchdog=2 bootup hang

2007-06-25 Thread Jeremy Fitzhardinge
Björn Steinbrink wrote: On 2007.06.25 10:26:52 +0200, Ingo Molnar wrote: * Ingo Molnar [EMAIL PROTECTED] wrote: the winner is ... f8822f42019eceed19cc6c0f985a489e17796ed8 is first bad commit commit f8822f42019eceed19cc6c0f985a489e17796ed8 Author: Jeremy Fitzhardinge [EMAIL

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-25 Thread Takashi Iwai
At Mon, 25 Jun 2007 14:47:50 +0200, Olivier Galibert wrote: On Mon, Jun 25, 2007 at 02:40:23PM +0200, Jan Engelhardt wrote: On Jun 25 2007 14:31, Takashi Iwai wrote: It was started in time when most cheap sound cards was without hw mixer. And .. when today you use ALSA on sound card

Re: [PATCH -mm 2/2] x86_64: semi-rewrite of PTRACE_PEEKUSR, PTRACE_POKEUSR

2007-06-25 Thread Alexey Dobriyan
On Wed, Jun 20, 2007 at 02:41:48PM -0700, Roland McGrath wrote: What's the purpose of the change? Chopping small bits of utrace to mainline. regset stuff looks reasonable and self-contained enough to start with. However, regset part in utrace contain quite a few unused things, so I'm leaving

Re: Attansic L1 page corruption

2007-06-25 Thread Jay Cliburn
Jay L. T. Cornwall wrote: Jay Cliburn wrote: For reasons not yet clear to me, it appears the L1 driver has a bug or the device itself has trouble with DMA in high memory. This patch, drafted by Luca Tettamanti, is being explored as a workaround. I'd be interested to know if it fixes your

Re: [patch -rss] Make RSS accounting display more user friendly

2007-06-25 Thread Balbir Singh
Paul Menage wrote: On 6/22/07, Balbir Singh [EMAIL PROTECTED] wrote: The problem with input in bytes is that the user will have to ensure that the input is a multiple of page size, which implies that she would need to use the calculator every time. Having input in bytes seems pretty

Re: [PATCH] cross-architecture ELF clean up

2007-06-25 Thread Jeremy Fitzhardinge
David Woodhouse wrote: On Wed, 2007-06-20 at 16:08 -0700, Jeremy Fitzhardinge wrote: This patch cleans up the ELF headers and their users. It does several related things: Looks good. We can get away with exporting a lot less of this to userspace too, can't we? Probably. What

Re: [patch, 2.6.22-rc6] fix nmi_watchdog=2 bootup hang

2007-06-25 Thread Jeremy Fitzhardinge
Ingo Molnar wrote: * Ingo Molnar [EMAIL PROTECTED] wrote: hm, restoring nmi.c to the v2.6.21 state does not fix the nmi_watchdog=2 hang. I'll do a bisection run. and after spending an hour on 15 bisection steps: git-bisect start git-bisect good

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-25 Thread Jan Engelhardt
On Jun 25 2007 14:31, Takashi Iwai wrote: It was started in time when most cheap sound cards was without hw mixer. And .. when today you use ALSA on sound card without hw mixer still all this (past ?) problems are actual. Huh? I have no problems with soft mixing... Diverging from the

Re: Scaling Max IP address limitation

2007-06-25 Thread Jan Engelhardt
On Jun 25 2007 12:41, Robert Iakobashvili wrote: I am getting after initial successes some errors: rtnl_talk(): RTNETLINK answers: Cannot allocate memory and #ip addr | wc-l is 8194. I'd be surprised if it was 4096 on x86 and 8192 on x86_64... Missed to mention: the CPU is Pentium-4.

Re: [patch 1/3] add the fsblock layer

2007-06-25 Thread Chris Mason
On Mon, Jun 25, 2007 at 05:41:58PM +1000, Nick Piggin wrote: Neil Brown wrote: On Sunday June 24, [EMAIL PROTECTED] wrote: +#define PG_blocks 20 /* Page has block mappings */ + I've only had a very quick look, but this line looks *very* wrong. You should be using

Re: Scaling Max IP address limitation

2007-06-25 Thread Robert Iakobashvili
On 6/25/07, Jan Engelhardt [EMAIL PROTECTED] wrote: On Jun 25 2007 12:41, Robert Iakobashvili wrote: I am getting after initial successes some errors: rtnl_talk(): RTNETLINK answers: Cannot allocate memory and #ip addr | wc-l is 8194. I'd be surprised if it was 4096 on x86 and 8192 on

Re: [patch, 2.6.22-rc6] fix nmi_watchdog=2 bootup hang

2007-06-25 Thread Björn Steinbrink
On 2007.06.25 10:26:52 +0200, Ingo Molnar wrote: * Ingo Molnar [EMAIL PROTECTED] wrote: the winner is ... f8822f42019eceed19cc6c0f985a489e17796ed8 is first bad commit commit f8822f42019eceed19cc6c0f985a489e17796ed8 Author: Jeremy Fitzhardinge [EMAIL PROTECTED] Date: Wed May

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-25 Thread Olivier Galibert
On Mon, Jun 25, 2007 at 02:31:08PM +0200, Takashi Iwai wrote: So, do you mean the soft-mixing is the biggest issue? That's just a part of a design issue, and if we want to go to that way, the impelemtation would be trivial, regardless on ALSA or not. Totally irrelevant argument regarding

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-25 Thread Takashi Iwai
At Mon, 25 Jun 2007 14:44:42 +0200, Olivier Galibert wrote: On Mon, Jun 25, 2007 at 02:31:08PM +0200, Takashi Iwai wrote: So, do you mean the soft-mixing is the biggest issue? That's just a part of a design issue, and if we want to go to that way, the impelemtation would be trivial,

Re: Attansic L1 page corruption (was: 2.6.22-rc5: pdflush oops under heavy disk load)

2007-06-25 Thread Luca
On 6/25/07, Jay L. T. Cornwall [EMAIL PROTECTED] wrote: Jay Cliburn wrote: For reasons not yet clear to me, it appears the L1 driver has a bug or the device itself has trouble with DMA in high memory. This patch, drafted by Luca Tettamanti, is being explored as a workaround. I'd be

Re: [patch, 2.6.22-rc6] fix nmi_watchdog=2 bootup hang

2007-06-25 Thread Björn Steinbrink
On 2007.06.25 08:49:05 -0400, Jeremy Fitzhardinge wrote: Björn Steinbrink wrote: On 2007.06.25 10:26:52 +0200, Ingo Molnar wrote: * Ingo Molnar [EMAIL PROTECTED] wrote: the winner is ... f8822f42019eceed19cc6c0f985a489e17796ed8 is first bad commit commit

Re: [patch 1/3] add the fsblock layer

2007-06-25 Thread Chris Mason
On Sun, Jun 24, 2007 at 03:46:13AM +0200, Nick Piggin wrote: Rewrite the buffer layer. Overall, I like the basic concepts, but it is hard to track the locking rules. Could you please write them up? I like the way you split out the assoc_buffers from the main fsblock code, but the list setup is

Re: [PATCH] cross-architecture ELF clean up

2007-06-25 Thread Roman Zippel
Hi, On Wed, 20 Jun 2007, Jeremy Fitzhardinge wrote: This patch cleans up the ELF headers and their users. It does several related things: 1. split linux/elf.h into pieces This splits linux/elf.h into several pieces: linux/elf.h - still the common elf header,

Re: Oops: 2.6.21.3 via_rhine

2007-06-25 Thread Akinobu Mita
2007/6/25, Andrew A. Razdolsky [EMAIL PROTECTED]: wapper: page allocation failure. order:1, mode:0x20 This is a page alllocation failure, not Oops. Did you get any problem after getting this message? - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

[PATCH 1/7][TAKE5] fallocate() implementation on i386, x86_64 and powerpc

2007-06-25 Thread Amit K. Arora
This patch implements sys_fallocate() and adds support on i386, x86_64 and powerpc platforms. Changelog: - Changes from Take3 to Take4: 1) Do not update c/mtime. Let each filesystem update ctime (update of mtime will not be required for allocation since we touch only

Re: [PATCH] cross-architecture ELF clean up

2007-06-25 Thread Roman Zippel
Hi, On Mon, 25 Jun 2007, David Woodhouse wrote: On Wed, 2007-06-20 at 16:08 -0700, Jeremy Fitzhardinge wrote: This patch cleans up the ELF headers and their users. It does several related things: Looks good. We can get away with exporting a lot less of this to userspace too, can't we?

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-25 Thread Tomasz Kłoczko
On Mon, 25 Jun 2007, Gabor Gombas wrote: On Mon, Jun 25, 2007 at 01:36:23PM +0200, Tomasz Kłoczko wrote: ALSA still does not provides good soud devices virtualization for more then one application. Each day I'm using bludy words when I'm try to use skype which oppens /dev/mixer [...] Not

[PATCH 2/7][TAKE5] fallocate() on s390(x)

2007-06-25 Thread Amit K. Arora
This is the patch suggested by Martin Schwidefsky to support sys_fallocate() on s390(x) platform. He also suggested a wrapper in glibc to handle this system call on s390. Posting it here so that we get feedback for this too. .globl __fallocate ENTRY(__fallocate) stm %r6,%r7,28(%r15)

[PATCH 3/7][TAKE5] fallocate() on ia64

2007-06-25 Thread Amit K. Arora
fallocate() on ia64 ia64 fallocate syscall support. Signed-off-by: Dave Chinner [EMAIL PROTECTED] Index: linux-2.6.22-rc4/arch/ia64/kernel/entry.S === --- linux-2.6.22-rc4.orig/arch/ia64/kernel/entry.S 2007-06-11

[PATCH 4/7][TAKE5] support new modes in fallocate

2007-06-25 Thread Amit K. Arora
Implement new flags and values for mode argument. This patch implements the new flags and values for the mode argument of the fallocate system call. It is based on the discussion between Andreas Dilger and David Chinner on the man page proposed (by the later) on fallocate. Signed-off-by: Amit

[PATCH 7/7][TAKE5] ext4: support new modes

2007-06-25 Thread Amit K. Arora
Support new values of mode in ext4. This patch supports new mode values/flags in ext4. With this patch ext4 will be able to support FA_ALLOCATE and FA_RESV_SPACE modes. Supporting FA_DEALLOCATE and FA_UNRESV_SPACE fallocate modes in ext4 is a work for future. Signed-off-by: Amit Arora [EMAIL

Re: [PATCH][RFC] security: Convert LSM into a static interface

2007-06-25 Thread Casey Schaufler
--- Serge E. Hallyn [EMAIL PROTECTED] wrote: Quoting James Morris ([EMAIL PROTECTED]): Convert LSM into a static interface, as the ability to unload a security module is not required by in-tree users and potentially complicates the overall security architecture. Needlessly exported

Re: [NETFILTER] early_drop() imrovement (v3)

2007-06-25 Thread Patrick McHardy
Vasily Averin wrote: +static int early_drop(const struct nf_conntrack_tuple *orig) +{ + unsigned int i, hash, cnt; + int ret = 0; + + hash = hash_conntrack(orig); + cnt = NF_CT_PER_BUCKET; + + for (i = 0; + !ret cnt i nf_conntrack_htable_size; +

Re: [PATCH][RFC] security: Convert LSM into a static interface

2007-06-25 Thread James Morris
On Mon, 25 Jun 2007, Casey Schaufler wrote: While there's lots of pain involved in developing an LSM modern development environments (e.g. virtual machines) have reduced the value of loadable modules for debug purposes. lguest is pretty good for this. You can boot a kernel in approximately

[PATCH 6/7][TAKE5] ext4: write support for preallocated blocks

2007-06-25 Thread Amit K. Arora
This patch adds write support to the uninitialized extents that get created when a preallocation is done using fallocate(). It takes care of splitting the extents into multiple (upto three) extents and merging the new split extents with neighbouring ones, if possible. Changelog: - Changes

Documentation of kernel messages (Summary)

2007-06-25 Thread Michael Holzheu
Hi all, Any idea, how to proceed with this topic? Do you think that any of the suggested solutions for documentation / translation of kernel messages will have a chance to be included in the kernel? I tried to summarize the outcome of this discussion... There are two main issues: * Translate

[PATCH 0/6][TAKE5] fallocate system call

2007-06-25 Thread Amit K. Arora
N O T E: --- 1) Only Patches 4/7 and 7/7 are NEW. Rest of them are _already_ part of ext4 patch queue git tree hosted by Ted. 2) The above new patches (4/7 and 7/7) are based on the dicussion between Andreas Dilger and David Chinner on the mode argument, when later posted a man page

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-25 Thread Renato S. Yamane
Tomasz Kłoczko wrote: ALSA still does not provides good soud devices virtualization for more then one application. Each day I'm using bludy words when I'm try to use skype which oppens /dev/mixer after run galeon with flash plugin which opens /dev/snd/pcm* or when I start GNOME session with

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-25 Thread Adrian Bunk
On Mon, Jun 25, 2007 at 02:44:42PM +0200, Olivier Galibert wrote: On Mon, Jun 25, 2007 at 02:31:08PM +0200, Takashi Iwai wrote: So, do you mean the soft-mixing is the biggest issue? That's just a part of a design issue, and if we want to go to that way, the impelemtation would be trivial,

Re: [patch, 2.6.22-rc6] fix nmi_watchdog=2 bootup hang

2007-06-25 Thread Björn Steinbrink
On 2007.06.25 08:40:35 -0400, Jeremy Fitzhardinge wrote: Ingo Molnar wrote: * Ingo Molnar [EMAIL PROTECTED] wrote: hm, restoring nmi.c to the v2.6.21 state does not fix the nmi_watchdog=2 hang. I'll do a bisection run. and after spending an hour on 15 bisection steps:

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-25 Thread Gabor Gombas
On Mon, Jun 25, 2007 at 01:36:23PM +0200, Tomasz Kłoczko wrote: ALSA still does not provides good soud devices virtualization for more then one application. Each day I'm using bludy words when I'm try to use skype which oppens /dev/mixer [...] Not true anymore: skype 32381 gombasg mem

Re: Oops in a driver while using SLUB as a SLAB allocator

2007-06-25 Thread Nicolas Ferre
Hugh Dickins : On Sun, 24 Jun 2007, Russell King wrote: On Sun, Jun 24, 2007 at 11:24:16AM +0100, Hugh Dickins wrote: On Sun, 24 Jun 2007, Russell King wrote: On Fri, Jun 22, 2007 at 07:39:33PM +0100, Hugh Dickins wrote: Please forward the original problem report. Done. Okay, that seems to

Re: [PATCH] cross-architecture ELF clean up

2007-06-25 Thread Clemens Koller
Hi, Roman! Roman Zippel schrieb: Hi, On Mon, 25 Jun 2007, David Woodhouse wrote: On Wed, 2007-06-20 at 16:08 -0700, Jeremy Fitzhardinge wrote: This patch cleans up the ELF headers and their users. It does several related things: Looks good. We can get away with exporting a lot less of

Re: [PATCH] hwmon/coretemp: Fix a broken error path - microcode update fix

2007-06-25 Thread Soeren Sonnenburg
On Thu, 2007-06-21 at 22:57 +0200, Rudolf Marek wrote: Hello Soeren, [...] Soeren pointed at some T60, T60p BIOS update and luckily, there is a easy way how to extract the microcode update and even convert it into the .txt format as microcode update utility

Re: [PATCH][RFC] security: Convert LSM into a static interface

2007-06-25 Thread Casey Schaufler
--- Chris Wright [EMAIL PROTECTED] wrote: * Casey Schaufler ([EMAIL PROTECTED]) wrote: Just hoping to avoid a change collision. If I have to deal with this today it's easy, if it doesn't show up anywhere until 2.6.28 I'm breezing, but if it all hits in two weeks I have some scrambling

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-25 Thread Olivier Galibert
On Mon, Jun 25, 2007 at 02:58:02PM +0200, Takashi Iwai wrote: Hm... I don't agree much with the virtual relay device solution. I once experimentally implemented an ALSA-OSS virtual kernel driver. But, it just gives more complexity. So instead you move the complexity in the library where it is

Re: how about mutual compatibility between Linux's GPLv2 and GPLv3?

2007-06-25 Thread Lennart Sorensen
On Fri, Jun 22, 2007 at 03:00:30AM -0300, Alexandre Oliva wrote: That was a given from the start. The spin that there was any chance whatsoever it could possibly happen was just that. Even if Linus could possibly consider this, others have made it pretty clear that this was never an option

[PATCH 5/7][TAKE5] ext4: fallocate support in ext4

2007-06-25 Thread Amit K. Arora
This patch implements -fallocate() inode operation in ext4. With this patch users of ext4 file systems will be able to use fallocate() system call for persistent preallocation. Current implementation only supports preallocation for regular files (directories not supported as of date) with extent

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-25 Thread Rene Herman
On 06/25/2007 01:36 PM, Tomasz Kłoczko wrote: Please recall history of (for example) esound. From esound README: Esound is an audio mixing server that allows multiple applications to output sound to the same audio device. It was started in time when most cheap sound cards was without hw

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-25 Thread Tomasz Kłoczko
On Mon, 25 Jun 2007, Renato S. Yamane wrote: Tomasz Kłoczko wrote: ALSA still does not provides good soud devices virtualization for more then one application. Each day I'm using bludy words when I'm try to use skype which oppens /dev/mixer after run galeon with flash plugin which opens

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-25 Thread Gabor Gombas
On Mon, Jun 25, 2007 at 03:41:44PM +0200, Tomasz Kłoczko wrote: Sorry but skype does not for me after switching to ALSA (on skype cfg level). Probably ALSA developers can explain why : All above on fresh FC6 and 1.3.53 skype. $ dpkg -l | grep skype ii skype

Re: [PATCH] cross-architecture ELF clean up

2007-06-25 Thread Roman Zippel
Hi, On Mon, 25 Jun 2007, Clemens Koller wrote: glibc provides its own version, so it doesn't has to be exported at all. AFAIK the glibc folks want to rely more on the linux kernel headers in the future and not provide more or less redundant headers anymore... In this case it's more an ABI

Re: Oops in a driver while using SLUB as a SLAB allocator

2007-06-25 Thread Christoph Lameter
On Mon, 25 Jun 2007, Hugh Dickins wrote: And I now rather think that needs to stay, not be replaced by the VM_BUG_ON Christoph was proposing for 2.6.23 (which earlier I acked). Christoph responded to my page_mapping patch by looking at arch/arm, and there finding a kmalloc in

Re: [PATCH] Export usb_gadgetfs.h to userspace

2007-06-25 Thread David Brownell
On Monday 25 June 2007, Haavard Skinnemoen wrote: The gadgetfs test program from http://www.linux-usb.org/gadget/ depends on it. I assume most other users of gadgetfs needs this header too. There's already a patch in the 2.6.23 queue which moves this to linux/usb/gadgetfs.h and exports it from

Re: [PATCH][RFC] security: Convert LSM into a static interface

2007-06-25 Thread Roberto De Ioris
Il giorno dom, 24/06/2007 alle 20.37 -0700, Casey Schaufler ha scritto: --- Chris Wright [EMAIL PROTECTED] wrote: * Casey Schaufler ([EMAIL PROTECTED]) wrote: So, for planning purposes, when ought I expect to have to start dealing with this? What is your specific concern or use

Re: [NETFILTER] early_drop() imrovement (v3)

2007-06-25 Thread Jan Engelhardt
On Jun 25 2007 15:53, Patrick McHardy wrote: Vasily Averin wrote: +static int early_drop(const struct nf_conntrack_tuple *orig) +{ +unsigned int i, hash, cnt; +int ret = 0; + +hash = hash_conntrack(orig); +cnt = NF_CT_PER_BUCKET; + +for (i = 0; +!ret cnt

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-25 Thread Lennart Sorensen
On Sun, Jun 24, 2007 at 07:51:38PM +0200, Tomasz K?oczko wrote: Few dayas ago OSS source code was oppened uder CDDL for Solaris and GLPv2 for Linux: http://www.opensound.com/press/2007/oss-gpl-cddl.txt So this source without problems code can be integragrated in Linus tree and after

Re: Linux Kernel include files

2007-06-25 Thread Joerg Schilling
[EMAIL PROTECTED] wrote: On Fri, 22 Jun 2007, Joerg Schilling wrote: Is there some hope that at least the Linux kernel interface definition files and everything recursively included from these files will be rewritten in vanilla ANSI C? this has been discussed many times and the

Re: Linux Kernel include files

2007-06-25 Thread Joerg Schilling
Arjan van de Ven [EMAIL PROTECTED] wrote: Cdrtools ftp://ftp.berlios.de/pub/cdrecord/alpha/ offer support for an OS dependent SCSI transport. Cdrtools cannot be compiled wihout support for SCSI transport, so it is impossible to use Sun Studio to compile cdrtools. Why does this

Re: [PATCH][RFC] security: Convert LSM into a static interface

2007-06-25 Thread Serge E. Hallyn
Quoting Casey Schaufler ([EMAIL PROTECTED]): --- Serge E. Hallyn [EMAIL PROTECTED] wrote: Quoting James Morris ([EMAIL PROTECTED]): Convert LSM into a static interface, as the ability to unload a security module is not required by in-tree users and potentially complicates the

Re: [PATCH -mm] PM: Prevent frozen user mode helpers from failing the freezing of tasks

2007-06-25 Thread Rafael J. Wysocki
On Monday, 25 June 2007 12:43, Oleg Nesterov wrote: Rafael J. Wysocki wrote: static int usermodehelper_pm_callback(struct notifier_block *nfb, unsigned long action, void *ignored) { + long retval; +

Re: Rules on how to use sysfs in userspace programs

2007-06-25 Thread Kay Sievers
On 6/24/07, Rob Landley [EMAIL PROTECTED] wrote: On Sunday 24 June 2007 07:03:39 Kay Sievers wrote: On 6/24/07, Rob Landley [EMAIL PROTECTED] wrote: On Saturday 23 June 2007 08:49:47 Kay Sievers wrote: On 6/22/07, Rob Landley [EMAIL PROTECTED] wrote: On Friday 08 June 2007 16:36:37

Re: [PATCH -mm] PM: Prevent frozen user mode helpers from failing the freezing of tasks

2007-06-25 Thread Paul E. McKenney
On Mon, Jun 25, 2007 at 02:43:32PM +0400, Oleg Nesterov wrote: Rafael J. Wysocki wrote: static int usermodehelper_pm_callback(struct notifier_block *nfb, unsigned long action, void *ignored) { + long retval;

Re: [PATCH] get_random_long() and AT_ENTROPY for auxv, kernel 2.6.21.5

2007-06-25 Thread Alexander Gabert
Hi Matt, sorry for not answering your questions in the first place, i hope this did not mean to make a bad impression Matt Mackall schrieb: On Sun, Jun 24, 2007 at 07:45:04PM +0200, Alexander Gabert wrote: Hi Linus, hi LKML, i would like to thank LKML and especially Eric (thanks for the

Re: [PATCH 4/7][TAKE5] support new modes in fallocate

2007-06-25 Thread Amit K. Arora
I have not implemented FA_FL_FREE_ENOSPC and FA_ZERO_SPACE flags yet, as *suggested* by Andreas in http://lkml.org/lkml/2007/6/14/323 post. If it is decided that these flags are also needed, I will update this patch. Thanks! On Mon, Jun 25, 2007 at 07:15:00PM +0530, Amit K. Arora wrote:

Re: Linux Kernel include files

2007-06-25 Thread Joerg Schilling
Arnd Bergmann [EMAIL PROTECTED] wrote: On Friday 22 June 2007, [EMAIL PROTECTED] wrote: this has been discussed many times and the answer is that the kernel is not gong to change it's side of things to ANSI C. I don't think that's entirely true with regard to the include files. We have

Re: [PATCH][RFC] security: Convert LSM into a static interface

2007-06-25 Thread Casey Schaufler
--- Serge E. Hallyn [EMAIL PROTECTED] wrote: I think the value is overrated. You would never want to do that in a production environment, and in a debug environment you could just as easily reboot and get some start-up testing out of the way. And in a development environment you can

Re: How innovative is Linux?

2007-06-25 Thread Lennart Sorensen
On Sat, Jun 23, 2007 at 08:15:33PM +0200, Grozdan Nikolov wrote: On Saturday 23 June 2007 19:53, you wrote: On Sat, 2007-06-23 at 14:17 +0200, Grozdan Nikolov wrote: [...] Please CC me as I'm not subscribe to this mailing list, Perhaps you should change that and find most answers for

Re: How innovative is Linux?

2007-06-25 Thread Jan Engelhardt
On Jun 25 2007 11:12, Lennart Sorensen wrote: It is also quite likely the reply was written before reading the other comments. With the volume on lkml, reading all comments in a thread before writing any replies is just not possible. Perhaps the list needs to be split up, e.g. [EMAIL

Re: [PATCH] cross-architecture ELF clean up

2007-06-25 Thread Roman Zippel
Hi, On Wed, 20 Jun 2007, Jeremy Fitzhardinge wrote: linux/elf-const.h - ELF constants, includable by asm code BTW who's the maniac who tries to use this in asm code? Many of these constants are pretty useless without the corresponding structure definitions. bye, Roman - To

Re: SATA Harddisk speed drop of 100 MB/s

2007-06-25 Thread Lennart Sorensen
On Sat, Jun 23, 2007 at 04:59:06AM +0200, Carlo Wood wrote: Just one kernel version? The problem here is in every kernel revision after 551c012d7eea3dc5ec063c7ff9c718d39e77634f 2.6.20-rc2,rc3,rc4,rc5,rc6,rc7 ... 2.6.20 ... 2.6.21 ... 2.6.22-rc5 noop: Timing buffered disk reads: 254 MB

Re: Linux Kernel include files

2007-06-25 Thread Joerg Schilling
David Woodhouse [EMAIL PROTECTED] wrote: On Fri, 2007-06-22 at 01:38 +0200, Joerg Schilling wrote: The main problems are not really hard to fix.. - Most problems eem to be related to the fact that Linux does not use C-99 based types in the kernel and the related type

synchronize_qrcu_timeout()

2007-06-25 Thread Oleg Nesterov
On 06/25, Paul E. McKenney wrote: On Mon, Jun 25, 2007 at 02:43:32PM +0400, Oleg Nesterov wrote: Sadly, you can't use srcu/qrcu because it doesn't handle timeouts. Interesting... So the thought is to have a synchronize_srcu_timeout() or something similar that waited for a grace

Re: [PATCH] get_random_long() and AT_ENTROPY for auxv, kernel 2.6.21.5

2007-06-25 Thread Matt Mackall
On Mon, Jun 25, 2007 at 05:02:01PM +0200, Alexander Gabert wrote: Am I right in thinking you have three unrelated patches here? I don't think so but you may be right nonetheless if my opinion. The point is: the way we do development here is to break things down into a series of simple,

Re: [PATCH -mm] PM: Prevent frozen user mode helpers from failing the freezing of tasks

2007-06-25 Thread Oleg Nesterov
On 06/25, Rafael J. Wysocki wrote: On Monday, 25 June 2007 12:43, Oleg Nesterov wrote: Second, call_usermodehelper's path should first increment the counter, and only then check usermodehelper_disabled, It does this already. Ah, sorry, I looked at this patch without seeing the

Re: Linux Kernel include files

2007-06-25 Thread Arjan van de Ven
I assume you typoed and meant cleaned up kernel include files as installed by make headers_install instead. I am thinking about kernel include files that do correct preincludes for type-cleanness and that work if you use them without #defining __KERNEL_ there is no __KERNEL__ in the make

Re: Linux Kernel include files

2007-06-25 Thread David Woodhouse
On Mon, 2007-06-25 at 17:17 +0200, Joerg Schilling wrote: David Woodhouse [EMAIL PROTECTED] wrote: On Fri, 2007-06-22 at 01:38 +0200, Joerg Schilling wrote: A kernel include file that defines an interface to a user space program should be self containing (that means that all includes for all

Re: Linux Kernel include files

2007-06-25 Thread Robert P. J. Day
On Mon, 25 Jun 2007, Arjan van de Ven wrote: there is no __KERNEL__ in the make headers_install'd kernel headers. not quite technically true, as unifdef isn't smart enough to factor out __KERNEL__ if it's part of a larger, logical expression involving the || operator. but that's being

Re: [RFC] hwbkpt: Hardware breakpoints (was Kwatch)

2007-06-25 Thread Alan Stern
On Mon, 25 Jun 2007, Roland McGrath wrote: A waste to store one? Waste of what? It isn't a waste of space; the space would otherwise be unused. Waste of an instruction, perhaps. Yes. Of course, calling register_kernel_hw_breakpoint() with three extra arguments is a waste of an

Re: [RFC] hwbkpt: Hardware breakpoints (was Kwatch)

2007-06-25 Thread Alan Stern
On Mon, 25 Jun 2007, Roland McGrath wrote: I added this on top of your patch to make it compile (and look a little nicer). With that, bptest worked nicely. I'll merge this with the rest of the patch. Alan Stern - To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH] pcmcia: CompactFlash driver for PA Semi Electra boards

2007-06-25 Thread Olof Johansson
On Mon, Jun 25, 2007 at 06:56:36AM +0100, Christoph Hellwig wrote: +static int bus_notify(struct notifier_block *nb, unsigned long action, + void *data) +{ + struct device *dev = data; + + printk(bus notify called\n); + + /* We are only intereted in device

Re: Documentation of kernel messages (Summary)

2007-06-25 Thread Rob Landley
On Monday 25 June 2007 09:48:41 Michael Holzheu wrote: Hi all, Any idea, how to proceed with this topic? Do you think that any of the suggested solutions for documentation / translation of kernel messages will have a chance to be included in the kernel? Personally? No to the second

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-25 Thread Tomasz Kłoczko
On Mon, 25 Jun 2007, Lennart Sorensen wrote: [..] In my experience OSS is a pile of crap compared to ALSA. Could you say something more detailed about this compare ? kloczek -- --- *Ludzie nie mają problemów, tylko sobie sami je

Re: synchronize_qrcu_timeout()

2007-06-25 Thread Oleg Nesterov
On 06/25, Oleg Nesterov wrote: On 06/25, Paul E. McKenney wrote: On Mon, Jun 25, 2007 at 02:43:32PM +0400, Oleg Nesterov wrote: Sadly, you can't use srcu/qrcu because it doesn't handle timeouts. Interesting... So the thought is to have a synchronize_srcu_timeout() or

Re: [BUG] Lockdep warning with XFS on 2.6.22-rc6

2007-06-25 Thread Satyam Sharma
On 6/25/07, Johannes Weiner [EMAIL PROTECTED] wrote: [...] this is what just hit the ring buffer when I was surfing with elinks on a brand-new -rc6. Johannes: This is a known bogus warning. You can safely ignore it. David, Ingo: [ Ok, so we know that XFS wants to lock inodes in ascending

Re: Linux Kernel include files

2007-06-25 Thread david
On Mon, 25 Jun 2007, Joerg Schilling wrote: Arnd Bergmann [EMAIL PROTECTED] wrote: On Friday 22 June 2007, [EMAIL PROTECTED] wrote: this has been discussed many times and the answer is that the kernel is not gong to change it's side of things to ANSI C. I don't think that's entirely true

Re: SATA Harddisk speed drop of 100 MB/s

2007-06-25 Thread Carlo Wood
On Mon, Jun 25, 2007 at 11:18:41AM -0400, Lennart Sorensen wrote: How do you know 165MB/s is correct? It is the maximum value I measure. It's also the value that I measure consistently with NCQ off, like with 2.6.18. Finally, even before I bought this PC, I did some research and the RAID with

Re: [RFC] mm-controller

2007-06-25 Thread Peter Zijlstra
On Fri, 2007-06-22 at 22:05 +0530, Vaidyanathan Srinivasan wrote: Merging both limits will eliminate the issue, however we would need individual limits for pagecache and RSS for better control. There are use cases for pagecache_limit alone without RSS_limit like the case of database

Re: [PATCH] trim memory not covered by WB MTRRs

2007-06-25 Thread Pim Zandbergen
Pim Zandbergen wrote I reported this to GigaByte, and lo and behold, they sent me a fixed BIOS within 48 hours. Kudos to Taipeh! They sent the BIOS image in a private message, so it might take a while before it's available on their website. It is now, and it is described as Fix Vista boot

Re: [PATCH] trim memory not covered by WB MTRRs

2007-06-25 Thread Justin Piszcz
Impressive. Jesse, can you touch base with Intel's BIOS department? Also, what are the chances of that patch making it into 2.6.22-rc6/7 if it hasn't already? On Mon, 25 Jun 2007, Pim Zandbergen wrote: Pim Zandbergen wrote I reported this to GigaByte, and lo and behold, they sent me a

Re: How innovative is Linux?

2007-06-25 Thread Randy Dunlap
On Mon, 25 Jun 2007 17:15:50 +0200 (CEST) Jan Engelhardt wrote: On Jun 25 2007 11:12, Lennart Sorensen wrote: It is also quite likely the reply was written before reading the other comments. With the volume on lkml, reading all comments in a thread before writing any replies is just not

Re: Please release a stable kernel Linux 3.0

2007-06-25 Thread Chuck Ebbert
On 06/24/2007 04:54 PM, Rafael J. Wysocki wrote: On Friday, 22 June 2007 19:11, Chuck Ebbert wrote: On 06/22/2007 11:00 AM, Rafael J. Wysocki wrote: On Friday, 22 June 2007 00:34, Chuck Ebbert wrote: On 06/21/2007 06:29 PM, Jesper Juhl wrote: I myself have argued that we should be focusing

Re: How innovative is Linux?

2007-06-25 Thread Jan Engelhardt
On Jun 25 2007 09:37, Randy Dunlap wrote: On Mon, 25 Jun 2007 17:15:50 +0200 (CEST) Jan Engelhardt wrote: On Jun 25 2007 11:12, Lennart Sorensen wrote: It is also quite likely the reply was written before reading the other comments. With the volume on lkml, reading all comments in a thread

Re: Oops in a driver while using SLUB as a SLAB allocator

2007-06-25 Thread Hugh Dickins
On Mon, 25 Jun 2007, Christoph Lameter wrote: On Mon, 25 Jun 2007, Hugh Dickins wrote: And I now rather think that needs to stay, not be replaced by the VM_BUG_ON Christoph was proposing for 2.6.23 (which earlier I acked). Christoph responded to my page_mapping patch by looking at

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-25 Thread Tilman Schmidt
Ingo Molnar [EMAIL PROTECTED] wrote: so how about the following, different approach: anyone who has a tasklet in any performance-sensitive codepath, please yell now. The Siemens Gigaset ISDN base driver uses tasklets in its isochronous data paths. These will be scheduled for each completion of

Re: i386 boot fail, EIP in __change_page_attr:166

2007-06-25 Thread Chuck Ebbert
On 06/24/2007 11:43 PM, dave young wrote: Hi, I reconfig my kernel, boot and oops, EIP in __change_page_attr:166, I tried 2.6.22-rc4-mm2 and 2.6.22-rc5 , same result. Anyone has some clues? here is my config file: Where are the oops messages? - To unsubscribe from this list: send the

Re: Oops in a driver while using SLUB as a SLAB allocator

2007-06-25 Thread Christoph Lameter
On Mon, 25 Jun 2007, Hugh Dickins wrote: In many situations the page struct passed to flush_dcache_page is simply used to calculate the virtual address. So its mostly harmless. Trouble starts when page attributes like the mapping is used. Mostly harmless indeed. I don't understand why

Re: [PATCH try #2] security: Convert LSM into a static interface

2007-06-25 Thread Stephen Smalley
On Mon, 2007-06-25 at 00:33 -0400, James Morris wrote: Convert LSM into a static interface, as the ability to unload a security module is not required by in-tree users and potentially complicates the overall security architecture. Needlessly exported LSM symbols have been unexported, to

<    1   2   3   4   5   6   7   8   9   >