Re: [ANNOUNCE] util-linux-ng 2.13-rc1

2007-07-05 Thread Nix
On 4 Jul 2007, DervishD stated: > Anyway, if you don't like mobs or you just don't want to try it, > that's fine, but please don't use autotools, it doesn't make much sense > for a linux only project, since you will be using only the "directory > choosing" part of autotools. Maybe a hand made s

Re: New systems: eu.kernel.org

2007-07-05 Thread Sébastien Dugué
On Wed, 04 Jul 2007 12:51:16 -0700 "H. Peter Anvin" <[EMAIL PROTECTED]> wrote: > Sébastien Dugué wrote: > > > > One last thing, is there a git server as well for eu? > > > > FWIW, I've set up git.eu.kernel.org; right now it's an alias to > git.kernel.org, but that might change in the futu

Re: [RFC][PATCH -mm 0/9] netconsole: Multiple targets and dynamic reconfigurability

2007-07-05 Thread Joel Becker
On Wed, Jul 04, 2007 at 05:55:15PM +0530, Satyam Sharma wrote: > On Wed, 4 Jul 2007, Keiichi KII wrote: > > By the way, how can I add Signed-off-by:'s to your patches? > > Should I add it to each patch and submit them to this list again? > > > > Anybody could give me an advice? > > I think you co

Re: 2.6.22-rc6-mm1 -- BUG - EIP: [] sysfs_addrm_finish+0x1c2/0x226 SS:ESP 0068:c5ff9db8

2007-07-05 Thread Tejun Heo
Hello, Miles Lane wrote: > XXX sysfs_deactivate: sd=c36ba6c0 s_sibling=6b6b6b6b s_flags=0x6b6b6b6b > [ cut here ] > kernel BUG at fs/sysfs/dir.c:274! OIC, ref counter is too low by one. The sysfs_dirent is probably getting freed on sysfs_drop_dentry(). Hmmm... Where did

[PATCH 1/2] eHEA: Capability flag for DLPAR support

2007-07-05 Thread Jan-Bernd Themann
This patch introduces a capability flag that is used by the DLPAR userspace tool to check which DLPAR features are supported by the eHEA driver. Missing goto has been included. Signed-off-by: Jan-Bernd Themann <[EMAIL PROTECTED]> --- drivers/net/ehea/ehea.h |8 +++- drivers/net/ehea

[PATCH 2/2] eHEA: Receive SKB Aggregation

2007-07-05 Thread Jan-Bernd Themann
This patch enables the receive side processing to aggregate TCP packets within the HEA device driver. It analyses the packets already received after an interrupt arrived and forwards these as chains of SKBs for the same TCP connection with modified header field. We have seen a lower CPU load and im

Re: md device files missing at boot time

2007-07-05 Thread Ingo Freund
Hi folks, I can temporarily only read your answers in archives. Thank you for your reaction. It would be nice, to send responses directly to me too: "linux-kernel-news at e-dict". Hopefully this answer doesn't break the thread. If it does: sorry for it, there were some mail mail problems which sto

Re: Libata PATA status

2007-07-05 Thread Chris Rankin
> Why not. I boot back and forth randomly between old and new IDE kernels > without problems. The root fs loaded is set in kernel or grub (or on most > distros nowdays by label scanning from initrd) so just works. Then mount > label or uuid based mounting does the rest. You say that, but I remembe

Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Oliver Neukum
Am Donnerstag, 5. Juli 2007 schrieb Miklos Szeredi: > > > > I have discussed the benefits elsewhere.  As for the deadlocks -- do > > > > you still observe them if you use the version of the freezer which > > > > doesn't freeze kernel threads? > > > > > > In general the only way to guarantee ther

Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Miklos Szeredi
> > > I have discussed the benefits elsewhere.  As for the deadlocks -- do > > > you still observe them if you use the version of the freezer which > > > doesn't freeze kernel threads? > > > > In general the only way to guarantee there are no deadlocks is to > > construct the graph of dependenci

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Miklos Szeredi
> > Pro-freezers say: > > > > - don't remove the freezer, otherwise we'll have to deal with > > numerous problems in drivers > > And these problems will generally be difficult to reproduce reliably > and debug. I see exactly the opposite. With the freezer I can have very rarely occuring f

Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Miklos Szeredi
> > > > > I have discussed the benefits elsewhere.  As for the deadlocks -- do > > > > > you still observe them if you use the version of the freezer which > > > > > doesn't freeze kernel threads? > > > > > > > > In general the only way to guarantee there are no deadlocks is to > > > > construct

Re: [RFC/PATCH] debug workqueue deadlocks with lockdep

2007-07-05 Thread Ingo Molnar
* Oleg Nesterov <[EMAIL PROTECTED]> wrote: > > > Isn't it better to call lock_release() with nested == 1 ? > > > > Not sure, Ingo? > > Ingo, could you also explain the meaning of "nested" parameter? Looks > like it is just unneeded, lock_release_nested() does a quick check and > use lock_rele

