Re: [PATCH 2.6.11-rc4-mm1] connector: Add a fork connector

2005-03-08 Thread Guillaume Thouvenin
ere are some results when using the process creation tests "lat_proc fork". Test was run ten times thus the average is computed with the ten metrics. with a kernel 2.6.11-rc4-mm1 max value = 164.0588 msec min value = 159.8571 msec average = 161.7012 msec with a

Re: [PATCH 2.6.11-rc4-mm1] connector: Add a fork connector

2005-03-08 Thread Guillaume Thouvenin
when using the process creation tests lat_proc fork. Test was run ten times thus the average is computed with the ten metrics. with a kernel 2.6.11-rc4-mm1 max value = 164.0588 msec min value = 159.8571 msec average = 161.7012 msec with a kernel 2.6.11-rc4-mm1

Re: [PATCH 2.6.11-rc4-mm1] connector: Add a fork connector

2005-03-07 Thread Guillaume Thouvenin
Hello, This patch cannot be apply on a 2.6.11-mm1 because connector is missing in this release. The connector module should be back in the next kernel release. That's why it applies on a 2.6.11-rc4-mm1 tree. Also, there is a problem with the drivers/connector/connector.c file. The test

Re: [PATCH 2.6.11-rc4-mm1] end-of-proces handling for acct-csa

2005-03-07 Thread Jay Lan
The patch i propose is tiny, simple and straight forward. It touches only one file and leaves the CSA code in a configurable loadable module. It broke nobody's code and it does not need to redesign existing BSD kernel code and utilities. If we are to merge the code, there are some detailed

Re: [PATCH 2.6.11-rc4-mm1] end-of-proces handling for acct-csa

2005-03-07 Thread Jay Lan
The patch i propose is tiny, simple and straight forward. It touches only one file and leaves the CSA code in a configurable loadable module. It broke nobody's code and it does not need to redesign existing BSD kernel code and utilities. If we are to merge the code, there are some detailed

Re: [PATCH 2.6.11-rc4-mm1] connector: Add a fork connector

2005-03-07 Thread Guillaume Thouvenin
Hello, This patch cannot be apply on a 2.6.11-mm1 because connector is missing in this release. The connector module should be back in the next kernel release. That's why it applies on a 2.6.11-rc4-mm1 tree. Also, there is a problem with the drivers/connector/connector.c file. The test

Re: [PATCH 2.6.11-rc4-mm1] end-of-proces handling for acct-csa

2005-03-04 Thread Tim Schmielau
On Wed, 2 Mar 2005, Guillaume Thouvenin wrote: > Is it possible to merge BSD and CSA? I mean with CSA, there is a part > that does per-process accounting. For exemple in the > linux-2.6.9.acct_mm.patch the two functions update_mem_hiwater() and > csa_update_integrals() update fields in the

Re: [PATCH 2.6.11-rc4-mm1] end-of-proces handling for acct-csa

2005-03-04 Thread Tim Schmielau
On Wed, 2 Mar 2005, Guillaume Thouvenin wrote: Is it possible to merge BSD and CSA? I mean with CSA, there is a part that does per-process accounting. For exemple in the linux-2.6.9.acct_mm.patch the two functions update_mem_hiwater() and csa_update_integrals() update fields in the current

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-03 Thread Jindrich Makovicka
Andrew Morton wrote: (Please do reply-to-all) Jindrich Makovicka <[EMAIL PROTECTED]> wrote: Pavel Machek wrote: Hi! In `subj` kernel, machine no longer powers down at the end of swsusp. 2.6.11-rc5-pavel works ok, as does 2.6.11-bk. For me, power down stopped working since the introduction of

Re: [PATCH 2.6.11-rc4-mm1] connector: Add a fork connector

2005-03-03 Thread Evgeniy Polyakov
eating 10k forks 100 times. > Results on 2-way SMP(1+1HT) Xeon for one fork()+exit(): > > 2.6.11-rc4-mm1 494 usec Actually sometimes it drops to 480 usecs. > 2.6.11-rc4-mm1-fork-connector-no_userspace 509 usec > 2.6.11-rc4-mm1-fork-connector-u

Re: [PATCH 2.6.11-rc4-mm1] connector: Add a fork connector

2005-03-03 Thread Evgeniy Polyakov
- tv0.tv_sec)*100 + (tv1.tv_usec - tv0.tv_usec); printf("Average per process fork+exit time is %ld usecs [diff=%lu, max=%d].\n", diff/max, diff, max); return 0; } Creating 10k forks 100 times. Results on 2-way SMP(1+1HT) Xeon for one fork()+exit():

Re: [PATCH 2.6.11-rc4-mm1] connector: Add a fork connector

