Re: scheduler went mad?

2001-04-12 Thread Valdis . Kletnieks
IPv6: linux24-2.4.3-usagi-20010406.patch.gz Crypto: patch-int-2.4.3.1 am using ReiserFS-on-LVM for basically all filesystems, if that matters... -- Valdis Kletnieks Operating Systems Analyst Virginia Tech PGP signature

Re: scheduler went mad?

2001-04-12 Thread Valdis . Kletnieks
? -- Valdis Kletnieks Operating Systems Analyst Virginia Tech PGP signature

Re: scheduler went mad?

2001-04-12 Thread Valdis . Kletnieks
, while I had 2 programs doing audio wedged, I was still seeing (hearing actually ;) *new* processes open a connection to esd and play sounds. Weird. -- Valdis Kletnieks Operating Systems Analyst

Re: scheduler went mad?

2001-04-12 Thread Valdis . Kletnieks
On Fri, 13 Apr 2001 01:02:21 +0200, Szabolcs Szakacsits said: Not __alloc_pages() calls oom_kill() however do_page_fault(). Not the same. After the system tried *really* hard to get *one* free page and couldn't managed why loop forever? To eat CPU and waiting for For what it's worth, this

Stupid GIT question...

2007-04-18 Thread Valdis . Kletnieks
I have a GIT tree (iwlwifi, but the problem is my idiocy, not the tree ;). What's the command to get a diff of what I would merge if I said 'git pull'? (similar to what 'cvs diff' does - AFAICT, 'git diff HEAD .' diffs my *current* pull of the tree against itself and does nothing...

Re: [patch] epoll use a single inode ...

2007-03-08 Thread Valdis . Kletnieks
On Thu, 08 Mar 2007 08:24:04 +0100, Eric Dumazet said: But what is the cost of the conditional branch you added in prefetch(x) ? if (!x) return; (correctly predicted or not, but do powerPC have a BTB ?) About the NULL 'potential problem', maybe we could use a dummy nil (but mapped)

Re: 2.6.21-rc3-mm1

2007-03-08 Thread Valdis . Kletnieks
On Wed, 07 Mar 2007 20:18:39 PST, Andrew Morton said: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.6.21-rc3-mm1/ Mostly working for me. - The wireless changes in here need a lot of testers, please. It is major rework. Working on it - the new MAC80211

Re: 2.6.21-rc3-mm1

2007-03-08 Thread Valdis . Kletnieks
On Thu, 08 Mar 2007 13:34:04 EST, John W. Linville said: On Thu, Mar 08, 2007 at 12:56:58PM -0500, [EMAIL PROTECTED] wrote: On Wed, 07 Mar 2007 20:18:39 PST, Andrew Morton said: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.6.21-rc3-mm1/ Mostly working

Re: [RFC][Patch 1/6] integrity: new hooks

2007-03-08 Thread Valdis . Kletnieks
On Thu, 08 Mar 2007 12:46:47 CST, Serge E. Hallyn said: I think it should be done as both. The part which measures the integrity of files should be an integrity subsystem. The part which uses those results to either allow/refuse actions or take some other action (i.e. shut down the system)

Re: [RFC] [Patch 1/1] IBAC Patch

2007-03-08 Thread Valdis . Kletnieks
On Thu, 08 Mar 2007 17:58:16 EST, Mimi Zohar said: This is a request for comments for a new Integrity Based Access Control(IBAC) LSM module which bases access control decisions on the new integrity framework services. (Hopefully this will help clarify the interaction between an LSM module

Re: [PATCH] Use more gcc extensions in the Linux headers

2007-03-09 Thread Valdis . Kletnieks
On Sat, 10 Mar 2007 09:57:32 +1100, Rusty Russell said: +/* GCC is awesome. */ #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) \ + sizeof(typeof(int[1 - 2*!!__builtin_types_compatible_p(typeof(arr), \ typeof(arr[0]))]))*0) -/* GCC is

Re: [PATCH 1/5] AF_RXRPC: Add blkcipher accessors for using kernel data directly

2007-03-08 Thread Valdis . Kletnieks
On Thu, 08 Mar 2007 22:48:29 GMT, David Howells said: diff --git a/include/linux/crypto.h b/include/linux/crypto.h index 779aa78..ce092fe 100644 --- a/include/linux/crypto.h +++ b/include/linux/crypto.h @@ -40,7 +40,10 @@ #define CRYPTO_ALG_LARVAL0x0010 #define

Re: [PATCH] Use more gcc extensions in the Linux headers

2007-03-11 Thread Valdis . Kletnieks
On Fri, 09 Mar 2007 20:24:42 PST, Randy Dunlap said: On Fri, 09 Mar 2007 23:03:05 -0500 [EMAIL PROTECTED] wrote: -/* GCC is awesome. */ +/* GCC leaves me speechless. */ awesome can mean inspiring awe or admiration or wonder (amazing) or it can mean awful (as in terrifying). 8) And as

Re: [PATCH] Use more gcc extensions in the Linux headers

2007-03-11 Thread Valdis . Kletnieks
On Sun, 11 Mar 2007 13:50:37 +1100, Rusty Russell said: Well, this is what I sent to Linus and Andrew (many thanks to those who made appropriately whimsical *or* useful comments): Ahh.. much better - it's now a form that even I can get my brain wrapped around :) pgpkbTo4rWBle.pgp