Re: [PATCH] debug work struct cancel deadlocks with lockdep

2007-07-05 Thread Ingo Molnar
* Johannes Berg <[EMAIL PROTECTED]> wrote: > +#ifdef CONFIG_LOCKDEP > + /* > + * It is permissible to free the struct work_struct > + * from inside the function that is called from it, > + * this we need to take into account for lockdep too. > +

Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Oliver Neukum
Am Donnerstag, 5. Juli 2007 schrieb Miklos Szeredi: > > > > > > I have discussed the benefits elsewhere.  As for the deadlocks -- > > > > > > do > > > > > > you still observe them if you use the version of the freezer which > > > > > > doesn't freeze kernel threads? > > > > > > > > > > In gener

Re: [PATCH] debug work struct cancel deadlocks with lockdep

2007-07-05 Thread Johannes Berg
On Thu, 2007-07-05 at 10:45 +0200, Ingo Molnar wrote: > > +#ifdef CONFIG_LOCKDEP > > + /* > > +* It is permissible to free the struct work_struct > > +* from inside the function that is called from it, > > +* this we need to take into account for lockd

Re: [PATCH] debug workqueue flushing deadlocks with lockdep

2007-07-05 Thread Johannes Berg
On Thu, 2007-07-05 at 10:48 +0200, Ingo Molnar wrote: > btw., small patch format comment: it would be useful (in the future) to > send such combined patches as: > > [patch 0/2] general description > [patch 1/2] first patch > [patch 2/2] second patch Sure, no problem. I usually do that automa

Re: x86_64 memory hotplug simulation support?

2007-07-05 Thread Yasunori Goto
> Thanks for your reply. Please, just call me Nigel :). Haha. Okay. Nigel. (Though, San is useful for even friendly/frank situation in Japanese :) ) > I saw a patch that Dave > Hansen had posted, back around the time of 2.6.11 iirc. It was for x86, and > (so far as I understand) allowed a perso

Re: [PATCH] debug work struct cancel deadlocks with lockdep

2007-07-05 Thread Ingo Molnar
* Johannes Berg <[EMAIL PROTECTED]> wrote: > This adds a lockdep_map for each work struct in order to debug > deadlocks like > my_function -> lock(); ...; cancel_work_sync(my_work) > vs. > run_workqueue() -> my_work.f() -> ...; lock(); ... > > which will deadlock if my_work.f() is invoked al

Re: [-mm PATCH 0/7] Memory controller introduction

2007-07-05 Thread Pavel Emelianov
Balbir Singh wrote: > Resending with the patch numbering fixed and linux-mm copied > > This patchset implements another version of the memory controller. These > patches have been through a big churn, the first set of patches were posted > last year and earlier this year at > http://lkml.org

Re: [PATCH] debug work struct cancel deadlocks with lockdep

2007-07-05 Thread Ingo Molnar
* Johannes Berg <[EMAIL PROTECTED]> wrote: > Btw, do you have a tree you'll submit this through, or Oleg, or should > I send it to akpm after we sort out any further issues? yep, would be nice if akpm could pick it up. (unless Peter wants to set up a lockdep git tree?) This should be merged in

Re: Fw: [PATCH] ia64: race flushing icache in do_no_page path

2007-07-05 Thread Zoltan Menyhart
KAMEZAWA Hiroyuki wrote: On Wed, 04 Jul 2007 16:24:38 +0200 Zoltan Menyhart <[EMAIL PROTECTED]> wrote: Machines star up whit bit 5 = 0, reading instruction pages via NFS has to flush them from L2I. In our test, we confirmed that this can be fixed by flushing L2I just before SetPageUptodate(

Re: [PATCH] debug work struct cancel deadlocks with lockdep

2007-07-05 Thread Johannes Berg
On Thu, 2007-07-05 at 10:53 +0200, Ingo Molnar wrote: > > +#ifdef CONFIG_LOCKDEP > > +/* > > + * HACK! This really should call lockdep_init_map() but can't > > + * because there's no requirement to initialise work structs > > + * at runtime. This works because subclass == 0. > > + * > > + * NB: be

[PATCH] debug work struct cancel deadlocks with lockdep

2007-07-05 Thread Johannes Berg
This adds a lockdep_map for each work struct in order to debug deadlocks like my_function -> lock(); ...; cancel_work_sync(my_work) vs. run_workqueue() -> my_work.f() -> ...; lock(); ... which will deadlock if my_work.f() is invoked already but my_function() has acquired the lock already. Sig

[PATCH] debug workqueue flushing deadlocks with lockdep

2007-07-05 Thread Johannes Berg
This patch adds a fake lock to each workqueue in order to debug things where you have something like my_function() -> lock(); ...; flush_workqueue(); ... vs run_workqueue() -> my_work() -> ...; lock(); ... which can obviously deadlock if my_work is scheduled when my_function() is invoked (but

Re: [PATCH] debug work struct cancel deadlocks with lockdep

2007-07-05 Thread Peter Zijlstra
On Thu, 2007-07-05 at 10:58 +0200, Johannes Berg wrote: > On Thu, 2007-07-05 at 10:53 +0200, Ingo Molnar wrote: > > > > +#ifdef CONFIG_LOCKDEP > > > +/* > > > + * HACK! This really should call lockdep_init_map() but can't > > > + * because there's no requirement to initialise work structs > > > +

Re: [PATCH] debug work struct cancel deadlocks with lockdep

2007-07-05 Thread Johannes Berg
On Thu, 2007-07-05 at 11:01 +0200, Peter Zijlstra wrote: > You could of course make this STATIC_LOCKDEP_MAP_INIT() and place it > near lockdep_init_map() :-) > > That way it would be clear that changes to either ought to be reflected > in the other. Sure. I have to repost anyway :) How about +

