- 30 Dec, 2002 40 commits
-
-
James Bottomley authored
-
Christoph Hellwig authored
I missed one hunk when splitting the patch for removing try_inc_mod_count().
-
Linus Torvalds authored
-
Andrew Morton authored
The might_sleep() check in kmm_cache_alloc() is currently disabled if slab debugging is disabled. Fix that so it's enabled if might_sleep debugging is enabled.
-
Andrew Morton authored
add_disk_randomness() is causing a context switch per disk request. It is scheduling process-context work one timer tick in the future for every request. But is has a buffer for this, so change it to not set up the process-context work until that buffer is half full. The patch reduces the context switch rate during a 20 megabyte/sec write to scsi from 150/sec to 50/sec.
-
Andrew Morton authored
George Anzinger identified the following problem: when a secondary CPU is coming up, it calls printk() before it is "online". It calls the console drivers before its per-cpu storage has been prepared. And the vga console driver does a mod_timer(). This CPU's timers have not yet been initialised; it is not clear why this doesn't oops - George thinks it is because virtual address zero is still accessible at that time. I believe the right way to fix this is to change printk so that a not-online CPU will not call the console drivers. Because printk should always be callable. If the CPU is not online the message is buffered, so the next caller to printk who is online will actually display it. ia64 has been doing exactly this for ages, so we can remove the arch_consoles_callable() hook and just open-code the cpu_online() test in printk. That fixes things up for the secondary CPUs. But this change causes a problem for the boot CPU: it is being marked online very late in boot, so the printk buffer is being displayed much later than we would like. I believe that the solution to this is to mark the boot CPU online much earlier. So in this patch we call the new arch-provided function smp_prepare_boot_cpu() immediately after the boot CPU's per-cpu areas are set up. Its mandate is to (at least) mark the boot CPU "online". The change has been reviewed by davem and rth. No comments were received from the other arch maintainers.
-
Andrew Morton authored
ALIGN() currently has global scope in <linux/cache.h>. This causes a compilation error in the defxx driver. Move ALIGN() to <linux/kernel.h> and change the defxx driver to use the generic macro in place of its own.
-
Andrew Morton authored
It will leak a bh ref on ENOMEM.
-
Andrew Morton authored
Patch from Ben LaHaise and Bill Irwin. As discussed a month or so ago, all parties agree that the new hugetlbfs and shm APIs are sufficient for the 2.6 kernel. I marked the vacated syscall slots as "available for reuse". I doubt that there will be any conflicts when that happens.
-
Andrew Morton authored
Remove unused task_struct.swappable.
-
Andrew Morton authored
Some workloads (Oracle...) use a huge number of VMA's. They are currently a tidy 64 bytes in size, and padding them out to 128 on P4's is not worthwhile.
-
Andrew Morton authored
Patch from Ravikiran G Thirumalai <kiran@in.ibm.com> Creates a simple "kmalloc for each CPU" API. This will be used for net statistics, disk statistics, etc. (davem has acked the net patches which use this code). kmalloc_per_cpu() is available to modules, unlike the current static per-cpu infrastructure.
-
Andrew Morton authored
swsusp gets confused when pages which it freed do not appear in the buddy lists. So provide a function which will drain the calling CPU's per-cpu-pages into the buddy. The patch has been tested by Pavel. Presence of the new code is conditional on CONFIG_SOFTWARE_SUSPEND.
-
Andrew Morton authored
Patch from Mark Fasheh <mark.fasheh@oracle.com> A missing chunk from the semtimedop() implementation. It enables semtimedop() for 32-bit ia32 applications running on ia64. It also changes semop() to go direct to sys_semtimedop(), bypassing a function call.
-
Andrew Morton authored
Cleanup patch from Hollis Blanchard <hollis@austin.ibm.com> We have a large number of private implementations of BIN_TO_BCD and BCD_TO_BIN, which are all the same. And a lot of them are inflexible because they modify their arg: #define BIN_TO_BCD(val) ((val)=(((val)/10)<<4) + (val)%10) - Create (in <linux/bcd.h> a generic BIN2BCD/BCD2BIN which does not modify its arg - Create generic BIN_TO_BCD/BCD_TO_BIN which uses the above - Update lots of callers to use the new generic version.
-
Andrew Morton authored
It seems to have been displaying zero for the past several years, and we can't think of anything useful to put in there.
-
Andrew Morton authored
Patch from Paul Jakma <paulj@alphyra.ie> Documentation/sysctl/fs.txt is incorrect wrt to the middle number of /proc/sys/fs/file-nr. The current docs state it is the number of in-use file-handles, from observation this number is actually the number of /unused/ file-handles - we've observe that when it hits 0 we get file handle problems (rather than when it hits == file-max as docs imply).
-
Linus Torvalds authored
-
Rusty Russell authored
Turns out there was an undocumented "c" flag for MODULE_PARM. This implementation is a little ugly, but it works, and will do for compatibility (I haven't implemented such a two-dimensional array primitive, but the whole point of the module_parm et al is that they are extensible).
-
Christoph Hellwig authored
The name is just a bit too generic, and we already use the _X86 prefix for lots of other stuff in that area. Dito for the never use CONFIG_PC and CONFIG_VISWS.
-
Brian Murphy authored
This patch combines my patch which statically initialises the crc32 tables so they can be used at any time (during initialisation) and Joakim Tjernlund's patch to speed up the crc calculations by doing word operations instead of exclusively byte. The crc routines are used extensively in jffs2 where speed is very important. I need the crc32 routines to calculate a checksum on values read from an eeprom which contain cpu speed and memory size information - so they are needed very much earlier in the initialisation process than they are currently available.
-
Dominik Brodowski authored
-
Dominik Brodowski authored
Clean up searching for best frequency, and add one safety check.
-
Dominik Brodowski authored
Clean up searching code for best frequency and add some safety checks.
-
Dominik Brodowski authored
The usage of CPUFREQ_ALL_CPUS is deprecated. Only exception is cpufreq_set, which needs to iterate over all CPUS now. Also, remove some unneeded code.
-
Linus Torvalds authored
-
Linus Torvalds authored
-
http://linux-scsi.bkbits.net/scsi-for-linus-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Alan Stern authored
Here is my multiple-bug-fix patch for the ide-tape driver. The corresponding patch for 2.4.21 has already been accepted by Marcelo.
-
Rusty Russell authored
We restore the ","s after parsing: if expect to keep pointers to this stuff, we must not do that.
-
Andrew Morton authored
NUMAQ does not link - it wants the smp_read_mpc_oem() which I recently disabled.
-
Christoph Hellwig authored
completly remove the old try_inc_mod_count()
-
Christoph Hellwig authored
* i2c-elektor.h is empty except for comments * sensors.h contains register offsets for tons of hw monitoring chips, move the few we actually need into the two drivers that use it (there is _no_ overlap)
-
Christoph Hellwig authored
a few new ids, a name change and 10 lines of new code, ported over from the external i2c package.
-
Christoph Hellwig authored
Add a struct module *owner field to struct i2c_adapter and i2c_algorithm and do refcouting on them before use instead of the inc_use and dec_use callbacks. While at it convert those structures to named initializers.
-
James Bottomley authored
into raven.il.steeleye.com:/home/jejb/BK/scsi-for-linus-2.5
-
bk://kernel.bkbits.net/gregkh/linux/tty-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Rusty Russell authored
Expose declaration of __this_module outside #ifdef KBUILD_MODNAME (which is not defined for objects included in two modules).
-
Rusty Russell authored
I interpreted "1-10s" to mean a string of 1-10 chars. It actually means 1-10 comma-separated strings.
-
Christoph Hellwig authored
Kernel codingsyle explicitly forbids it. Fortunately there aren't many useres left.
-