Re: [PATCH] MPT FUSION: Delete unused header files.

2007-03-11 Thread Valdis . Kletnieks
On Sun, 11 Mar 2007 13:55:54 MDT, Eric Moore said: With respect to mpi_log_fc.h - this defines the loginfo for fibre channel protocal. This is a easy lookup to for LSI Logic customers to better understand the kind of errors returned from firmware, and help reduce number of support generated

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-13 Thread Valdis . Kletnieks
On Mon, 12 Mar 2007 20:06:43 BST, Xavier Bestel said: Le mardi 13 mars 2007 à 05:49 +1100, Con Kolivas a écrit : Again I think your test is not a valid testcase. Why use two threads for your encoding with one cpu? Is that what other dedicated desktop OSs would do? One thought occured

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-13 Thread Valdis . Kletnieks
On Mon, 12 Mar 2007 17:38:38 BST, Kasper Sandberg said: with latest xorg, xlib will be using xcb internally, Out of curiosity, when is this latest Xorg going to escape to distros, and is it far enough along that beta testers can gather usable numbers? pgpt7KqlXv9Rp.pgp Description: PGP

Re: [PATCH] mm/filemap.c: unconditionally call mark_page_accessed

2007-03-15 Thread Valdis . Kletnieks
On Wed, 14 Mar 2007 22:33:17 BST, Andreas Mohr said: it'd seem we need some kind of state management here to figure out good intervals of when to call mark_page_accessed() *again* for this page. E.g. despite non-changing access patterns you could still call mark_page_accessed( ) every 32

Re: [PATCH] mm/filemap.c: unconditionally call mark_page_accessed

2007-03-15 Thread Valdis . Kletnieks
On Thu, 15 Mar 2007 14:35:17 EDT, Rik van Riel said: [EMAIL PROTECTED] wrote: On Wed, 14 Mar 2007 22:33:17 BST, Andreas Mohr said: it'd seem we need some kind of state management here to figure out good intervals of when to call mark_page_accessed() *again* for this page. E.g. despite

Re: 2.6.20-mm1

2007-02-15 Thread Valdis . Kletnieks
On Thu, 15 Feb 2007 05:14:08 PST, Andrew Morton said: Temporarily at http://userweb.kernel.org/~akpm/2.6.20-mm1/ Will appear later at ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm1/ git-backlight.patch contains this: +config BACKLIGHT_PROGEAR +

Re: [PATCH 0/6] MODSIGN: Kernel module signing

2007-02-15 Thread Valdis . Kletnieks
On Wed, 14 Feb 2007 22:14:53 PST, Andreas Gruenbacher said: I agree, that's really what should happen. We solve this by marking modules as supported, partner supported, or unsupported, but in an insecure way, so partners and users could try to fake the support status of a module and/or remove

Re: [PATCH 0/6] MODSIGN: Kernel module signing

2007-02-15 Thread Valdis . Kletnieks
On Wed, 14 Feb 2007 23:13:45 EST, Dave Jones said: One argument in its favour is aparently Red Hat isn't the only vendor with something like this. I've not investigated it, but I hear rumours that suse has something similar. Having everyone using the same code would be a win for obvious

Re: [PATCH 0/6] MODSIGN: Kernel module signing

2007-02-15 Thread Valdis . Kletnieks
On Thu, 15 Feb 2007 22:32:40 +0100, Adrian Bunk said: There are different opinions whether the complete source code of the GPLv2 includes in such cases public keys, making it questionable whether your example will survive at court in all jurisdictions. It's no less shaky than the whole

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Valdis . Kletnieks
On Thu, 15 Feb 2007 09:32:30 EST, linux-os (Dick Johnson) said: There are a lot of device drivers that will never make it into the mainline kernel because they are for one-of-a-kind devices or boards that companies embed into their products. Nobody would even want a copy of the software to

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Valdis . Kletnieks
On Thu, 15 Feb 2007 22:25:12 PST, v j said: It's written in black and white, in the license. Please point me to where it says I cannot load proprietary modules in the Kernel. Nobody can point you there, because it doesn't say that anywhere. What you do to *your* kernel is *your* business.

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Valdis . Kletnieks
On Thu, 15 Feb 2007 22:25:12 PST, v j said: (Damn, hit send too soon) No, just that the trend is disturbing. If enough Kernel Developers choose to write their Software in a way that prevents others from using it freely, then that is troubling. Especially when these Kernel Developers are

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Valdis . Kletnieks
On Sat, 17 Feb 2007 04:44:36 -0200, Alexandre Oliva said: On Feb 17, 2007, David Schwartz [EMAIL PROTECTED] wrote: Not so. See any of the numerous cases that explain that you cannot own a function using copyright. They are saying that because V J did X, he *MUST* be taking their code

Re: Why is /dev on a different filesystem ? [Kernel 2.6.20.3]