Re: [PATCH -mm 5/9] netconsole: Introduce dev_status member

2007-07-05 Thread Satyam Sharma
On Wed, 4 Jul 2007, Joel Becker wrote: > On Wed, Jul 04, 2007 at 04:38:04PM +0530, Satyam Sharma wrote: > > - if (!(event == NETDEV_CHANGEADDR || event == NETDEV_CHANGENAME)) > > - goto done; > > + if (!(event == NETDEV_UP || event == NETDEV_DOWN || > > + event == NETDEV_CHANG

removing refrigerator does not help with s2ram vs. fuse deadlocks (was Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway)

2007-07-05 Thread Pavel Machek
Hi! > > The fact remains that lots of drivers would still need to be changed. > > In the read and write methods someone would have to add code amounting > > to this: > > > > if (suspend_is_under_way()) { > > mutex_unlock(...); > > block_until_resume(); > >

Re: md device files missing at boot time

2007-07-05 Thread Ingo Freund
Hi folks, I could temporarily only read your answers in archives. Thank you for your reaction. Hopefully this answer doesn't break the thread. If it does: sorry for it, there were some mail mail problems which stopped our server receiving mails from this list and the list auto-unsubscribed me and

Re: [PATCH -mm 8/9] netconsole: Update documentation for dynamic reconfigurability

2007-07-05 Thread Satyam Sharma
On Wed, 4 Jul 2007, Joel Becker wrote: > On Wed, Jul 04, 2007 at 04:38:19PM +0530, Satyam Sharma wrote: > > +Some examples follow (configfs is mounted at the /config mountpoint, say). > > configfs is generally expected to be mounted at > /sys/kernel/config, and it even creates that mountpoin

Re: platform_driver_register() ??

2007-07-05 Thread Midhun Agnihotram
Hi All, > I think mmc driver is layered modules, only top block driver > registers driver under "mmc_bus_type" bus, see > drivers/mmc/mmc_sysfs.c and mmc_block.c. I think they are creating a > tree of devices of same characteristics under that bus. > I think your driver is linux/drivers/mm

Re: [PATCH] debug work struct cancel deadlocks with lockdep

2007-07-05 Thread Johannes Berg
On Thu, 2007-07-05 at 11:10 +0200, Peter Zijlstra wrote: > > +/* both _name and _key must not be NULL */ Heh actually I got confused. The requirement that _key is not NULL comes from the fact that I need to copy it for the workqueue stuff, not from lockdep. Hence, only _name must be non-NULL, I'l

Re: [PATCH] debug workqueue flushing deadlocks with lockdep

2007-07-05 Thread Peter Zijlstra
On Wed, 2007-07-04 at 21:34 +0200, Johannes Berg wrote: > This patch adds a fake lock to each workqueue in order to debug things > where you have something like > > my_function() -> lock(); ...; flush_workqueue(); ... > vs > run_workqueue() -> my_work() -> ...; lock(); ... > > which can obvio

Re: [PATCH] debug work struct cancel deadlocks with lockdep

2007-07-05 Thread Peter Zijlstra
On Wed, 2007-07-04 at 23:12 +0200, Johannes Berg wrote: > This adds a lockdep_map for each work struct in order to debug > deadlocks like > my_function -> lock(); ...; cancel_work_sync(my_work) > vs. > run_workqueue() -> my_work.f() -> ...; lock(); ... > > which will deadlock if my_work.f() is

Re: [PATCH -mm 0/3] configfs: Miscellaneous cleanups

2007-07-05 Thread Satyam Sharma
Hi Joel, On Wed, 4 Jul 2007, Joel Becker wrote: > On Wed, Jul 04, 2007 at 04:37:01PM +0530, Satyam Sharma wrote: > > From: Satyam Sharma <[EMAIL PROTECTED]> > > > > [0/3] configfs: Miscellaneous cleanups > > > > Simple cleanups for configfs (plus DLM and OCFS2, wherever applicable). > > This is

Re: [PATCH] debug work struct cancel deadlocks with lockdep

2007-07-05 Thread Peter Zijlstra
On Thu, 2007-07-05 at 11:08 +0200, Johannes Berg wrote: > On Thu, 2007-07-05 at 11:01 +0200, Peter Zijlstra wrote: > > > You could of course make this STATIC_LOCKDEP_MAP_INIT() and place it > > near lockdep_init_map() :-) > > > > That way it would be clear that changes to either ought to be refle

Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Pavel Machek
On Thu 2007-07-05 10:17:17, Miklos Szeredi wrote: > > > > I have discussed the benefits elsewhere.  As for the deadlocks -- do > > > > you still observe them if you use the version of the freezer which > > > > doesn't freeze kernel threads? > > > > > > In general the only way to guarantee there

Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Miklos Szeredi
> > > > > I have discussed the benefits elsewhere.  As for the deadlocks -- do > > > > > you still observe them if you use the version of the freezer which > > > > > doesn't freeze kernel threads? > > > > > > > > In general the only way to guarantee there are no deadlocks is to > > > > construct

Re: The big suspend mess

2007-07-05 Thread Pavel Machek
On Thu 2007-07-05 10:53:37, Paul Mackerras wrote: > Pavel Machek writes: > > > 0. Get someone to sign up as a maintainer for suspend, so we have > > someone to blame for the mess? :-) > > I thought that was Rafael? Rafael is good job trying to fix suspend when he can, but we do not actually have

[RFC] bloody mess with __attribute__() syntax

2007-07-05 Thread Al Viro
We have a fun problem and for a change it's not sparse fault. It's gcc folks' one. Basically, __attribute__((...)) behaves in an idiotic way and it's an intentional (and documented) behaviour. In declaration of form T __attribute__((foo)) **v; the attribute applies to v, not to **v

[PATCH] slub: don't export static kmem_cache_open

2007-07-05 Thread Johannes Berg
kmem_cache_open is static so shouldn't be exported. Signed-off-by: Johannes Berg <[EMAIL PROTECTED]> --- mm/slub.c |1 - 1 file changed, 1 deletion(-) --- wireless-dev.orig/mm/slub.c 2007-07-05 11:35:51.555640003 +0200 +++ wireless-dev/mm/slub.c 2007-07-05 11:36:03.895640003 +0200 @@ -

Re: [RFC] get rid of CONFIG_DISABLE_CONSOLE_SUSPEND

2007-07-05 Thread Stefan Seyfried
Hi, On Thu, Jul 05, 2007 at 12:39:22AM +0200, Pavel Machek wrote: > Hi! > > > Yes, but I'm not sure if netconsole is the only one that we will want to > > have > > Well, netconsole is the only one we know of. AFAIR it is plain luck that serial console sometimes works. I repeat: "no bugreport"

Re: x86_64 memory hotplug simulation support?

2007-07-05 Thread Nigel Cunningham
Hi. On Thursday 05 July 2007 18:52:13 Yasunori Goto wrote: > > Thanks for your reply. Please, just call me Nigel :). > > Haha. Okay. Nigel. > (Though, San is useful for even friendly/frank situation in Japanese :) ) Ah, ok. Sort of like the Aussies among whom I'm living say "Mate", I guess - in

