Re: [RFC] get rid of CONFIG_DISABLE_CONSOLE_SUSPEND

2007-06-29 Thread Stefan Seyfried
On Thu, Jun 28, 2007 at 09:12:44PM +0200, Rafael J. Wysocki wrote: On Thursday, 28 June 2007 19:25, Stefan Seyfried wrote: However, we don't know which consoles are safe to stay alive during suspend. Generally, defaulting to suspending them all is not a bad idea IMHO. And IIRC it is

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

2007-06-29 Thread Gabriel C
Anton Petrusevich wrote: Is there a tool which can be used to configure .asoundrc? There is an QT4 based one [1] and a somewhat old KDE based tool [2]. Regards, Gabriel C [1] http://sourceforge.net/projects/aplugedit/ [2] http://sourceforge.net/projects/kasound/ - To unsubscribe from

Re: [OT] Vim highlighting for trailing spaces

2007-06-29 Thread Dmitry Torokhov
On 6/29/07, Michael Tokarev [EMAIL PROTECTED] wrote: Kyle Moffett wrote: On Jun 28, 2007, at 03:20:24, Dave Young wrote: And for vim trailing space, there's a tip in vim.org: http://www.vim.org/tips/tip.php?tip_id=878 I actually prefer this (in .vimrc): Show trailing whitespace and

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

2007-06-29 Thread Duncan Sands
Hi, Just look at the tasklet_disable() logic. Do not count this. Done this way because nobody needed that thing, except for _one_ place in keyboard/console driver, which was very difficult to fix that time, when vt code was utterly messy and not smp safe at all. start_bh_atomic() was

Re: 2.6.22-rc6-mm1

2007-06-29 Thread Sergei Shtylyov
Hello. Mariusz Kozlowski wrote: allmodconfig on powerpc (iMac g3) fails due to git-kgdb.patch. allmodconfig defaults should be changed? CC arch/powerpc/kernel/kgdb.o arch/powerpc/kernel/kgdb.c:485:2: error: #error Both XMON and KGDB selected in .config. Unselect one of them.

Re: i386 boot fail, EIP in __change_page_attr:166

2007-06-29 Thread Jeremy Fitzhardinge
Dave Young wrote: The diffrences is net520c item. sorry it is netsc520, I will post the patch after a while. I read your other mail out of order, and I'd forgotten about this oops. But still, the fix you posted doesn't look quite right. How big is the netsc520 ioremap? J - To

Regression: 2.6.22-rcX: hda: lost interrupt

2007-06-29 Thread David Chinner
Folks, After updating an x86_64 machine from 2.6.21 to 2.6.22-rc6 and fighting off the where-the-fuck-did-my-serial-console-go blues (legacy_serial.force), I finally discovered why the damn thing wasn't booting - the machine was sitting there in a loop outputting hda: lost interrupt over and over

Re: [PATCH] Chinese translation of Documentation/HOWTO

2007-06-29 Thread Pavel Machek
Hi! And sometimes maybe the issue isn't even just about straight translations, but also perhaps about explaining cultural differences that aren't mentioned at all in the documentation, just because people in the west end up taking certain things for granted and it doesn't need

Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching

2007-06-29 Thread Pavel Machek
Hi! What you do with AppArmor, instead of addressing the problem, is just redefine the environment along the lines of set your house into a rock wall so there is only one path to it. Harrumph. Those analogies sound good but aren't a very good guide. Let's take a concrete example.

Re: 2.6.22-rc6-mm1

2007-06-29 Thread Mariusz Kozlowski
Hello, allmodconfig on powerpc (iMac g3) fails due to git-kgdb.patch. allmodconfig defaults should be changed? CC arch/powerpc/kernel/kgdb.o arch/powerpc/kernel/kgdb.c:485:2: error: #error Both XMON and KGDB selected in .config. Unselect one of them. make[1]: ***

Re: Please release a stable kernel Linux 3.0

2007-06-29 Thread Pavel Machek
Hi! Even the good ones that get lots of fixes aren't all that good. The biggest problem ATM is that suspend is badly broken and keeps getting worse... I wasn't under the impression suspend had really ever worked. Such a messy problem to solve. It never worked reliably

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

2007-06-29 Thread Ingo Molnar
* Alexey Kuznetsov [EMAIL PROTECTED] wrote: also, the be afraid of the hardirq or the process context mantra is overblown as well. If something is too heavy for a hardirq, _it's too heavy for a tasklet too_. Most hardirqs are (or should be)

Re: Linux Kernel include files

2007-06-29 Thread David Woodhouse
On Thu, 2007-06-28 at 15:49 +0200, Jan Engelhardt wrote: I'll have to chime in here. Test program: #include sys/socket.h #include sys/stat.h #include sys/types.h #include arpa/inet.h #include netinet/in.h #include errno.h #include stdio.h #include stdlib.h #include string.h #include