2007-03-21 Thread Valdis . Kletnieks
On Wed, 21 Mar 2007 20:13:50 BST, Paul Rolland said: So, obviously, tar is right... man 2 stat says : The st_dev field describes the device on which this file resides. and df -a reports : [EMAIL PROTECTED] src]# df -a Filesystem 1K-blocks Used Available Use% Mounted

Re: pagetable_ops: Hugetlb character device example

2007-03-21 Thread Valdis . Kletnieks
On Wed, 21 Mar 2007 14:43:48 CDT, Adam Litke said: The main reason I am advocating a set of pagetable_operations is to enable the development of a new hugetlb interface. Do you have an exit strategy for the *old* interface? pgpY6RsCOPJvi.pgp Description: PGP signature

Re: Question: half-duplex and full-duplex serial driver

2007-04-05 Thread Valdis . Kletnieks
On Thu, 05 Apr 2007 18:40:55 EDT, Bill Davidsen said: Mockern wrote: Hi, Could you help me please, how can my serial driver to work in half-duplex and full-duplex mode? Thank you Since you don't seem to have gotten an answer, and while this is probably the wrong list for your

Re: Reiser4. BEST FILESYSTEM EVER.

2007-04-05 Thread Valdis . Kletnieks
On Thu, 05 Apr 2007 18:34:48 PDT, [EMAIL PROTECTED] said: If they are accurate, THEN they are obviously very relevant. Erm. No. They're not obviously very relevant. I could hypothetically create a benchmark, that's accurate and repeatable, that shows that reiser4 is able to wash a herd of

Re: 2.6.21-rc5-mm4

2007-04-06 Thread Valdis . Kletnieks
On Thu, 05 Apr 2007 13:31:09 PDT, Andrew Morton said: On Thu, 05 Apr 2007 13:02:59 -0400, [EMAIL PROTECTED] wrote: Am seeing an Oops 'cannot handle kernel paging request' during late system startup, hand-copied traceback follows: avc_has_perm_noaudit+0x2bf/0x506 avc_has_perm+0x2b/0x5b

Re: [patch] remove artificial software max_loop limit

2007-04-07 Thread Valdis . Kletnieks
On Fri, 06 Apr 2007 16:33:32 EDT, Bill Davidsen said: Jan Engelhardt wrote: Who cares if the user specifies max_loop=8 but still is able to open up /dev/loop8, loop9, etc.? max_loop=X basically meant (at least to me) have at least X loops ready. You have just come up with a really

Re: COMPILING AND CONFIGURING A NEW KERNEL.

2007-04-07 Thread Valdis . Kletnieks
On Fri, 06 Apr 2007 18:26:45 PDT, [EMAIL PROTECTED] said: YOU SHOULD compile all the drivers necessary to boot your system, into the kernel (ie, such drivers should not be built as modules). This way you will NOT need an initrd file. It is quite possible to build a kernel that has all the

Re: COMPILING AND CONFIGURING A NEW KERNEL.

2007-04-07 Thread Valdis . Kletnieks
On Sat, 07 Apr 2007 00:45:32 PDT, [EMAIL PROTECTED] said: Use rpm-pkg to create a Red Hat RPM kernel package. # make rpm-pkg When built, the RPM package is put in /usr/src/packages/RPMS/*your*architecture* # cd /usr/src/packages/RPMS/x86_64 Install the package (you may have to

Re: Reiser4. BEST FILESYSTEM EVER.

2007-04-07 Thread Valdis . Kletnieks
On Sat, 07 Apr 2007 16:11:46 +0200, Krzysztof Halasa said: Think about it,... read speeds that are some FOUR times the physical disk read rate,... impossible without the use of compression (or something similar). It's really impossible with compression only unless you're writing only

Re: Reiser4. BEST FILESYSTEM EVER.

2007-04-07 Thread Valdis . Kletnieks
On Sat, 07 Apr 2007 16:11:46 +0200, Krzysztof Halasa said: Gzip - 3 files (zeros only, raw DV data from video camera, x86_64 kernel rpm file), 10 MB of data (10*1024*1024), $ l -Ggh zeros dv bin -rw-r--r-- 1 10M Apr 7 15:30 bin -rw-r--r-- 1 10M Apr 7 15:31 dv -rw-r--r-- 1 10M Apr 7 15:31

Re: Reiser4. BEST FILESYSTEM EVER.

2007-04-07 Thread Valdis . Kletnieks
On Fri, 06 Apr 2007 19:47:36 PDT, [EMAIL PROTECTED] said: On Fri, 6 Apr 2007 11:21:19 -0400, Jan Harkes [EMAIL PROTECTED] With compression there is a pretty high probability that one corrupted byte or disk block will result in loss of a considerably larger amount of data. Bad blocks

Re: [PATCH] Scheduler: Improving the scheduler performance.

2007-04-08 Thread Valdis . Kletnieks
On Sat, 07 Apr 2007 23:42:20 +0600, root said: As we know that, linux scheduler use separate runqueue for every CPU of a multiprocessor system, which having an active and an expired array.If we use only one expired array, then the CPUs of a multiprocessor system will be able to share their

Re: 2.6.21-rc5: Thinkpad X60 gets critical thermal shutdowns