Re: [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Pavel Machek
Hi! > > > - For STR, don't do the freezer thing. > > > > In the long run, I agree. > > > > Still, can you please read this post from Alan Stern: > > > > https://lists.linux-foundation.org/pipermail/linux-pm/2007-June/012847.html > > > > ? I don't think I'm able to repeat the arguments given

Re: [PATCH] Some love to default profiler

2007-07-05 Thread Denis Vlasenko
On Thursday 05 July 2007 01:50, Jesper Juhl wrote: > > Removes conditional branch from schedule(). Code savings on my > >usual config: > > > >textdata bss dec hex filename > > 2921871 179895 180224 3281990 321446 vmlinux before > > 2920141

Re: [PATCH] Some love to default profiler

2007-07-05 Thread Robert P. J. Day
On Thu, 5 Jul 2007, Denis Vlasenko wrote: > On Thursday 05 July 2007 01:50, Jesper Juhl wrote: > > > Removes conditional branch from schedule(). Code savings on my > > >usual config: > > > > > >textdata bss dec hex filename > > > 2921871 179895 180224 3281

Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Miklos Szeredi
> > > > And teach VFS to block suspension, while waiting on a mutex held by > > > > another process performing a fuse operation. > > > > > > > > I can already hear the beautiful praise from Al Viro at the sight of > > > > that ;) > > > > > > There is that. > > > > > > OK, bite the bullet. Tasks

Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Oliver Neukum
Am Donnerstag, 5. Juli 2007 schrieb Miklos Szeredi: > > > And teach VFS to block suspension, while waiting on a mutex held by > > > another process performing a fuse operation. > > > > > > I can already hear the beautiful praise from Al Viro at the sight of > > > that ;) > > > > There is that. >

Re: Suspend2 is getting a new name.