Re: 2.6.22-rc6 spurious hangs

2007-06-29 Thread Oleg Nesterov
On 06/29, Thomas Sattler wrote: Jun 28 19:23:03 pearl cinergyt2_query_rc+0x0/0x2e9 [cinergyT2] cinergyt2_query_rc() hangs. I'll try to look tomorrov, but I know nothing about drivers/media/dvb/. Does this mean the problem is in the cinergyt2 driver? I'm having similar problems with

Re: [patch -mm] Make check_signature() depend on CONFIG_HAS_IOMEM

2007-06-29 Thread Geert Uytterhoeven
On Thu, 28 Jun 2007, Alan Cox wrote: check_signature() needs readb() but with some setups (s390, m68k allmodconfig) there is no implementation of readb. This causes build errors with -Werror-implicit-function-declaration. This completely bogus. readb() should be present on M68K, fix

Re: [PATCH] frv: fix fallout from remove sched.h from mm.h patch

2007-06-29 Thread Robert P. J. Day
On Thu, 28 Jun 2007, Andrew Morton wrote: On Thu, 28 Jun 2007 18:09:21 +0400 Alexey Dobriyan [EMAIL PROTECTED] wrote: Signed-off-by: Alexey Dobriyan [EMAIL PROTECTED] --- include/asm-frv/pgtable.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

Re: 2.6.22-rc6 spurious hangs

2007-06-29 Thread Ingo Molnar
* Oleg Nesterov [EMAIL PROTECTED] wrote: Yes, I think cinergyt2 is buggy. cinergyt2_release() does flush_scheduled_work() under cinergyt2-sem. flush_scheduled_work() hangs because cinergyt2_query_rc() waits for the same cinergyt2-sem. -disconnect_pending is used without any

Re: [linux-pm] Re: [linux-lvm] 2.6.22-rc4 XFS fails after hibernate/resume

2007-06-29 Thread Rafael J. Wysocki
On Friday, 29 June 2007 09:54, David Greaves wrote: David Chinner wrote: On Fri, Jun 29, 2007 at 08:40:00AM +0100, David Greaves wrote: What happens if a filesystem is frozen and I hibernate? Will it be thawed when I resume? If you froze it yourself, then you'll have to thaw it

Re: [PATCH] Containment measures for slab objects on scatter gather lists

2007-06-29 Thread Hugh Dickins
On Thu, 28 Jun 2007, Christoph Lameter wrote: I had a talk with James Bottomley last night and it seems that there is an established way of using the page structs of slab objects in the block layer. Drivers may use the DMA interfaces to issue control commands. In that case they may

Re: implement-file-posix-capabilities.patch

2007-06-29 Thread Serge E. Hallyn
Quoting Andrew Morgan ([EMAIL PROTECTED]): -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Casey Schaufler wrote: Would there be a difference between that and setting either fI or fP (depending on your intent) to those caps, and setting fE=1 in Andrew's scheme? Arg, you're making me

Re: Please release a stable kernel Linux 3.0

2007-06-29 Thread Rafael J. Wysocki
On Thursday, 28 June 2007 23:15, Pavel Machek wrote: Hi! Even the good ones that get lots of fixes aren't all that good. The biggest problem ATM is that suspend is badly broken and keeps getting worse... I wasn't under the impression suspend had really ever worked. Such a

Re: PROBLEM: SATA AHCI driver significant throughput loss in 2.6.22-rc5-g75154f40-dirty

2007-06-29 Thread Michal Piotrowski
Hi, [adding linux-ide to cc] On 27/06/07, Dan [EMAIL PROTECTED] wrote: Something changed with the AHCI SATA driver in the latest git version. With 2.6.21 I get ~49MB/sec according to hdparm. Using the latest git version I only get ~8MB/sec. I've attached my .config and have included some info

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

2007-06-29 Thread Alexey Kuznetsov
Hello! I felt that three calls to tasklet_disable were better than a gazillion calls to spin_(un)lock. It is not better. Actually, it also has something equivalent to spinlock inside. It raises some flag and waits for completion of already running tasklets (cf. spin_lock_bh). And if

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

