- 11 Feb, 2003 16 commits
-
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/sparc-2.5
-
Linus Torvalds authored
Not that it makes any difference on x86, but there may be architectures that actually need it.
-
Linus Torvalds authored
Add a name argument to daemonize() (va_arg) to avoid all the kernel threads having to duplicate the name setting over and over again. Make daemonize() disable all signals by default, and add a "allow_signal()" function to let daemons say they explicitly want to support a signal. Make flush_signal() take the signal lock, so that callers do not need to.
-
Linus Torvalds authored
Patch from Roland McGrath.
-
John Levon authored
This patch replaces the assumption that > PAGE_OFFSET == kernel address with testing for user_mode(regs) and inserting switch codes instead.
-
John Levon authored
This patch allows the oprofilefs files to take entry in any base instead of just base 10
-
John Levon authored
This patch updates the horrible enum for the logical CPU type with a string instead.
-
John Levon authored
The below patch implements a P4 driver for OProfile, mostly written by Graydon Hoare.
-
bk://linux-dj.bkbits.net/watchdogLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Dave Jones authored
Done by Adam Belay.
-
Linus Torvalds authored
tasks (even if we don't otherwise need to wake anything up), since otherwise later signals would see that signals are already pending and wouldn't cause wakeups.
-
Andries E. Brouwer authored
-
Andries E. Brouwer authored
-
Andrew Morton authored
wake_up_forked_process() unconditionally enables interrupts. It is called from sched_init(). Enabling interrupts that early makes Anton's ppc64 machine lock up.
-
Randy Dunlap authored
This fixes several trivial bounds/limits errors that were pointed out by the Stanford Checker.
-
Randy Dunlap authored
This fixes a potential divide-by-zero found by the Stanford Checker.
-
- 10 Feb, 2003 24 commits
-
-
David S. Miller authored
into nuts.ninka.net:/home/davem/src/BK/sparc-2.5
-
David S. Miller authored
The few platforms that cannot use the generic get_signal_to_deliver implementation cannot do so because they do special things for ptraced children. This can be easily avoided and thus all of the signal handling code duplication can be eliminated. This is the first part, which adds a platform hook right before the parent of the ptraced child is woken. Data can be passed in via a cookie argument. The next part will be dealing with platforms that need to muck with breakpoints in the child in this same code block.
-
David S. Miller authored
-
Rob Radez authored
-
Rob Radez authored
-
Andrew Morton authored
Patch from Marc Zyngier <mzyngier@freesurf.fr> My previous round of EISA hacking left the 3c59x driver unable to compile on non-PCI systems (that is, EISA only...). This small patch fixes it.
-
Andrew Morton authored
Patch from Marc Zyngier <mzyngier@freesurf.fr> Fix compilation of 3c509.c
-
Andrew Morton authored
Patch from: Eric Lammerts <eric@lammerts.org> Every time you do a loop mount, a kernel thread is started (those processes are called "loop0", "loop1", etc.). The problem is that when it starts, it's counted as one of your processes. Then, it's changed to be a root-owned process without correcting that count. Patch below fixes the problem. It moves the bookkeeping of changing current->user to a new function switch_uid() (which is now also used by exec_usermodehelper() in kmod.c). The patch is tested.
-
Andrew Morton authored
mempools have the wrong semantics for use by buffer_heads. The problem scenario: - Process A calls mempool_alloc(), asking for a buffer_head. - While process A sleeps, process B frees up a ton of memory. That's it. There is no longer any memory pressure, so nobody frees any buffer_heads, so process A does not get woken up. I managed to trigger this in some testing recently. One approach would be to use a schedule_timeout(2) in mempool_alloc(). Anyway, the importance of buffer_head allocation was lessened when swapout stopped using them, so let's just drop the mempool out of it for now.
-
Andrew Morton authored
A very long time ago ext3_fill_super() was beng called under the VFS's lock_super(), and it had to drop that lock for deadlock avoidance reasons. But the VFS was later changed to not take lock_super() across ->fill_super(), so we're upping a non-downed semaphore. Just take it out.
-
Andrew Morton authored
Redo the (strange) layout of some of Roger's comments.
-
Andrew Morton authored
Patch from: Szabolcs Berecz <szabi@mplayerhq.hu> No need to check root->rnode in the loop. In the loop it remains nonzero.
-
Andrew Morton authored
We need to validate that the address and length of a MAP_FIXED request are suitable for hugetlb pages.
-
Andrew Morton authored
Patch from James Curbo <phoenix@sandwich.net> The amd74xx IDE driver in 2.5.59 has support for the nforce IDE controller, but not explicitly for the nforce2 IDE controller (which has a different PCI ID, which is in the kernel already). I'm not sure if the nforce and nforce2 controllers are identical, but I made a small patch that made the amd74xx driver recognize the nforce2 IDE, and it boots for me, seems to work fine, as my drives were tuned to their highest transfer rate automatically (udma5). I don't know if this patch is proper or correct, but it Works for Me [tm]. Patch is attached. Vojtech has acked this change.
-
Andrew Morton authored
(I asked Dave for this...) From: Dave Olien <dmo@osdl.org> Add me as maintainer for DAC960 driver.
-
Andrew Morton authored
Patch from Dave Olien <dmo@osdl.org> This was found by the Standford Checker. The LogicalDeviceNumber bad range test was changed from > to >= I also replaced a couple of panic() calls with error messages, since panic-ing seemed a little extreme.
-
Andrew Morton authored
journal_try_start() is a function which nonblockingly attempts to open a JBD transaction handle. It was added a long time ago when there were concerns that ext3_writepage() could block kswapd for too long. It was never clearly necessary. So the patch throws it all away and just calls the blocking journal_start() from ext3_writepage().
-
Andrew Morton authored
Patch from William Lee Irwin III <wli@holomorphy.com> Don't touch IO-APIC physid's on NUMA-Q. The BIOS pre-programs them.
-
Andrew Morton authored
Patch from Ravikiran G Thirumalai <kiran@in.ibm.com> Converts the ia32 kernel profiler to use use the percpu area infrastructure.
-
Andrew Morton authored
uninline get_jiffies_64() for 32-bit architectures
-
Randy Dunlap authored
Part of the bounds checking bugs found by the Stanford checker. The 4 fixes below have been acked by their maintainers.
-
Andrew Morton authored
Move the definition of version[] down to where __initdata has been defined.
-
Andrew Morton authored
Patch from Joel Becker <Joel.Becker@oracle.com> The task_struct->sig -> task_struct->signal bits.
-
Andrew Morton authored
Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> points out a bug in ll_rw_block() usage. Typical usage is: mark_buffer_dirty(bh); ll_rw_block(WRITE, 1, &bh); wait_on_buffer(bh); the problem is that if the buffer was locked on entry to this code sequence (due to in-progress I/O), ll_rw_block() will not wait, and start new I/O. So this code will wait on the _old_ I/O, and will then continue execution, leaving the buffer dirty. It turns out that all callers were only writing one buffer, and they were all waiting on that writeout. So I added a new sync_dirty_buffer() function: void sync_dirty_buffer(struct buffer_head *bh) { lock_buffer(bh); if (test_clear_buffer_dirty(bh)) { get_bh(bh); bh->b_end_io = end_buffer_io_sync; submit_bh(WRITE, bh); } else { unlock_buffer(bh); } } which allowed a fair amount of code to be removed, while adding the desired data-integrity guarantees. UFS has its own wrappers around ll_rw_block() which got in the way, so this operation was open-coded in that case.
-