2007-07-05 Thread Pavel Machek
Hi! > [ Shamelessly off-topic, but SCNR myself ] > > On 7/2/07, Nigel Cunningham <[EMAIL PROTECTED]> > wrote: > >Hi all. > > > >Suspend2's name is changing to "TuxOnIce". > > Hmm, FunkyMixedCase name ... > > > ... hope this'll make it work on my laptop too :-) > > [ Is there a prize for post

Re: The big suspend mess

2007-07-05 Thread Gabriel C
Pavel Machek wrote: On Thu 2007-07-05 10:53:37, Paul Mackerras wrote: Pavel Machek writes: 0. Get someone to sign up as a maintainer for suspend, so we have someone to blame for the mess? :-) I thought that was Rafael? Rafael is good job trying to fix suspend when he can

keeping the MAINTAINERS file under control

2007-07-05 Thread Robert P. J. Day
it's always nice when a subsystem has an official maintainer but this does seem a bit excessive, no? BLACKFIN ARCHITECTURE P: Aubrey Li M: [EMAIL PROTECTED] P: Bernd Schmidt M: [EMAIL PROTECTED] P: Bryan Wu M: [EMAIL PROTECTED] P: Grace Pan M: [EMAIL PROT

Re: The big suspend mess

2007-07-05 Thread Fabio Comolli
Hi. On 7/5/07, Gabriel C <[EMAIL PROTECTED]> wrote: Pavel Machek wrote: > On Thu 2007-07-05 10:53:37, Paul Mackerras wrote: > >> Pavel Machek writes: >> >> >>> 0. Get someone to sign up as a maintainer for suspend, so we have >>> someone to blame for the mess? :-) >>> >> I thought that was Rafae

MAINTAINERS file pedantry

2007-07-05 Thread Robert P. J. Day
while the architecture directory is "h8300", the MAINTAINERS file entry lists the architecture as "H8/300", so a simple grep for "h8300" through MAINTAINERS would fail to find that entry. rday -- Robert P. J. Day Linux Co

Re: [RFC][PATCH -mm] PM: Do not sync from within the freezer during suspend to RAM

2007-07-05 Thread Rafael J. Wysocki
On Thursday, 5 July 2007 00:52, Nigel Cunningham wrote: > Hi. > > On Thursday 05 July 2007 08:49:42 Pavel Machek wrote: > > On Thu 2007-07-05 08:48:15, Nigel Cunningham wrote: > > > Hi. > > > > > > On Thursday 05 July 2007 00:58:58 Rafael J. Wysocki wrote: > > > > From: Rafael J. Wysocki <[EMAIL

Re: [PATCH 11/11] kernel/sched.c: lower printk severity

2007-07-05 Thread Ingo Molnar
* Dan Aloni <[EMAIL PROTECTED]> wrote: > Signed-off-by: Dan Aloni <[EMAIL PROTECTED]> Acked-by: Ingo Molnar <[EMAIL PROTECTED]> Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vge

Re: Failure to properly reinit i8042 post suspend-to-ram

2007-07-05 Thread Nigel Cunningham
Hi. On Thursday 05 July 2007 20:15:14 Pavel Machek wrote: > Hi! > > > I have recently begun to try and use suspend to ram more, and have an > > intermittent problem. Actually, it's a couple of (possibly related) problems, > > but I'll start with the one that's easiest. > > > > Sometimes, when

Re: Failure to properly reinit i8042 post suspend-to-ram

2007-07-05 Thread Pavel Machek
Hi! > I have recently begun to try and use suspend to ram more, and have an > intermittent problem. Actually, it's a couple of (possibly related) problems, > but I'll start with the one that's easiest. > > Sometimes, when I resume, the keyboard stops responding. I then need to hold > down the

dead(?) i386-related CONFIG variables

2007-07-05 Thread Robert P. J. Day
since it's not clear who a single contact person would be for i386-related stuff like this, here's what my script turned up for tests on non-existent CONFIG variables under arch/i386: == BALANCED_IRQ_DEBUG == arch/i386/kernel/io_apic.c:356:#ifdef CONFIG_BALANCED_IRQ_DEBUG ==

Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Rafael J. Wysocki
From: David Howells <[EMAIL PROTECTED]> Be (self-)consistent and use CONFIG_GDB_CONSOLE everywhere rather than using CONFIG_GDBSTUB_CONSOLE in some places and not others. This is also then consistent with other archs. Also remove the gdbstub condole device() op which doesn't seem to be necessary

Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Pavel Machek
Hi! > > > > In which way can user space tasks depend on each other in a way that > > > > allows a them members of that cycle to be in uninterruptible sleep? > > > > > > - process A calls rename() on a fuse fs > > > - process B, the fuse server, starts to process the rename request > > > - proc

[PATCH] FRV: Remove some dead code

2007-07-05 Thread David Howells
From: David Howells <[EMAIL PROTECTED]> Remove some dead chunks of code that are bounded by preprocessor conditionals controlled by apparently no-longer available config options. These are: CONFIG_BLK_DEV_BLKMEM CONFIG_CHR_DEV_FLASH CONFIG_BLK_DEV_FLASH CONFIG_CON

Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Rafael J. Wysocki
On Thursday, 5 July 2007 02:15, Paul Mackerras wrote: > Rafael J. Wysocki writes: > > > This is incompatible with the code in kernel/power/main.c, since we only > > disable the nonboot CPUs after devices have been suspended. Do you think > > that > > your framework can be modified to work withou

Re: [RFC][PATCH -mm] PM: Do not sync from within the freezer during suspend to RAM

2007-07-05 Thread Nigel Cunningham
Hi. On Thursday 05 July 2007 21:28:49 Rafael J. Wysocki wrote: > On Thursday, 5 July 2007 00:52, Nigel Cunningham wrote: > > On Thursday 05 July 2007 08:49:42 Pavel Machek wrote: > > > On Thu 2007-07-05 08:48:15, Nigel Cunningham wrote: > > > > On Thursday 05 July 2007 00:58:58 Rafael J. Wysocki w

Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Rafael J. Wysocki
On Thursday, 5 July 2007 12:14, Miklos Szeredi wrote: > > > > > And teach VFS to block suspension, while waiting on a mutex held by > > > > > another process performing a fuse operation. > > > > > > > > > > I can already hear the beautiful praise from Al Viro at the sight of > > > > > that ;) > >