2007-06-29 Thread Steven Rostedt
On Fri, 29 Jun 2007, Alexey Kuznetsov wrote: Hello! I find the 4usecs cost on a P4 interesting and a bit too high - how did you measure it? Simple and stupid: Noted ;-) static void measure_tasklet0(void) { int i; int cnt = 0; DECLARE_TASKLET(test, do_test, 0);

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

2007-06-29 Thread Ingo Molnar
* Alexey Kuznetsov [EMAIL PROTECTED] wrote: as i said above (see the underlined sentence), hardirq contexts already run just fine with hardirqs enabled. RENTRANCY PROTECTION! If does not matter _how_ they run, it matters what context they preempt and what that context has to make to

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

2007-06-29 Thread Theodore Tso
On Thu, Jun 28, 2007 at 11:33:42AM -0700, Andrew Morton wrote: Please let us know what you think of Mingming's suggestion of posting all the fallocate patches including the ext4 ones as incremental ones against the -mm. I think Mingming was asking that Ted move the current quilt tree into

Re: [linux-pm] Re: [linux-lvm] 2.6.22-rc4 XFS fails after hibernate/resume

2007-06-29 Thread David Greaves
Rafael J. Wysocki wrote: On Friday, 29 June 2007 09:54, David Greaves wrote: David Chinner wrote: On Fri, Jun 29, 2007 at 08:40:00AM +0100, David Greaves wrote: What happens if a filesystem is frozen and I hibernate? Will it be thawed when I resume? If you froze it yourself, then you'll have

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

2007-06-29 Thread Alexey Kuznetsov
Hello! The difference between softirqs and hardirqs lays not in their heavyness. It is in reentrancy protection, which has to be done with local_irq_disable(), unless networking is not isolated from hardirqs. i know that pretty well ;) You forgot about this again in the next

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

2007-06-29 Thread Oleg Nesterov
On 06/29, Steven Rostedt wrote: On Fri, 29 Jun 2007, Alexey Kuznetsov wrote: static void measure_workqueue(void) { int i; int cnt = 0; unsigned long start; DECLARE_WORK(test, do_test_wq, 0); struct workqueue_struct * wq; start = jiffies; wq =

[patch 4/5] move mm_struct and vm_area_struct.

2007-06-29 Thread Martin Schwidefsky
From: Martin Schwidefsky [EMAIL PROTECTED] Move the definitions of struct mm_struct and struct vma_area_struct to include/mm_types.h. This allows to define more function in asm/pgtable.h and friends with inline assemblies instead of macros. Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] ---

[patch 1/5] avoid tlb gather restarts.

2007-06-29 Thread Martin Schwidefsky
From: Martin Schwidefsky [EMAIL PROTECTED] If need_resched() is false it is unnecessary to call tlb_finish_mmu() and tlb_gather_mmu() for each vma in unmap_vmas(). Moving the tlb gather restart under the if that contains the cond_resched() will avoid unnecessary tlb flush operations that are

[patch 2/5] remove ptep_establish.

2007-06-29 Thread Martin Schwidefsky
From: Martin Schwidefsky [EMAIL PROTECTED] The last user of ptep_establish in mm/ is long gone. Remove the architecture primitive as well. Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- include/asm-generic/pgtable.h | 19 --- include/asm-i386/pgtable.h| 11

Re: 2.6.22-rc6 spurious hangs

2007-06-29 Thread Oleg Nesterov
On 06/29, Ingo Molnar wrote: * Oleg Nesterov [EMAIL PROTECTED] wrote: Yes, I think cinergyt2 is buggy. cinergyt2_release() does flush_scheduled_work() under cinergyt2-sem. flush_scheduled_work() hangs because cinergyt2_query_rc() waits for the same cinergyt2-sem.

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

2007-06-29 Thread Duncan Sands
Old days that was acceptable, you had not gazillion of attempts but just a few, but since some time (also old already) it became disasterous. What changed? And can it be fixed? Thanks, Duncan. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: 2.6.22-rc6 spurious hangs

2007-06-29 Thread Ingo Molnar
* Oleg Nesterov [EMAIL PROTECTED] wrote: -disconnect_pending is used without any locks/barriers, perhaps this is the reason. I misread cinergyt2_release, it checks !-disconnect_pending, so it is very clear why cinergyt2_query_rc() tries to take the mutex. I'll try to look

RAID performance is not too well....