2007-04-08 Thread Valdis . Kletnieks
On Mon, 02 Apr 2007 10:35:40 +0200, Rene Rebe said: (Sorry for the late reply..) IIRC a MSI Megabook S270 (I formerly owned) BIOS notifies this Critical temperature reached (128C) when the battery run empty when the OS did no action due to battery low indications. I guess the BIOS people

Re: Add a norecovery option to ext3/4?

2007-04-09 Thread Valdis . Kletnieks
On Sun, 08 Apr 2007 22:24:50 CDT, Eric Sandeen said: Can you elaborate? Under what circumstances is log replay going to harm data? Do you mean that the installer mounts partitions, looking for what OS is installed? How is that harmful? Another usage case that really wants to avoid the log

Re: REISER4 FOR INCLUSION IN THE LINUX KERNEL.

2007-04-09 Thread Valdis . Kletnieks
On Sun, 08 Apr 2007 21:16:59 PDT, [EMAIL PROTECTED] said: I am not looking to defend Hans - he is likely to be in jail and no longer a factor for a long time. Nor am I looking to make or support claims for Reiser4. Why not defend Hans? He is in jail on what appear to be trumped-up

Re: REISER4 FOR INCLUSION IN THE LINUX KERNEL.

2007-04-09 Thread Valdis . Kletnieks
On Sun, 08 Apr 2007 21:39:12 PDT, [EMAIL PROTECTED] said: YOU GUYS WILL LAUGH ABOUT THIS: I forgot the all the statistics that might support the sase for REISER4 inclusion. Well, here it all is: *plonk* - The sound of a sender address entering a procmail /dev/null filter. Come back when

Re: Troll Of The Year

2007-04-09 Thread Valdis . Kletnieks
On Mon, 09 Apr 2007 18:41:08 +0200, Jan Engelhardt said: On Apr 9 2007 12:55, Ronni Nielsen wrote: oscar And the award as Troll Of The Year goes to: johnrobertbanks. /oscar The year is not even over and you already picked your favorite - who bribed you? :-) The vast right-wing

Re: I give up

2007-04-09 Thread Valdis . Kletnieks
On Mon, 09 Apr 2007 16:08:34 EDT, Jeff Garzik said: With current hard drive prices (200GB @ US$55, 500GB @ US$120) you can just keep buying hard drives :) Surely tape price/GB is higher than hard drive price/GB... Erm. No. We're in the middle of installing an StorageTek SL8500 for backups,

Re: If not readdir() then what?

2007-04-10 Thread Valdis . Kletnieks
On Tue, 10 Apr 2007 17:54:54 +0200, Jan Engelhardt said: NFS server sends the whole directory contents on NFS client opendir, so that the whole readdir/telldir/seekdir magic can happen on the client only... which would perhaps also enable a cheap telldir/seekdir, and would also give a 'fixed

Re: GPL vs non-GPL device drivers