Re: [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Rafael J. Wysocki
On Thursday, 5 July 2007 01:45, Pavel Machek wrote: > On Tue 2007-07-03 21:32:20, Oliver Neukum wrote: > > Am Dienstag, 3. Juli 2007 schrieb Miklos Szeredi: > > > > And a further question. The freezer is not atomic. What do you do > > > > if a task not yet frozen calls sys_sync(), but fuse is alrea

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Rafael J. Wysocki
On Thursday, 5 July 2007 02:29, Paul Mackerras wrote: > Rafael J. Wysocki writes: > > > They will not trigger 100% of the time, but sporadically and generally at > > random. > > > > At least the freezer problems are reproducible. ;-) > > Our experience with powermacs has been that it isn't actua

[PATCH] FRV: Be (self-)consistent and use CONFIG_GDB_CONSOLE everywhere [try #2]

2007-07-05 Thread David Howells
From: David Howells <[EMAIL PROTECTED]> Be (self-)consistent and use CONFIG_GDB_CONSOLE everywhere rather than using CONFIG_GDBSTUB_CONSOLE in some places and not others. This is also then consistent with other archs. Also remove the gdbstub console device() op which doesn't seem to be necessary

[PATCH] FRV: Remove some dead code [try #2]

2007-07-05 Thread David Howells
From: David Howells <[EMAIL PROTECTED]> Remove some dead chunks of code that are bounded by preprocessor conditionals controlled by apparently no-longer available config options. These are: CONFIG_BLK_DEV_BLKMEM CONFIG_CHR_DEV_FLASH CONFIG_BLK_DEV_FLASH CONFIG_CON

Re: [PATCH] X86: Update alignment when 4K stacks are used.

2007-07-05 Thread Pavel Machek
On Mon 2007-06-25 06:43:37, Robert P. J. Day wrote: > > Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> > > --- > > it's not clear from MAINTAINERS who's responsible for something this > generic. I'd cc andi here... Pavel > diff --g

Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Miklos Szeredi
> > Actually fuse allows SIGKILL, because it's always fatal, and the > > syscall may not be restarted. > > I think you want to stick try_to_freeze() at the same places where you > do SIGKILL handling. That should solve the 'syslogd is unfreezeable' > problem. I could, but it would not solve the g

Re: [RFC] bloody mess with __attribute__() syntax

2007-07-05 Thread Arnd Bergmann
On Thursday 05 July 2007, Al Viro wrote: > Frankly, I would rather add a new primitive (__qualifier__) mirroring the > __attribute__, but acting like real qualifiers do.  And switched the > noderef et.al. to it.  The only real alternative is to have __attribute__ > behaviour dependent on its guts a

[PATCH 0/2] workqueue lockup debugging

2007-07-05 Thread Johannes Berg
I recently experienced a lockup in the wireless code due to the scenario described in patch 1 and wanted to have lockdep warn about such scenarios as a way to catch such bugs in other subsystems as well as to make sure we wouldn't get such things ever again. In discussions with Oleg and Ingo it tu

[PATCH 1/2] workqueue: debug flushing deadlocks with lockdep

2007-07-05 Thread Johannes Berg
In the following scenario: code path 1: my_function() -> lock(L1); ...; flush_workqueue(); ... code path 2: run_workqueue() -> my_work() -> ...; lock(L1); ... you can get a deadlock when my_work() is queued or running but my_function() has acquired L1 already. This patch adds a pseudo-lock

[PATCH 2/2] workqueue: debug work related deadlocks with lockdep

2007-07-05 Thread Johannes Berg
In the following scenario: code path 1: my_function() -> lock(L1); ...; cancel_work_sync(my_work) [or cancel_rearming_delayed_work(my_work)] code path 2: run_workqueue() -> my_work.f() -> ...; lock(L1); ... you can get a deadlock if my_work.f() is running but my_function() has acquired L1

[PATCH] FRV: Connect up new syscalls

2007-07-05 Thread David Howells
From: David Howells <[EMAIL PROTECTED]> Connect up new system calls. Signed-off-by: David Howells <[EMAIL PROTECTED]> --- arch/frv/kernel/entry.S |4 include/asm-frv/unistd.h |6 +- 2 files changed, 9 insertions(+), 1 deletions(-) diff --git a/arch/frv/kernel/entry.S b/arch/f

serial_pci and AC'97 Softmodems

2007-07-05 Thread Christian P. Schmidt
Hi, Apparently the serial_pci module detects a lot of (non-existent?) serial ports on my laptop: ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 3 PCI: setting IRQ 3 as level-triggered ACPI: PCI Interrupt :00:08.0[A] -> Link [LNKG] -> GSI 3 (level, low) -> IRQ 3 :00:08.0: ttyS1 at I/O 0x88

Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Miklos Szeredi
> > Limiting what a userspace filesystem can do would defeat the whole > > purpose of the bloody thing. This is not negotiable ;) > > Which doesn't change the fact that FUSE _is_ special, because it adds > dependencies between processed that were not present before. OK, fuse is special. So is t

Re: [RFD] BIO_RW_BARRIER - what it means for devices, filesystems, and dm/md.

2007-07-05 Thread Tejun Heo
Hello, Jens. Jens Axboe wrote: > On Mon, May 28 2007, Neil Brown wrote: >> I think the implementation priorities here are: >> >> 1/ implement a zero-length BIO_RW_BARRIER option. >> 2/ Use it (or otherwise) to make all dm and md modules handle >>barriers (and loop?). >> 3/ Devise and implement

Re: The big suspend mess

2007-07-05 Thread Rafael J. Wysocki
On Thursday, 5 July 2007 03:22, Adrian Bunk wrote: > On Thu, Jul 05, 2007 at 02:27:47AM +0200, Pavel Machek wrote: > > > > > IMHO the suspend code is currently way too much of a moving target which > > > results in this mess. > > > > > > The correct order seems to be: > > > > 0. Get someone to

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

2007-07-05 Thread Pavel Machek
Hi! > On some machines, buggy BIOSes don't properly setup WB MTRRs to > cover all available RAM, meaning the last few megs (or even gigs) > of memory will be marked uncached. Since Linux tends to allocate > from high memory addresses first, this causes the machine to be > unusably slow as soon as

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

2007-07-05 Thread Justin Piszcz
On Thu, 5 Jul 2007, Pavel Machek wrote: Hi! On some machines, buggy BIOSes don't properly setup WB MTRRs to cover all available RAM, meaning the last few megs (or even gigs) of memory will be marked uncached. Since Linux tends to allocate from high memory addresses first, this causes the ma

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Rafael J. Wysocki
On Thursday, 5 July 2007 02:36, Paul Mackerras wrote: > Alan Stern writes: > > > Remember what I wrote a few minutes ago about khubd and ksuspend_usbd > > wanting to resume devices during a system suspend transition? This is > > exactly what happens when those threads aren't frozen. > > So, I wo

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Johannes Berg
On Thu, 2007-07-05 at 14:51 +0200, Rafael J. Wysocki wrote: > > > Remember what I wrote a few minutes ago about khubd and ksuspend_usbd > > > wanting to resume devices during a system suspend transition? This is > > > exactly what happens when those threads aren't frozen. > > > > So, I wonder wh

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Rafael J. Wysocki
On Thursday, 5 July 2007 02:43, Paul Mackerras wrote: > Miklos Szeredi writes: > > > OK, let me summarize the situation as I see it now: there are two > > camps, the pro-freezers and the anti-freezers. > > > > Pro-freezers say: > > > > - don't remove the freezer, otherwise we'll have to deal w

Re: [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Nigel Cunningham
Hi. On Thursday 05 July 2007 22:25:06 Rafael J. Wysocki wrote: > On Thursday, 5 July 2007 01:45, Pavel Machek wrote: > > On Tue 2007-07-03 21:32:20, Oliver Neukum wrote: > > > Am Dienstag, 3. Juli 2007 schrieb Miklos Szeredi: > > > > > And a further question. The freezer is not atomic. What do you

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Rafael J. Wysocki
On Thursday, 5 July 2007 10:37, Miklos Szeredi wrote: > > > Pro-freezers say: > > > > > > - don't remove the freezer, otherwise we'll have to deal with > > > numerous problems in drivers > > > > And these problems will generally be difficult to reproduce reliably > > and debug. > > I see e

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Miklos Szeredi
> > > PF_FREEZER_SKIP flag. Perhaps we can do similar thing with FUSE. > > > > It cannot be just worked around in fuse, as a task might be sleeping > > on a number of VFS mutexes as well (i_mutex, s_vfs_rename_mutex, etc). > > It would be a gigantic hack, possible at all. > > Well, obviously FUS

Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Rafael J. Wysocki
On Thursday, 5 July 2007 14:24, Miklos Szeredi wrote: > > Don't you think, however, that it can be modified a little to play well, > > for example, with the freezer? > > I could stick a couple of try_to_freeze()s into fuse, and that would > make suspend failure less likely. But making problems le

Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Rafael J. Wysocki
On Thursday, 5 July 2007 14:07, Miklos Szeredi wrote: > > > Actually fuse allows SIGKILL, because it's always fatal, and the > > > syscall may not be restarted. > > > > I think you want to stick try_to_freeze() at the same places where you > > do SIGKILL handling. That should solve the 'syslogd is

Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Rafael J. Wysocki
On Thursday, 5 July 2007 13:54, Miklos Szeredi wrote: > > > Limiting what a userspace filesystem can do would defeat the whole > > > purpose of the bloody thing. This is not negotiable ;) > > > > Which doesn't change the fact that FUSE _is_ special, because it adds > > dependencies between proces

[seems to be SOLVED] Re: md device files missing at boot time

2007-07-05 Thread Ingo Freund
On 05.07.2007 11:16, Ingo Freund wrote (please find the answer below the original text): > Hi folks, > > I could temporarily only read your answers in archives. > Thank you for your reaction. > Hopefully this answer doesn't break the thread. > If it does: > sorry for it, there were some mail mail

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

2007-07-05 Thread Tomasz Kłoczko
On Wed, 4 Jul 2007, Adrian Bunk wrote: On Wed, Jul 04, 2007 at 02:35:39AM -0400, Darren wrote: I know this may sound kind of stupid, but how about not deprecating either, and fully supporting both sound systems? Maybe we can get them to work together, and the distro or user can choose whether

Re: [PATCH -mm 8/9] netconsole: Update documentation for dynamic reconfigurability

2007-07-05 Thread Keiichi KII
Hi Satyam, > + cat enabled # check if enabled is 1 > + echo 0 > enabled# disable the target (if required) > + echo eth2 > dev_name# set local interface I think that the above line should change from "echo eth2 > dev_name" to "ec

Linux SMP Porting Guide

2007-07-05 Thread Mohamed Bamakhrama
Hi all, Is there any mailing list or tutorial which provides guidelines for porting Linux SMP into a new architecture? Thanks a lot in advance. Best Regards, -- Mohamed Ahmed Bamakhrama Am Schaeferanger 15, room 035 85764 Oberschleissheim, Germany Email: [EMAIL PROTECTED] Web: http://home.cs.tu

[PATCH] potential compiler error, irqfunc caller sites update

2007-07-05 Thread Yoann Padioleau
In 7d12e780e003f93433d49ce78cfedf4b4c52adc5 David Howells performed this evolution: "IRQ: Maintain regs pointer globally rather than passing to IRQ handlers" He correctly updated many of the function definitions that were using this extra regs pointer parameter but forgot to update some caller

Re: [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Rafael J. Wysocki
Hi, On Thursday, 5 July 2007 15:36, Nigel Cunningham wrote: > Hi. > > On Thursday 05 July 2007 23:35:45 Rafael J. Wysocki wrote: > > On Thursday, 5 July 2007 14:38, Nigel Cunningham wrote: > > > On Thursday 05 July 2007 22:25:06 Rafael J. Wysocki wrote: > > > > On Thursday, 5 July 2007 01:45, Pav

Re: [PATCH -mm 0/3] configfs: Miscellaneous cleanups

2007-07-05 Thread David Teigland
On Wed, Jul 04, 2007 at 11:30:08PM -0700, Joel Becker wrote: > On Wed, Jul 04, 2007 at 04:37:01PM +0530, Satyam Sharma wrote: > > From: Satyam Sharma <[EMAIL PROTECTED]> > > > > [0/3] configfs: Miscellaneous cleanups > > > > Simple cleanups for configfs (plus DLM and OCFS2, wherever applicable).

Re: [PATCH -mm 8/9] netconsole: Update documentation for dynamic reconfigurability

2007-07-05 Thread Satyam Sharma
On Thu, 5 Jul 2007, Satyam Sharma wrote: > [...] > BTW I did some testing myself, and have found another *embarrassing* bug: > if netconsole is loaded _without_ specifying any "netconsole=" parameter, > module is still kept loaded, but on unloading configfs_unregister_...() > obviously panics! :-)

Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

2007-07-05 Thread Rafael J. Wysocki
On Thursday, 5 July 2007 14:50, Johannes Berg wrote: > On Thu, 2007-07-05 at 14:51 +0200, Rafael J. Wysocki wrote: > > > > > Remember what I wrote a few minutes ago about khubd and ksuspend_usbd > > > > wanting to resume devices during a system suspend transition? This is > > > > exactly what hap

  1   2   3   4   5   >