GIT and the current -stable

2007-04-13 Thread Rene Herman
Good day. Stumbling around with git here. I'd like to use git to efficiently track the current -stable as well as -current. Say, my local tree is a clone of Linus current: git clone \ git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git local I then branch off a 2.6.20

MOXA: mxser_new lockup

2007-04-13 Thread Jan Kasprzak
Hello, I have a MOXA C168H card, and after the upgrade from 2.6.19 to 2.6.21-rc6 (and from moxa.c to mxser_new.c) I get a system lockup after few seconds of communicating over the MOXA serial line. Noting is printed on the serial console at all. The system is SMP x86_64 (Fedora 5). I may

Re: [CRYPTO] is it really optimized ?

2007-04-13 Thread Herbert Xu
Francis Moreau <[EMAIL PROTECTED]> wrote: > > Crypto core already seems to implement a priority mechanism. But I > don't think I'm able to say "I'd like to use this algo for encrypting > filesystems. If another part of the kernel wants to use this algo then > give it the generic one". This choice

[PATCH] kthread: Simplify kthread_create.

2007-04-13 Thread Eric W. Biederman
This removes an unneeded completion from kthread_create and moves wake_up_process out of the kthread_create_lock making it clear that wake_up_process doesn't need the protection of the kthread_create_lock. Signed-off-by: Eric W. Biederman <[EMAIL PROTECTED]> --- kernel/kthread.c | 16

[PATCH] kthread: Enhance kthread_stop to abort interruptible sleeps

2007-04-13 Thread Eric W. Biederman
This patch reworks kthread_stop so it is more flexible and it causes the target kthread to abort interruptible sleeps. Allowing a larger class of kernel threads to use to the kthread API. The changes start by defining TIF_KTHREAD_STOP on all architectures. TIF_KTHREAD_STOP is a per process flag

Re: [PATCH] usb bulk transfer: 1024 byte packets

2007-04-13 Thread Pete Zaitcev
On Fri, 13 Apr 2007 12:56:47 -0400, "Jeremy C. Andrus" <[EMAIL PROTECTED]> wrote: > I recently ran into a couple of USB devices which insisted on using 1024 > byte packets in bulk transfer mode (despite the hard limit of 512 > established in the spec). I really wanted to use these devices, so

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-13 Thread Nick Piggin
On Fri, Apr 13, 2007 at 10:21:00PM +0200, Ingo Molnar wrote: > [announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS] > > i'm pleased to announce the first release of the "Modular Scheduler Core > and Completely Fair Scheduler [CFS]" patchset: > >

Re: [3/3] 2.6.21-rc6: known regressions

2007-04-13 Thread Antonino A. Daplas
On Sat, 2007-04-14 at 02:38 +0200, Adrian Bunk wrote: > This email lists some known regressions in Linus' tree compared to 2.6.20. > > If you find your name in the Cc header, you are either submitter of one > of the bugs, maintainer of an affectected subsystem or driver, a patch > of you caused a

Re: Merge plans for RPC/RDMA? (Was: Re: [NFS] [PATCH 000 of 14] knfsd: Preparation for IPv6 support in NFS server.)

2007-04-13 Thread Chuck Lever
Mike Snitzer wrote: On 4/13/07, Chuck Lever <[EMAIL PROTECTED]> wrote: Mike Snitzer wrote: > On 2/2/07, Chuck Lever <[EMAIL PROTECTED]> wrote: >> Roland Dreier wrote: >> > > They are mostly from Chuck Level and make preparating for IPv6 >> support >> > > in the NFS server. >> > > They are

Re: Merge plans for RPC/RDMA? (Was: Re: [NFS] [PATCH 000 of 14] knfsd: Preparation for IPv6 support in NFS server.)

2007-04-13 Thread Chuck Lever
Mike Snitzer wrote: On 4/13/07, Chuck Lever <[EMAIL PROTECTED]> wrote: Mike Snitzer wrote: > On 2/2/07, Chuck Lever <[EMAIL PROTECTED]> wrote: >> Roland Dreier wrote: >> > > They are mostly from Chuck Level and make preparating for IPv6 >> support >> > > in the NFS server. >> > > They are

Re: [patch 2.6.21-rc6] failsafe mechanism to HPET clock calibration

2007-04-13 Thread Andi Kleen
On Saturday 14 April 2007 01:28:20 Ravikiran G Thirumalai wrote: > Provide a failsafe mechanism to avoid kernel spinning for ever at > read_hpet_tsc > during early kernel bootup. > > This failsafe mechanism was introduced in 21-rc, >

[2/3] 2.6.21-rc6: known regressions

2007-04-13 Thread Adrian Bunk
This email lists some known regressions in Linus' tree compared to 2.6.20. If you find your name in the Cc header, you are either submitter of one of the bugs, maintainer of an affectected subsystem or driver, a patch of you caused a breakage or I'm considering you in any other way possibly

[3/3] 2.6.21-rc6: known regressions

2007-04-13 Thread Adrian Bunk
This email lists some known regressions in Linus' tree compared to 2.6.20. If you find your name in the Cc header, you are either submitter of one of the bugs, maintainer of an affectected subsystem or driver, a patch of you caused a breakage or I'm considering you in any other way possibly

