Steve French [Wed, 19 Feb 2003 11:35:44 +0000 (05:35 -0600)]
Fix caching of directory inodes (was always querying server on directory inodes). Reconnect fids (file ids) after session reconnection e.g. due to temporary server or network failure.
Linus Torvalds [Wed, 19 Feb 2003 09:48:59 +0000 (01:48 -0800)]
Add doublefault handling with a task gate.
This potentially helps debugging, since otherwise a double fault
would generate a triple fault and then reboot the machine. Now
instead it can print out a note about where the problem happened,
unless all the kernel data structures are truly buggered.
This patch removes the devfs interface code in mtrr that has been
stubbed out by an ifdef forever. It's one of the few remaining users
of regular files on devfs so there's some urge for me to get rid of it :)
small updates to bring us nearer the lm_Sensors CVS (docs, comments,
missing statics, named initializers). I still need to review their
actual code changes before submitting those..
[XFS] Under heavy load, there are not enough hash buckets to deal with
the number of metadata buffers. Use the same techniques as the
regular linux buffer cache here.
use more hash buckets for holding xfs metadata, and use the same
hash algorithm as the regular buffer cache.
Glen Overby [Wed, 19 Feb 2003 19:26:14 +0000 (20:26 +0100)]
[XFS] fix one more set of transaction callback ordering issues,
this was always there, but exposed by the last change in
this area and made much more likely.
Nathan Scott [Wed, 19 Feb 2003 19:19:52 +0000 (20:19 +0100)]
[XFS] Extra check on the mount path - ensure we don't attempt to mount XFS fs's
with sector sizes smaller than those the device supports. Tripped a BUG
in pagebuf, should now be resolved.
Greg Ungerer [Tue, 18 Feb 2003 13:47:55 +0000 (05:47 -0800)]
[PATCH] create an architecture specific flat header for m68knommu
Add a per-architecture flat.h flat format executable header. The idea is
to support the different options required in a clean way. For starters
we need to be able to configure the initial stack layout, and this
differs for different CPU types.
This first patch adds the header for the m68knommu architecture.
Greg Ungerer [Tue, 18 Feb 2003 13:47:47 +0000 (05:47 -0800)]
[PATCH] fix text and data sizing in MMUless task_nommu.c
This patch does a couple of things to the MMUless proc support:
1. change current->sig to current->sighand
2. initialize vsize var in task_vsize() function
3. correctly set *text and *data values in task_vsize() function
Greg Ungerer [Tue, 18 Feb 2003 13:47:26 +0000 (05:47 -0800)]
[PATCH] use local RODATA setup for m68knommu linker script
This patch removes the use of the common RODATA define in the m68knommu
architecture. It cannot be used the same way for the m68knommu target.
For starters just inserting it here is syntactically wrong. All the read
only parts are grouped into a single "text" segment, and this is the root
cause of the problem. So for the m68knommu arch it makes sense to not
use the generic RODATA setup, but to list them locally.
This patch reformats the 68360 crt_ram.S file to make it consistent
with the other m68knommu assembler files, and generally to good
style standards :-)
Greg Ungerer [Tue, 18 Feb 2003 13:47:11 +0000 (05:47 -0800)]
[PATCH] inline unsued functions for MMUless configuration
This patch adds inline versions of init_emergency_isa_pool() and
blk_queue_bounce() for MMUless builds. This patch was originally
from Christoph Hellwig, as part of the MMUless merge.
Greg Ungerer [Tue, 18 Feb 2003 13:47:03 +0000 (05:47 -0800)]
[PATCH] include the architecture flat file header in common flat header
This patch adds support into the common flat.h header to include
the architecture specific flat.h header. This is modelled on the
same scheme as the elf include header file support.
Greg Ungerer [Tue, 18 Feb 2003 13:46:56 +0000 (05:46 -0800)]
[PATCH] create an architecture specific flat header for v850
This patch adds a v850 architecture specific flat file header.
It supports the stack layout define needed by the flat format
load binfmt_flat.c (for MMUless CPU's).
Greg Ungerer [Tue, 18 Feb 2003 13:46:48 +0000 (05:46 -0800)]
[PATCH] reformat m68knommu 68328/pilot crt0_rom.S
This patch reformats the 68328/pilot crt_rom.S file to make it consistent
with the other m68knommu assembler files, and generally to good style
standards :-)
Greg Ungerer [Tue, 18 Feb 2003 13:46:41 +0000 (05:46 -0800)]
[PATCH] create common vector setup code for m68knommu/ColdFire
This patch creates a common set of vector code for the ColdFire
sub-architecture of the m68knommu architecture. The basic setup
code for all ColdFire CPU's is the same. Some more patches will
follow this that remove theis common code from each of the
ColdFire CPU configs.
This patch reformats the 68360 crt_rom.S file to make it consistent
with the other m68knommu assembler files, and generally to good
style standards :-)
Greg Ungerer [Tue, 18 Feb 2003 13:45:56 +0000 (05:45 -0800)]
[PATCH] bounds check and no argv/envp support for binfmt_flat load
This patch to the MMUless flat loader does 2 important things:
1. Allow for architectures that do not want argv and envp on
the initial process stack (v850 is an example of this)
2. Does some bounds checking on the zipped flat header when
processing it.
Greg Ungerer [Tue, 18 Feb 2003 13:45:41 +0000 (05:45 -0800)]
[PATCH] m68knommu cacheflush.h cleanup
This patch overhauls the cache support routines for the m68knommu
architecture. It removes depricated functions, and fixes those required
to operate as per Documentation/cachetlb.txt.
Miles Bader [Tue, 18 Feb 2003 13:39:50 +0000 (05:39 -0800)]
[PATCH] Add a v850 config option to pass illegal insn traps to the kernel
On the v850 RTE-MA1-CB-MULTI platform, these are normally intercepted by
the monitor for the use of an external debugger, but if you want to use
a linux-resident debugger, the kernel has to see them.
Miles Bader [Tue, 18 Feb 2003 13:39:36 +0000 (05:39 -0800)]
[PATCH] v850 kernel entry fixes and cleanup
1) Preserve the v850 system-call-number register when handling a signal;
otherwise system calls will not be correctly restarted afterwards
2) Correctly handle illegal insn exceptions, which need a special
instruction to return (not reti), and save PC/PSW to a different place
2) Remove some unnecessary register saving in the trap handler
3) Consolidate various places that use the register save/restore macros
4) Eliminate some unused compile-time configuration stuff
5) A bit of whitespace and other syntactic cleanup
Miles Bader [Tue, 18 Feb 2003 13:39:12 +0000 (05:39 -0800)]
[PATCH] Set child process initial stack-pointers correctly on the v850
Previously the v850's copy_thread function didn't set the child's stack
pointer at all, with the result that it accidentally worked for vfork
(where the child has the same SP as the parent), but not for user
threads; kernel threads also accidentally worked, for a different
reason.
Andrew Morton [Tue, 18 Feb 2003 13:29:10 +0000 (05:29 -0800)]
[PATCH] TTY module refcounting fix
Patch from Max Krasnyansky <maxk@qualcomm.com>
This changeset adds module refcounting for TTY line disciplines. I've sent
the patch to LKM earlier. No negative comments (actually most people didn't
seem to care). This is needed at least for Bluetooth and IrDA (Jean is ok
with the patch).
Andrew Morton [Tue, 18 Feb 2003 13:28:55 +0000 (05:28 -0800)]
[PATCH] consolidate and cleanup profiling code.
Patch from Nikita Danilov <Nikita@Namesys.COM>
this moves functions from identical per-architecture
arch/*/kernel/profile.c into generic kernel/profile.c. Also, identical
{x86,parisc,ppc64,sparc64}_profile_hook()'s are all replaced by the
single kernel/profile.c:profile_hook(), which is #defined to noop in
include/linux/profile.h if CONFIG_PROFILING is not set.
Andrew Morton [Tue, 18 Feb 2003 13:25:42 +0000 (05:25 -0800)]
[PATCH] make startup_32 kernel entry point
Patch from Andrey Panin <pazke@orbita1.ru>
This patch marks startup_32 (in head.S) as kernel entry point,
visws kernel loader uses raw elf kernel images and entry point
at stext causes jump to wrong address.