Re: [OT] volatile keyword

2005-08-25 Thread Christopher Friesen
Vadim Lobanov wrote: I figured it was something along these lines. In that case, is the following code (from kernel/posix-timers.c) really doing the right thing? do expires = timr-it_timer.expires; while ((volatile long) (timr-it_timer.expires) != expires); Seems it's casting the value,

Re: [RFC] RT-patch update to remove the global pi_lock

2005-08-25 Thread Daniel Walker
On Thu, 2005-08-25 at 16:09 -0400, Steven Rostedt wrote: A word of caution (aka. disclaimer). This is still new. I still expect there are some cases in the code that was missed and can cause a dead lock or other bad side effect. Hopefully, we can iron these all out. Also, I noticed that

Re: 2.6.13-rc7-rt1

2005-08-25 Thread Daniel Walker
On Thu, 2005-08-25 at 19:45 +0200, Ingo Molnar wrote: * Daniel Walker [EMAIL PROTECTED] wrote: Does anyone have x86_64 working in PREEMPT_RT ? builds fine, but doesnt seem to boot at the moment. Havent investigated yet. I tested an em64t , and it hung during boot .. But this patched

[PATCH] drivers/hwmon/*: kfree() correct pointers

2005-08-25 Thread Alexey Dobriyan
The adm9240 driver, in adm9240_detect(), allocates a structure. The error path attempts to kfree() -client field of it (second one), resulting in an oops (or slab corruption) if the hardware is not present. -client field in adm1026, adm1031, smsc47b397 and smsc47m1 is the first in ${HWMON}_data

Re: Need better is_better_time_interpolator() algorithm

2005-08-25 Thread linux
(frequency) * (1/drift) * (1/latency) * (1/(jitter_factor * cpus)) (Note that 1/cpus, being a constant for all evaluations of this expression, has no effect on the final ranking.) The usual way it's done is with some fiddle factors: quality_a^a * quality_b^b * quality_c^c Or, equivalently: a

Re: Memory problem w/ recent kernels on 2x Opteron with 12 GB RAM

2005-08-25 Thread Rafael J. Wysocki
On Wednesday, 24 of August 2005 23:21, Andi Kleen wrote: On Wednesday 24 August 2005 23:08, Rafael J. Wysocki wrote: Hi, I'm currently seeing a memory problem on a NUMA-enabled dual-Opteron 250 box with the 2.6.12.5 and 2.6.13-rc* (up to 7) kernels. Namely, the box has 12 GB of RAM, 8

Re: 2.6.13-rc6: halt instead of reboot

2005-08-25 Thread Meelis Roos
I'm searching my way through changesests. rc2 was OK, rc3 was broken. 60a762b6a6dec17cc4339b60154902fd04c2f9f2 was OK too - the commit before ACPI merge on 2005-07-12 Currently compiling 5028770a42e7bc4d15791a44c28f0ad539323807 - acpi merge commit. Will see tomorroy whether it works. --

Re: 2.6.13-rc7-rt1

2005-08-25 Thread Daniel Walker
Wakeup race checking shouldn't trigger when interrupts are off. Here's a fix. Daniel Index: linux-2.6.12/kernel/rt.c === --- linux-2.6.12.orig/kernel/rt.c 2005-08-25 21:33:43.0 + +++ linux-2.6.12/kernel/rt.c

Asus a8v-e Deluxe lockups

2005-08-25 Thread Lawrence Walton
Hi! I just switched out motherboards and CPUs From a Asus K8v SE Deluxe to a to a Asus A8V-E Deluxe, and a 754 pin 3200+ to a 934 pin 3200+. I am now having some fairly serious instability issues. The system locks up completely with no oops. After disabling CONFIGHIMEM and

Re: 2.6.13-rc7-rt1

2005-08-25 Thread Ingo Molnar
* Daniel Walker [EMAIL PROTECTED] wrote: @@ -257,6 +257,7 @@ void check_preempt_wakeup(struct task_st * hangs and race conditions. */ if (!preempt_count() + !__raw_irqs_disabled() p-prio current-prio rt_task(p)

[PATCH] bogus iounmap() in emac

2005-08-25 Thread Al Viro
Dumb typo: iounmap(local_pointer_variable). Signed-off-by: Al Viro [EMAIL PROTECTED] diff -urN RC13-rc7-m68k-adb.patch/drivers/net/ibm_emac/ibm_emac_core.c RC13-rc7-emac-iounmap/drivers/net/ibm_emac/ibm_emac_core.c --- RC13-rc7-m68k-adb.patch/drivers/net/ibm_emac/ibm_emac_core.c

[PATCH] bogus function type in qdio

2005-08-25 Thread Al Viro
In qdio_get_micros() volatile in return type is plain noise (even with old gccisms it would make no sense - noreturn function returning __u64 is a bit odd ;-) Signed-off-by: Al Viro [EMAIL PROTECTED] diff -urN RC13-rc7-emac-iounmap/drivers/s390/cio/qdio.c

Re: [PATCH] drivers/hwmon/*: kfree() correct pointers

2005-08-25 Thread Jean Delvare
Hi Alexey, The adm9240 driver, in adm9240_detect(), allocates a structure. The error path attempts to kfree() -client field of it (second one), resulting in an oops (or slab corruption) if the hardware is not present. -client field in adm1026, adm1031, smsc47b397 and smsc47m1 is the

[PATCH 2/7] spufs: switchable spu contexts

2005-08-25 Thread Arnd Bergmann
Add some infrastructure for saving and restoring the context of an SPE. This patch creates a new structure that can hold the whole state of a physical SPE in memory. It also contains code that avoids races during the context switch and the binary code that is loaded to the SPU in order to access

[PATCH 0/7] Cell SPU file system, snapshot 4

2005-08-25 Thread Arnd Bergmann
Thankfully, there is now documentation available to the world about the Cell architecture (http://cell.scei.co.jp/e_download.html), so I am now able to disclose more of our work on the SPU file system. This is a rather big update compared to the previous version, as it contains work from Mark

[PATCH 7/7] spufs: Add a register file for the debugger

2005-08-25 Thread Arnd Bergmann
In order to debug spu threads, we need access to the registers of the running SPU. Unfortunately, this is only possible when the SPU context is saved to memory. This patch adds operations that enable accessing an SPU in either runnable or saved state. We use an RW semaphore to protect the state

[PATCH 4/7] spufs: spu-side context switch code

2005-08-25 Thread Arnd Bergmann
Add the source code that is used to generate spu_save_dump.h and spu_restore_dump.h. Since a full spu tool chain is needed to generate these files, the default remains to use the shipped versions in order to keep the number of tools for building the kernel down. From: Mark Nutter: [EMAIL

Re: PowerOP Take 2 0/3 Intro

2005-08-25 Thread Todd Poynor
Jordan Crouse wrote: Todd - do you have a ChangeLog from Take 1? :) Right, here's what's changed in this version... The generic structure of an operating point as an array of integers is dropped. A struct powerop_point is now an entirely backend-defined struct of arbitrary fields. There

[PATCH 6/7] spufs: allow O_ASYNC on mailbox files

2005-08-25 Thread Arnd Bergmann
This patch makes it possible to receive user-defined signals when the spufs ibox and wbox files are accessed from an SPE, so data can be read/written from/to them again. Unfortunately, this kind of messes with the layering of the high- and low-level parts of the code, so I'm currently thinking

Re: 2.6.13-rc7-rt1

2005-08-25 Thread Daniel Walker
On Thu, 2005-08-25 at 23:54 +0200, Ingo Molnar wrote: * Daniel Walker [EMAIL PROTECTED] wrote: @@ -257,6 +257,7 @@ void check_preempt_wakeup(struct task_st * hangs and race conditions. */ if (!preempt_count() + !__raw_irqs_disabled() p-prio

[PATCH 5/7] spufs: Use a system call instead of ioctl

2005-08-25 Thread Arnd Bergmann
This patch makes it possible to use a system call instead of an ioctl to run spu code on spufs. This is only provided for reference, the current patch is unlikely to be used in future versions. We planning to move to a model where creation/destruction of SPU threads as well as entering the

[PATCH] late spinlock initialization in ieee1394/ohci

2005-08-25 Thread Al Viro
spinlock used in irq handler should be initialized before registering irq, even if we know that our device has interrupts disabled; handler is registered shared and taking spinlock is done unconditionally. As it is, we can and do get oopsen on boot for some configuration, depending on irq routing

Re: Linux-2.6.13-rc7

2005-08-25 Thread Richard Henderson
On Thu, Aug 25, 2005 at 08:07:55PM +0100, Al Viro wrote: IMO that's a question to rth: why do we really need to block always_inline on alpha? Because I use extern inline in the proper way. That is, I have both inline and out-of-line versions of some routines. These routines have their address

Re: 2.6.13-rc7-rt1

2005-08-25 Thread Daniel Walker
Nevermind , the original patch looks fine. Daniel On Thu, 2005-08-25 at 23:54 +0200, Ingo Molnar wrote: * Daniel Walker [EMAIL PROTECTED] wrote: @@ -257,6 +257,7 @@ void check_preempt_wakeup(struct task_st * hangs and race conditions. */ if (!preempt_count() +

Re: Linux-2.6.13-rc7

2005-08-25 Thread Al Viro
On Thu, Aug 25, 2005 at 03:16:49PM -0700, Richard Henderson wrote: On Thu, Aug 25, 2005 at 08:07:55PM +0100, Al Viro wrote: IMO that's a question to rth: why do we really need to block always_inline on alpha? Because I use extern inline in the proper way. That is, I have both inline and

Re: Need better is_better_time_interpolator() algorithm

2005-08-25 Thread Alex Williamson
On Thu, 2005-08-25 at 17:40 -0400, [EMAIL PROTECTED] wrote: (frequency) * (1/drift) * (1/latency) * (1/(jitter_factor * cpus)) (Note that 1/cpus, being a constant for all evaluations of this expression, has no effect on the final ranking.) I was sloppy expressing how the jitter factors

Re: Inotify problem [was Re: 2.6.13-rc6-mm1]

2005-08-25 Thread George Anzinger
John McCutchan wrote: On Thu, 2005-08-25 at 11:54 -0700, George Anzinger wrote: Robert Love wrote: On Thu, 2005-08-25 at 09:33 -0400, John McCutchan wrote: On Thu, 2005-08-25 at 22:07 +1200, Reuben Farrelly wrote: ~ I think the best thing is to take idr into user space and emulate the

Re: [patch 8/8] PCI Error Recovery: PPC64 core recovery routines

2005-08-25 Thread Paul Mackerras
Benjamin Herrenschmidt writes: Ok, so what is the problem then ? Why do we have to wait at all ? Why not just unplug/replug right away ? We'd have to be absolutely certain that the driver could not possibly take another interrupt or try to access the device on behalf of the old instance of the

Re: Inotify problem [was Re: 2.6.13-rc6-mm1]

2005-08-25 Thread Johannes Berg
On Thu, 2005-08-25 at 16:10 -0700, George Anzinger wrote: That IS strange. 1024 is on a level boundry, but then next level is 2**15, not 2**11. I will take a look. Remember that the level is never filled, so maybe the smallest level just gets an offset or something? Well, you're the expert

Re: Linux-2.6.13-rc7

2005-08-25 Thread Antonino A. Daplas
Sorry. Here's the start of the thread. Tony On Tue, 23 Aug 2005 22:08:13 -0700 (PDT) Linus Torvalds [EMAIL PROTECTED] wrote: Antonino A. Daplas: intelfb/fbdev: Save info-flags in a local variable Sylvain Meyer: intelfb: Do not ioremap entire graphics aperture One of these changes

Re: 2.6.13-rc7-rt1

2005-08-25 Thread Daniel Walker
Devastating latency on a 3Ghz xeon .. Maybe the raw_spinlock in the timer base is creating a unbounded latency? Daniel ( softirq-timer/1-13 |#1): new 66088 us maximum-latency critical section. = started at timestamp 1857957769: __down_mutex+0x5f/0x295 = ended at timestamp 1858023857:

Re: [patch 8/8] PCI Error Recovery: PPC64 core recovery routines

2005-08-25 Thread Benjamin Herrenschmidt
On Fri, 2005-08-26 at 09:18 +1000, Paul Mackerras wrote: Benjamin Herrenschmidt writes: Ok, so what is the problem then ? Why do we have to wait at all ? Why not just unplug/replug right away ? We'd have to be absolutely certain that the driver could not possibly take another interrupt

Re: [PATCH] drivers/hwmon/*: kfree() correct pointers

2005-08-25 Thread Jonathan Corbet
Already fixed in Greg's i2c tree and -mm for quite some time now... So it is. The comment says, however, that the existing code works somewhat by accident. In the case of the 9240 driver, however, the existing code demonstrably does not work - it oopsed on me. The patch in Greg's tree looks

Re: A Great Idea (tm) about reimplementing NLS.

2005-08-25 Thread Daniel B.
Alan Cox wrote: On Sul, 2005-06-19 at 18:55, Pavel Machek wrote: ... If we are serious about utf-8 support in ext3, we should return -EINVAL if someone passes non-canonical utf-8 string. That would ironically not be standards compliant Which standards? The standards I've read

Re: [PATCH 2/2] pipe: do not return POLLERR for fifo_poll

2005-08-25 Thread Andrew Morton
Pekka Enberg [EMAIL PROTECTED] wrote: This patch changes fifo_poll not to return POLLERR to take care of a FIXME in fs/pipe.c stating that Most unices do not set POLLERR for fifos. The comment has been there since 2.3.99-pre3 so either apply this patch or alternatively, I can send a new one

Re: 2.6.13-rc7-rt1

2005-08-25 Thread Thomas Gleixner
On Thu, 2005-08-25 at 16:29 -0700, Daniel Walker wrote: Devastating latency on a 3Ghz xeon .. Maybe the raw_spinlock in the timer base is creating a unbounded latency? The lock is only held for really short periods. The only possible long period would be migration of timers from a dead hotplug

Re: [PATCH] Ext3 online resizing locking issue

2005-08-25 Thread Glauber de Oliveira Costa
NAK, this is wrong: + lock_super(sb); err = ext3_group_extend(sb, EXT3_SB(sb)-s_es, n_blocks_count); + unlock_super(sb); This basically reverses the order of locking between lock_super() and journal_start() (the latter acts like a lock because it can

RE: libata-dev queue updated

2005-08-25 Thread Tomita, Haruo
On Thursday, August 25, 2005 8:02 PM (JST), Adrian Bunk wrote: 2.6.13- rc7-libata1.patch.bz2 was used. A combined mode of ata_piix seems not to work. Is the following patches correct? diff -urN linux-2.6.13-rc7.orig/drivers/scsi/Kconfig linux-2.6.13-rc7/drivers/scsi/Kconfig ---

Re: libata-dev queue updated

2005-08-25 Thread Adrian Bunk
On Fri, Aug 26, 2005 at 09:04:37AM +0900, Tomita, Haruo wrote: On Thursday, August 25, 2005 8:02 PM (JST), Adrian Bunk wrote: 2.6.13- rc7-libata1.patch.bz2 was used. A combined mode of ata_piix seems not to work. Is the following patches correct? diff -urN

Re: 2.6.12 Performance problems

2005-08-25 Thread Danial Thom
--- Ben Greear [EMAIL PROTECTED] wrote: Danial Thom wrote: The tests I reported where on UP systems. Perhaps the default settings are better for this in 2.4, since that is what I used, and you used your hacks for both. My modifications to the kernel are unlikely to speed

[PATCH 2.6.13-rc7] dcdbas: add Dell Systems Management Base Driver with sysfs support

2005-08-25 Thread Doug Warzecha
This patch adds the Dell Systems Management Base Driver with sysfs support. This driver has been tested with Dell OpenManage. Signed-off-by: Doug Warzecha [EMAIL PROTECTED] --- diff -uprN linux-2.6.13-rc7.orig/Documentation/dcdbas.txt linux-2.6.13-rc7/Documentation/dcdbas.txt ---

Re: [PATCH 2.6.13-rc6] cpu_exclusive sched domains build fix

2005-08-25 Thread Dinakar Guniguntala
On Wed, Aug 24, 2005 at 01:31:07PM -0700, Paul Jackson wrote: == The safest, mind numbingly simple thing to do that would avoid the oops that Hawkes reported is to simply not have the cpuset code call the code to setup a dynamic sched domain. This is choice (2) above, and could be

Re: [PATCH 2.6.13-rc6] cpu_exclusive sched domains build fix

2005-08-25 Thread Paul Jackson
Dinakar wrote: I'll ack this for now until I fix the problems that I am seeing on ppc64 Thanks, Dinakar. Linus - do *NOT* actually apply the literal patch that Dinakar ack'd. 1) It's logic is backwards - arrgh. 2) It doesn't undo the other attempt to partially disable this. 3) It's not a

[PATCH 2.6.13-rc7 1/2] undo partial cpu_exclusive sched domain disabling

2005-08-25 Thread Paul Jackson
The partial disabling of Dinakar's new facility to allow cpu_exclusive cpusets to define dynamic sched domains doesn't go far enough. At the suggestion of Nick Piggin and Dinakar, let us instead totally disable this facility for 2.6.13, in order to avoid problems first reported by John Hawkes

[PATCH 2.6.13-rc7 2/2] completely disable cpu_exclusive sched domain

2005-08-25 Thread Paul Jackson
At the suggestion of Nick Piggin and Dinakar, totally disable the facility to allow cpu_exclusive cpusets to define dynamic sched domains in Linux 2.6.13, in order to avoid problems first reported by John Hawkes (corrupt sched data structures and kernel oops). This has been built for ppc64, i386,

2.6: how do I this in sysfs?

2005-08-25 Thread Miller, Mike (OS Dev)
I've been asked to pass this on for some kind of clarification. We have management apps requiring specific information from the Smart Array controller. We're trying to use sysfs to accomplish the task. An example of what we need to do is below. I'm sure some of you will recognize this as CSMI.

Re: 2.6: how do I this in sysfs?

2005-08-25 Thread Andrew Patterson
On Thu, 2005-08-25 at 13:52 -0500, Miller, Mike (OS Dev) wrote: I've been asked to pass this on for some kind of clarification. We have management apps requiring specific information from the Smart Array controller. We're trying to use sysfs to accomplish the task. An example of what we need

Re: 2.6: how do I this in sysfs?

2005-08-25 Thread Christoph Hellwig
typedef struct _CSMI_SAS_IDENTIFY { __u8 bDeviceType; __u8 bRestricted; __u8 bInitiatorPortProtocol; __u8 bTargetPortProtocol; __u8 bRestricted2[8]; __u8 bSASAddress[8]; __u8 bPhyIdentifier; __u8 bSignalClass; __u8 bReserved[6]; }

[PATCH] IB: fix use-after-free in user verbs cleanup

2005-08-25 Thread Roland Dreier
Hi Andrew, I'd like to get this into 2.6.13 if possible. If it's too late, it's not the end of the world -- we can wait for 2.6.13.1. But it's a tiny, obvious patch that fixes a crash that at least one person actually hit running a normal application:

Re: [PATCH] removes filp_count_lock and changes nr_files type to atomic_t

2005-08-25 Thread Nick Piggin
Eric Dumazet wrote: Furthermore, a lazy sync would mean to change sysctl proc_handler for file-nr to perform a synchronize before calling proc_dointvec, this would be really obscure. I was only using your terminology (ie. the 'lazy' synch after the atomic is updated). Actually, a better

Re: 2.6.13-rc7-rt1

2005-08-25 Thread Daniel Walker
On Fri, 2005-08-26 at 02:22 +0200, Thomas Gleixner wrote: On Thu, 2005-08-25 at 16:29 -0700, Daniel Walker wrote: Devastating latency on a 3Ghz xeon .. Maybe the raw_spinlock in the timer base is creating a unbounded latency? The lock is only held for really short periods. The only

Re: process creation time increases linearly with shmem

2005-08-25 Thread Nick Piggin
Rik van Riel wrote: On Thu, 25 Aug 2005, Nick Piggin wrote: fork() can be changed so as not to set up page tables for MAP_SHARED mappings. I think that has other tradeoffs like initially causing several unavoidable faults reading libraries and program text. Actually, libraries and program

Question regardings inodes and anon_hash_chain in 2.4/2.6

2005-08-25 Thread Gerard Snitselaar
I know that anon_hash_chain has gone away in 2.6 because the inodes for special filesystems like sockfs, pipefs, etc are now associated with a superblock. Should these inodes have i_hash linked into the inode hashtable then? It appears in 2.4 now they are associated with superblocks as well. I

Re: cache regresions with 2.6.1x ?

2005-08-25 Thread Andrew Morton
jerome lacoste [EMAIL PROTECTED] wrote: On 8/23/05, Andrew Morton [EMAIL PROTECTED] wrote: jerome lacoste [EMAIL PROTECTED] wrote: I am on a Dell Inspiron 8100 laptop with 512 M and 1G disk cache. I usually have at least 4 big applications running simultaneously: a Java IDE,

Re: [PATCH 2.6.13-rc7 2/2] completely disable cpu_exclusive sched domain

2005-08-25 Thread Nick Piggin
Paul Jackson wrote: At the suggestion of Nick Piggin and Dinakar, totally disable the facility to allow cpu_exclusive cpusets to define dynamic sched domains in Linux 2.6.13, in order to avoid problems first reported by John Hawkes (corrupt sched data structures and kernel oops). This has been

Initramfs and TMPFS!

2005-08-25 Thread dwilson24
This is in reference to Chris Wedgwood's patch. Wouldn't it be better to put overmount_rootfs in initramfs.c and call it only if there's a initramfs? printk(KERN_INFO checking if image is initramfs...); err = unpack_to_rootfs((char *)initrd_start,

Re: process creation time increases linearly with shmem

2005-08-25 Thread Rik van Riel
On Fri, 26 Aug 2005, Nick Piggin wrote: Skipping MAP_SHARED in fork() sounds like a good idea to me... Indeed. Linus, can you remember why we haven't done this before? Where this looks something like the patch below, shamelessly merging Nick's and Andy's patches and adding the

Re: Redundant up operation in stop_machine.c ?(2.6.12)

2005-08-25 Thread Rusty Russell
On Thu, 2005-08-25 at 21:59 +0800, Yingchao Zhou wrote: In stop_machine function, there are codes: if (ret 0) { stopmachine_set_state(STOPMACHINE_EXIT); up(stopmachine_mutex); return ret; } And in __stop_machine_run ,there are:

Re: [RFC] RT-patch update to remove the global pi_lock

2005-08-25 Thread Steven Rostedt
On Thu, 2005-08-25 at 16:09 -0400, Steven Rostedt wrote: A word of caution (aka. disclaimer). This is still new. I still expect there are some cases in the code that was missed and can cause a dead lock or other bad side effect. Hopefully, we can iron these all out. Also, I noticed that

Memory-Mapping with LFS

2005-08-25 Thread Andreas Baer
Who is the memory mapping expert? :) What are the current file size limits for memory mapping via glibc's mmap() function on linux: - for a native 32-Bit System not using LFS? - for a native 32-Bit System using LFS? - for a native 64-Bit System? (linux-kernel 2.6, of course) It would be nice

[SOLVED] Re: Re: Problem with kernel image in a Prep Boot on PowerPC

2005-08-25 Thread Márcio Oliveira
John W. Linville wrote: On Wed, Aug 24, 2005 at 02:52:44PM -0300, Márcio Oliveira wrote: The command rdev can change the default root partition on x86 linux systems with pre-built kernels. Of course...I meant I don't know of anything like that for PPC. About the CONFIG_CMDLINE

[PATCH] [CIFS] Fix for oops in fs/locks.c in 2.6.13-rc running connectathon byte range lock test over cifs

2005-08-25 Thread Steve French
The recent change to locks_remove_flock code in fs/locks.c changes how byte range locks are removed from closing files, which shows up a bug in cifs. The assumption in the cifs code was that the close call sent to the server would remove any pending locks on the server on this file, but that

Re: 2.6.12 Performance problems

2005-08-25 Thread Danial Thom
--- Ben Greear [EMAIL PROTECTED] wrote: Danial Thom wrote: --- Ben Greear [EMAIL PROTECTED] wrote: Danial Thom wrote: I think the concensus is that 2.6 has made trade offs that lower raw throughput, which is what a networking device needs. So as a router or

[PATCH 2.6.13-rc7 1/2] New Syscall: get rlimits of any process (reworked)

2005-08-25 Thread Wieland Gmeiner
Hi all! First I would like to thank everyone who commented on my code. I understand that this won't go into mainline but nevertheless I would like to work on it further as it is a great learning experience to me. I incorporated the changes suggested to me by this list (at least I hope so), any

[PATCH 2.6.13-rc7 2/2] New Syscall: set rlimits of any process (reworked)

2005-08-25 Thread Wieland Gmeiner
This is the second of two patches, it implements the setprlimit() syscall. Implementation: This patch provides a new syscall setprlimit() for writing a given process resource limits for i386. Its implementation follows closely the setrlimit syscall. It is given a pid as an additional argument. If

Re: process creation time increases linearly with shmem

2005-08-25 Thread Linus Torvalds
On Fri, 26 Aug 2005, Nick Piggin wrote: Skipping MAP_SHARED in fork() sounds like a good idea to me... Indeed. Linus, can you remember why we haven't done this before? Hmm. Historical reasons. Also, if the child ends up needing it, it will now have to fault them in. That said, I

Re: [patch] Real-Time Preemption, -RT-2.6.13-rc4-V0.7.52-01

2005-08-25 Thread Steven Rostedt
On Fri, 2005-08-12 at 14:58 +0200, Ingo Molnar wrote: FYI, in -53-05 i've added a bh-b_update_lock, which enabled me to get rid of the bitlock ugliness in fs/buffer.c. Maybe it could be used to have a better fix for the jbd bitlock thing too? Well, I just spent several hours trying to use

Re: 2.6.13-rc6: halt instead of reboot

2005-08-25 Thread Meelis Roos
When skimming through the code I thought that reboot_thru_bios was the default. My bad. I retested it and it's reboot=w was the one that works. If you can't track this down we can at least dig up your board DMI ID and put it in the list of systems that need to go through the BIOS to reboot.

Re: PATCH: ide: ide-disk freeze support for hdaps

2005-08-25 Thread Yani Ioannou
Hi Bartlomiej, Thank you for your feedback :), as this is my first dabble in ide/block drivers I certainly need it! On 8/25/05, Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] wrote: +config IDEDISK_FREEZE Is there any advantage of having it as a config option? The main reasons I added the

Re: 2.6.13-rc6: halt instead of reboot

2005-08-25 Thread Eric W. Biederman
Meelis Roos [EMAIL PROTECTED] writes: When skimming through the code I thought that reboot_thru_bios was the default. My bad. I retested it and it's reboot=w was the one that works. If you can't track this down we can at least dig up your board DMI ID and put it in the list of systems that

<    1   2   3   4   5   6