2007-02-20 Thread Valdis . Kletnieks
On Tue, 20 Feb 2007 12:00:51 +0100, Bernd Petrovitsch said: Flame bait alert: I heard a talk from an Austrian lawyer an according to his believes (and I don't know if he is the only one or if there lots of) one must see from the users view if the GPL spreads over or not (and the usual

Re: 2.6.21-rc2-mm1 - build error with HOTPLUG_CPU=N, CPU_IDLE=Y

2007-03-02 Thread Valdis . Kletnieks
On Fri, 02 Mar 2007 03:00:26 PST, Andrew Morton said: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc2/2.6.21-rc2-mm1/ git-acpi.patch Build dies if your config has CONFIG_HOTPLUG_CPU=N but CPU_IDLE=Y CC drivers/cpuidle/cpuidle.o drivers/cpuidle/cpuidle.c:

Re: 2.6.21-rc2-mm1 - fb_ddc_read() not defined

2007-03-02 Thread Valdis . Kletnieks
On Fri, 02 Mar 2007 03:00:26 PST, Andrew Morton said: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc2/2.6.21-rc2-mm1/ nvidiafb-bring-back-generic-ddc-reading.patch Building with FB_DDC=N results in: Kernel: arch/x86_64/boot/bzImage is ready (#1) Building

Re: 2.6.21-rc2-mm1 - fb_ddc_read() not defined

2007-03-02 Thread Valdis . Kletnieks
On Fri, 02 Mar 2007 16:31:02 GMT, James Simmons said: nvidiafb-bring-back-generic-ddc-reading.patch To have a patch to cleans things up. Give it a try diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index b8f0a11..855a09e 100644 --- a/drivers/video/Kconfig +++

Re: 2.6.21-rc5-mm3

2007-03-30 Thread Valdis . Kletnieks
On Fri, 30 Mar 2007 01:05:59 PDT, Andrew Morton said: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc5/2.6.21-rc5-mm3/ Building with CONFIG_MAC80211_DEBUGFS=y but CONFIG_MAC80211_DEBUG_COUNTERS=n blows chunks on my box: CC [M] net/mac80211/debugfs.o

2.6.21-rc5-mm3 - cpuidle, acpi, and C-states

2007-03-31 Thread Valdis . Kletnieks
On Fri, 30 Mar 2007 01:05:59 PDT, Andrew Morton said: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc5/2.6.21-rc5-mm3/ Somebody is confused (possibly me). Running an x86_64 kernel, and I have: % cat /proc/acpi/processor/CPU0/power active state:C0 max_cstate:

Re: Performance Stats: Kernel patch

2007-04-03 Thread Valdis . Kletnieks
On Tue, 03 Apr 2007 16:54:43 +0400, Maxim Uvarov said: What do you think about it? Patch is bellow. Was this patch actually compile and run tested? Index: linux-2.6.18/fs/proc/array.c === --- linux-2.6.18.orig/fs/proc/array.c

Re: 2.6.21-rc5-mm4

2007-04-03 Thread Valdis . Kletnieks
On Wed, 04 Apr 2007 00:58:26 +0200, J.A. =?UTF-8?B?TWFnYWxsw7Nu?= said: Anyways, I have just remembered I use the (in)famous nVidia driver. Will try to reproduce without it. This was more like a probe to see if somebody else is suffering it... The nVidia driver will get some truly astounding

Re: 2.6.21-rc5-mm4

2007-04-03 Thread Valdis . Kletnieks
On Mon, 02 Apr 2007 22:47:45 PDT, Andrew Morton said: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc5/2.6.21-rc5-mm4/ So I was looking at a patch for ACPI_SLEEP that went around a moment ago, and ended up doing a 'make menuconfig'. I do a '/ACPI_SLEEP' inside that, and

Re: [PATCH] Stop pmac_zilog from abusing 8250's device numbers.

2007-04-03 Thread Valdis . Kletnieks
On Tue, 03 Apr 2007 16:09:08 PDT, Brad Boyer said: an abstraction of serial port as far as the user is concerned. On Solaris, I can say /dev/term/a and know that I will get the first serial port if it is available without needing to care if it is the zs, se or asy driver talking to the

Re: 2.6.21-rc5-mm4

2007-04-03 Thread Valdis . Kletnieks
On Tue, 03 Apr 2007 19:20:04 PDT, Randy Dunlap said: On Tue, 03 Apr 2007 21:35:54 -0400 [EMAIL PROTECTED] wrote: I do a '/ACPI_SLEEP' inside that, and I get this output: x Symbol: ACPI_SLEEP [=n] x x Depends on: !X86_NUMAQ !X86_VISWS

Re: 2.6.21-rc5-mm4

2007-04-04 Thread Valdis . Kletnieks
On Tue, 03 Apr 2007 20:37:42 PDT, Randy Dunlap said: Good luck. But the symbols are there. Just use left/right arrow keys to scroll the display left/right and you can see them. Now if you just had that indicator to tell you that you Need to scroll to see more text... Exactly. :) I had the

Re: Performance Stats: Kernel patch

2007-04-04 Thread Valdis . Kletnieks
On Wed, 04 Apr 2007 17:15:43 +0400, Maxim Uvarov said: New version of this patch. Please flay it. Signed-off-by: Max Uvarov [EMAIL PROTECTED] Index: linux-2.6.18/fs/proc/array.c === --- linux-2.6.18.orig/fs/proc/array.c

Re: Performance Stats: Kernel patch

2007-04-04 Thread Valdis . Kletnieks
On Wed, 04 Apr 2007 15:46:24 +0200, Eric Dumazet said: On Wed, 04 Apr 2007 17:15:43 +0400 Maxim Uvarov [EMAIL PROTECTED] wrote: +#ifdef CONFIG_THREAD_PERF_STAT_SYSC + call inc_syscallcnt # Increment syscalls counter current-sysc_cnt +#endif /*

Re: [rfc] no ZERO_PAGE?

2007-04-04 Thread Valdis . Kletnieks
On Wed, 04 Apr 2007 08:35:30 PDT, Linus Torvalds said: Although I don't know how much -mm will do for it. There is certainly not going to be any correctness problems, afaik, just *performance* problems. Does anybody do any performance testing on -mm? I have to admit I don't do anything more

Re: [rfc] no ZERO_PAGE?

2007-04-04 Thread Valdis . Kletnieks
On Wed, 04 Apr 2007 17:48:39 +0200, Andrea Arcangeli said: Ok, those cases wanting the same zero page, could be fairly easily converted to an mmap over /dev/zero (without having to run 4k large mmap syscalls or nonlinear). D'oh! -- H. Simpson. Ignore my previous note. :) pgpDXeDCPhdZQ.pgp

Re: per-thread rusage

2007-04-04 Thread Valdis . Kletnieks
On Wed, 04 Apr 2007 10:29:31 PDT, William Lee Irwin III said: Index: anon/include/linux/resource.h === --- anon.orig/include/linux/resource.h2007-04-04 09:57:41.239118534 - 0700 +++ anon/include/linux/resource.h

Re: [rfc] no ZERO_PAGE?

2007-04-04 Thread Valdis . Kletnieks
On Wed, 04 Apr 2007 17:27:31 PDT, Linus Torvalds said: Sure you do. If glibc used mmap() or brk(), it *knows* the new data is zero. So if you use calloc(), for example, it's entirely possible that a good libc wouldn't waste time zeroing it. Right. However, the *user* code usually has no

Re: 2.6.21-rc5-mm4

2007-04-05 Thread Valdis . Kletnieks
On Mon, 02 Apr 2007 22:47:45 PDT, Andrew Morton said: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc5/2.6.21-rc5-mm4/ Am seeing an Oops 'cannot handle kernel paging request' during late system startup, hand-copied traceback follows: avc_has_perm_noaudit+0x2bf/0x506

Re: [rfc] no ZERO_PAGE?

2007-04-05 Thread Valdis . Kletnieks
On Wed, 04 Apr 2007 22:37:29 PDT, William Lee Irwin III said: The actual phenomenon of concern here is dense matrix code with sparse matrix inputs. The matrices will typically not be vast but may span 1MB or so of RAM (1024x1024 is 1M*sizeof(double), and various dense matrix algorithms target

Re: [PATCH 01/01] New FBDev driver for Intel Vermilion Range

2007-04-05 Thread Valdis . Kletnieks
On Thu, 05 Apr 2007 11:44:46 BST, Alan Hourihane said: Attached is a patch against 2.6.21-rc5 which adds the Intel Vermilion Range support. One non-technical question here... +config FB_VERMILION + tristate Vermilion support + depends on FB PCI X86 + select FB_MODE_HELPERS

Re: [PATCH][RFC] Simple tamper-proof device filesystem.

2008-01-07 Thread Valdis . Kletnieks
On Sun, 06 Jan 2008 15:20:00 +0900, Tetsuo Handa said: --- linux-2.6-mm.orig/fs/ramfs/inode.c +++ linux-2.6-mm/fs/ramfs/inode.c @@ -36,6 +36,20 @@ #include asm/uaccess.h #include internal.h +static struct inode *__ramfs_get_inode(struct super_block *sb, int mode, +

Re: [patch 3/5] Add the end-of-trace marker and the module list to WARN_ON()

2008-01-07 Thread Valdis . Kletnieks
On Sun, 06 Jan 2008 10:04:06 GMT, David Woodhouse said: On Sat, 2008-01-05 at 19:10 -0800, Arjan van de Ven wrote: Another issue is that, unlike oopses, WARN_ON() doesn't currently printk the helpful cut here line, I'd rather see the 'cut here' line disappear altogether. Often, the

Re: [patch] scsi: revert [SCSI] Get rid of scsi_cmnd-done

2008-01-07 Thread Valdis . Kletnieks
On Sun, 06 Jan 2008 22:08:13 +0100, Willy Tarreau said: even slightly annoying, we never get it. Have you noticed the number of me too on the list ? Users find any sort of excuse for not having filed a report in the first time, but are still willing to confirm another one's bug. That's

Re: pnpacpi: exceeded the max number of IO resources: 24

2008-01-07 Thread Valdis . Kletnieks
On Mon, 07 Jan 2008 13:07:28 +0800, Zhao Yakui said: The resources of PNP device are obtained by calling the _CRS method. Maybe some resources has been reserved. For example: Some system will reserve the following resources. BIOS-e820: fec0 - fed4 (reserved)

Re: Re: [patch 1/2] show being-loaded/being-unloaded indicator for modules

2008-01-07 Thread Valdis . Kletnieks
On Mon, 07 Jan 2008 11:09:23 +0100, [EMAIL PROTECTED] said: but i wonder if some mandatory print a message on init/exit With a 'printk(LOG_DEBUG,...' please. Boot with initcall_debug sometime to see why. ;) pgp3sopHFUC1M.pgp Description: PGP signature

Re: [patch] scsi: revert [SCSI] Get rid of scsi_cmnd-done

2008-01-07 Thread Valdis . Kletnieks
On Mon, 07 Jan 2008 14:37:17 MST, Matthew Wilcox said: If you can reproduce a bug reliably, you can reproduce it without the nvidia module loaded. Theoretically, at least. Sometimes, in the real world, other constraints enter into it... You're welcome to stop by and figure out why (I've sunk

Re: [patch] scsi: revert [SCSI] Get rid of scsi_cmnd-done

2008-01-08 Thread Valdis . Kletnieks
On Mon, 07 Jan 2008 16:19:30 MST, Matthew Wilcox said: On Mon, Jan 07, 2008 at 06:04:25PM -0500, [EMAIL PROTECTED] wrote: Theoretically, at least. Sometimes, in the real world, other constraints enter into it... So you're saying that you can't find reliable ways to reproduce problems on

Re: [patch] scsi: revert [SCSI] Get rid of scsi_cmnd-done

2008-01-08 Thread Valdis . Kletnieks
On Mon, 07 Jan 2008 16:19:30 MST, Matthew Wilcox said: So you're saying that you can't find reliable ways to reproduce problems on demand? Those are some of the lower quality bug reports, so I don't think we're losing much by having you not report them. And in the next e-mail in my lkml

Re: NIC as RS232

2008-01-08 Thread Valdis . Kletnieks
On Tue, 08 Jan 2008 08:48:35 +0200, Thanasis said: Is there a kernel driver that would make a NIC's port work as a RS232 port, using the serial cables that are RJ45 on one side and DB9 or DB25 on the other? Maybe null modem cables of that type ? Or for example those used by cisco as console

Re: [PATCH][RFC] Simple tamper-proof device filesystem.

2008-01-08 Thread Valdis . Kletnieks
On Tue, 08 Jan 2008 22:50:43 +0900, Tetsuo Handa said: Yes. It is a line-by-line processable format defined as: filename permission owner group flags type [ symlink_data | major minor ] where flags are bit-wised combinations of * 1: Allow creation of the file. * 2: Allow

Re: The ext3 way of journalling

2008-01-08 Thread Valdis . Kletnieks
On Tue, 08 Jan 2008 22:21:02 EST, Kyle Moffett said: lvcreate -s -n ${VOLUME}-snap ${VG}/${VOLUME} Basically you can fsck the offline snapshot in the background. Something the lvcreate manpage is specifically not clear about is: Does this create a snapshot of the *disk* at that moment, or

Re: [RFD] Incremental fsck

2008-01-09 Thread Valdis . Kletnieks
On Wed, 09 Jan 2008 07:40:12 +0300, Al Boldi said: But why wouldn't it be possible to do this on the current fs infrastructure, using just a smart fsck, working incrementally on some sub-dir? If you have /home/usera, /home/userb, and /home/userc, the vast majority of fs screw-ups can't be

Re: The ext3 way of journalling

2008-01-09 Thread Valdis . Kletnieks
On Wed, 09 Jan 2008 15:00:46 +0700, BuraphaLinux Server said: The help for CONFIG_DM_SNAPSHOT says it is EXPERIMENTAL (in 2.6.23.12). So this would mean that there is very high risk of software failure using snapshots. Would you want to do that for your fsck? The overall current state of

Re: [PATCH] Change paride driver to use unlocked_ioctl instead of ioctl

2008-01-09 Thread Valdis . Kletnieks
On Wed, 09 Jan 2008 08:06:20 GMT, Christoph Hellwig said: It's generally considered good style to only have as few as possible return values. And this is especially important when returning from a section that's under a lock. So in this case it would be much better if you changes this

Re: NIC as RS232

2008-01-09 Thread Valdis . Kletnieks
On Wed, 09 Jan 2008 09:29:41 +0100, Geert Uytterhoeven said: We have plenty of DB9-to-RJ45 at work. Very useful when abusing the Ethernet cabling in the wall for serial connections (also used for phone). Maybe surprisingly to you, I haven't seen the RJ11 variant ;-) I have to admit, the

Re: Replacement for page fault notifiers?

2008-01-09 Thread Valdis . Kletnieks
On Wed, 09 Jan 2008 20:26:44 GMT, Christoph Hellwig said: Exactly. In MadWifi, they are inlined on i386 and x86_64, and I cannot ask every user with an unsupported card to get a Mac. Maybe it's time to do some simple xoring in the ioremap return value to force them not to do such stupid

Re: [PATCH][RFC][BUG] updating the ctime and mtime time stamps in msync()

2008-01-09 Thread Valdis . Kletnieks
On Wed, 09 Jan 2008 15:50:15 EST, Rik van Riel said: Could you explain (using short words and simple sentences) what the exact problem is? Eg. 1) program mmaps file 2) program writes to mmaped area 3) ??? === this part, in equally simple words :) 4) data loss It's

