- 15 Mar, 2002 29 commits
-
-
Mikael Pettersson authored
The patch below eliminates a case of boot_cpu_data corruption on SMP x86 machines. This was first observed on SMP Athlons, but it also affects SMP Intel boxes in a less serious way. When the secondary processors boot and execute head.S:checkCPUtype, the code performs a 32-bit write of a small constant to the byte-sized variable boot_cpu_data.x86 (X86 in head.S). Since the write is 32-bit, it also writes zeros to the following 3 bytes, which clobbers the x86_vendor, x86_model, and x86_mask fields previously set up by check_bugs()'s call to identify_cpu(). Thus, after smp_init(), boot_cpu_data will _always_ identify the CPU as an Intel (X86_VENDOR_INTEL == 0 in processor.h) with model 0 and stepping 0. The effect in standard kernels is not catastrophic, since: (a) most SMP x86 boxes are Intel (b) most uses of x86_vendor occur before smp_init() or reference the SMP cpu_data[] array (c) most post-boot references to boot_cpu_data occur in the cpu_has_XXX macros which only read the x86_capability[] array However, third-party extensions (like my x86 performance-monitoring conters driver) can get seriously confused by this mis-identification.
-
Linus Torvalds authored
-
Brian Gerst authored
Don't print out FAT superblock warnings if the IO failed.
-
Brian Gerst authored
Seperates qnx4_sb_info from struct super_block.
-
Brian Gerst authored
Seperates smb_sb_info from struct super_block.
-
Brian Gerst authored
Seperates msdos_sb_info from struct super_block for msdos and vfat. Umsdos is terminally broken and is not included.
-
Brian Gerst authored
NR_IRQS should be 16 when the IO apic is not configured, as the 8259 PIC cannot generate any more interrupts. It also fixes a bug where the IDT gets populated with random addresses, since only 16 entry stubs are created.
-
Brian Gerst authored
This changes the F00F bug workaround code to use the fixmap facilities instead of touching the page tables directly. It also removes the assumption that only 686's don't have the bug. I have confirmation that the patch works on buggy pentiums.
-
Linus Torvalds authored
-
Alexander Viro authored
It needs the following patch
-
Alexander Viro authored
In case if proc_pid_make_inode() steps on exiting task we do iput() and return NULL. Unfortunately, in that case inode->i_ino doesn't look like inumber of a per-process inode and we take the wrong path in proc_delete_inode(). I.e. do dput(PDE(inode)). Which is left uninitialized... We used to get out with that almost by accident - that code worked only because we had zeroed out one field of union and that guaranteed that another field would be NULL. It worked, but broke at the first occasion.
-
Alexander Viro authored
* introduces a new filesystem - nfsd. No, it's not a typo. It's a small tree with fixed topology defined by nfsd and IO on its files does what we used to do by hand in nfsctl.c. * turns sys_nfsservctl() into a sequence of open()/write()/read()/close() It works as it used to - we don't need nfsd to be mounted anywhere, etc. * nfsd_linkage ugliness is gone. * getfs and getfh demonstrate (rather trivial) example of "descriptor as transaction descriptor" behaviour. * we are fairly close to the situation when driver-defined filesystems can be done with practically zero code overhead. We are still not there, but it's a matter of adding a couple of helpers for populating the tree. One thing we get immediately is a cleanup of sys_nfsservctl() - it got _much_ better. Moreover, we get an alternative interface that uses normal file IO and can be used without magic syscalls.
-
Alexander Viro authored
Several exits in exp_export() forget to call path_release(). Fixed.
-
Alexander Viro authored
Linus, I've taken a bunch of common methods into fs/libfs.c and killed the (duplicated) instances in filesystems. There will be more - ideally I'd like to get a library that would make writing small filesystems trivial.
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Russell King authored
As mentioned on May 11 on LKML, here is a patch to fix /proc/kcore for architectures which do not have RAM located at physical address 0.
-
Russell King authored
The following patch removes Alt-Sysrq-L and its associated hack to kill of PID1, the init process. This is a mis-feature. If PID1 is killed, the kernel immediately enters an infinite loop in the depths of do_exit() with interrupts disabled, completely locking the machine. Obviously you can only reach for the reset button or power switch after this, leaving you with dirty filesystems.
-
Russell King authored
There is a problem where the resource flags sometimes contain bits from the address part of the PCI BAR, especially when you have the low address bit set for an IO BAR. (bit 3 of a PCI IO BAR is an address bit, and (bar & 0xf) propagates this to res->flags). This exists in Ivan Kokshaysky PCI patches, and so far hasn't made it into the kernel. It's required for IDE on certain ARM machines to even work.
-
David Howells authored
This patch actually fixes the starvation bug in sys_wait4() by moving any process which is serviced for stoppage to the end of the child list.
-
Linus Torvalds authored
-
David Howells authored
This patch (#1) just converts the task_struct to use struct list_head rather than direct pointers for maintaining the children list.
-
Kai Germaschewski authored
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make
-
Kai Germaschewski authored
-
Kai Germaschewski authored
objects. Current behavior is not changed at all, but see the next cset for what it's good for.
-
Kai Germaschewski authored
objects in $(list-multi), instead of $(multi-objs)
-
http://gkernel.bkbits.net/misc-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Jeff Garzik authored
new subdirectory linux/Documentation/BK-usage.
-
http://gkernel.bkbits.net/misc-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
http://gkernel.bkbits.net/net-drivers-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
- 14 Mar, 2002 11 commits
-
-
Jeff Garzik authored
-
Jeff Garzik authored
Noticed by Alan Cox.
-
Jean Tourrilhes authored
-
Szilárd Pásztor authored
-
Itai Nahshon authored
-
Paul Gortmaker authored
-
William Stinson authored
-
William Stinson authored
-
linux-m68k.org@mandrakesoft.com authored
-
Jeff Garzik authored
-
Jes Sorensen authored
* fix Tigon I support * fix memory leak
-