[1/3] 2.6.21-rc6: known regressions

2007-04-13 Thread Adrian Bunk
This email lists some known regressions in Linus' tree compared to 2.6.20. If you find your name in the Cc header, you are either submitter of one of the bugs, maintainer of an affectected subsystem or driver, a patch of you caused a breakage or I'm considering you in any other way possibly

Re: Crash while mapping memory in pagetable_init() (Was: Re: .config)

2007-04-13 Thread Chris Wright
* Jeremy Fitzhardinge ([EMAIL PROTECTED]) wrote: > Subject: i386: map enough initial memory to create lowmem mappings > > head.S creates the very initial pagetable for the kernel. This just > maps enough space for the kernel itself, and an allocation bitmap. > The amount of mapped memory is

Re: Merge plans for RPC/RDMA? (Was: Re: [NFS] [PATCH 000 of 14] knfsd: Preparation for IPv6 support in NFS server.)

2007-04-13 Thread Mike Snitzer
On 4/13/07, Chuck Lever <[EMAIL PROTECTED]> wrote: Mike Snitzer wrote: > On 2/2/07, Chuck Lever <[EMAIL PROTECTED]> wrote: >> Roland Dreier wrote: >> > > They are mostly from Chuck Level and make preparating for IPv6 >> support >> > > in the NFS server. >> > > They are *not* for 2.6.20, but

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-13 Thread Daniel Walker
One other thing, what happens in the case of slow, frequency changing, are/or inaccurate clocks .. Is the old sched_clock behavior still tolerated? Daniel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info

CPU_IDLE prevents resuming from STR [was: Re: 2.6.21-rc6-mm1]

2007-04-13 Thread Mattia Dongili
On Sun, Apr 08, 2007 at 02:35:59PM -0700, Andrew Morton wrote: ... > git-acpi.patch after bisecting I can finally say what breaks resume from STR here: tada: CPU_IDLE. I first spotted the git-acpi.patch then reapplied it and disabled CPU_IDLE, now my laptop resumes. Any useful information

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-13 Thread William Lee Irwin III
* William Lee Irwin III <[EMAIL PROTECTED]> wrote: >> Where it gets complex is when the behavior patterns vary, e.g. they're >> not entirely CPU-bound and their desired in-isolation CPU utilization >> varies, or when nice levels vary, or both vary. [...] On Sat, Apr 14, 2007 at 01:44:44AM

2.6.21-rc5-rt12 - quite 'zippy'

2007-04-13 Thread Mark Knecht
Just checking in after a few months of lurking. I have been running 2.6.18-rt7 for at least 4-5 months, possibly longer, without updates and without problems. Last weekend I updated my kernel for the first time in months. I must say that while I cannot measure any differences the whole Gnome

Re: Linux 2.6.21-rc6

2007-04-13 Thread Adrian Bunk
On Fri, Apr 13, 2007 at 11:29:55PM +0200, Tobias Diedrich wrote: > Linus Torvalds wrote: > > > We should be getting close to a 2.6.21 release, so please update any > > regression reports you've done, > > For me, suspend to disk works only once (has been the case for all > .21-rcs IIRC, but I

Re: [PATCH 3/3] make kthread_stop() scalable

2007-04-13 Thread Eric W. Biederman
Oleg Nesterov <[EMAIL PROTECTED]> writes: > It's a shame kthread_stop() (may take a while!) runs with a global semaphore > held. With this patch kthread() allocates all neccesary data (struct kthread) > on its own stack, globals kthread_stop_xxx are deleted. Oleg so fare you patches have been

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-13 Thread Ingo Molnar
* William Lee Irwin III <[EMAIL PROTECTED]> wrote: > Where it gets complex is when the behavior patterns vary, e.g. they're > not entirely CPU-bound and their desired in-isolation CPU utilization > varies, or when nice levels vary, or both vary. [...] yes. I tested things like

Re: ZFS with Linux: An Open Plea