2007-06-29 Thread Rogier Wolff
Hi, I have an application that creates some 228 thousand files, spread over about 4000 directories. Total is not more than 1.3Gb. (I'm not sure, and I don't care if it's 10% or 90% of that number) Anyway, I've loaded all of the 1.3Gb into the cache (the machine has 8Gb of RAM), so that only

[patch 0/5] Various mm improvements.

2007-06-29 Thread Martin Schwidefsky
While working on 1K/2K page tables for s390 I noticed room for improvement in regard to some common mm code: - unnecessary tlb flushing in unmap_vmas - ptep_establish has fallen into disuse - ptep_test_and_clear_dirty / ptep_clear_flush_dirty are not used either - the definitions of mm_struct

[patch 3/5] remove ptep_test_and_clear_dirty and ptep_clear_flush_dirty.

2007-06-29 Thread Martin Schwidefsky
From: Martin Schwidefsky [EMAIL PROTECTED] Nobody is using ptep_test_and_clear_dirty and ptep_clear_flush_dirty. Remove the functions from all architectures. Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- include/asm-frv/pgtable.h |7 ---

[patch 5/5] Optimize page_mkclean_one

2007-06-29 Thread Martin Schwidefsky
From: Martin Schwidefsky [EMAIL PROTECTED] page_mkclean_one is used to clear the dirty bit and to set the write protect bit of a pte. In additions it returns true if the pte either has been dirty or if it has been writable. As far as I can see the function should return true only if the pte has

Re: [PATCH] Containment measures for slab objects on scatter gather lists

2007-06-29 Thread Christoph Lameter
On Fri, 29 Jun 2007, Hugh Dickins wrote: I stand by my page_mapping patch, and the remark I made before, that page_mapping(page) is the correct place to check this. What is page_mapping(page) for? Precisely to return the struct address_space* from page-mapping when that's what's in there,

Re: 2.6.22-rc6-mm1

2007-06-29 Thread Roman Zippel
Hi, On Thu, 28 Jun 2007, Andrew Morton wrote: So save yourself some hassle and check your .config carefully before building this kernel. Make sure that everything you need is still enabled. I found that manually adding CONFIG_BLK_DEV=y to the .config before running oldconfig saved

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

2007-06-29 Thread Jeff Garzik
Steven Rostedt wrote: I had very little hope for this magic switch to get into mainline. (maybe get it into -mm) But the thing was is that tasklets IMHO are over used. As Ingo said, there are probably only 2 or 3 places in the kernel that a a switch to work queue conversion couldn't solve.

Re: man-pages-2.59 and man-pages-2.60 are released

2007-06-29 Thread Rob Landley
On Friday 29 June 2007 04:30:21 Michael Kerrisk wrote: You could have a link in Old as requested, and any other links as well. Well, I think all that LFS seems to want is links that are stable for a while (since I don't suppose that they want to use really old tarballs in any case). What

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

2007-06-29 Thread Alexey Kuznetsov
Hello! Not a very accurate measurement (jiffies that is). Believe me or not, but the measurement has nanosecond precision. Since the work queue *is* a thread, you are running a busy loop here. Even though you call schedule, this thread still may have quota available, and will not yeild to

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

2007-06-29 Thread Jeff Garzik
Theodore Tso wrote: I don't think we have a problem here. What we have now is fine, and It's fine for ext4, but not the wider world. This is a common problem created by parallel development when code dependencies exist. In any case, the plan is to push all of the core bits into Linus

Re: implement-file-posix-capabilities.patch

2007-06-29 Thread Casey Schaufler
--- Andrew Morgan [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Casey Schaufler wrote: Would there be a difference between that and setting either fI or fP (depending on your intent) to those caps, and setting fE=1 in Andrew's scheme? Arg, you're making

Re: Regression: 2.6.22-rcX: hda: lost interrupt

2007-06-29 Thread Jeff Garzik
David Chinner wrote: Folks, After updating an x86_64 machine from 2.6.21 to 2.6.22-rc6 and fighting off the where-the-fuck-did-my-serial-console-go blues (legacy_serial.force), I finally discovered why the damn thing wasn't booting - the machine was sitting there in a loop outputting hda: lost

Re: 2.6.22-rc6-mm1

2007-06-29 Thread Valdis . Kletnieks
On Thu, 28 Jun 2007 03:43:21 PDT, Andrew Morton said: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc6/2.6.22-rc6-mm1/ Configures, builds, boots on first try. Dell Latitude D820 laptop, T7200 CPU, x86_64 kernel. Doesn't break any of the out-of-tree stuff I use.

Re: [PATCH] cross-architecture ELF clean up

2007-06-29 Thread Jeremy Fitzhardinge
Roman Zippel wrote: The problem I have is that you want to separate _all_ constants, which doesn't really make sense to me, because many of them are useless without the correspending structures. It seems cleanest to just put all the constants in one place rather than scatter them around

Re: [PATCH] LinuxPPS (with new syscalls API) - new version

2007-06-29 Thread David Woodhouse
On Fri, 2007-06-29 at 17:08 +0200, Rodolfo Giometti wrote: On Fri, Jun 29, 2007 at 12:38:02PM +0100, David Woodhouse wrote: It doesn't apply to the current git tree, which has already had some new system calls added. Ok, here the patch against latest git commit. CC fs/fcntl.o In

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

2007-06-29 Thread Alexey Kuznetsov
Hello! again, there is no reason why this couldnt be done in a hardirq context. If a hardirq preempts another hardirq and the first hardirq already processes the 'softnet work', you dont do it from the second one but queue it with the first one. (into the already existing

2.6.22-rc6: known regressions with patches v2

2007-06-29 Thread Michal Piotrowski
Hi all, Here is a list of some known regressions in 2.6.22-rc6 with patches available. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces NameRegressions fixed since 21-Jun-2007 Hugh Dickins 2

Re: [2/2] 2.6.22-rc6: known regressions v2

2007-06-29 Thread Michal Piotrowski
Hi all, Here is a list of some known regressions in 2.6.22-rc6. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces NameRegressions fixed since 21-Jun-2007 Hugh Dickins 2 Andi Kleen

[1/2] 2.6.22-rc6: known regressions v2

2007-06-29 Thread Michal Piotrowski
Hi all, Here is a list of some known regressions in 2.6.22-rc6. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces NameRegressions fixed since 21-Jun-2007 Hugh Dickins 2 Andi Kleen

Re: [PATCH] frv: fix fallout from remove sched.h from mm.h patch

2007-06-29 Thread Alexey Dobriyan
On Fri, Jun 29, 2007 at 09:10:52AM -0400, Robert P. J. Day wrote: On Thu, 28 Jun 2007, Andrew Morton wrote: On Thu, 28 Jun 2007 18:09:21 +0400 Alexey Dobriyan [EMAIL PROTECTED] wrote: Signed-off-by: Alexey Dobriyan [EMAIL PROTECTED] --- include/asm-frv/pgtable.h |2 +- 1

Re: 2.6.20-2.6.21 - networking dies after random time

2007-06-29 Thread Jarek Poplawski
On Fri, Jun 29, 2007 at 10:50:20AM +0200, Jean-Baptiste Vignaud wrote: Update... I did 2 tests : 1) booted with option acpi=off It booted correctly, i managed to get some load on one of the card and after a while (10 minutes i guess) the Timeout occurs. Side effect, at the same moment the

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

2007-06-29 Thread Miklos Szeredi
I suppose the best way to provide OSS emu is to use something like FUSD [similar to the OSS2JACK package] [1] to provide the OSS device files and then redirect to user space, so all ALSA pcm devices can be used.. Sadly FUSD doesn't really get actively developed anymore it seems. And FUSE

Re: Wrong cache size reported on Q6600

2007-06-29 Thread Chuck Ebbert
On 06/28/2007 07:57 PM, Con Kolivas wrote: On Friday 29 June 2007 09:33, Siddha, Suresh B wrote: On Fri, Jun 29, 2007 at 09:31:44AM +1000, Con Kolivas wrote: This is a Q6600 which has cache size of 8 MB. Unless it's reporting each half's effective L2, I think it should be reporting 8192

Re: [PATCH] frv: fix fallout from remove sched.h from mm.h patch

2007-06-29 Thread Robert P. J. Day
On Fri, 29 Jun 2007, Alexey Dobriyan wrote: On Fri, Jun 29, 2007 at 09:10:52AM -0400, Robert P. J. Day wrote: i actually asked about this on either the janitors or newbies list the other day -- one of the early examples from the LDD3 device drivers book which built fine all this time

Re: [PATCH] LinuxPPS (with new syscalls API) - new version

2007-06-29 Thread Rodolfo Giometti
On Fri, Jun 29, 2007 at 04:25:16PM +0100, David Woodhouse wrote: On Fri, 2007-06-29 at 17:08 +0200, Rodolfo Giometti wrote: On Fri, Jun 29, 2007 at 12:38:02PM +0100, David Woodhouse wrote: It doesn't apply to the current git tree, which has already had some new system calls added.

PATCH: Fix SVM MSR indexes for 32bit kernel

2007-06-29 Thread H. J. Lu
Hi, MSR index is 32bit not 64bit. All other MSR indexes are defined without the ULL suffix. Otherwise, you will get [EMAIL PROTECTED] tmp]$ cat foo.c typedef unsigned long long u64; int is_disabled(void) { u64 vm_cr; do { unsigned long l__,h__; __asm__ __volatile__(rdmsr : =a (l__), =d (h__)

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

2007-06-29 Thread Alan Cox
On Fri, 29 Jun 2007 16:56:05 +0200 Miklos Szeredi [EMAIL PROTECTED] wrote: Not as if it would be hard to add ioctl support to fuse. What fuse can't handle is the data argument of ioctl(), so the most it could do is give the filesystem a pid (tid) and a virtual address. The userspace fs could

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

2007-06-29 Thread Mingming Caoc
Theodore Tso wrote: On Thu, Jun 28, 2007 at 11:33:42AM -0700, Andrew Morton wrote: Please let us know what you think of Mingming's suggestion of posting all the fallocate patches including the ext4 ones as incremental ones against the -mm. I think Mingming was asking that Ted move

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

2007-06-29 Thread Oleg Nesterov
On 06/29, Alexey Kuznetsov wrote: Just look at the tasklet_disable() logic. Do not count this. A slightly off-topic question, tasklet_kill(t) doesn't try to steal t from tasklet_head.list if t was scheduled, but waits until t completes. If I understand correctly, this is because

Assistance debugging a Micrel network driver

2007-06-29 Thread Greg Huber
Hello, I hope this is the right place to request some assistance, my apologizes if its not. I'm currently developing a network driver for a new controller chip. The driver is mostly complete and appears to be working, with the exception that messages received and sent up the stack appear to

Re: [PATCH] LinuxPPS (with new syscalls API) - new version

2007-06-29 Thread David Woodhouse
On Fri, 2007-06-29 at 17:38 +0200, Rodolfo Giometti wrote: How is that possible??? I just git pull the linux code... maybe you have a bit older version? asm-i386/signal.h includes linux/time.h, for some reason. asm-powerpc/signal.h doesn't. You shouldn't rely on linux/time.h being pulled in

Re: 2.6.22-rc6-mm1 Intel DMAR crash on AMD x86_64

2007-06-29 Thread Keshavamurthy, Anil S
On Thu, Jun 28, 2007 at 06:14:27PM -0700, Li, Shaohua wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22- rc6/2.6.22-rc6-mm1/ +intel-iommu-dmar-detection-and-parsing-logic.patch [..] I took a picture of it, looks like the backtrace is: NULL pointer

[GIT PULL] ieee1394 fixes

2007-06-29 Thread Stefan Richter
Linus, please pull from the for-linus branch at git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6.git for-linus to receive the following updates. Stefan Richter (2): firewire: fix async reception on big endian machines firewire: add Kconfig help on building

Re: [PATCH] LinuxPPS (with new syscalls API) - new version

2007-06-29 Thread David Woodhouse
On Fri, 2007-06-29 at 17:08 +0200, Rodolfo Giometti wrote: +asmlinkage long sys_time_pps_fetch(int source, const int tsformat, + struct pps_info __user *info, + const struct timespec __user *timeout) +{ + int

Re: Assistance debugging a Micrel network driver

2007-06-29 Thread Jesper Juhl
On 29/06/07, Greg Huber [EMAIL PROTECTED] wrote: Hello, I hope this is the right place to request some assistance, my apologizes if its not. I'm currently developing a network driver for a new controller chip. The driver is mostly complete and appears to be working, with the exception that

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

2007-06-29 Thread Miklos Szeredi
Not as if it would be hard to add ioctl support to fuse. What fuse can't handle is the data argument of ioctl(), so the most it could do is give the filesystem a pid (tid) and a virtual address. The userspace fs could then get/put the data through /proc/pid/mem. Hork...

[PATCH] - SN: Correct ROM resource length for BIOS copy

2007-06-29 Thread John Keller
On SN systems, when setting the IORESOURCE_ROM_BIOS_COPY resource flag, the resource length should be set to the actual size of the ROM image so that a call to pci_map_rom() returns the correct size. Signed-off-by: John Keller [EMAIL PROTECTED] --- To avoid duplicate code, the image size

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

2007-06-29 Thread Alexey Kuznetsov
Hello! If I understand correctly, this is because tasklet_head.list is protected by local_irq_save(), and t could be scheduled on another CPU, so we just can't steal it, yes? Yes. All that code is written to avoid synchronization as much as possible. If we use worqueues, we can change the

Re: [PATCH] LinuxPPS (with new syscalls API) - new version

2007-06-29 Thread Rodolfo Giometti
On Fri, Jun 29, 2007 at 04:41:33PM +0100, David Woodhouse wrote: asm-i386/signal.h includes linux/time.h, for some reason. asm-powerpc/signal.h doesn't. You shouldn't rely on linux/time.h being pulled in like that -- you either need a forward declaration of struct timespec, or to include

Re: [PATCH] LinuxPPS (with new syscalls API) - new version

2007-06-29 Thread David Woodhouse
On Fri, 2007-06-29 at 18:23 +0200, Rodolfo Giometti wrote: On Fri, Jun 29, 2007 at 04:41:33PM +0100, David Woodhouse wrote: asm-i386/signal.h includes linux/time.h, for some reason. asm-powerpc/signal.h doesn't. You shouldn't rely on linux/time.h being pulled in like that -- you

Re: 2.6.22-rc6-mm1 Intel DMAR crash on AMD x86_64

2007-06-29 Thread Muli Ben-Yehuda
On Fri, Jun 29, 2007 at 08:28:58AM -0700, Keshavamurthy, Anil S wrote: Here is the revised patch of the above. Andrew, please add this fix to +intel-iommu-dmar-detection-and-parsing-logic.patch Check for dmar_tbl pointer as this can be NULL

Re: Assistance debugging a Micrel network driver

2007-06-29 Thread Andi Kleen
Greg Huber [EMAIL PROTECTED] writes: The upper layers obviously work so I'm sure it's something in my driver. netstat -s output might give some clue. Most packet drop points have a counter. I have turned on as much debugging in the kernel as I could find, but I get no messages. Could

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

2007-06-29 Thread Miklos Szeredi
Miklos Szeredi [EMAIL PROTECTED] wrote: Not as if it would be hard to add ioctl support to fuse. What fuse can't handle is the data argument of ioctl(), so the most it could do is give the filesystem a pid (tid) and a virtual address. The userspace fs could then get/put the data through

[PATCH] fix logic error in ipc compat semctl()

2007-06-29 Thread Alexander Graf
Hi, when calling a semctl(IPC_STAT) without IPC_64 the check if the memory is unevaluated. This patch fixes this. Signed-off-by: Alexander Graf [EMAIL PROTECTED] Index: linux/ipc/compat.c === --- linux.orig/ipc/compat.c +++

Re: [PATCH] - SN: Correct ROM resource length for BIOS copy

2007-06-29 Thread Randy Dunlap
On Fri, 29 Jun 2007 11:20:58 -0500 John Keller wrote: On SN systems, when setting the IORESOURCE_ROM_BIOS_COPY resource flag, the resource length should be set to the actual size of the ROM image so that a call to pci_map_rom() returns the correct size. Signed-off-by: John Keller [EMAIL

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

2007-06-29 Thread Oleg Nesterov
On 06/29, Alexey Kuznetsov wrote: If I understand correctly, this is because tasklet_head.list is protected by local_irq_save(), and t could be scheduled on another CPU, so we just can't steal it, yes? Yes. All that code is written to avoid synchronization as much as possible. Thanks!

Re: [PATCH] LinuxPPS (with new syscalls API) - new version

2007-06-29 Thread David Woodhouse
On Fri, 2007-06-29 at 18:36 +0200, Rodolfo Giometti wrote: On Fri, Jun 29, 2007 at 05:23:28PM +0100, David Woodhouse wrote: You'll need to put it in an #else case, not in #ifndef __KERNEL__. Sorry. :) That matches what I built with earlier. -- dwmw2 - To unsubscribe from this list:

Re: [PATCH] LinuxPPS (with new syscalls API) - new version

2007-06-29 Thread Rodolfo Giometti
On Fri, Jun 29, 2007 at 04:55:47PM +0100, David Woodhouse wrote: You missed one. This should be -EFAULT too. And there's not a huge amount of point in keeping the access_ok() checks elsewhere, since copy_to_user() does that for itself. Ok, fixed. Oh, and I think you do need compat magic for

Re: [PATCH] LinuxPPS (with new syscalls API) - new version

2007-06-29 Thread Rodolfo Giometti
On Fri, Jun 29, 2007 at 05:23:28PM +0100, David Woodhouse wrote: You'll need to put it in an #else case, not in #ifndef __KERNEL__. Sorry. :) diff --git a/include/linux/pps.h b/include/linux/pps.h index 6b53864..9e3af51 100644 --- a/include/linux/pps.h +++ b/include/linux/pps.h @@ -34,6 +34,8

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

2007-06-29 Thread Alexey Kuznetsov
Hello! What changed? softirq remains raised for such tasklet. Old times softirq was processed once per invocation, in schedule and on syscall exit and this was relatively harmless. Since softirqs are very weakly moderated, it results in strong cpu hogging. And can it be fixed? With

Re: Please release a stable kernel Linux 3.0

2007-06-29 Thread Gerhard Mack
On Wed, 27 Jun 2007, Zoltán HUBERT wrote: I don't remember how it was during 2.4 and before, but I find it very suspicious that SuSE and RedHat only provide 2.6.10 and 2.6.9 for their OS. It looks as if THEY didn't trust 2.6.x to be a replacement to 2.6.y And as I understand it, this is

Re: [PATCH] LinuxPPS (with new syscalls API) - new version

2007-06-29 Thread David Woodhouse
On Fri, 2007-06-29 at 18:34 +0200, Rodolfo Giometti wrote: Gulp! Can you please give me some advices in order to solve also this problem? Should I use some ifdef CONFIG_COMPAT into those structures? :-o Remember you have to support _both_ 32-bit and 64-bit system calls. You need to define

Re: [1/2] 2.6.22-rc6: known regressions v2

2007-06-29 Thread Alan Cox
SATA/PATA Subject: libata IT821X driver still fails! Hard-freezes system References : http://lkml.org/lkml/2007/6/14/82 Submitter : Rodney Gordon II [EMAIL PROTECTED] Status : unknown Not a regression as it seems this user's box has always been broken. I've been running heavy

Re: [1/2] 2.6.22-rc6: known regressions v2

2007-06-29 Thread Sergei Shtylyov
Hello. Michal Piotrowski wrote: IDE Subject: 2.6.22-rcX: hda: lost interrupt References : http://lkml.org/lkml/2007/6/29/121 Submitter : David Chinner [EMAIL PROTECTED] Status : unknown Probing IDE interface ide0... hda: probing with STATUS(0xa0) instead of ALTSTATUS(0x58)

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

2007-06-29 Thread Oleg Nesterov
(the email address of Matthew Wilcox looks wrong, changed to [EMAIL PROTECTED]) On 06/29, Oleg Nesterov wrote: Steven, unless you have some objections, could you change tasklet_kill() ? +static inline void tasklet_kill(struct tasklet_struct *t) { - return

Re: 2.6.22-rc6 spurious hangs

2007-06-29 Thread Oleg Nesterov
On 06/29, Dmitry Torokhov wrote: Well, not really maintainer but I think the short term soluton (at least for the RC part) is to alter cinergyt2_query_rc to take cinergyt2-sem only around cinergyt2_command(). Ther rest of the polling function need not be protected as it does nto tun

[PATCH -mm] scripts/decodecode: add AFLAGS

2007-06-29 Thread Randy Dunlap
From: Randy Dunlap [EMAIL PROTECTED] Add AFLAGS=options environment variable for the 'as' command. This enables us to generate code for something other than the host system architecture. E.g., on an x86_64 system: AFLAGS=--32 scripts/decodecode i386.oops generates code for i386 (and then

Re: [PATCH] ALSA: more section mismatches

2007-06-29 Thread Takashi Iwai
At Thu, 28 Jun 2007 15:39:49 -0700, Andrew Morton wrote: On Thu, 28 Jun 2007 15:05:15 -0700 Randy Dunlap [EMAIL PROTECTED] wrote: From: Randy Dunlap [EMAIL PROTECTED] Fix section mismatch warnings: WARNING: sound/built-in.o(.exit.text+0x3ad): Section mismatch: reference to

Re: [PATCH] PXA27x UDC driver.

2007-06-29 Thread Andy Isaacson
Thanks for taking the lead on this! I can't wait to have a sane PXA27x gadget driver in mainline. On Thu, Jun 28, 2007 at 12:36:20PM +0200, Rodolfo Giometti wrote: +config USB_GADGET_PXA27X + boolean PXA 27x + depends on ARCH_PXA PXA27x + help +Intel's PXA 27x series

Re: 2.6.22-rc6 spurious hangs

2007-06-29 Thread Dmitry Torokhov
On 6/29/07, Ingo Molnar [EMAIL PROTECTED] wrote: * Oleg Nesterov [EMAIL PROTECTED] wrote: -disconnect_pending is used without any locks/barriers, perhaps this is the reason. I misread cinergyt2_release, it checks !-disconnect_pending, so it is very clear why cinergyt2_query_rc() tries

Re: [1/2] 2.6.22-rc6: known regressions v2

2007-06-29 Thread Chuck Ebbert
On 06/29/2007 12:59 PM, Alan Cox wrote: SATA/PATA Subject: libata IT821X driver still fails! Hard-freezes system References : http://lkml.org/lkml/2007/6/14/82 Submitter : Rodney Gordon II [EMAIL PROTECTED] Status : unknown Not a regression as it seems this user's box has always

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

2007-06-29 Thread Theodore Tso
On Fri, Jun 29, 2007 at 10:29:21AM -0400, Jeff Garzik wrote: In any case, the plan is to push all of the core bits into Linus tree for 2.6.22 once it opens up, which should be Real Soon Now, it looks like. Presumably you mean 2.6.23. Yes, sorry. I meant once Linus releases 2.6.22, and we

Re: [1/2] 2.6.22-rc6: known regressions v2

2007-06-29 Thread Michal Piotrowski
On 29/06/07, Alan Cox [EMAIL PROTECTED] wrote: SATA/PATA Subject: libata IT821X driver still fails! Hard-freezes system References : http://lkml.org/lkml/2007/6/14/82 Submitter : Rodney Gordon II [EMAIL PROTECTED] Status : unknown Not a regression as it seems this user's box has

Re: [PATCH] Documentation/firmware_class/firmware_sample_driver.c

2007-06-29 Thread Anders Blomdell
Satyam Sharma wrote: Hi, [ It's good that you're trying to fix this, code in documentation should be setting standards, clearly. ] On 6/27/07, Anders Blomdell [EMAIL PROTECTED] wrote: [...] Minor modifications to make the example load and unload without Oops [...] static int

RESEND: [PATCH] - SN: Correct ROM resource length for BIOS copy

2007-06-29 Thread John Keller
On SN systems, when setting the IORESOURCE_ROM_BIOS_COPY resource flag, the resource length should be set to the actual size of the ROM image so that a call to pci_map_rom() returns the correct size. Signed-off-by: John Keller [EMAIL PROTECTED] --- Resend #1 - correct format of block comment for

<    1   2   3   4   5   6   7   >