2005-03-03 Thread Evgeniy Polyakov
(): 2.6.11-rc4-mm1 494 usec 2.6.11-rc4-mm1-fork-connector-no_userspace 509 usec 2.6.11-rc4-mm1-fork-connector-userspace 520 usec 5% fork() degradation(connector with userspace vs. vanilla) with fork() connector. On my test system global fork lock does

Re: [PATCH 2.6.11-rc4-mm1] connector: Add a fork connector

2005-03-03 Thread Evgeniy Polyakov
forks 100 times. Results on 2-way SMP(1+1HT) Xeon for one fork()+exit(): 2.6.11-rc4-mm1 494 usec Actually sometimes it drops to 480 usecs. 2.6.11-rc4-mm1-fork-connector-no_userspace 509 usec 2.6.11-rc4-mm1-fork-connector-userspace 520 usec

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-03 Thread Jindrich Makovicka
Andrew Morton wrote: (Please do reply-to-all) Jindrich Makovicka [EMAIL PROTECTED] wrote: Pavel Machek wrote: Hi! In `subj` kernel, machine no longer powers down at the end of swsusp. 2.6.11-rc5-pavel works ok, as does 2.6.11-bk. For me, power down stopped working since the introduction of

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-02 Thread Adrian Bunk
On Wed, Mar 02, 2005 at 01:18:17PM -0800, Andrew Morton wrote: > Jeff Garzik <[EMAIL PROTECTED]> wrote: > > > > > Thing is, CRYPTO_AES on only selectable on x86. > > > > You're thinking about CRYPTO_AES_586. But looking at crypto/Kconfig, > > the dependencies are a bit weird: > > > > config

Re: [PATCH 2.6.11-rc4-mm1] connector: Add a fork connector

2005-03-02 Thread Evgeniy Polyakov
On Thu, Mar 03, 2005 at 12:18:25PM +0900, Kaigai Kohei ([EMAIL PROTECTED]) wrote: > Hello, Guillaume > > I tried to measure the process-creation/destruction performance on > 2.6.11-rc4-mm1 plus > some extensiton(Normal/with PAGG/with Fork-Connector). > But I received a

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-02 Thread Adrian Bunk
On Wed, Mar 02, 2005 at 05:41:50PM -0500, Jeff Garzik wrote: > Andrew Morton wrote: > >Jeff Garzik <[EMAIL PROTECTED]> wrote: > > > >>>Thing is, CRYPTO_AES on only selectable on x86. > >> > >>You're thinking about CRYPTO_AES_586. But looking at crypto/Kconfig, > >>the dependencies are a bit

Re: [PATCH 2.6.11-rc4-mm1] connector: Add a fork connector