2007-04-13 Thread Neil Brown
On Friday April 13, [EMAIL PROTECTED] wrote: > Before I go on, let me appologise. I don't really know what I hope to > accomplish, beyond trying to garner thoughts (and support?) for the topic. > > Essentially: I want to use Linux and ZFS. I don't particularly care about > licences You may

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-13 Thread Gabriel C
Ingo Molnar wrote: * Gabriel C <[EMAIL PROTECTED]> wrote: as usual, any sort of feedback, bugreports, fixes and suggestions are more than welcome, Compile error here. ah, !CONFIG_SMP. Does the patch below do the trick for you? (I've also updated the full patch at the

Re: 2.6.20 OOM with 8Gb RAM

2007-04-13 Thread William Lee Irwin III
On Fri, 13 Apr 2007 15:54:33 -0700 William Lee Irwin III <[EMAIL PROTECTED]> wrote: >> After all this time, bdevs are still lowmem etc. Crying shame. On Fri, Apr 13, 2007 at 04:32:42PM -0700, Andrew Morton wrote: > One would need to hunt down every use of b_data in filesystems and switch > them

Re: [PATCH 2/3] make kthread_create() more scalable

2007-04-13 Thread Eric W. Biederman
Oleg Nesterov <[EMAIL PROTECTED]> writes: > If kernel_thread(kthread) succeeds, kthread() can not fail on its path to > complete(>started) + schedule(). After that it can't be woken because > nobody can see the new task yet. This means: > > - we don't need tasklist_lock for

Re: Kernel 2.6.20.4 Unaligned address

2007-04-13 Thread David Miller
From: "doctor raid" <[EMAIL PROTECTED]> Date: Tue, 10 Apr 2007 16:02:01 -0700 > [1] kernel errors reporting unaligned access of memory > [2] The following two lines iterate twice a piece, about once every 2 > minutes: > > Kernel unaligned access at TPC[79c344] arpt_do_table+0x3cc/0x640 >

Re: 2.6.20 OOM with 8Gb RAM

2007-04-13 Thread Andrew Morton
On Fri, 13 Apr 2007 15:54:33 -0700 William Lee Irwin III <[EMAIL PROTECTED]> wrote: > On Fri, Apr 13, 2007 at 03:46:53PM -0700, Andrew Morton wrote: > > It's just weird - it exploits internal knowledge of VFS behaviour, diddles > > with pagecache within a fake disk strategy handler, etc. > >

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-13 Thread William Lee Irwin III
* William Lee Irwin III <[EMAIL PROTECTED]> wrote: >> A binomial heap would likely serve your purposes better than rbtrees. >> It's faster to have the next item to dequeue at the root of the tree >> structure rather than a leaf, for one. There are, of course, other >> priority queue structures

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-13 Thread Ingo Molnar
* Gabriel C <[EMAIL PROTECTED]> wrote: > > as usual, any sort of feedback, bugreports, fixes and suggestions > > are more than welcome, > > Compile error here. ah, !CONFIG_SMP. Does the patch below do the trick for you? (I've also updated the full patch at the cfs-scheduler URL)

[patch 2.6.21-rc6] failsafe mechanism to HPET clock calibration

2007-04-13 Thread Ravikiran G Thirumalai
Provide a failsafe mechanism to avoid kernel spinning for ever at read_hpet_tsc during early kernel bootup. This failsafe mechanism was introduced in 21-rc, http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=2f7a2a79c3ebb44f8b1b7d9b4fd3a650eb69e544 But looks like the

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-13 Thread Robert Hancock
Zhao Forrest wrote: These 2 kernel options are turned on by default in my kernel. Here's snip from .config # CONFIG_PREEMPT_NONE is not set CONFIG_PREEMPT_VOLUNTARY=y # CONFIG_PREEMPT is not set CONFIG_PREEMPT_BKL=y CONFIG_NUMA=y CONFIG_K8_NUMA=y Does this fix it? --- fs/buffer.c~

Re: Loud "pop" coming from hard drive on reboot

2007-04-13 Thread Robert Hancock
Chuck Ebbert wrote: When I reboot my notebook, it powers off and powers back on. On poweroff a loud snapping noise seems to be coming from the hard drive. Today I noticed there is no "shutdown: hda" on the console when I reboot. Whne I do a normal poweroff the message is displayed and there is

ZFS with Linux: An Open Plea

2007-04-13 Thread David R. Litwin
Before I go on, let me appologise. I don't really know what I hope to accomplish, beyond trying to garner thoughts (and support?) for the topic. Essentially: I want to use Linux and ZFS. I don't particularly care about licences or any of the rest of that nonsense. The code is there; it

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-13 Thread Ingo Molnar
* Willy Tarreau <[EMAIL PROTECTED]> wrote: > >central tunable: > > > > /proc/sys/kernel/sched_granularity_ns > > > >which can be used to tune the scheduler from 'desktop' (low > >latencies) to 'server' (good batching) workloads. It defaults to a > >setting suitable for

Re: kernel BUG at net/core/skbuff.c in linux-2.6.21-rc6

2007-04-13 Thread David Miller
From: Patrick McHardy <[EMAIL PROTECTED]> Date: Thu, 12 Apr 2007 07:43:39 +0200 > Bartek wrote: > > Hopefully, this time it my bug report should be ok :): > > > > Apr 11 23:53:38 localhost pppd[31289]: rcvd [proto=0x7689] e1 cd 33 f6 > > fd f7 52 e6 58 c9 73 98 bc ff ad d5 b5 a3 e5 d9 1e 77 76

Re: [PATCH 1/3] fix kthread_create() vs freezer theoretical race

2007-04-13 Thread Eric W. Biederman
Oleg Nesterov <[EMAIL PROTECTED]> writes: > kthread() sleeps in TASK_INTERRUPTIBLE state waiting for the first wakeup. > In theory, this wakeup may come from freeze_process()->signal_wake_up(), > so the task can disappear even before kthread_create() sets its ->comm. > > Change kthread() to use

Re: [PATCH] allow VLAN interface on top of bridge interface

2007-04-13 Thread David Miller
Jerome, btw, in the future please fix your email client. It added extra spaces and also deleted some in the patch, making the patch not apply without a lot of hand-editing. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED]

