- 21 May, 2002 9 commits
-
-
Rusty Russell authored
This changes futex semantics to a simple "sleep if this address equals this value" interface, which is more convenient for building other primitives. It also adds a timeout value. Example library can be found at: http://www.kernel.org/pub/linux/kernel/people/rusty/futex-2.0.tar.gz
-
http://linux-isdn.bkbits.net/linux-2.5.makeLinus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Kai Germaschewski authored
o Add dependencies on generated files explicitly to the aic7xxx Makefile - These cannot be figured out automatically o Rename the precompiled firmware files to shipped_aic7xxx_{reg,seq}.h, so that we don't overwrite shipped files when regenerating the firmware
-
Christoph Hellwig authored
No more users of buffermem_pages are left, remove it. While at it also remove some orphaned externs around it in swap.h
-
Christoph Hellwig authored
This is the most discussion-worthy patch of the series: Change the meaning of si_meminfo->bufferram from "all pages in pagecache backed by block devices" to "all pages in pagecache". In the header/manpage is is documented as "Memory used by buffers", but as the buffercache is gone I think the new meaning fits the intention from pre-pagecache days much better.
-
Christoph Hellwig authored
This one is a bit more controveral as it may break stupid userlevel programs: remove the 'Buffers' field from /proc/meminfo and make the Cached field show the full pagecache size instead of subtracting the block-device backed pages. All /proc/meminfo-using programs I have (free, top) still work fine.
-
Christoph Hellwig authored
Remove buffermem_pages showing from sgi serial code (debug only).
-
Christoph Hellwig authored
With all work done by akpm in 2.5 Linus no more has a buffer cache in the traditional sense. Still we try to keep estimates about what would be the buffer cache size by keeping the number of pages indexed by block device inodes. This is broken not only because the old buffercache was also used for file data which is nowdays not hashed to block device inodes and thus makes every user of this data assume wrong numbers. Second is is possible to use block device pages not through the buffer_head interface (i.e. userspace block device nodes, possibly JFS also soon). In addition the atomic_t used for this bookkepping (buffermem_pages) causes cacheline bouncing on larger machines. This is the first patch of a series to get rid of it. It removes the useless output of supposedly buffer pages in show_mem(), which is used by the magic sysrq key code.
-
Kai Germaschewski authored
This patch restores the previous behavior of stopping the build immediately on error (unless the -k option is given to make) Before this patch, we would do the echo command no matter if the compile failed, thus returning success always. (Jan Harkes)
-
- 20 May, 2002 31 commits
-
-
Kai Germaschewski authored
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make
-
Kai Germaschewski authored
E.g. make arch/i386/kernel/process.[is] used to work at least in the cases where the object wouldn't need any additional command line flags defined in the local subdir. Get back this behavior, I think I know how to do this correctly, too, but that's for later.
-
Kai Germaschewski authored
Remove the default for UTS_MACHINE, it gets set in include/linux/compile.h, just as UTS_RELEASE. (noticed by David Gibson)
-
Linus Torvalds authored
-
David Gibson authored
This adds a #include to drivers/pci/power.c to define __init. At least on PPC4xx this fixes compile problems.
-
Linus Torvalds authored
-
Linus Torvalds authored
-
http://linux-isdn.bkbits.net/linux-2.5.makeLinus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Kai Germaschewski authored
The recursive build used to do the following: On entering a directory, we would first call make in the subdirectories listed in $(subdir-y), and then call make in the current directory again, with the target 'all_targets'. The second invocation was used to make sure that the subdir makes completed before trying to build the O_TARGET/L_TARGET in the current dir, since this would link in objects in these subdirectories. However, using correct dependencies achieves the same, i.e. just make the objects in $(obj-y) which are not in the local subdirectory depend on 'sub_dirs', which is the rule to descend into subdirs. This patch actually halves the time "make vmlinux" takes when there's nothing to do (which makes sense, as we save half of the make invocations)
-
Kai Germaschewski authored
-
Kai Germaschewski authored
There's no good reason to build the objects in init/ explicitly from the top-level Makefile. Instead, handle init/ like every other subdir, which also provides the automatic checks for a changed command line etc.
-
http://linux-isdn.bkbits.net/linux-2.5.miscLinus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Kai Germaschewski authored
Fix some trivial variable/functions/label defined (static) but not used warnings.
-
Kai Germaschewski authored
Removal of locks.h broke the build due to missing definition of capable() and current.
-
Linus Torvalds authored
-
http://linux-isdn.bkbits.net/linux-2.5.exportLinus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Kai Germaschewski authored
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.export
-
Jack Hammer authored
ips driver update ( version 5.10.13-BETA )
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Christoph Hellwig authored
The lock.h header contained some hand-crafted lcoking routines from the pre-SMP days. In 2.5 only lock_super/unlock_super are left, guarded by a number of completly unrelated (!) includes. This patch moves lock_super/unlock_super to fs.h, which defined struct super_block that is needed for those to operate it, removes locks.h and updates all caller to not include it and add the missing, previously nested includes where needed.
-
Linus Torvalds authored
-
Jan Kara authored
This patch implements ioctl() for getting space used by file. I agree it's ioctl() abuse, it doesn't work on links and has other ugly properties. Better would be to change 'struct stat' but changing it just due to this is overkill and it will take some time before there will be enough changes which will provoke yet another struct stat :). So this is temporary solution... If you don't like it, simply reject it. The function it provides is not fundamental... So that should be all patches. Any comments (or decision about including/not including) welcome. Honza
-
Jan Kara authored
This patch implements configurable backward compatible quota interface. Maybe this isn't needed in 2.5 but as some people want to use patches in 2.4 where it's necessary I have implemented it.
-
Jan Kara authored
Implemented proper syncing of dquots - ie. also global information about quota files are synced. We find info to sync by walking through all superblocks...
-
Jan Kara authored
Remove use of 'short' in parameters of functions. 'int' is used instead.
-
Jan Kara authored
Implementation of new quota format. The code is almost the same as in -ac versions of kernel. All the code for new format is in quota_v2.c
-
Jan Kara authored
Implementation of old quota format. All the code for old format is now in quota_v1.c. Code mostly remained the same as in older kernels (just minor changes were needed to bind it with quota interface).
-
Jan Kara authored
This is probably the largest chunk in quota patches. It removes old quotactl interface and implements new one. New interface should not need arch specific conversions so they are removed. All quota interface stuff is moved to quota.c so we can easily separate things which should be compiled even if quota is disabled (mainly because XFS needs some interface even if standard VFS quota is disabled). Callbacks to filesystem on quota_on() and quota_off() are implemented (needed by Ext3), quota operations callbacks are now set in super.c on superblock initialization and not on quota_on(). This way it starts to make sense to have callbacks on alloc_space(), alloc_inode() etc. as filesystem can override them on read_super(). This will be used later for implementing journalled quota.
-
Jan Kara authored
This patch implements counting of used space in inodes in bytes. New field i_bytes is added and used space modulo 512 is kept in it (rest is still kept in i_blocks). Functions manipulating both i_blocks and i_bytes are implemented (inode_add_bytes(), inode_sub_bytes() and inode_set_bytes()). Filesystems allocating only in whole blocks can safely ignore i_bytes field and continue using i_blocks...
-
Jan Kara authored
This patch implements accounting of used space in bytes.
-