2005-03-02 Thread Kaigai Kohei
Hello, Guillaume (B (BI tried to measure the process-creation/destruction performance on (B2.6.11-rc4-mm1 plus (Bsome extensiton(Normal/with PAGG/with Fork-Connector). (BBut I received a following messages endlessly on system console with (BFork-Connector extensiton. (B (B# on IA-64

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-02 Thread Andrew Morton
(Please do reply-to-all) Jindrich Makovicka <[EMAIL PROTECTED]> wrote: > > Pavel Machek wrote: > > Hi! > > > > In `subj` kernel, machine no longer powers down at the end of > > swsusp. 2.6.11-rc5-pavel works ok, as does 2.6.11-bk. > > For me, power down stopped working since the introduction

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-02 Thread Jindrich Makovicka
Pavel Machek wrote: Hi! In `subj` kernel, machine no longer powers down at the end of swsusp. 2.6.11-rc5-pavel works ok, as does 2.6.11-bk. For me, power down stopped working since the introduction of softlockup detection. After disabling CONFIG_DETECT_SOFTLOCKUP, powerdown works fine. --

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-02 Thread Jeff Garzik
Adrian Bunk wrote: On Wed, Mar 02, 2005 at 05:41:50PM -0500, Jeff Garzik wrote: Andrew Morton wrote: Jeff Garzik <[EMAIL PROTECTED]> wrote: Thing is, CRYPTO_AES on only selectable on x86. You're thinking about CRYPTO_AES_586. But looking at crypto/Kconfig, the dependencies are a bit weird:

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-02 Thread Jeff Garzik
Andrew Morton wrote: Jeff Garzik <[EMAIL PROTECTED]> wrote: Thing is, CRYPTO_AES on only selectable on x86. You're thinking about CRYPTO_AES_586. But looking at crypto/Kconfig, the dependencies are a bit weird: config CRYPTO_AES tristate "AES cipher algorithms" depends on

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-02 Thread Andrew Morton
Adrian Bunk <[EMAIL PROTECTED]> wrote: > > > Would be better to just do: > > > > config CRYPTO_AES > > select CRYPTO_AES_586 if (X86 && !X86_64) > > select CRYPTO_AES_OTHER if !(X86 && !X86_64) > > > > and hide CRYPTO_AES_586 and CRYPTO_AES_OTHER from the outside world. > > >

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-02 Thread Adrian Bunk
On Wed, Mar 02, 2005 at 02:12:04PM -0500, Jeff Garzik wrote: > Adrian Bunk wrote: > >On Wed, Mar 02, 2005 at 01:43:04AM -0500, Jeff Garzik wrote: > > > >>Adrian Bunk wrote: > >> > >>>+ select CRYPTO > >>> select CRYPTO_AES > >>> ---help--- > >>> Include software based cipher suites in

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-02 Thread Andrew Morton
Jeff Garzik <[EMAIL PROTECTED]> wrote: > > > Thing is, CRYPTO_AES on only selectable on x86. > > You're thinking about CRYPTO_AES_586. But looking at crypto/Kconfig, > the dependencies are a bit weird: > > config CRYPTO_AES > tristate "AES cipher algorithms" > depends on

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-02 Thread Jeff Garzik
Andrew Morton wrote: Jeff Garzik <[EMAIL PROTECTED]> wrote: Adrian Bunk wrote: On Wed, Mar 02, 2005 at 01:43:04AM -0500, Jeff Garzik wrote: Adrian Bunk wrote: + select CRYPTO select CRYPTO_AES ---help--- Include software based cipher suites in support of IEEE 802.11i (aka TGi, WPA, WPA2,

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-02 Thread Andrew Morton
Jeff Garzik <[EMAIL PROTECTED]> wrote: > > Adrian Bunk wrote: > > On Wed, Mar 02, 2005 at 01:43:04AM -0500, Jeff Garzik wrote: > > > >>Adrian Bunk wrote: > >> > >>>+ select CRYPTO > >>> select CRYPTO_AES > >>> ---help--- > >>> Include software based cipher suites in support of IEEE 802.11i

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-02 Thread Jeff Garzik
Adrian Bunk wrote: On Wed, Mar 02, 2005 at 01:43:04AM -0500, Jeff Garzik wrote: Adrian Bunk wrote: + select CRYPTO select CRYPTO_AES ---help--- Include software based cipher suites in support of IEEE 802.11i (aka TGi, WPA, WPA2, WPA-PSK, etc.) for use with CCMP enabled networks. @@ -54,10

Re: [PATCH 2.6.11-rc4-mm1] end-of-proces handling for acct-csa

2005-03-02 Thread Jay Lan
I did not look into the userspace commands supported in BSD accounting on the dependency on the format of /var/account/pacct file. The accounting exit hook allows BSD/CSA to save accounting data stored in task_struct to internally kept data structure and then writes to their respective accounting

Re: [PATCH 2.6.11-rc4-mm1] end-of-proces handling for acct-csa

2005-03-02 Thread Jesse Barnes
On Tuesday, March 1, 2005 11:48 pm, Guillaume Thouvenin wrote: > Is it possible to merge BSD and CSA? I mean with CSA, there is a part > that does per-process accounting. For exemple in the > linux-2.6.9.acct_mm.patch the two functions update_mem_hiwater() and > csa_update_integrals() update

Re: [PATCH 2.6.11-rc4-mm1] connector: Add a fork connector

2005-03-02 Thread Jesse Barnes
On Wednesday, March 2, 2005 6:51 am, Paul Jackson wrote: > Guillaume wrote: > > I also run the lmbench and results are send in response to another > > thread "A common layer for Accounting packages". When fork connector is > > turned off the overhead is negligible. > > Good. > > If I read this

Re: [PATCH 2.6.11-rc4-mm1] connector: Add a fork connector

2005-03-02 Thread Paul Jackson
In addition to worrying about performance and scaling, with accounting enabled or disabled, one should also try to minimize code clutter in key kernel files, such as fork.c For example, one might, instead of adding 40 lines os fork_connector() code to kernel/fork.c, instead add something like

Re: [PATCH 2.6.11-rc4-mm1] connector: Add a fork connector

2005-03-02 Thread Paul Jackson
Guillaume wrote: > > I also run the lmbench and results are send in response to another > thread "A common layer for Accounting packages". When fork connector is > turned off the overhead is negligible. Good. If I read this code right: > > +static inline void fork_connector(pid_t parent,

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-02 Thread Adrian Bunk
On Wed, Mar 02, 2005 at 01:43:04AM -0500, Jeff Garzik wrote: > Adrian Bunk wrote: > >+select CRYPTO > > select CRYPTO_AES > > ---help--- > > Include software based cipher suites in support of IEEE 802.11i > > (aka TGi, WPA, WPA2, WPA-PSK, etc.) for use with CCMP enabled > >

Re: [PATCH 2.6.11-rc4-mm1] connector: Add a fork connector

2005-03-02 Thread Guillaume Thouvenin
insertions(+) diff -uprN -X dontdiff linux-2.6.11-rc4-mm1/drivers/connector/cn_fork.c linux-2.6.11-rc4-mm1-cnfork/drivers/connector/cn_fork.c --- linux-2.6.11-rc4-mm1/drivers/connector/cn_fork.c1970-01-01 01:00:00.00000 +0100 +++ linux-2.6.11-rc4-mm1-cnfork/drivers/connector/cn_fo

Re: [PATCH 2.6.11-rc4-mm1] connector: Add a fork connector

2005-03-02 Thread Guillaume Thouvenin
dontdiff linux-2.6.11-rc4-mm1/drivers/connector/cn_fork.c linux-2.6.11-rc4-mm1-cnfork/drivers/connector/cn_fork.c --- linux-2.6.11-rc4-mm1/drivers/connector/cn_fork.c1970-01-01 01:00:00.0 +0100 +++ linux-2.6.11-rc4-mm1-cnfork/drivers/connector/cn_fork.c 2005-03-01 13:13:05.0

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-02 Thread Adrian Bunk
On Wed, Mar 02, 2005 at 01:43:04AM -0500, Jeff Garzik wrote: Adrian Bunk wrote: +select CRYPTO select CRYPTO_AES ---help--- Include software based cipher suites in support of IEEE 802.11i (aka TGi, WPA, WPA2, WPA-PSK, etc.) for use with CCMP enabled networks.

Re: [PATCH 2.6.11-rc4-mm1] connector: Add a fork connector

2005-03-02 Thread Paul Jackson
Guillaume wrote: I also run the lmbench and results are send in response to another thread A common layer for Accounting packages. When fork connector is turned off the overhead is negligible. Good. If I read this code right: +static inline void fork_connector(pid_t parent, pid_t

Re: [PATCH 2.6.11-rc4-mm1] connector: Add a fork connector

2005-03-02 Thread Paul Jackson
In addition to worrying about performance and scaling, with accounting enabled or disabled, one should also try to minimize code clutter in key kernel files, such as fork.c For example, one might, instead of adding 40 lines os fork_connector() code to kernel/fork.c, instead add something like

Re: [PATCH 2.6.11-rc4-mm1] connector: Add a fork connector

2005-03-02 Thread Jesse Barnes
On Wednesday, March 2, 2005 6:51 am, Paul Jackson wrote: Guillaume wrote: I also run the lmbench and results are send in response to another thread A common layer for Accounting packages. When fork connector is turned off the overhead is negligible. Good. If I read this code right:

Re: [PATCH 2.6.11-rc4-mm1] end-of-proces handling for acct-csa

2005-03-02 Thread Jesse Barnes
On Tuesday, March 1, 2005 11:48 pm, Guillaume Thouvenin wrote: Is it possible to merge BSD and CSA? I mean with CSA, there is a part that does per-process accounting. For exemple in the linux-2.6.9.acct_mm.patch the two functions update_mem_hiwater() and csa_update_integrals() update fields in

Re: [PATCH 2.6.11-rc4-mm1] end-of-proces handling for acct-csa

2005-03-02 Thread Jay Lan
I did not look into the userspace commands supported in BSD accounting on the dependency on the format of /var/account/pacct file. The accounting exit hook allows BSD/CSA to save accounting data stored in task_struct to internally kept data structure and then writes to their respective accounting

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-02 Thread Jeff Garzik
Adrian Bunk wrote: On Wed, Mar 02, 2005 at 01:43:04AM -0500, Jeff Garzik wrote: Adrian Bunk wrote: + select CRYPTO select CRYPTO_AES ---help--- Include software based cipher suites in support of IEEE 802.11i (aka TGi, WPA, WPA2, WPA-PSK, etc.) for use with CCMP enabled networks. @@ -54,10

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-02 Thread Andrew Morton
Jeff Garzik [EMAIL PROTECTED] wrote: Adrian Bunk wrote: On Wed, Mar 02, 2005 at 01:43:04AM -0500, Jeff Garzik wrote: Adrian Bunk wrote: + select CRYPTO select CRYPTO_AES ---help--- Include software based cipher suites in support of IEEE 802.11i (aka TGi, WPA, WPA2,

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-02 Thread Jeff Garzik
Andrew Morton wrote: Jeff Garzik [EMAIL PROTECTED] wrote: Adrian Bunk wrote: On Wed, Mar 02, 2005 at 01:43:04AM -0500, Jeff Garzik wrote: Adrian Bunk wrote: + select CRYPTO select CRYPTO_AES ---help--- Include software based cipher suites in support of IEEE 802.11i (aka TGi, WPA, WPA2,

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-02 Thread Andrew Morton
Jeff Garzik [EMAIL PROTECTED] wrote: Thing is, CRYPTO_AES on only selectable on x86. You're thinking about CRYPTO_AES_586. But looking at crypto/Kconfig, the dependencies are a bit weird: config CRYPTO_AES tristate AES cipher algorithms depends on CRYPTO !(X86

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-02 Thread Adrian Bunk
On Wed, Mar 02, 2005 at 02:12:04PM -0500, Jeff Garzik wrote: Adrian Bunk wrote: On Wed, Mar 02, 2005 at 01:43:04AM -0500, Jeff Garzik wrote: Adrian Bunk wrote: + select CRYPTO select CRYPTO_AES ---help--- Include software based cipher suites in support of IEEE 802.11i

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-02 Thread Andrew Morton
Adrian Bunk [EMAIL PROTECTED] wrote: Would be better to just do: config CRYPTO_AES select CRYPTO_AES_586 if (X86 !X86_64) select CRYPTO_AES_OTHER if !(X86 !X86_64) and hide CRYPTO_AES_586 and CRYPTO_AES_OTHER from the outside world.

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-02 Thread Jeff Garzik
Andrew Morton wrote: Jeff Garzik [EMAIL PROTECTED] wrote: Thing is, CRYPTO_AES on only selectable on x86. You're thinking about CRYPTO_AES_586. But looking at crypto/Kconfig, the dependencies are a bit weird: config CRYPTO_AES tristate AES cipher algorithms depends on CRYPTO

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-02 Thread Jeff Garzik
Adrian Bunk wrote: On Wed, Mar 02, 2005 at 05:41:50PM -0500, Jeff Garzik wrote: Andrew Morton wrote: Jeff Garzik [EMAIL PROTECTED] wrote: Thing is, CRYPTO_AES on only selectable on x86. You're thinking about CRYPTO_AES_586. But looking at crypto/Kconfig, the dependencies are a bit weird:

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-02 Thread Jindrich Makovicka
Pavel Machek wrote: Hi! In `subj` kernel, machine no longer powers down at the end of swsusp. 2.6.11-rc5-pavel works ok, as does 2.6.11-bk. For me, power down stopped working since the introduction of softlockup detection. After disabling CONFIG_DETECT_SOFTLOCKUP, powerdown works fine. --

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-02 Thread Andrew Morton
(Please do reply-to-all) Jindrich Makovicka [EMAIL PROTECTED] wrote: Pavel Machek wrote: Hi! In `subj` kernel, machine no longer powers down at the end of swsusp. 2.6.11-rc5-pavel works ok, as does 2.6.11-bk. For me, power down stopped working since the introduction of softlockup

Re: [PATCH 2.6.11-rc4-mm1] connector: Add a fork connector

2005-03-02 Thread Kaigai Kohei
Hello, Guillaume (B (BI tried to measure the process-creation/destruction performance on (B2.6.11-rc4-mm1 plus (Bsome extensiton(Normal/with PAGG/with Fork-Connector). (BBut I received a following messages endlessly on system console with (BFork-Connector extensiton. (B (B# on IA-64

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-02 Thread Adrian Bunk
On Wed, Mar 02, 2005 at 05:41:50PM -0500, Jeff Garzik wrote: Andrew Morton wrote: Jeff Garzik [EMAIL PROTECTED] wrote: Thing is, CRYPTO_AES on only selectable on x86. You're thinking about CRYPTO_AES_586. But looking at crypto/Kconfig, the dependencies are a bit weird: config

Re: [PATCH 2.6.11-rc4-mm1] connector: Add a fork connector

2005-03-02 Thread Evgeniy Polyakov
On Thu, Mar 03, 2005 at 12:18:25PM +0900, Kaigai Kohei ([EMAIL PROTECTED]) wrote: Hello, Guillaume I tried to measure the process-creation/destruction performance on 2.6.11-rc4-mm1 plus some extensiton(Normal/with PAGG/with Fork-Connector). But I received a following messages endlessly

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-02 Thread Adrian Bunk
On Wed, Mar 02, 2005 at 01:18:17PM -0800, Andrew Morton wrote: Jeff Garzik [EMAIL PROTECTED] wrote: Thing is, CRYPTO_AES on only selectable on x86. You're thinking about CRYPTO_AES_586. But looking at crypto/Kconfig, the dependencies are a bit weird: config CRYPTO_AES

Re: [PATCH 2.6.11-rc4-mm1] end-of-proces handling for acct-csa

2005-03-01 Thread Guillaume Thouvenin
On Tue, 2005-03-01 at 10:06 -0800, Jay Lan wrote: > Sorry I was not clear on my point. > > I was trying to point out that, an exit hook for BSD and CSA is > essential to save accounting data before the data is gone. That > can not be done with a netlink. > > So, my patch was to keep acct_process

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-01 Thread Jeff Garzik
Adrian Bunk wrote: + select CRYPTO select CRYPTO_AES ---help--- Include software based cipher suites in support of IEEE 802.11i (aka TGi, WPA, WPA2, WPA-PSK, etc.) for use with CCMP enabled networks. @@ -54,10 +55,11 @@ "ieee80211_crypt_ccmp". config IEEE80211_CRYPT_TKIP

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Pavel Machek
Hi! > > > Relocating pagedir | > > > Reading image data (8157 pages): 100% 8157 done. > > > Stopping tasks: | > > > Freeing memory... done (0 pages freed) > > > Freezing CPUs (at 1)...Sleeping in: > > > [] dump_stack+0x19/0x20 > > > [] smp_pause+0x1f/0x54 >

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Andrew Morton
Pavel Machek <[EMAIL PROTECTED]> wrote: > > I can fix disk going yo-yo without switching pm_message_t to struct, > but will have to back parts of that later. Do you want patch? No thanks, I was just pointing it out. It sounds like you have it under control. - To unsubscribe from this list: send

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Andrew Morton
Pavel Machek <[EMAIL PROTECTED]> wrote: > > Hi! > > > Resume on SMP locks up. > > Does it work on UP kernel on same hardware? yup. > NMI watchdog is problem > for suspend, it takes long to do various phases. Can you disable it > for testing? Will try to remember to do that. > > Relocating

Re: [PATCH 2.6.11-rc4-mm1] end-of-proces handling for acct-csa

2005-03-01 Thread Jay Lan
Sorry I was not clear on my point. I was trying to point out that, an exit hook for BSD and CSA is essential to save accounting data before the data is gone. That can not be done with a netlink. So, my patch was to keep acct_process as a wrapper, which would then call do_exit_csa() for CSA and

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Eric W. Biederman
Pavel Machek <[EMAIL PROTECTED]> writes: > > I threw it together to test a specific code path, and the fact it > > fails in software suspend is actually almost confirmation that I am on > > the right track. This actually fixed the case I was testing. > > > > In this case the failure is simply

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Pavel Machek
Hi! > btw, suspend is a bit messy. The disk spins down. Then up. Then down > again. And: Here's preview patch to make disk not do stupid yo-yo. Please do not apply (it will probably not apply cleanly anyway). I can fix disk going yo-yo without switching pm_message_t to struct, but will have

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Pavel Machek
Hi! > btw, suspend is a bit messy. The disk spins down. Then up. Then down > again. And: Yes, this is going to be properly solved by switching pm_message_t to struct (preview patch attached, EVENT will become .event, this is just for me). I could do some hack to make disk not go up-down-up

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Pavel Machek
Hi! > > > In `subj` kernel, machine no longer powers down at the end of > > > swsusp. 2.6.11-rc5-pavel works ok, as does 2.6.11-bk. > > > > Binary searching indicates that this is due to > >

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Pavel Machek
Hi! > > Yes, the patch is very ugly. If something like this needs to be done, > > then perhaps acpi should properly register into driver model and do > > the work there. This will also mean code will be called consistently. > > I totally agree. Do you have an example of how a non-device > can

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Eric W. Biederman
Pavel Machek <[EMAIL PROTECTED]> writes: > Yes, the patch is very ugly. If something like this needs to be done, > then perhaps acpi should properly register into driver model and do > the work there. This will also mean code will be called consistently. I totally agree. Do you have an example

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Eric W. Biederman
Andrew Morton <[EMAIL PROTECTED]> writes: > Pavel Machek <[EMAIL PROTECTED]> wrote: > > > > In `subj` kernel, machine no longer powers down at the end of > > swsusp. 2.6.11-rc5-pavel works ok, as does 2.6.11-bk. > > Binary searching indicates that this is due to >

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Pavel Machek
Hi! > Resume on SMP locks up. Does it work on UP kernel on same hardware? NMI watchdog is problem for suspend, it takes long to do various phases. Can you disable it for testing? Pavel > Relocating pagedir | > Reading image data

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Pavel Machek
Hi! > > In `subj` kernel, machine no longer powers down at the end of > > swsusp. 2.6.11-rc5-pavel works ok, as does 2.6.11-bk. > > Binary searching indicates that this is due to >

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Pavel Machek
Hi! > btw, suspend is a bit messy. The disk spins down. Then up. Then down > again. And: Yes, that's known, pm_message_t needs to become struct to solve disk pingpong properly. > Debug: sleeping function called from invalid context at mm/slab.c:2082 > in_atomic():0, irqs_disabled():1

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Andrew Morton
Resume on SMP locks up. Relocating pagedir | Reading image data (8157 pages): 100% 8157 done. Stopping tasks: | Freeing memory... done (0 pages freed) Freezing CPUs (at 1)...Sleeping in: [] dump_stack+0x19/0x20 [] smp_pause+0x1f/0x54 []

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Andrew Morton
btw, suspend is a bit messy. The disk spins down. Then up. Then down again. And: Stopping tasks: ==| Freeing memory... done (7069 pages freed) swsusp: Need to copy 7847 pages swsusp: critical section/: done (7879 pages

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Andrew Morton
Pavel Machek <[EMAIL PROTECTED]> wrote: > > In `subj` kernel, machine no longer powers down at the end of > swsusp. 2.6.11-rc5-pavel works ok, as does 2.6.11-bk. Binary searching indicates that this is due to

Re: 2.6.11-rc4-mm1 - pcmcia weirdness/breakage

2005-03-01 Thread Valdis . Kletnieks
On Mon, 28 Feb 2005 14:48:20 EST, [EMAIL PROTECTED] said: > Symptoms: Running '/etc/init.d/pcmcia start' bombs - cardmgr goes into > a loop spewing repeated 'Common memory region at 0x0: Generic or SRAM' > messages. In the dmesg, we find: > [4294859.369000] cs: unable to map card memory! >

Re: 2.6.11-rc4-mm1 - pcmcia weirdness/breakage

2005-03-01 Thread Valdis . Kletnieks
On Mon, 28 Feb 2005 14:48:20 EST, [EMAIL PROTECTED] said: Symptoms: Running '/etc/init.d/pcmcia start' bombs - cardmgr goes into a loop spewing repeated 'Common memory region at 0x0: Generic or SRAM' messages. In the dmesg, we find: [4294859.369000] cs: unable to map card memory!

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Andrew Morton
Pavel Machek [EMAIL PROTECTED] wrote: In `subj` kernel, machine no longer powers down at the end of swsusp. 2.6.11-rc5-pavel works ok, as does 2.6.11-bk. Binary searching indicates that this is due to

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Andrew Morton
btw, suspend is a bit messy. The disk spins down. Then up. Then down again. And: Stopping tasks: ==| Freeing memory... done (7069 pages freed) swsusp: Need to copy 7847 pages swsusp: critical section/: done (7879 pages

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Andrew Morton
Resume on SMP locks up. Relocating pagedir | Reading image data (8157 pages): 100% 8157 done. Stopping tasks: | Freeing memory... done (0 pages freed) Freezing CPUs (at 1)...Sleeping in: [c0103c1d] dump_stack+0x19/0x20 [c0133c7f] smp_pause+0x1f/0x54

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Pavel Machek
Hi! btw, suspend is a bit messy. The disk spins down. Then up. Then down again. And: Yes, that's known, pm_message_t needs to become struct to solve disk pingpong properly. Debug: sleeping function called from invalid context at mm/slab.c:2082 in_atomic():0, irqs_disabled():1

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Pavel Machek
Hi! In `subj` kernel, machine no longer powers down at the end of swsusp. 2.6.11-rc5-pavel works ok, as does 2.6.11-bk. Binary searching indicates that this is due to

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Pavel Machek
Hi! Resume on SMP locks up. Does it work on UP kernel on same hardware? NMI watchdog is problem for suspend, it takes long to do various phases. Can you disable it for testing? Pavel Relocating pagedir | Reading image data

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Eric W. Biederman
Andrew Morton [EMAIL PROTECTED] writes: Pavel Machek [EMAIL PROTECTED] wrote: In `subj` kernel, machine no longer powers down at the end of swsusp. 2.6.11-rc5-pavel works ok, as does 2.6.11-bk. Binary searching indicates that this is due to

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Eric W. Biederman
Pavel Machek [EMAIL PROTECTED] writes: Yes, the patch is very ugly. If something like this needs to be done, then perhaps acpi should properly register into driver model and do the work there. This will also mean code will be called consistently. I totally agree. Do you have an example of

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Pavel Machek
Hi! Yes, the patch is very ugly. If something like this needs to be done, then perhaps acpi should properly register into driver model and do the work there. This will also mean code will be called consistently. I totally agree. Do you have an example of how a non-device can do this?

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Pavel Machek
Hi! In `subj` kernel, machine no longer powers down at the end of swsusp. 2.6.11-rc5-pavel works ok, as does 2.6.11-bk. Binary searching indicates that this is due to

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Pavel Machek
Hi! btw, suspend is a bit messy. The disk spins down. Then up. Then down again. And: Yes, this is going to be properly solved by switching pm_message_t to struct (preview patch attached, EVENT will become .event, this is just for me). I could do some hack to make disk not go up-down-up

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Pavel Machek
Hi! btw, suspend is a bit messy. The disk spins down. Then up. Then down again. And: Here's preview patch to make disk not do stupid yo-yo. Please do not apply (it will probably not apply cleanly anyway). I can fix disk going yo-yo without switching pm_message_t to struct, but will have

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Eric W. Biederman
Pavel Machek [EMAIL PROTECTED] writes: I threw it together to test a specific code path, and the fact it fails in software suspend is actually almost confirmation that I am on the right track. This actually fixed the case I was testing. In this case the failure is simply because

Re: [PATCH 2.6.11-rc4-mm1] end-of-proces handling for acct-csa

2005-03-01 Thread Jay Lan
Sorry I was not clear on my point. I was trying to point out that, an exit hook for BSD and CSA is essential to save accounting data before the data is gone. That can not be done with a netlink. So, my patch was to keep acct_process as a wrapper, which would then call do_exit_csa() for CSA and

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Andrew Morton
Pavel Machek [EMAIL PROTECTED] wrote: Hi! Resume on SMP locks up. Does it work on UP kernel on same hardware? yup. NMI watchdog is problem for suspend, it takes long to do various phases. Can you disable it for testing? Will try to remember to do that. Relocating pagedir |

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Andrew Morton
Pavel Machek [EMAIL PROTECTED] wrote: I can fix disk going yo-yo without switching pm_message_t to struct, but will have to back parts of that later. Do you want patch? No thanks, I was just pointing it out. It sounds like you have it under control. - To unsubscribe from this list: send the

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-03-01 Thread Pavel Machek
Hi! Relocating pagedir | Reading image data (8157 pages): 100% 8157 done. Stopping tasks: | Freeing memory... done (0 pages freed) Freezing CPUs (at 1)...Sleeping in: [c0103c1d] dump_stack+0x19/0x20 [c0133c7f] smp_pause+0x1f/0x54

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-01 Thread Jeff Garzik
Adrian Bunk wrote: + select CRYPTO select CRYPTO_AES ---help--- Include software based cipher suites in support of IEEE 802.11i (aka TGi, WPA, WPA2, WPA-PSK, etc.) for use with CCMP enabled networks. @@ -54,10 +55,11 @@ ieee80211_crypt_ccmp. config IEEE80211_CRYPT_TKIP tristate

Re: [PATCH 2.6.11-rc4-mm1] end-of-proces handling for acct-csa

2005-03-01 Thread Guillaume Thouvenin
On Tue, 2005-03-01 at 10:06 -0800, Jay Lan wrote: Sorry I was not clear on my point. I was trying to point out that, an exit hook for BSD and CSA is essential to save accounting data before the data is gone. That can not be done with a netlink. So, my patch was to keep acct_process as a

Re: [PATCH 2.6.11-rc4-mm1] end-of-proces handling for acct-csa

2005-02-28 Thread Guillaume Thouvenin
On Mon, 2005-02-28 at 10:56 -0800, Jay Lan wrote: > The exit hook is essential for CSA to save off data before the data > is gone, A netlink type of thing does not help. BSD is in the same > situation. You can not replace the acct_process() call with a netlink. > If ELSA is to use the enhanced

Re: 2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-02-28 Thread Laurent Riffard
Le 01.03.2005 00:17, Pavel Machek a écrit : Hi! In `subj` kernel, machine no longer powers down at the end of swsusp. 2.6.11-rc5-pavel works ok, as does 2.6.11-bk. Pavel Hello, I noticed this behaviour, too. Can't remember if it came with 2.6.11-rc3-mm2 or with 2.6.11-rc4-mm1. Didn't try

2.6.11-rc4-mm1: something is wrong with swsusp powerdown

2005-02-28 Thread Pavel Machek
Hi! In `subj` kernel, machine no longer powers down at the end of swsusp. 2.6.11-rc5-pavel works ok, as does 2.6.11-bk. Pavel -- People were complaining that M$ turns users into beta-testers... ...jr ghea gurz vagb qrirybcref, naq

Re: 2.6.11-rc4-mm1 - pcmcia weirdness/breakage

2005-02-28 Thread Valdis . Kletnieks
On Mon, 28 Feb 2005 21:22:26 +0100, Dominik Brodowski said: > On Mon, Feb 28, 2005 at 02:48:20PM -0500, [EMAIL PROTECTED] wrote: > > A full -rc4-mm1 fails, *as does* a -rc4-mm1 with all the following patches > > -R'ed: ... > > broken-out/pcmcia-bridge-resource-management-fix.patch > > So

  1   2   3   >