Re: [PATCH] allow VLAN interface on top of bridge interface

2007-04-13 Thread David Miller
From: Jerome Borsboom <[EMAIL PROTECTED]> Date: Thu, 12 Apr 2007 21:50:00 +0200 (CEST) > When a VLAN interface is created on top of a bridge interface and > netfilter is enabled to see the bridged packets, the packets can be > corrupted when passing through the netfilter code. This is caused by

Re: [PATCH 2/3] make kthread_create() more scalable

2007-04-13 Thread Eric W. Biederman
Andrew Morton <[EMAIL PROTECTED]> writes: > > OK, I fixed that up. > > The next patch (make-kthread_stop-scalable) removes the find_task_by_pid() > anyway. Ok. Neat. I still need to review these a little more I have a different set of criteria, but it is interesting work.. > Our kthread

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-13 Thread Gabriel C
Ingo Molnar wrote: [announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS] i'm pleased to announce the first release of the "Modular Scheduler Core and Completely Fair Scheduler [CFS]" patchset: http://redhat.com/~mingo/cfs-scheduler/sched-modular+cfs.patch [...]

Linux 2.6.16.47

2007-04-13 Thread Adrian Bunk
Security fixes since 2.6.16.46: - CVE-2007-1357: APPLETALK: Fix a remotely triggerable crash Location: ftp://ftp.kernel.org/pub/linux/kernel/v2.6/ git tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.16.y.git RSS feed of the git tree:

Re: [PATCH] i386: fix file_read_actor() and pipe_read() for original i386 systems

2007-04-13 Thread Adrian Bunk
Thanks, applied to 2.6.16. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed - To

Linux 2.6.16.48-rc1

2007-04-13 Thread Adrian Bunk
Location: ftp://ftp.kernel.org/pub/linux/kernel/people/bunk/linux-2.6.16.y/testing/ git tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.16.y.git RSS feed of the git tree: http://www.kernel.org/git/?p=linux/kernel/git/stable/linux-2.6.16.y.git;a=rss Changes since 2.6.16.47:

Re: [RFD] swsusp problem: Drivers allocate much memory during suspend (was: Re: 2.6.21-rc5: swsusp: Not enough free memory)

2007-04-13 Thread Nigel Cunningham
Hi. On Sat, 2007-04-14 at 00:57 +0200, Rafael J. Wysocki wrote: > > > > Well, I'm not sure. First, we don't really know what the value of it > > > > should be > > > > and this alone is a good enough reason for making it tunable, IMHO. > > > > Second, I > > > > think different systems may need

Re: 2.6.20 OOM with 8Gb RAM

2007-04-13 Thread Jason Lunz
On Fri, Apr 13, 2007 at 03:46:53PM -0700, Andrew Morton wrote: > > If I want to run a system entirely from ram with a compressed filesystem > > image mounted on /, is it better to store that image in a ramdisk, or on > > a tmpfs and mount it via loopback? > > Store it all in ramfs, no loopback

Re: [PATCH] usbatm_heavy_init: don't use CLONE_SIGHAND

2007-04-13 Thread Duncan Sands
On Friday 13 April 2007 01:56:31 Oleg Nesterov wrote: > usbatm_do_heavy_init() calls allow_signal() which plays with parent process's > ->sighand. > > Signed-off-by: Oleg Nesterov <[EMAIL PROTECTED]> Acked-by: Duncan Sands <[EMAIL PROTECTED]> > --- 2.6.21-rc5/drivers/usb/atm/usbatm.c~usbatm

patch pci-add-debug-information-to-resource-collision-message.patch added to gregkh-2.6 tree

2007-04-13 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: PCI: add debug information to resource collision message to my gregkh-2.6 tree. Its filename is pci-add-debug-information-to-resource-collision-message.patch This tree can be found at

Re: [RFD] swsusp problem: Drivers allocate much memory during suspend (was: Re: 2.6.21-rc5: swsusp: Not enough free memory)

2007-04-13 Thread Rafael J. Wysocki
On Saturday, 14 April 2007 00:45, Nigel Cunningham wrote: > Hi. > > On Sat, 2007-04-14 at 00:40 +0200, Pavel Machek wrote: > > Hi! > > > > > > > > > Well, it looks like someone allocated about 6000 pages after we > > > > > > > had freed > > > > > > > enough memory for suspending. > > > > > > >

Re: 2.6.20 OOM with 8Gb RAM

2007-04-13 Thread William Lee Irwin III
On Fri, Apr 13, 2007 at 03:46:53PM -0700, Andrew Morton wrote: > It's just weird - it exploits internal knowledge of VFS behaviour, diddles > with pagecache within a fake disk strategy handler, etc. > Furthermore, because it pretends to be a block device, the VFS will not use > highmem pages when

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-13 Thread Ingo Molnar
* William Lee Irwin III <[EMAIL PROTECTED]> wrote: > On Fri, Apr 13, 2007 at 10:21:00PM +0200, Ingo Molnar wrote: > > [announce] [patch] Modular Scheduler Core and Completely Fair Scheduler > > [CFS] > > i'm pleased to announce the first release of the "Modular Scheduler Core > > and Completely