Re: [PATCH][RFC][BUG] updating the ctime and mtime time stamps in msync()

2008-01-10 Thread Valdis . Kletnieks
On Wed, 09 Jan 2008 18:41:41 EST, Rik van Riel said: I guess a third possible time (if we want to minimize the number of updates) would be when natural syncing of the file data to disk, by other things in the VM, would be about to clear the I_DIRTY_PAGES flag on the inode. That way we do not

Re: [patch 02/11] PAT x86: Map only usable memory in x86_64 identity map and kernel text

2008-01-10 Thread Valdis . Kletnieks
On Thu, 10 Jan 2008 14:15:25 PST, Linus Torvalds said: Well, I think that /dev/mem should simply give them the right info. That's what people use /dev/mem for - doing things like reading BIOS images etc. So returning *either* a zero page *or* stopping at the first hole is both equally

Re: [RFC][PATCH] per-task I/O throttling

2008-01-11 Thread Valdis . Kletnieks
On Fri, 11 Jan 2008 17:32:49 +0100, Andrea Righi said: The interesting feature is that it allows to set a priority for each process container, but AFAIK it doesn't allow to partition the bandwidth between different containers (that would be a nice feature IMHO). For example it would be great

Re: [PATCH x86/mm] x86_64 save_i387_ia32 snafu

