- 25 Feb, 2003 21 commits
-
-
Andrew Morton authored
Patch from Andries.Brouwer@cwi.nl A patch for genhd.c: - removed outdated comments - removed MAX_BLKDEV In genhd.c the variable MAX_BLKDEV was only the size of a hash table, so I made it MAX_PROBE_HASH. It can be 1, or 23, or 256, or whatever one wants. Note that the current setup requires that every device number in a given range is mapped by dev_to_index() to the same index in the hash table, so this routine will have to be adapted in case one wants to register multimajor ranges. Discussion is possible about whether struct blk_probe needs a dev_t or a kdev_t, but I left things this time. If a range can end at precisely the end of [k]dev_t space, the old code was wrong since (p->dev + p->range) would be 0. That is why "p->dev + p->range <= dev" was replaced by "p->dev + p->range - 1 < dev".
-
Andrew Morton authored
This is a forward-port of a 2.4 change from Stephen. The (old) 2.5 code is forcing a commit on every write by artificially dirtying the inode. But generic_file_aio_write() has called generic_osync_inode() for us, which has synced the file data. There is no need to force the extra commit.
-
Andrew Morton authored
Patch from Thomas Schlichter <schlicht@uni-mannheim.de> Adds some missing global_flush_tlb() calls, which are requried after a call to change_page_attr().
-
Andrew Morton authored
Patch from Rik van Riel <riel@imladris.surriel.com> If a process cannot exit because it's stuck in eg. a driver, it doesn't make sense to have the OOM killer kill it repeatedly; that could lead to a hung system. Instead, kill another process if the first process we tried to kill hasn't made any move to exit within 5 seconds. This way we have a much better chance of recovering the system.
-
Andrew Morton authored
Patch from "Martin J. Bligh" <mbligh@aracnet.com> Fixes up the logic and code which is used to suppress the IRQ balancing code. We now just have a single boolean, "irqbalance_disabled". The initial value comes from the per-platform "NO_BALANCE_IRQ" constant. If the platform defaults to "on", users can override this with the "noirqbalance" kernel boot option.
-
Andrew Morton authored
Patch from Alex Tomas <bzzz@tmi.comex.ru> Fixes a couple of memory leaks in the htree code.
-
Andrew Morton authored
Patch from John Levon <levon@movementarian.org> Looked like this condition was previously always false ...
-
Andrew Morton authored
Patch from Hugh Dickins <hugh@veritas.com> When prune_icache coincides with unmounting, invalidate_inodes notices the inode it's working on as busy but doesn't wait: Self-destruct in 5 seconds message, and later iput oopses on freed super_block. Neither end is a fast path, so the patch just adds iprune_sem for exclusion. The semaphore is held across dispose_list so that dispose_list->clear_inode->destroy_inode cannot reference a destroyed superblock.
-
Andrew Morton authored
Patch from Rick Lindsley <ricklind@us.ibm.com> Fixes a couple of odd cases in which disk requests were not being accounted for.
-
Andrew Morton authored
This check is not needed - the PMD is known to be present.
-
Andrew Morton authored
Patch from Maneesh Soni <maneesh@in.ibm.com> Turns out that sysfs is doing dget() on a zero-ref dentry. That's a bug, but dcache is no longer detecting it. The check was removed because with lockless d_lookup, there can be cases when d_lookup and dput are going on concurrently, If d_lookup happens earlier then it may do dget() on a dentry for which dput() has decremented the ref count to zero. This race is handled by taking the per dentry lock and checking the DCACHE_UNHASHED flag. The patch open-codes that part of d_lookup(), and restores the BUG check in dget().
-
Andrew Morton authored
Use interruptible sleep rather than uninterruptible to avoid perturbing load average.
-
Andrew Morton authored
do_generic_mapping_read() has an open-coded version of find_get_page() hidden inside it.
-
Andrew Morton authored
Use the early ioremap code to parse the Static Resource Affinity Table on x440 machines.
-
Andrew Morton authored
Patch from Patricia Gaughen <gone@us.ibm.com>, Dave Hansen <haveblue@us.ibm.com> It provides a very early sort of kmap-by-hand. The patch is used by the x440 discontigmem to map the srat tables into low memory so that the memory can be setup. This remap function is used very early in the boot process... at the start of setup_arch(). This functionality is only available to Summit and NUMAQ. It will work on other platforms, but they do not need it.
-
Andrew Morton authored
Patch from Thomas Schlichter <schlicht@uni-mannheim.de> Make flush_tlb_all() preempt-safe. Same as the ia32 fix.
-
Andrew Morton authored
Patch from Joakim Tjernlund <joakim.tjernlund@lumentis.se> Here is another update(against BK curr) for crc32(). A kind soul pointed out the optimizations below. lib/crc32defs.h: - Make it possible to define new values for CRC_LE_BITS/CRC_BE_BITS without modifying the source. lib/crc32.c: - Eliminate the need for ENDIAN_SHIFT. Saves a 24 bit shift in the byte loops. - Swap the XOR expression in DO_CRC. gcc for x86 can not do that simple optimization itself(gcc 3.2.2 and RH gcc 2.96 tested). Will improve performance with 20-25% on x86.
-
Andrew Morton authored
Spotted by Anton Blanchard: Our attempt to limit the interrupts-off time in slab wasn't very effective. #ifndef DEBUG is never true.
-
Andrew Morton authored
Rework this function so that we only make the indirect call to the page-freeing function on the final put_page(), rather than on every invokation.
-
Andrew Morton authored
Patch from Hugh Dickins <hugh@veritas.com> Userspace shows huge elapsed time across jiffies wrap: with USER_HZ less then HZ, sys_times needs jiffies_64 to calculate its retval.
-
Andrew Morton authored
From Tim Schmielau <tim@physik3.uni-rostock.de> Force jiffies to start out at five-minutes-before-wrap. To find jiffy-wrapping bugs.
-
- 24 Feb, 2003 19 commits
-
-
Steven Cole authored
This patch provides the following spelling fixes: paticular -> particular usefull -> useful occurance -> occurrence occurances -> occurrences successfull -> successful
-
Steven Cole authored
This patch provides spelling fixes for the following: shold -> should Docement -> Document docomented -> documented whic -> which thresold -> threshold asociation -> association
-
Steven Cole authored
This patch provides the following spelling fixes: negotation -> negotiation stabelized -> stabilized labled -> labeled availible -> available tabel -> table
-
Steven Cole authored
This patch provides spelling fixes for the following: relevent -> relevant irrelevent -> irrelevant
-
Steven Cole authored
This patch replaces "loose" with "lose" where appropriate. There remain 56 correct uses of "loose" in the 2.5 kernel source.
-
Steven Cole authored
This patch provides the following spelling fixes: handel -> handle handeling -> handling handeled -> handled handeler -> handler
-
Michael Hayes authored
This fixes: priviledge -> privilege priviledged -> privileged unpriviledged -> unprivileged nonpriviledged -> nonprivileged Fixes 7 occurrences in all.
-
Michael Hayes authored
This fixes: neccessary -> necessary unneccessary -> unnecessary Fixes 46 occurrences in all.
-
Michael Hayes authored
This fixes: intial -> initial intially -> initially intiali[sz]e -> initiali[sz]e intiali[sz]ed -> initiali[sz]ed intiali[sz]es -> initiali[sz]es intiali[sz]ation -> initiali[sz]ation Fixes 32 occurrences in all.
-
Michael Hayes authored
This fixes: tranceiver -> transceiver Some function names had this misspelling (e.g. e100_reset_tranceiver) and I changed them, but I haven't tested it. Fixes 34 occurrences in all.
-
Michael Hayes authored
This fixes: occured -> occurred Fixes 135 occurrences in all.
-
Michael Hayes authored
This fixes: occuring -> occurring Fixes 29 occurrences in all.
-
Michael Hayes authored
This fixes: recieve -> receive recieved -> received reciever -> receiver Fixes 14 occurrences in all.
-
Michael Hayes authored
This fixes: occurence -> occurrence occurences -> occurrences Fixes 13 occurrences (literally!) in all.
-
Linus Torvalds authored
-
Sam Ravnborg authored
make rpm has been broken in several kernel versions, fix it. Solves http://bugme.osdl.org/show_bug.cgi?id=373 which Paolo Ciarrocchi pushed me to fix. 1) Moved make rpm to the noconfig section, thus allowing it to see the clean target. 2) Fixed the commandline for find 3) Use rpmbuild if present 4) In mkspec use the generic all target, and drop the dep target This made the build command arch independent
-
Pavel Machek authored
These are minor fixes for swsusp and S3 sleep. - #ifdef mess in acpi_save_state_mem() is simplified - better error handling in reserving bootmem - handle video bioses that play with segment registers - automagic support for S3 on toshiba notebook - don't try to sync() when pdflush is already stopped - reorder actions to make pdflush not complain
-
Linus Torvalds authored
-
Randy Dunlap authored
This converts /proc/io{mem,ports} to the seq_file interface (single_open).
-