RE: [PATCH 1/1] cciss: include scsi/scsi.h unconditionally

2007-04-13 Thread Cameron, Steve
Andrew Morton [mailto:[EMAIL PROTECTED] wrote: > On Fri, 13 Apr 2007 09:23:12 -0500 > Stephen Cameron <[EMAIL PROTECTED]> wrote: > > > Make cciss unconditionally include scsi/scsi.h > > For what reason? Because the use of: case SCSI_IOCTL_GET_IDLUN: case

Re: Merge plans for RPC/RDMA? (Was: Re: [NFS] [PATCH 000 of 14] knfsd: Preparation for IPv6 support in NFS server.)

2007-04-13 Thread Chuck Lever
Mike Snitzer wrote: On 2/2/07, Chuck Lever <[EMAIL PROTECTED]> wrote: Roland Dreier wrote: > > They are mostly from Chuck Level and make preparating for IPv6 support > > in the NFS server. > > They are *not* for 2.6.20, but should be ok for .21. > > Out of curiousity, does this patch

Re: [RFD] swsusp problem: Drivers allocate much memory during suspend (was: Re: 2.6.21-rc5: swsusp: Not enough free memory)

2007-04-13 Thread Nigel Cunningham
Hi. On Sat, 2007-04-14 at 00:40 +0200, Pavel Machek wrote: > Hi! > > > > > > > Well, it looks like someone allocated about 6000 pages after we had > > > > > > freed > > > > > > enough memory for suspending. > > > > > > > > > > We have a tunable allowance in Suspend2 for this, because fglrx > >

Re: 2.6.20 OOM with 8Gb RAM

2007-04-13 Thread Andrew Morton
On Fri, 13 Apr 2007 18:39:36 -0400 Jason Lunz <[EMAIL PROTECTED]> wrote: > On Thu, Apr 12, 2007 at 12:15:53PM -0700, Andrew Morton wrote: > > All of ZONE_NORMAL got used by ramdisk, and networking wants to > > allocate a page from ZONE_NORMAL. An oom-killing is the correct > > response, although

Re: [linux-pm] [RFD] swsusp problem: Drivers allocate much memory during suspend (was: Re: 2.6.21-rc5: swsusp: Not enough free memory)

2007-04-13 Thread Nigel Cunningham
Hi. On Sat, 2007-04-14 at 00:38 +0200, Pavel Machek wrote: > Hi! > > > > > > > Well, it looks like someone allocated about 6000 pages after we had > > > > > > freed > > > > > > enough memory for suspending. > > > > > > > > > > We have a tunable allowance in Suspend2 for this, because fglrx > >

Re: question on generic gpio interface

2007-04-13 Thread David Brownell
On Friday 13 April 2007 1:51 pm, Francis Moreau wrote: > Hi, > > I'm trying to port my old gpio code to the generic one to see if it > can fit my needs. Good .. this is more like an IRQ question though. > The gpio controller is a home made one and has a really weird > interface. It has several

Re: [PATCH] i386: For debugging, make the initial page table setup less forgiving.

2007-04-13 Thread Zachary Amsden
H. Peter Anvin wrote: Zachary Amsden wrote: H. Peter Anvin wrote: +/* + * End condition: we must map up to and including + * INIT_MAP_BEYOND_END bytes beyond the end of our + * own page tables; 0x1000 is the size of the page + * table were about to write, and +0x007 is the

Re: 2.6.20 OOM with 8Gb RAM

2007-04-13 Thread Jason Lunz
On Thu, Apr 12, 2007 at 12:15:53PM -0700, Andrew Morton wrote: > All of ZONE_NORMAL got used by ramdisk, and networking wants to > allocate a page from ZONE_NORMAL. An oom-killing is the correct > response, although probably not effective. > > ramdisk is a nasty thing - cannot you use ramfs or

Re: [RFD] swsusp problem: Drivers allocate much memory during suspend (was: Re: 2.6.21-rc5: swsusp: Not enough free memory)

2007-04-13 Thread Pavel Machek
Hi! > > > > > Well, it looks like someone allocated about 6000 pages after we had > > > > > freed > > > > > enough memory for suspending. > > > > > > > > We have a tunable allowance in Suspend2 for this, because fglrx > > > > allocates a lot of pages in its suspend routine if DRI is enabled. I

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-13 Thread Willy Tarreau
On Sat, Apr 14, 2007 at 12:30:17AM +0200, Ingo Molnar wrote: > > * Daniel Walker <[EMAIL PROTECTED]> wrote: > > > I'm not in love with the current or other schedulers, so I'm > > indifferent to this change. However, I was reviewing your release > > notes and the patch and found myself wonder

Re: [linux-pm] [RFD] swsusp problem: Drivers allocate much memory during suspend (was: Re: 2.6.21-rc5: swsusp: Not enough free memory)

2007-04-13 Thread Pavel Machek
Hi! > > > > > Well, it looks like someone allocated about 6000 pages after we had > > > > > freed > > > > > enough memory for suspending. > > > > > > > > We have a tunable allowance in Suspend2 for this, because fglrx > > > > allocates a lot of pages in its suspend routine if DRI is enabled. I

Re: [RFD] swsusp problem: Drivers allocate much memory during suspend (was: Re: 2.6.21-rc5: swsusp: Not enough free memory)

2007-04-13 Thread Nigel Cunningham
Hi. On Sat, 2007-04-14 at 00:35 +0200, Rafael J. Wysocki wrote: > On Saturday, 14 April 2007 00:10, Pavel Machek wrote: > > Hi! > > > > > > > Well, it looks like someone allocated about 6000 pages after we had > > > > > freed > > > > > enough memory for suspending. > > > > > > > > We have a

Re: Linux 2.6.20.7

2007-04-13 Thread Greg KH
On Fri, Apr 13, 2007 at 06:22:33PM -0400, Chuck Ebbert wrote: > Greg KH wrote: > >>> > >>> The updated 2.6.20.y git tree can be found at: > >>> > >>> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.20.y.git > >>> and can be browsed at the normal kernel.org git web browser:

Re: [RFD] swsusp problem: Drivers allocate much memory during suspend (was: Re: 2.6.21-rc5: swsusp: Not enough free memory)

2007-04-13 Thread Nigel Cunningham
Hi. On Sat, 2007-04-14 at 00:10 +0200, Pavel Machek wrote: > Hi! > > > > > Well, it looks like someone allocated about 6000 pages after we had > > > > freed > > > > enough memory for suspending. > > > > > > We have a tunable allowance in Suspend2 for this, because fglrx > > > allocates a lot

Re: [RFD] swsusp problem: Drivers allocate much memory during suspend (was: Re: 2.6.21-rc5: swsusp: Not enough free memory)

2007-04-13 Thread Rafael J. Wysocki
On Saturday, 14 April 2007 00:10, Pavel Machek wrote: > Hi! > > > > > Well, it looks like someone allocated about 6000 pages after we had > > > > freed > > > > enough memory for suspending. > > > > > > We have a tunable allowance in Suspend2 for this, because fglrx > > > allocates a lot of

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-13 Thread Willy Tarreau
Hi Ingo, On Fri, Apr 13, 2007 at 10:21:00PM +0200, Ingo Molnar wrote: > [announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS] (...) >CFS's design is quite radical: it does not use runqueues, it uses a >time-ordered rbtree to build a 'timeline' of future task

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-13 Thread Ingo Molnar
* Daniel Walker <[EMAIL PROTECTED]> wrote: > I'm not in love with the current or other schedulers, so I'm > indifferent to this change. However, I was reviewing your release > notes and the patch and found myself wonder what the logarithmic > complexity of this new scheduler is .. I assumed

Re: [PATCH] i386: For debugging, make the initial page table setup less forgiving.

2007-04-13 Thread Jeremy Fitzhardinge
Zachary Amsden wrote: > H. Peter Anvin wrote: >> +/* >> + * End condition: we must map up to and including >> + * INIT_MAP_BEYOND_END bytes beyond the end of our >> + * own page tables; 0x1000 is the size of the page >> + * table were about to write, and +0x007 is the >> +

Re: [PATCH] i386: For debugging, make the initial page table setup less forgiving.

2007-04-13 Thread H. Peter Anvin
Zachary Amsden wrote: H. Peter Anvin wrote: +/* + * End condition: we must map up to and including + * INIT_MAP_BEYOND_END bytes beyond the end of our + * own page tables; 0x1000 is the size of the page + * table were about to write, and +0x007 is the + * attribute bits.

Re: [PATCH] i386: For debugging, make the initial page table setup less forgiving.

2007-04-13 Thread Zachary Amsden
H. Peter Anvin wrote: + /* +* End condition: we must map up to and including +* INIT_MAP_BEYOND_END bytes beyond the end of our +* own page tables; 0x1000 is the size of the page +* table were about to write, and +0x007 is the +* attribute bits. +

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-13 Thread William Lee Irwin III
On Fri, Apr 13, 2007 at 10:21:00PM +0200, Ingo Molnar wrote: > [announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS] > i'm pleased to announce the first release of the "Modular Scheduler Core > and Completely Fair Scheduler [CFS]" patchset: >

Re: Linux 2.6.20.7

2007-04-13 Thread Chuck Ebbert
Greg KH wrote: >>> >>> The updated 2.6.20.y git tree can be found at: >>> >>> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.20.y.git >>> and can be browsed at the normal kernel.org git web browser: >>> www.kernel.org/git/ >> How long should that take to show up on

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-13 Thread Daniel Walker
On Fri, 2007-04-13 at 22:21 +0200, Ingo Molnar wrote: > [announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS] > > i'm pleased to announce the first release of the "Modular Scheduler Core > and Completely Fair Scheduler [CFS]" patchset: > >

Re: [NFS] Merge plans for RPC/RDMA? (Was: Re: [PATCH 000 of 14] knfsd: Preparation for IPv6 support in NFS server.)

2007-04-13 Thread Trond Myklebust
On Fri, 2007-04-13 at 16:47 -0400, Mike Snitzer wrote: > I must be missing something because I don't see _any_ trace of the > core RPC over RDMA support (xprtrdma et al), your RPC Transport > Switch, or any of the other supporting changes in mainline. Could > you, or others, please clarify the

Re: [RFD] swsusp problem: Drivers allocate much memory during suspend (was: Re: 2.6.21-rc5: swsusp: Not enough free memory)

2007-04-13 Thread Pavel Machek
Hi! > > > Well, it looks like someone allocated about 6000 pages after we had freed > > > enough memory for suspending. > > > > We have a tunable allowance in Suspend2 for this, because fglrx > > allocates a lot of pages in its suspend routine if DRI is enabled. I > > think some other drivers do

Re: [PATCH 2/3] make kthread_create() more scalable

2007-04-13 Thread Andrew Morton
On Fri, 13 Apr 2007 15:51:29 -0600 [EMAIL PROTECTED] (Eric W. Biederman) wrote: > Andrew Morton <[EMAIL PROTECTED]> writes: > > > On Fri, 13 Apr 2007 17:02:01 +0400 > > Oleg Nesterov <[EMAIL PROTECTED]> wrote: > > > >> If kernel_thread(kthread) succeeds, kthread() can not fail on its path to >

Re: Linux 2.6.20.7

2007-04-13 Thread Greg KH
On Fri, Apr 13, 2007 at 05:54:33PM -0400, Chuck Ebbert wrote: > Greg KH wrote: > > We (the -stable team) are announcing the release of the 2.6.20.7 kernel. > > This release has a number of bugfixes and any user of the 2.6.20 kernel > > series is encouraged to upgrade. > > > > The diffstat and

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-13 Thread Michal Piotrowski
Ingo Molnar napisaƂ(a): > [announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS] > > i'm pleased to announce the first release of the "Modular Scheduler Core > and Completely Fair Scheduler [CFS]" patchset: > >

Re: Linux 2.6.20.7

2007-04-13 Thread Chuck Ebbert
Greg KH wrote: > We (the -stable team) are announcing the release of the 2.6.20.7 kernel. > This release has a number of bugfixes and any user of the 2.6.20 kernel > series is encouraged to upgrade. > > The diffstat and short summary of the fixes are below. > > I'll also be replying to this

RE: [PATCH] x86_64/acpi: make kernel to be compiled when CONFIG_ACPI_NUMA is set and power management with acpi is not enabled

2007-04-13 Thread Lu, Yinghai
-Original Message- From: Len Brown [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 10, 2007 1:33 AM >Let me know if you have one that doesn't. Sorry, please check this one. YH acpi_power_system_1.config Description: acpi_power_system_1.config

Re: [PATCH 2/3] make kthread_create() more scalable

2007-04-13 Thread Eric W. Biederman
Andrew Morton <[EMAIL PROTECTED]> writes: > On Fri, 13 Apr 2007 17:02:01 +0400 > Oleg Nesterov <[EMAIL PROTECTED]> wrote: > >> If kernel_thread(kthread) succeeds, kthread() can not fail on its path to >> complete(>started) + schedule(). After that it can't be woken because >> nobody can see the

[PATCH] i386: For debugging, make the initial page table setup less forgiving.

2007-04-13 Thread H. Peter Anvin
We just discovered that the accounting for initial memory usage (head.S: INIT_MAP_BEYOND_END) has been way, way off for a very long time. This patch makes the initial page table not round up to the nearest 4M boundary, but instead stop dead (and zero the rest of the final page table) as soon as

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-13 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > and even adding all the scheduling modules, the total size impact is > relatively small: > > 18 files changed, 1454 insertions(+), 1133 deletions(-) > > most of the increase is due to extensive comments. The kernel size > impact is in fact a small

Re: [patch 0/8] unprivileged mount syscall

2007-04-13 Thread Serge E. Hallyn
Quoting Miklos Szeredi ([EMAIL PROTECTED]): > > > Thinking a bit more about this, I'm quite sure most users wouldn't > > > even want private namespaces. It would be enough to > > > > > > chroot /share/$USER > > > > > > and be done with it. > > > > > > Private namespaces are only good for

Re: [RFD] swsusp problem: Drivers allocate much memory during suspend

2007-04-13 Thread Chuck Ebbert
Rafael J. Wysocki wrote: > > IMO to really fix the problem, we should let the drivers that need much memory > for suspending allocate it _before_ the memory shrinker is called. For this > purpose we can use notifiers that will be called before we start the shrinking > of memory. Namely, if a

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-13 Thread Ingo Molnar
* William Lee Irwin III <[EMAIL PROTECTED]> wrote: > What I originally did did so for a good reason, which was that it was > intended to support far more radical reorganizations, for instance, > things that changed the per-cpu runqueue affairs for gang scheduling. > I wrote a top-level driver

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-13 Thread hui
On Fri, Apr 13, 2007 at 02:21:10PM -0700, William Lee Irwin III wrote: > On Fri, Apr 13, 2007 at 10:55:45PM +0200, Ingo Molnar wrote: > > Yeah. Note that there are some subtle but crutial differences between > > PlugSched (which Con used, and which i opposed in the past) and this > > approach. >

Re: [PATCH] change kernel threads to ignore signals instead of blocking them

2007-04-13 Thread Eric W. Biederman
Andrew Morton <[EMAIL PROTECTED]> writes: > jffs2 actually wants its head examined. W. T. F. does it think it's > doing in there? Good question, especially with respect to SIGHUP. It is on my short list of very annoying kernel threads... NFS and a few kernel threads others currently need a

Re: [PATCH 1/1] cciss: include scsi/scsi.h unconditionally

2007-04-13 Thread Andrew Morton
On Fri, 13 Apr 2007 09:23:12 -0500 Stephen Cameron <[EMAIL PROTECTED]> wrote: > Make cciss unconditionally include scsi/scsi.h For what reason? > > From: Stephen M. Cameron <[EMAIL PROTECTED]> > Signed-off-by: Stephen M. Cameron <[EMAIL PROTECTED]> > > --- > > drivers/block/cciss.c |

Re: [RFD] swsusp problem: Drivers allocate much memory during suspend (was: Re: 2.6.21-rc5: swsusp: Not enough free memory)

2007-04-13 Thread Nigel Cunningham
Hi. On Fri, 2007-04-13 at 22:41 +0200, Rafael J. Wysocki wrote: > On Friday, 13 April 2007 14:21, Nigel Cunningham wrote: > > Hi. > > > > On Fri, 2007-04-13 at 14:00 +0200, Rafael J. Wysocki wrote: > > > > > > > > Shrinking memory... Pages needed: 128103 normal, 0 highmem > > > > Pages needed:

Re: [PATCH 2/3] make kthread_create() more scalable

2007-04-13 Thread Andrew Morton
On Fri, 13 Apr 2007 17:02:01 +0400 Oleg Nesterov <[EMAIL PROTECTED]> wrote: > If kernel_thread(kthread) succeeds, kthread() can not fail on its path to > complete(>started) + schedule(). After that it can't be woken because > nobody can see the new task yet. This means: > > - we don't need

Re: Linux 2.6.21-rc6

2007-04-13 Thread Tobias Diedrich
Linus Torvalds wrote: > We should be getting close to a 2.6.21 release, so please update any > regression reports you've done, For me, suspend to disk works only once (has been the case for all .21-rcs IIRC, but I didn't get around to report it so far). There are some threads about an issue

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-13 Thread William Lee Irwin III
On Fri, Apr 13, 2007 at 10:55:45PM +0200, Ingo Molnar wrote: > Yeah. Note that there are some subtle but crutial differences between > PlugSched (which Con used, and which i opposed in the past) and this > approach. > PlugSched cuts the interfaces at a high level in a monolithic way and >

Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups

2007-04-13 Thread Frank Ch. Eigler
Christoph Hellwig <[EMAIL PROTECTED]> writes: > [...] > > merge it in the first place? > > It's very nice to poke deep into the kernel for development purposes. > For example for the spu scheduler work I'm doing currently I have > a module using kprobes (note the systemtap crap because it's

Re: Loud "pop" coming from hard drive on reboot

2007-04-13 Thread Chuck Ebbert
Bartlomiej Zolnierkiewicz wrote: >> >> There is no noise and the retract count does not increase when I boot >> and then shutdown/power off the other OS. > > What about shutdown/reboot? Very loud noise and the count goes up. - To unsubscribe from this list: send the line "unsubscribe

Re: Crash while mapping memory in pagetable_init() (Was: Re: .config)

2007-04-13 Thread H. Peter Anvin
Jeremy Fitzhardinge wrote: H. Peter Anvin wrote: Even with PSE? Perhaps not. However, the main reason I wanted it done that way is to avoid cargo cult programming; this makes it much clearer where the numbers actually come from. Well, how about this then? I like. Acked-by: H. Peter

Re: Crash while mapping memory in pagetable_init() (Was: Re: .config)

2007-04-13 Thread Zachary Amsden
H. Peter Anvin wrote: #ifdef CONFIG_X86_PAE PAGE_TABLE_SIZE = (2048+4)*4096 #else PAGE_TABLE_SIZE = (1024+1)*4096 #endif BOOTMEM_SIZE = 128*1024 /* ACPI and SMP trampoline allocate bootmem pages before paging_init */ #ifdef CONFIG_SMP SMP_BOOTMEM_EARLY= 1 #else SMP_BOOTMEM_EARLY= 0 #endif

Re: make clean for DocBook

2007-04-13 Thread Sam Ravnborg
On Fri, Apr 13, 2007 at 02:03:37PM -0700, Randy Dunlap wrote: > On Fri, 13 Apr 2007 21:32:50 +0200 Sam Ravnborg wrote: > > > > > > > > > > > > > And we will visit DocBook with mrproper - but not clean. > > > > I have no stron opinion when to delete generated files in DocBook. > > > > > > OK,

  1   2   3   4   5   6   7   >