2008-01-11 Thread Valdis . Kletnieks
On Fri, 11 Jan 2008 13:31:47 PST, Roland McGrath said: thanks, applied. Does this explain the crash/hang problems with 32-bit apps on 64-bit kernels? What was the exact failure mode? It does. Any 32-bit process trying to run a signal handler when it had used the FPU, would clobber

2.6.24-rc6-mm1 - drivers/char/tpm/tpm_bios.c oddness?

2008-01-11 Thread Valdis . Kletnieks
(Reposting, nobody from lkml or tpmdd-devel chirped on the Dec 27 post) On Sat, 22 Dec 2007 23:30:56 PST, Andrew Morton said: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc6/2.6.24-rc6-mm1/ Looks like an uninitialized variable dereference for SEPARATOR events: # mount

2.6.24-rc6-mm1 - oddness with IPv4/v6 mapped sockets hanging...

2008-01-12 Thread Valdis . Kletnieks
I'm seeing problems with Sendmail on 24-rc6-mm1, where the main Sendmail is listening on ::1/25, and Fetchmail connects to 127.0.0.1:25 to inject mail it has just fetched from an outside server via IMAP - it will often just hang and not make any further progress. Looking at netstat shows something

Re: 2.6.24-rc6-mm1 - oddness with IPv4/v6 mapped sockets hanging...

2008-01-14 Thread Valdis . Kletnieks
On Sun, 13 Jan 2008 02:35:33 EST, [EMAIL PROTECTED] said: I'm seeing problems with Sendmail on 24-rc6-mm1, where the main Sendmail is listening on ::1/25, and Fetchmail connects to 127.0.0.1:25 to inject mail it has just fetched from an outside server via IMAP - it will often just hang and

Re: 2.6.24-rc6-mm1 - oddness with IPv4/v6 mapped sockets hanging...

2008-01-14 Thread Valdis . Kletnieks
On Mon, 14 Jan 2008 11:36:40 EST, Paul Moore said: Are you still only seeing these problems on loopback? I can't help but wonder if this is the skb_clone() problem where it wasn't copying skb-iif causing SELinux to silently drop the packets. Yes, I've only spotted it on loopback. The

Re: 2.6.24-rc6-mm1 - oddness with IPv4/v6 mapped sockets hanging...

2008-01-14 Thread Valdis . Kletnieks
On Mon, 14 Jan 2008 13:05:48 EST, [EMAIL PROTECTED] said: I'm pulling git://git.infradead.org/users/pcmoore/lblnet-2.6_testing at the moment, and seeing if there's already a fix in there for this. Apparently the only new commit in there since the tree that was in 24-rc6-mm1 is

Re: 2.6.24-rc6-mm1 - oddness with IPv4/v6 mapped sockets hanging...

2008-01-14 Thread Valdis . Kletnieks
On Mon, 14 Jan 2008 13:22:10 EST, [EMAIL PROTECTED] said: Apparently the only new commit in there since the tree that was in 24-rc6-mm1 is 5d95575903fd3865b884952bd93c339d48725c33 adding some warning printk's. Would it be more productive to test against the full tree, or leaving out the one

Re: 2.6.24-rc6-mm1 - oddness with IPv4/v6 mapped sockets hanging...

2008-01-14 Thread Valdis . Kletnieks
On Mon, 14 Jan 2008 14:07:46 EST, Paul Moore said: There have been quite a few changes in lblnet-2.6_testing since 2.6.24-rc6-mm1 so I would recommend taking the whole tree. I'm also not quite sure if Weird. I did a 'git clone git://git.infradead.org/users/pcmoore/lblnet-2.6_testing' into

Re: 2.6.24-rc6-mm1 - oddness with IPv4/v6 mapped sockets hanging...

2008-01-14 Thread Valdis . Kletnieks
On Mon, 14 Jan 2008 14:07:46 EST, Paul Moore said: http://git.infradead.org/?p=users/pcmoore/lblnet-2.6_testing;a=commitdiff;h=02f1c89d6e36507476f78108a3dcc78538be460b Initial testing indicates that 2.6.24-rc6-mm1 plus this one commit is behaving itself correctly - my Tcl test case that

Re: 2.6.23-rc6-mm1

2007-09-18 Thread Valdis . Kletnieks
On Tue, 18 Sep 2007 01:18:41 PDT, Andrew Morton said: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc6/2.6.23-rc6-mm1/ +gregkh-driver-driver-core-add-config_uevent_helper_path.patch So I do a 'make silentoldconfig', and I get: * * Generic Driver Options * path to

2.6.23-rc6-mm1 - Mostly working, with a kbuild oddity

2007-09-18 Thread Valdis . Kletnieks
On Tue, 18 Sep 2007 01:18:41 PDT, Andrew Morton said: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc6/2.6.23-rc6-mm1/ % uname -a Linux turing-police.cc.vt.edu 2.6.23-rc6-mm1 #1 SMP PREEMPT Tue Sep 18 12:32:13 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux % uptime 15:11:48

Re: What can be done to reduce the huge number of build fixes required to release an MM tree?

2007-09-18 Thread Valdis . Kletnieks
On Tue, 18 Sep 2007 08:23:38 EDT, Miles Lane said: and once in while causes trouble? And 3) Who is causing the most cumulative trouble? Umm... Andrew's Vaio and my Latitude? :) Seriously though - one big chunk of the problem is almost certainly that Andrew and I run with .config's and

Re: [PATCH] Combine instrumentation menus in kernel/Kconfig.instrumentation

2007-09-18 Thread Valdis . Kletnieks
On Tue, 18 Sep 2007 17:12:59 EDT, Mathieu Desnoyers said: +++ linux-2.6-lttng/kernel/Kconfig.instrumentation2007-09-18 13:18:17.000 00 -0400 @@ -0,0 +1,40 @@ +menuconfig INSTRUMENTATION + bool Instrumentation Support + default y + ---help--- + Say Y here to get to

  1   2   3   4   5   6   7   8   9   10   >